Stefano Tranquillini wrote:
i've a form. i've some field that are double type. if i put a string inside
these fileds struts automatically check the incorrectness of the type. ok!
but, inside this form i've a select that is created by a list.
when the error comes out from struts, sruts goes back to the input page,
the list become empty and in the page no item is display.

how can i store the list in order to have its inside my page after the
error?

You could store it in session, you could implement Preparable and load the list. There are probably a few other reasonable solutions--those are what popped in to my head first.

PS: if i set required="true" at a field, struts doesn't check if this value
is present or not? what meaning has this property?

From the documentation:

"If set to true, the rendered element will indicate that
input is required"

It displays a required indicator.

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to