disabled DropDown not submitting corect values
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Andrei_Taras
Posted On:   Tuesday, March 24, 2009 07:21 PM

Hello to everybody. Having a little issue with the dropdowns, if anyone can help me. Problem is as follows : -on a form, i have a DropDown object (webui.jar - 1.2) -DropDown's disabled property is bound to a backing bean boolean variable. -in the prerender method of the backing bean, i set this variable's value to TRUE (meaning of course that the DropDown goes to disabled state) -so far, all is ok. DropDown is shown as being disabled, in the web page, and the value correctly selected in it. -PROBLEM is : at this point, when the user does a submit on this form, the selected value returns as NULL. Did anyone   More>>

Hello to everybody.

Having a little issue with the dropdowns, if anyone can
help me.


Problem is as follows :

-on a form, i have a DropDown object (webui.jar - 1.2)

-DropDown's disabled property is bound to a backing bean
boolean variable.

-in the prerender method of the backing bean, i set this
variable's value to TRUE (meaning of course that the
DropDown goes to disabled state)

-so far, all is ok. DropDown is shown as being disabled, in
the web page, and the value correctly selected in it.

-PROBLEM is : at this point, when the user does a submit on
this form, the selected value returns as NULL.


Did anyone else has this problem ? Has anyone found a
solution to this ? This keeps happening all over my
web app.


Kind regards,
Andrei

   <<Less
About | Sitemap | Contact