Re: [S2] - Types in form parameters

2007-10-27 Thread Zoran Avtarovski
We had a need to do this in one situation where we couldn't place the object into session scope and put a pointer as a hidden field. Our solution was to serialise the object to a string, include the string as a hidden field and then recreate on form submission. From memory I think we used xstream.

Re: [S2] - Types in form parameters

2007-10-25 Thread cilquirm
A failed type conversion will incur a field error as well. wild_oscar wrote: > > > > newton.dave wrote: >> >> --- wild_oscar <[EMAIL PROTECTED]> wrote: >>> In a form I have a parameter passed like: >>> >>> >>> >>> where sop is of class I created. >>> >>> When I execute the action I g

Re: [S2] - Types in form parameters

2007-10-25 Thread wild_oscar
newton.dave wrote: > > --- wild_oscar <[EMAIL PROTECTED]> wrote: >> In a form I have a parameter passed like: >> >> >> >> where sop is of class I created. >> >> When I execute the action I get: >> >> "No result defined for action myAction and result >> input" >> >> Does this have to do wi

Re: [S2] - Types in form parameters

2007-10-25 Thread Dave Newton
--- wild_oscar <[EMAIL PROTECTED]> wrote: > In a form I have a parameter passed like: > > > > where sop is of class I created. > > When I execute the action I get: > > "No result defined for action myAction and result > input" > > Does this have to do with the fact that the variable > is of a