Hi All,

I am unable to get values of disabled components
[inputText,selectOneChoice].  I have a jspx page (summary page) which lists
out all the employee details in a tabular form.  The last column contains an
edit icon for each row, which navigates to edit employee details.  The same
page has been used to add new employee details also. [addEditEmployee.jspx]

There are few components [say status - selectOneChoice - Active by default]
which would be disabled when adding a new employee.  I am able to get the
value into Backing bean while adding a new employee and was able to save the
employee successfully.

There are few components [say Emp Code - inputText] which would be disabled
while editing an existing employee.  The same component would be enabled
based upon a condition and is updatable.  When edit icon has been clicked in
the summary page, it would navigate to addEditEmployee.jspx where we can
update the other fields but not Emp Code.  I am unable to get the value of
the component while updating an employee in case when inputText is disabled. 
As I am using Hibernate, the data would be added/updated into the Database
with the help of Hibernate Template with the configurations in POJOs and
hbm.xml files.  Please help me out.

Thnxs
Glen
-- 
View this message in context: 
http://www.nabble.com/Unable-to-get-values-to-Backing-Bean-from-a-disabled-control-tf4596458.html#a13123147
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to