Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSF
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSF
<h:selectOneListbox disabled="true"> cant read in bean after enbaling thro' JS
Selvakumar Nachimuthu
Greenhorn
Posts: 4
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
Iam using <h:selectOneListbox disabled="true" >. Initially this is disabled and iam enabling thro' Javascript. But the value is not reflecting in the bean. Can anyone help me out on this...
Avi Abrami
Ranch Hand
Posts: 1143
1
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Javascript runs on the client side.
JSF
runs on the server side. Hence the bean is not invoked at all.
Selvakumar Nachimuthu
Greenhorn
Posts: 4
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks Avi, actually i just started working in JSF. Is there anyway that i can bring that value in bean
Avi Abrami
Ranch Hand
Posts: 1143
1
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The value for the "disabled" attribute can be a JSF EL expression, as in:
disabled="#{bean.property}"
The value of the property should be a boolean but the strings "true" and "false" should also work.
Good Luck,
Avi.
Selvakumar Nachimuthu
Greenhorn
Posts: 4
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks a lot Avi
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
jsf ajax rerender inputText
how to force setter in jsf??
how to get html select's value in the bean
f:ajax doesn't render.
drop down list question
More...