Re: Incorrect assumption with logic:present role attribute

2003-02-12 Thread Craig R. McClanahan
On Wed, 12 Feb 2003, Siggelkow, Bill wrote: > Date: Wed, 12 Feb 2003 13:59:58 -0500 > From: "Siggelkow, Bill" <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]

Incorrect assumption with logic:present role attribute

2003-02-12 Thread Siggelkow, Bill
I have an app where I have created my own RequestProcessor to override the processRoles functionality. Specifically, my roles take into account certain session information. This works as expected and properly handles the 'roles' attribute in my action mappings. However, I naievly (sp?) made t

Re: logic:present role="RoleName" not working??

2001-08-21 Thread Matt Raible
I figured it out - I was closing the "present" tag before printing out values. --- Matt Raible <[EMAIL PROTECTED]> wrote: > I have the following scriptlet that returns the correct values: > > <% > if (request.isUserInRole("Administrators")) { > out.println("Administrator"); > } else if (re

logic:present role="RoleName" not working??

2001-08-21 Thread Matt Raible
I have the following scriptlet that returns the correct values: <% if (request.isUserInRole("Administrators")) { out.println("Administrator"); } else if (request.isUserInRole("Employees")) { out.println("Employee"); } %> And I was hopeing to use the logic:present tag to achieve t