permaculture playing cards*
The moose likes JSF and the fly likes Can not Populate the form on combo box change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Can not Populate the form on combo box change " Watch "Can not Populate the form on combo box change " New topic
Author

Can not Populate the form on combo box change

sandeep lokhande
Ranch Hand

Joined: Jan 25, 2010
Posts: 118

I am using Spring Webflow and Richfaces,

This is my Inventory.xml for flow.



i want to fill up form with the data according to dropdown value,

here is my page where i am changing dropdown using,


now i am concerned with product population in this case here is my inventory.xhtml page,



and the service is as,


i can get return the product bean according to productId,

Now the problem is i can not see values populating in my form even though the bean is returned successfully.

what should i do to populate the form?
please help.

Thanks and Regards,
Sandeep Lokhande.
Sridhar Santhanakrishnan
Ranch Hand

Joined: Mar 20, 2007
Posts: 317
You are rendering txtProdName when the method is finished. You should be rerendering the complete form instead.
sandeep lokhande
Ranch Hand

Joined: Jan 25, 2010
Posts: 118

thank you sir,
i have understood the problem and works fine.
have a nice day.
 
Don't get me started about those stupid light bulbs.
 
subject: Can not Populate the form on combo box change
 
Similar Threads
Struts: Getting a blank page instead of the form
JSF and CSS issues
How to get a scriptlet value for javascript validation
Ajax status doesn't stop in IE8
My bean doesn't quite work