how to bind the values in jsf

L

Lew

jai- nigam said:
Hi
i [sic] am new to jsf [sic] ..can u tell me how to bind the value in jsf

Please do not use textspeak - it's opaque and annoying.

The Sun tutorial goes into detail on this and other JSF issues:
<http://java.sun.com/javaee/5/docs/tutorial/doc/bnaqz.html>
more specifically, in
<http://java.sun.com/javaee/5/docs/tutorial/doc/bnatg.html>

The short version is that you use an Expression Language (EL) expression in a
'value' or 'binding' attribute of a JSF tag to reference a managed bean method
or property. To cite the tutorial's example,

... value="#{MyBean.currentOption}" ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,135
Latest member
VeronaShap
Top