The scenario is: I have a page consisting of SelectOneMenu and different t
The scenario is:
I have a page consisting of SelectOneMenu and different text fields. Based on the values selected from the select one menu,
some of the text fields need to be made mandatory.
Using onchange = "submit()" will validate other fields also, which I do not want to do at this time.
Hence I have used code as shown below which invokes a command button(that has immediate=true so that validation will
not be performed for other fields) when values are changed . In the value changed event method , I set the rendered property
of the mandatory text field.
<h:selectOneMenu id="source" value="#{companyPaymentRemark.prVO.sourceID}"
onchange="buttonClick('layout:content:hiddenSubmit')" valueChangeListener="#{companyPaymentRemark.sourceValueChange}">
<f:selectItems value="#{companyPaymentRemark.sourceList}" />
</h:selectOneMenu>
<h:commandButton id="hiddenSubmit" immediate="true" action="" style="display:none"/>
<h:selectOneMenu id="source" value="#{companyPaymentRemark.prVO.sourceID}" onchange="buttonClick('layout:content:hiddenSubmit')" valueChangeListener="#{companyPaymentRemark.sourceValueChange}"> <f:selectItems value="#{companyPaymentRemark.sourceList}" /> </h:selectOneMenu> <h:commandButton id="hiddenSubmit" immediate="true" action="" style="display:none"/>The problem is that the value changed listener is never getting invoked
My thinking is that using immediate=true will only skip Convertion ,Validation and update model phase and the listener should be called as is.
Regards,
Joshua
This article may be helpful then: [http://balusc.blogspot.com/2007/10/populate-child-menus.html].
Similar Messages
-
In Pages I have white letters in a black background. I would like to have the normal black letters on a white background. This is the first time I have used Pages. Is this the default format?
Should we guess what version of Pages? On either Mac or iGadget?
It helps to tell us.
Peter -
In Safari, the link to "mail this web page" doesn't work, and the share link shows "no service". Does anyone have a solution? I have a MacBook Pro and upgraded to Yosemite yesterday.
See here: If sharing options and Markup are missing after you install OS X Yosemite
This resolved the issue for me.
Rick -
The textbox for setting a start page is grayed out, and I cannot change the start page.
When I go to Options form, the textbox for "Mozilla Firefox Start page" is grayed out, and unchangeable. If I navigate to a page, then set that as my start page, closing and restarting Firefox reverts back to the Firefox/Google startpage - my home page setting is not being saved.
I have tried resetting Firefox, restarting with add-ons disabled, even deleting and recreating a new profile, but it still does this.Well, I lack the sufficient administrator privileges to uninstall the current install of Firefox, but - oddly enough - not to install a new copy to another folder.
So I installed the software, and viola - it worked!
Thanks! -
I have spotty signal at my home, so some functions don't work until I leave the house. I noticed on the main screen, it says I have 54 emails, but when I open the app, I only have 4. I powered down and back up. No fix. What gives?
Im having this same problem an my phone is about 3 weeks old. I am not sure about the voice over part though...I have not yet figured out how to work the voice recognition part of the phone...I am such a newbie with this phone. I did the power off/on suggestion, several times. I tried leaving it off for 10 minutes. Tried to reset with the power on/off and home button pressed at the same time. Charged battery. Still makes no difference. You cannot scroll any direction. Have to double click to open apps. Have to double click letters when texting or emailing in order to get the letter in the text box. Can scroll through app choices, have to click on the line with the dots in it and move from page to page. Can't access the settings - > general - > accessibility - because it won't allow me to scroll down to "general".
Anyone help you with your fix yet? -
Untii now the keyboard shortcut to top of page was control+home and to end was control+end. Now I am running Windows 8.1 and Firefox Beta neither of these work. Neither does control++ or control+0. (They did not work before I upgraded Firefox while I was using W8.1). Is there any keyboard shortcut to get immediately to top and to end?
Home and End without the Ctrl key should be sufficient to go to the top and bottom of a page.<br />
You only need the Ctrl key if you are in a text area.
Do you otherwise have problems with scrolling a page?
Does the Ctrl key work otherwise?
Did you try a new profile?
Create a new profile as a test to check if your current profile is causing the problem.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
The window don't open or they are there and only in an outline, kind of like they're behind the screen.
I have also done a system update and then a system reinstall.
What now? incident nr, 526941222.After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
The window don't open or they are there and only in an outline, kind of like they're behind the screen.
I have also done a system update and then a system reinstall.
What now? incident nr, 526941222. -
Security question keep saying they are wrong and I know they are right. I can't change them cuz when I try it tells me to answer the questions. I have tried everything changing my account and all and still can't get it can some one please help me out.
Go here and select "Reset your password." You will receive an email message with a link that bypasses the questions. You will then be able to select and answer the questions again.
-
When I try to delete page(s) from a PDF document I created, I geth the following message: "One or more pages are in use and could not be deleted." Any suggestions?
I sent an email to TerraGo Support and they sent the following response: "This has bug has been discovered and our development team is quickly creating a patch to resolve the problem. The patch should be available within a week or two. For your reference, the bug number assigned to this case is: 3620. Check back in about two weeks and hopefully the patch will be available. Again, I apologize for the inconvenience."
-
To transfer contents of one MBP to another do they both have to have the same version of the OS? I have one which is SL (source) and the other is ML (target) .. thanks
No, they can be running different versions of OS X, but beware that any old PowerPC apps will not run with Mountain Lion.
-
I get to the part when i have to enter my user name and pass...read this
i get to the part when i have to enter my user name and pass and i am able to enter my username but when u get to the part of password i cant write anything please someone tell me what to do i cant enter my system (solaris 10 x86)and i just installed it i cant see it please helppppp!!!!
umm. i hope you are aware of the fact that when you enter your password in Solaris you won't see any evidence of it until you press "enter".. hence, there are no "*" or similar which indicates that you are typing your password...
7/M. -
I dont use the credit card i have in my account any more and I dont want to put in a new one, how can i delete that information and just download the free apps?
Changing Account Information
http://support.apple.com/kb/HT1918 -
I have an iphone 4 which was lost on the bus ride home from an amusement park with my class. The phone does not have find my iphone on it and i cannot track it. Is there anything you guys would say i should do to get this phone back.
Call it and ask whoever answers to give it back to you.
-
I was downloading the new IOS and message could not find Iphone appears in Itunes window - Now my my phone is stuck with the power symbol and an arrow pointing to the Itunes symbol, I have tried turning off my phone and turning it back on but nothing seems to work
So when you plug it into your computer, you're not getting a message in iTunes that it has discovered a phone in recovery mode?
Reboot both the computer and the phone and try again. -
WD My Passport 1TB USB external drive randomly ejects from my iMac and MacBook Pro.
The drive is approximately 4 years old. When the drive is plugged in, I can see the data. It appears to be working properly. The only problem is that everyone of my Apple Machines are ejecting it. Several years ago, this drive connected to Mac machines with no problems. I have tried two separate USB cords. I have updated the firmware. I have tried it on my MacBook, two different Macbook Pro's, and my iMac.
All give the same result of random ejection of the drive and the error message of:
Disk Not Ejected Properly
Eject "1TB Passport HD" before disconnecting or turning......
Searching through the web, it seems this is an common/known problem. Does anyone know the solution?
Thanks,Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
Feedback
Maybe you are looking for
-
Same Problem: Safari wont open and it Force to quit.
I have the same problem with Safari, just like other users. When I start up my iMac Safari dont open and the rainbow circle appear; it forces to quit. This is the Crash Report: http://rapidshare.com/files/156630612/Safari_Error.rtf.html Please Help.
-
Format on multiple columns issue ...
Post Author: needhelptoo CA Forum: Formula I'm having issues with the way the data is displaying.I am using the Format Multiple Columns.I have 3 across set.I have the Down and Across checked.My report with the 3 columns is a custom labels sheet.I nee
-
Error while deploying ADF Model Project to OIM 11g R2
Hi I am getting the following error when deploying ADF Model Project in OIM 11g R2 oracle.jbo.NoDefException:JBO-25058: Definition UsrLastName of type Attribute is not found in UsrLastName any inputs is appreciated...thanks in advance....
-
Can't type in search box in mac app store or click updates etc.
i can't type anything in the search box in the mac app store or click updates , purchases, featured,top charts, categories!can't access anything to tool bar! anyone else haveing this problem? only the back and forward and close buttons work! also can
-
The images appear brighter and over-saturated. Any help would be greatly appreciated.