dcsimg
How to get a value of a text field or a bean member in a JSP tag?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, January 19, 2006 10:42 AM

Hi, I have a JSF page with 2 outputText fields. I want the second one to appear only if the first has a certain value. It should be something like: <% if (alarmState.value != "OK") { %> <% } %> But I don't know how to get a value of a JSF field, or a value of a java bean member in a JSP tag (that is not bind to a field in the page), like the example above. Can anyone help me? Thanks, Efrat    More>>

Hi,


I have a JSF page with 2 outputText fields.
I want the second one to appear only if the first has a certain value.


It should be something like:


			





<% if (alarmState.value != "OK") { %>




<% } %>




But I don't know how to get a value of a JSF field, or a value of a java bean member in a JSP tag (that is not bind to a field in the page), like the example above.


Can anyone help me?


Thanks,
Efrat

   <<Less
About | Sitemap | Contact