Re: HTML form input value via client side

2013-01-04 Thread Norman Franke
On Jan 3, 2013, at 3:17 PM, Thiago H de Paula Figueiredo wrote: > On Thu, 03 Jan 2013 15:44:12 -0200, owzim wrote: > >> how can I set a value of any input field client side and have it transfered >> properly to the backend. > > The easiest way is just using the Tapestry form field components.

Re: HTML form input value via client side

2013-01-03 Thread Thiago H de Paula Figueiredo
On Thu, 03 Jan 2013 15:44:12 -0200, owzim wrote: Hi, Hi! how can I set a value of any input field client side and have it transfered properly to the backend. The easiest way is just using the Tapestry form field components. I've tried many different approaches, like hidden input fields

Re: HTML form input value via client side

2013-01-03 Thread Michael Gentry
PS. My memory is rusty, it might also be the getAttribute() method, but try getParameter() first. On Thu, Jan 3, 2013 at 2:16 PM, Michael Gentry wrote: > Try using a normal HTML input (non-T5 component, could be the hidden one > you mentioned) and then: > > import org.apache.tapestry5.services.

Re: HTML form input value via client side

2013-01-03 Thread Michael Gentry
Try using a normal HTML input (non-T5 component, could be the hidden one you mentioned) and then: import org.apache.tapestry5.services.Request; ... @Inject private Request request; ... request.getParameter("name"); On Thu, Jan 3, 2013 at 12:44 PM, owzim wrote: > Hi, > how can I set a value of