I wanna dynamically refresh dropdown values. Here is my requirement 

The user creates new record by selecting "New" value from the dropdown. Then
user enters values on form fields and clicks the Submit button. The result
is record gets created in the database and also gets populated in the
dropdown. Now i wanna show this record as selected value in the dropdown
instead of New to faciltate update/delete operations. 

Note: The reason i am doing this is subsequent save results in detached
object hibernate exception. To resolve this exception if i create a new
instance then i will loose the original object so i cant do update/delete on
the original object. My backing bean is in session scope

Any pointers/suggestions will be highly appreciated 
Regards 
Bansi 

-- 
View this message in context: 
http://www.nabble.com/Dynamically-Refresh-Dropdowns-in-JSF-MyFaces-tf3966063.html#a11257001
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to