struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Crossfield <ian.xfi...@dsl.pipex.com>
Subject RE: Newbie: Accessing form values
Date Thu, 31 Oct 2002 15:26:18 GMT

Cheers - oh well its only half an hour till home time... :)

Quoting Xavier Combelle <xcombelle@kaptech.com>:

> 
> 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
> > À : struts-user@jakarta.apache.org
> > 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>
> 
> 




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


Mime
View raw message