You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shah Nabib El-Rahman <se...@umich.edu> on 2001/02/28 20:42:45 UTC
ifParameterExists
Hello,
The ifParameterExists tag seems not be working, has anyone else came
across the same problem?
shah
Re: ifParameterExists
Posted by Shah Nabib El-Rahman <se...@umich.edu>.
thanks,
<logic:equals > worked
-------------------------------------------------------------------------------
"If the misery of our poor be caused not by the laws of nature, but by our
institutions, great is our sin"
-- Charles Darwin
-------------------------------------------------------------------------------
On Thu, 1 Mar 2001, Craig R. McClanahan wrote:
>
>
> Shah Nabib El-Rahman wrote:
>
> > Hello,
> >
> > The ifParameterExists tag seems not be working, has anyone else came
> > across the same problem?
> >
> > shah
>
> It sounds like you are still using the Struts 0.5 tags. There isn't a
> tag named "ifParameterExists", although the following tags exist:
> ifParameterEquals, ifParameterNotEquals, ifParameterNotNull,
> ifParameterNull.
>
> In Struts 1.0, you would use
>
> <logic:present parameter="xxx">
>
> to test for the presence of a request parameter named "xxx".
>
> Craig McClanahan
>
Re: ifParameterExists
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Shah Nabib El-Rahman wrote:
> Hello,
>
> The ifParameterExists tag seems not be working, has anyone else came
> across the same problem?
>
> shah
It sounds like you are still using the Struts 0.5 tags. There isn't a
tag named "ifParameterExists", although the following tags exist:
ifParameterEquals, ifParameterNotEquals, ifParameterNotNull,
ifParameterNull.
In Struts 1.0, you would use
<logic:present parameter="xxx">
to test for the presence of a request parameter named "xxx".
Craig McClanahan