Below snip is not working.
situation is , if value of buildConfigureBB.isConfigure == true then field should be display.
else not.
<p:outputLabel rendered="#{buildConfigureBB.isConfigure ne false}" value="Comments"/>
<p:inputTextarea rendered="#{buildConfigureBB.isConfigure ne false}" id="commentval1" rows="1" cols="60" value="#{buildConfigureBB.isConfigure}" />
</h:panelGrid>
I tried to display current value of isConfigure in value= ....it is coming correctly but it is not working with rendered=
Please assist.
Thank You!
Hiren Patel
rendered=#{bean.field} not taking value.
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
rendered="#{buildConfigureBB.isConfigure}" must work. Otherwise something is wrong with your environment, the bean doesn't exist or isConfigure returns the wrong value.
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
-
- Posts: 8
- Joined: 18 Jan 2017, 22:33
tandraschko wrote:rendered="#{buildConfigureBB.isConfigure}" must work. Otherwise something is wrong with your environment, the bean doesn't exist or isConfigure returns the wrong value.
I tried everything, I also displayed boolean value passed by buildConfigureBB.isConfigure it is dipayed as value="#{buildConfigureBB.isConfigure}"
then why render="#{buildConfigureBB.isConfigure}" is not working.
Also wants to make a note that at the same time i have some ajax call on other fileds on same form.
do you think that can prevents.
Please help
HP
-
- Information
-
Who is online
Users browsing this forum: No registered users and 12 guests