Just use condition tag to hide your fields,like this: <s:if test="user.email==null"> <s:textfield key="user.email" name="user.email" /> </s:if>
On 3/20/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
Just wondering how you guys would make something like this: When a Field in a form is null or empty it should be displayed, if it is already filled it should disappear. Is there an easy way to do this with s2? Use-Case is to ask the user missing information after login. Piero. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]