You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Faraz Kazmi <fh...@yahoo.com> on 2007/10/29 13:50:05 UTC
Retrieving client side Updated Value on server
Hi
I am unable to retrieve my values which are updated on client side.
For example.. i binded my TextBox with
#{facesContext.viewRoot.attributes['mybox']}
and i set a default value in
FacesContext.getCurrentInstance().getViewRoot().getAttributes.put("mybox","default
value")
when the textbox is rendered it contains valid value. i.e > "default value"
if i change the value by filling textbox and cleck on button with calls my
managed bean function > search(Action event) and retrive viewRoot from
FacesContext and check the value of mybox, it says "default value"
but now if i reload my jsp page the new text box is rendered with the new
value ( that i had filled )
Can u tell me how can i retrive my filled value on server ( managed bean
action listener method )???
seems like state is maintained on client and not transfered to server
( though my state_saving method is client, but i want the updated values on
server)
Please guide me with this problem
Thanku
--
View this message in context: http://www.nabble.com/Retrieving-client-side-Updated-Value-on-server-tf4711419.html#a13466738
Sent from the MyFaces - Users mailing list archive at Nabble.com.