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:
>>> 
>>> <s:hidden name="oldSop" value="%{sop}"/>
>>> 
>>> 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 custom type (and not a string, int, etc)?
>> 
>> Not directly. Most likely it means that validation has
>> failed and S2 is attempting to take you back to the
>> form's "input" page (result).
>> 
>> 
> 
> The point is that I don't have any validation for it. 
> Debugging it I saw I had a FieldError
> 
> "Invalid field value for field oldSop".
> 
> That's why I assumed I couldn't simply send the Sop object back to the
> server.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2----Types-in-form-parameters-tf4690260.html#a13409207
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to