Correction - I copied and pasted and did not modify my pasted section =( My
appologies. It should read as:
<logic:present name='loggedInUser'>
<%-- This will be evaluated if the bean IS there --%>
</logic:present>
<logic:notPresent name='loggedInUser'>
<%-- This will be evaluated if the bean IS NOT there --%>
</logic:present>
... now it should actually do what you want =)
----- Original Message -----
From: "Eddie Bush" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 12:34 PM
Subject: Re: changing menu option in JSP
> Assuming you put some bean in session scope that identifies a logged-in
> user:
>
> <logic:present name='loggedInUser'>
> <%-- This will be evaluated if the bean IS there --%>
> </logic:present>
>
> <logic:present name='loggedInUser'>
> <%-- This will be evaluated if the bean IS NOT there --%>
> </logic:present>
>
> HTH,
>
> Eddie
>
> ----- Original Message -----
> From: "Jefferson Rodrigues de Oliveira e Silva"
> <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Monday, May 06, 2002 6:08 AM
> Subject: changing menu option in JSP
>
>
> > Hi guys,
> >
> > I have the following situation: when the user enters the site,
> > there is a menu page (JSP) which displays some menu options.
> > After logging, the login menu option is not displayed anymore, and
> > a logoff option has to be displayed.
> >
> > What's the best way to do that ?
> >
> > Thanks in advance
> > Jefferson
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>