Partial trigger set showrequired attribute to true, but on page not seeing the required 'star'?
Hi All,
I have a selectonechoice dropdown list and a input field, i want when the second item of dropdown list selected then the showrequired attribute of the input field was set to false, if the first item selected then the showrequired set to true. I also want to see the 'star' sign which indicates the showrequired attribute visually can be seen show and disappeared.
I am using a autosubmit enalbed selecteonechoice and a partialtrigger (set the dropdown's id), but on page I didn't see any visual change : the 'star' sign is now showing or disappearing at all. Should it work? Or it's working but on page just not calling related CSS to show/hide the star sign? BTW I am using an el express for the showrequired attribute: showRequired="#{bindings.ReferenceValue1.inputValue eq 0? true: false}"
I also tried set the showrequired attribute in java method that listen to the dropdown list's onchange event, but still visually I am not seeing any change.
I did:
comConEditBankName.setRequired(false);
comConEditBankName.setShowRequired(false);
Could anyone point out my mistake here or give some guide?
Below are the jsf codes:
<af:selectOneChoice value="#{bindings.ReferenceValue1.inputValue}"
label="Invoice Template"
required="#{bindings.ReferenceValue1.hints.mandatory}"
shortDesc="#{bindings.ReferenceValue1.hints.tooltip}"
id="soc2"
binding="#{home.invoiceTemplate}"
visible="false"
autoSubmit="true"
valueChangeListener="#{home.invoiceTemplateOnChange}">
<f:selectItems value="#{bindings.ReferenceValue1.items}"
id="si2"/>
</af:selectOneChoice>
<af:inputText label="Bank Name" id="it12" showRequired="#{bindings.ReferenceValue1.inputValue eq 0? true: false}"
required="#{bindings.ReferenceValue1.inputValue eq '0'? true: false}"
binding="#{home.comConEditBankName}"
autoSubmit="true"
maximumLength="50"
partialTriggers="soc2"
value="#{bindings.ReferenceValue1.inputValue}"/>
Thanks!!!
Did you check the expression bindings.ReferenceValue1.inputValue eq 0 is true or not.
One more thing try showRequired="#{bindings.ReferenceValue1.inputValue eq 0}"
Similar Messages
-
My icloud account is not verifying it says check my mail witch I have done and I get a message say your iPhone for has been used to set up and Icloud account but still can not use the icloud can anybody help me.
Be sure you are checking the email account that you used to set up the Apple ID you used to create the iCloud account. Also, be sure to check your spam/junk folder as well as your inbox. The email you should receive looks like the image below. When you get it, click the Verify Now link.
If it still isn't there, try going to https://appleid.apple.com, click Manage your Apple ID, sign in, click on Name, ID and Email addresses on the left, then to the right look for a link to resend the verification email. -
I am trying to send photos to another iPhone user, however, every time I try to send it I get a prompt telling me that iMessage has to be enabled. I go into setting and iMessage is enabled but it will not send the photos in iMessage or otherwise.
I have tried to send it to multiple people and keep getting the same response.
-
I have 4 Apple TV's. All set up to Home share. One will not see the computer. It is also the only 720 I have. The other three are 1080's. How do I get the 4th one (the720) to recognize my Mac?
Need more information to help you, but I am providing some suggestions. Sorry if you are past these type of basic things. But didnt really have much to start with and understand your technical level to start with.
Have you got into Settings > Computers > Turned on Home Sharing (Note: You must use the some Apple ID used by the iTunes library on your MAC for them to see one another)
How is your MAC connected to the network vs the 720 ATV2? Is one WiFi and the other Ethernet? Have you tried switching the ATV2 to WiFi if Ethernet?
Has the MAC been restarted since this started happening? Same with your Router and any other networking device being used? Sometimes an IP conflict can arise in your networking and most consumer networking equipment does not know how to "self heal" without a reboot.
Make sure you have given those things a whirl and share back your results. Any other information you can provide, such as how you connect to your network from each ATV and MAC. -
My iphone is gray or black it is functioning but you can not see the screen so I can not call or text or anything, I have a child that is very ill and I have to have access to a phone at all times can someone help me? It happened one other time when I plugged it in to my to listen to music. I know it is working it said something on voice control. I tried the press the circle button and the top button but the screen only turned white?
Try the following:
- A reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory settings/new iPod.
If you still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order -
My iphone 4s is working but I can not see the screen.
my iphone 4s is working but I can not see the screen. What is going on?
Possibly backlight died, if you look at it closely in bright light can you see a "Shadow" of the screen image?
First, back up your phone
http://support.apple.com/kb/HT1766
Then, restore the OS from scratch
http://support.apple.com/kb/HT1414
If that doesn't work, you'll need to have the phone serviced
http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne -
My Adobe Acrobat update failed w Error 1321 The installer has insufficient privileges to modify file.... I followed the Adobe online instructions to change the advance settings.
Now trying to reinstall my Adobe Acrobat but I do not see the download option when I sign in to my Adobe account. Please help.
Also want to confirm that I uninstall my Adobe Acrobat before REinstalling.error 1321 the installer has insufficient privileges to modify this file c:\program files\adobe\reader 11.0\reader\arh.exe....also i tried reinstall but still receive error message...
error 1321 the installer has insufficient privileges to modify this file c:\program files\adobe\reader 11.0\reader\arh.exe
need your help please -
I have an iMac running Mavericks 10.9.4 I also have about 30 Kodack photo CDs that I wish to convert from PCD to Jpeg but Mavericks will not see the files, they are grey. Is there any way to convert them or must I do it on another machine?
KaibiliPhoto used to support the PCD format up to a few years ago. It's extremely frustrating that Apple decided to no longer support this format and now I'm directed to pay nearly $40 for an app that will (GraphicConverter 9). Did Lemke Software make a deal with Apple so we'd have to pay a premium for a very overpriced converter? And, how are decisions like this supposed to encourage the use of iPhoto?
Apple users already pay a premium to use a Mac. Obstacles like these eventually destroy loyalty to the Apple brand. Just ask Microsoft how their back room deals that exploited their customer base worked out for them. -
I backed up my iphon eto cloud but i do not see the changes
i backed up my iphone to the cloud, it is showing on the phone but i can not see the changes on the website
You go to (on your phone) Settings > iCloud > Storage & Backup > Managae Storage, and select your device, and it will tell you when it was last backed up. It's also printed below the "Back Up Now" button in the Storage & Backup menu.
-
I created a folder in my photostream on my iphone but I can not see the folder on my iPad 1. My wife does see the folder on her iPad 3. Is there anything I can do for my older iPad?
If you created an album containing some of your photo stream photos, this will not be shared using photo stream. If you want to share a subset of your photos, create a shared photo stream and share it with your wife, as explained here: http://help.apple.com/icloud/#mmc0cd7e99.
-
Ive bought Apple TV and upgrade my macbook air Os X ver 10.8.2 but i could not see the airplay on the top menu bar . please help! thank you.
The ability to use AirPlay is BOTH an OS requirement(Mountain Lion) AND has hardware requirements. You need to check and see if your 2010 Air will support Airplay.
-
HT201335 I see airplay appletv but I can not see the mirror button & everything is ok
I tried everything mentioned in the manual . On my tv I see appletv &all the channels but when trying to use the iPad 4 I see airplay but I do not see the mirror button
Whay app are you using some broadcasters block AirPlay from working with their apps (i.e. Sky, HBO etc)
-
I am trying to connect a wireless keyboard with a numeric pad to my (recent) iMac running Mountain Lion. I followed all recommendations in article http://support.apple.com/kb/TS3048#1. My computer recognises the alpha part, but it does not see the numeric pad. Any advice?
Hello:
I would try resetting the PRAM and SMC.
Barry -
I cannot send or receive group text messages and picture messages / MMS. The settings on Messages are already set to receive group texts but it does not help. What should I do?
Wow, 1yerdua. That's far too long to be having this messaging trouble. We want to find the resolution fast! If you turn off your Lumia's WiFi (Menu > Settings > WiFi), are you still able to access data-oriented applications like Internet Explorer? Have you been to other areas of the state/country and experienced the same trouble?
JenniferH_VZW
Follow us on Twitter www.twitter.com/vzwsupport -
i am trying to enable the new dark mode on my MacBook Pro 13" Retina but i do not see where i can enable it.
PLS Help!That looks like Mavericks to me,
Yosemite looks like this
Install Yosemite.
Maybe you are looking for
-
My neighbor gets service and AT&T cancels my account!
Extraordinarily long story (15+ hours phone time). So, here's the quick version. ATT changed my service address at some point to my neighbors address. Billing address is of course correct as I had service at my address for years. Found this out the
-
upon first opening firefox, the search bar works fine for one search only , then does nothing for any subsequent searches ... this was working fine before the recent update to version 26.. even if i go to the google search page web site (www.google.c
-
Hi There is a requirement to trigger a mail to a specific user id whenever the order will be Created, confirmed & TECOed (may be they add other events later on). We can make it through standard production order workflow process I think. For that I ha
-
Error (-50) with iTunes Download
I am trying to download a tv show and this keeps popping up. I went to the help page about the message. It said to delete the cache. I went to where my downloads go could not find it. In iTunes download window it is only 1.2k in size. Any help is app
-
Host name, port number and service name
Hi! I have a question that will sound easy and stupid, but not for me. during the instal of 9iAS.There is a screen ask to provide the host name,port number and service name. Did host anme is only the name of my PC? and what is the port number?(window