Clicking a button should focus on the h:outputText
Hi,
On clicking a commandButton ...Iam validating the page whether a Check box is selected or not.
If not selected ..I display <h:outputText>.
But my page is too long ..and it may confuse the user if he is taken to the top of the page on clicking the button.
Instead,,I want the focus on the <h:outputText> if the validation is not done.
Thanks for any help.
That was a basic example. You need to change the element ID with the ID of the generated HTML element associated with the h:outputText element in question. It may have been prefixed with ID's of any parent `UINamingContainer` components.
In other words, check the page source in browser and fish the ID out of it.
Similar Messages
-
My screen refuses to rotate (the home screen). I already double clicked home button and scrolled over, the circle arrow does NOT have the lock inside it. I went thru all the settings and can find nothing to try and fix this. Do I need to send the phone back? Is it broken? I just got it yesterday. It has not been damaged in any way. Please help.
|rob| wrote:
taramdunn wrote:
My screen refuses to rotate (the home screen).
The home screen doesn't rotate to landscape mode. Only apps do.
Good eye Rob, I didn't even catch that. -
Options button should be on the left side (Mobile Apps)
Hello guys!
First of all: I love your product so please do keep up the good work. Secondly, I'm a frequent user of your mobile app, and with the newest update you put the scroll bar and the options button on the same side. This creates a problematic situation as it is hard to hit the one you want. Every day I accidentaly scroll when i want options and vica verca, so what I'm proposing is that you keep the scroll function on the right side and move the options button to the left side. This would make an already awesome app near perfect. Hope you'll take this into consideration for your next update.
Kind Regards MJUpdated: 2015-07-02Hello!
Your idea has been submitted a while ago but unfortunately hasn't gathered enough kudos (25 per year). In order to keep an overview of the active ideas in this forum, we will close this idea for now. However this does not mean that your idea has been declined by Spotify.
If you still feel strongly about your request, we encourage you to post your idea in a little different form again! Maybe now is the right time to receive the support of our community for your suggestion! ;)
Do you have any further questions on how the idea exchange is managed? Just click here! -
When click on button in jsp portlet, the portlet is reloaded
Hi all
I have a jsp portlet containing a number of divs and buttons. When the user clicks on a specific button, I use javascript to hide and/or display specific divs.
However, in Weblogic Portal 10.3 (using IE 8 or FF 3.5.3) the whole portlet is reloaded when I click on a button.
This results in the default screen being displayed again.
Is there a way that I can prevent Weblogic Portal from reloading the portlet when javascript is executed in the portlet?Can you send source for how you create your button? Is it <input> or <button> ?
I suspect what's happening is that your button has no type, so it's defaulting to "submit" behavior, reposting the page.
Try using <button type="button" ...> and see if that doesn't fix it.
-Chris -
I just upgraded to new iOS 7.2 and I don't know how to close out my applications? It doesn't work with the double click of home button and simply holding until the x shows?
Tap Home button twice then use an upward swipe on the preview to close the app
-
Button should disappear permanently
Dear all,
I would greatly appreciate your help with the following question:
I'm currently preparing a training, which will be placed in our company's LMS. In this training, I placed a button on a non-quiz slide, which must be clicked in order to complete the training as it is one of the required "quiz points" for the successful completion of the training (so this button has quiz properties, although it is not on a quiz slide). After being clicked, this button should disappear and the caption that appears as a result should stay permanently on the slide. This button is not a quiz question per se, but rather a confirmation of completion and agreement (which is important for reporting purposes).
The problem is that because this is not a quiz slide, this information does not stay permanently on the slide if users leave the slide while navigating through the training, or if the training is closed and then re-opened. Quiz slides, however, continue to show the submitted answers and captions - and this is what I would like to happen on my slide.
Is there a way to have the button permanently disappear once it is clicked, and the caption stay permanently, so that the user (while navigating through the training, or when re-opening the training) can no longer make any changes to this slide and see immediately the caption, which states that the button has already been clicked?
Many thanks in advance for your help!
Best regards,
JanetDear Lilybiri,
Many thanks for your prompt reply, and many thanks for your explanation.
Your tip concerning the first part of my question (button disappearing permanently and caption remaining permanently while navigating during one session) worked out perfectly with an advanced setting. Many thanks.
Concerning the second part of my question (button disappearing permanently and caption remaining permanently when coming back for a second session): the problem is that this slide cannot be quiz slide, because it has to be formatted a certain way (which is not possible on a quiz slide), but I need the actions on the slide (upon clicking button, button disappears and caption permanently pops-up) to be irreversible. Do you know of a work-around for this?
Again, thank you very much for your help. It is very appreciated!
Note: I am using Captivate 6 for this training.
Best regards,
Janet -
The bookmarks button is missing from the navigation toolbar. It appears when I right click on the navigation and click customize. As soon as I close the customization window it disappears again. I can no longer access the library to back up my bookmarks. Why did you change it from Firefox 3 where you could clock on the bookmarks tab and be able to backup your bookmarks?
Actually the Bookmarks Menu button doesn't appear because you have the Menu Bar visible in your first screenshot. The Bookmarks Menu button should appear to the right of the overflow chevron on the Bookmarks Toolbar if the Menu Bar is hidden.
-
I know pop-up the front panel of a subVi when called by selecting VI Properties>>Windows apperence.
But what I need to do is: always run the SubVI inside the parent VI as the nornal subVI do without poping up. But when I click a button"show front panel", the SubVI popup the front panel.
Is there anyway to do this?
Thanks,ossoo,
You can use a static VI reference to the subVI and then use the Front Panel Open invoke method to show the front panel when you want. I have attached two VIs that show this. I saved these VIs for LabVIEW 2009 so you should be able to open them up and run them in 2009 or later. Add.VI is the subVI that you are calling. The Caller.VI is just a While Loop that contiually calls the Add subVI. Inside of the While Loop is also a Case Structure with a Static VI Reference (you might need to change the path this is pointing to after downloading the VIs to your computer for this to work) and the Front Panel Open invoke method. You can run the Caller.VI and interact with the main Front Panel as normal and see the subVI but then you can click the Open subVI? boolean button and it will open the subVI's front panel. You can continue to interact with the main front panel and see the values update on the subVI's front panel as well. You can just close the subVI's front panel when you are done viewing it. Does this help?
Grant H.
National Instruments
LabVIEW Product Marketing Manager
Attachments:
Caller.vi 19 KB
Add.vi 23 KB -
Click on button in panel in jlist? how to pass on the event
hello
I have a panel of some buttons that i want to be able to load in as many as i need dynamically into a jlist. i get them in fine, but then i can't click on the buttons. i can grab mouse events and listselection events from the list, but i cant get back to those buttons. i've read the tutorial on advanced jlist programming and it doesnt seem to deal with this.
any idea on how to accomplish this?
thanksPassing parameters to an action method violates the Model-View-Controller paradigm. The button you push should not know anything about the data (your model) in your application.
The button should simply tell the controller "I have been touched!". The controller is the mediator between the view and the model. So the controller is responsible for working with the model objects in an appropriate way when it learns the button was touched. Typically there are instance variables in the controller object that represent model objects. So in your event handler you will have access to them -- there is no need to "pass them in as parameters".
This is in essence what iPhil is talking about.
Cheers,
George -
Going to a new webpage by clicking a button
I have looked and listened to almost all of the on-line tutorials but can't find where:
when you click on a button or dropdown menu item - how to get it to take you to the next(appropriate) page.
i.e. click on Contact - should go to the contact page.
What / where should I be looking for or asking (i.e. goandGet code??) in order to do this?
Forrestas2: getURL()
as3: navigateToURL() -
Frequent LowMemory crash when starting multitasking by double-click Home button
After upgrading iOS 7, my iPhone 5 crashes when double-clicking home button for multitasking.
The crush shows white apple logo and reboots my iPhone.
It occurs about 2-3 times a day.
Every time crash occurs, Diagnostic & Usage Data would add a LowMemory log, which is exactly the time iPhone crashes.
Therefore I guess it's because of running out memory.
I've tried Reset My Phone, Reduce Motion, Disable Background App Fresh..., but none of it worked.
My iPhone begins to crash 3 days after resetting.
Does anybody know how to solve it?I think you mean crash.
Also, I am going to assume you've tried restarting and reseting. What you can do is back up the important information in your phone (using either iTunes or iCloud) and restore the device as new. Then, you can restore from your backup. This will remove any and all software bugs. -
3.1.2 double clicking home button when music is not playing
Is the bug that double clicking home button while music is not playing didn't bring up the iPod control fixed? I don't know it's a design change or a bug, but for me it seems definitely a bug since it doesn't give anything good. Clicking home button once already terminates the application, why would anyone use double clicking to exit the application too?
This is why I'm still using 3.0. Is this fixed in 3.1.2?It's a design change, not a bug. Although I do have to agree with you on that I preferred what double-clicking the home button originally did. There is even settings (in general settings if I can remember right) on what double-clicking the home button performs, but that isn't even an option on it.
And nope this is not fixed or redesigned in 3.1.2.
Hope that answers your question,
Enjoy! -
Multiple picture-buttons - How to stop the slide
Hi,
my problem:
A slide with a world map, some buttons as target-markers. If you click at one of these dots, a button with some information pops up (its all about visibility). A single click within this button close itself. It is possible to click any target so many time the user want to. It is also possible to open all text-buttons by hitting all the orange dots. Slide audio is 22 seconds long, so is the slide duration. How can i stop the slide up to zthe moment, the user hits the bottom-left navigation button (perpetualButton_AS3)?
I fear, the solution is quite simple, i just can't figure it out. Any help is very welcome, time is running out ... delivery of a teaser in less than 4 hours and still some video work to do.
Regards
Marc
btw: eLearning Suite 2.5 is running at this computerNot sure if this would be what you want but the Event Handler Widget would allow you to either display timed Success captions for a given number of seconds or execute advanced actions to SHOW or HIDE captions when users click the dots. You can set preferences in the widget to Reset Success/Fail Criteria After Action to enable users to click on an object as many times as they want to repeat the action. Set the Pausing preferences to permanently pause the slide until the user clicks another button to proceed to the next slide.
If you want to try it out, download a free trial widget here. -
Canon 6D Back button auto focus and ISO settings
I was curious why when I am shooting in TV mode and I am using the back button auto focus that the camera will automatically change the ISO setting that I set. Is there something that I have missed in the settings or is this an automatic feature that can not be turned off?
Sounds like you have safety shift set in a custom function
Check C.Fn 1-6 Safety Shift - you may have it set to 2 - ISO Speed
PAge 306 in the EOS 6D manual
Canon specialist trainer, author and photographer - http://www.p4pictures.com -
3.1.3 double clicking home button when music is not playing
Is the bug that double clicking home button while music is not playing didn't bring up the iPod control fixed? For me, it seems definitely a bug since it doesn't give anything good. Clicking home button once already terminates the application, why would anyone use double clicking to exit the application too?
This is why I'm still using 3.0. Is this fixed in 3.1.3?Jeong-hun Sin, 3.1.3 has the same issue, and I do not think Apple is ever going to fix this issue. They still haven't even fixed the live updating playlist sort order issue...
roaminggnome he's referring to a pop-up controls issue that has been talked about on this forum ever since the release of the 3.1 firmware.
http://discussions.apple.com/thread.jspa?threadID=2151438
In 3.0 and older versions, if you're in an app/game you can double-click the home-button to access the iPod pop-up controls to resume the playback of a song/podcast that had been previously paused/stopped.
In 3.1, if a song had been previously paused you cannot launch the pop-up conrols to resume the playback of the song. You're forced to exit the app that you might be in (lets say safari, or a game), and then resume playback using the music app.
Jeong-hun Sin, I upgraded to 3.1.3 a few days ago, and have found a few improvements:
- Many 3D games are MUCH smoother/faster under 3.1.3, than 3.0. I downgraded back to 3.0 just to see if I was just imagining things, but games like Coconut-racer, and Asphalt 5 were not as smooth as they were under 3.1.3.
- If you happen run apps that have live video streaming where the video playback controls do not appear (e.g the BBC world, Al Jazeera news, sure there's more), the iPod Touch no longer randomly reboots when using those apps.
Maybe you are looking for
-
How can I get a back-up of my laptop if I have restarted it?
I Recently Had to restart my laptop due to software issues and it would not let me use my back-up in the process, so I had to create a whole new thing. I have lost all that I used to have and was wondering if there is a way that I can maybe get it ba
-
When I burn dvd in iPhoto, it comes out with original photo plus separate close up photos of each face in original photo. How do I get it to stop doing that?
-
Cube Export Fails - stops all databases in application
Hi all, I have a problem with some cubes in an application, when I go to export them, the export process will have hung and never completes, and all of the databases in the application will have stopped. In the Essbase.log file I get: [Mon May 10 12:
-
Where should I purchase - iTunes or ATV
Best case scenario, I would like to purchase my movies directly from my ATV and watch it there. Then I want to sync that back to iTunes so that I can later watch it on my PC or my iPod touch. Many threads that I'm reading say that this process doesn'
-
Premiere crashes when importing over a network
I've been trying to import video files from my capture computer. Both machines are on the same domain and connected through a gigabit switch. Each time I import a file, the connection to the capture machine gets lost and I either have to restart the