just use
<logic:equal name="editDatabaseForm" property="currentPage" value="1">
where editDatabaseForm is the formBena's name as specified in
struts-config.xml

Regards,
Xavier

> -----Message d'origine-----
> De : Ian Crossfield [mailto:ian.xfield@;dsl.pipex.com]
> Envoyé : jeudi 31 octobre 2002 16:17
> À : [EMAIL PROTECTED]
> Objet : Newbie: Accessing form values
>
>
>
> I expect it to be an obvious answer, but I'm just banging my head
> against the
> desk now...
>
> How do I go about accessing a parameter held within a form so
> that it can be
> used by the logic tasks for comparison?
>
> I.e. I have a form field called "currentPage", this has the
> appropriate get and
> set methods within its form "EditDatabaseForm". I want to get at
> it several
> times in tags similar to:
>   <logic:equal name="currentPage" value="1">
>
> I suspect it's something to do with the <bean:stuts> or
> <bean:define> tag, but
> I can't find a suitable example.
>
> Thanks
>
> Ian
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to