Re: logic TagLib and getRemoteUser()

2005-02-04 Thread Frank Schaare
Niall Pemberton schrieb: Jakarta Taglibs appears to have such a thing: http://jakarta.apache.org/taglibs/doc/request-doc/intro.html http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#request So you should be able to do what you want, i.e indeed ! Seems, that i overlooked t

Re: logic TagLib and getRemoteUser()

2005-02-03 Thread Niall Pemberton
Jakarta Taglibs appears to have such a thing: http://jakarta.apache.org/taglibs/doc/request-doc/intro.html http://jakarta.apache.org/taglibs/doc/request-doc/request-1.0/index.html#request So you should be able to do what you want, i.e Niall - Original Message - Fr

Re: logic TagLib and getRemoteUser()

2005-02-03 Thread Jeff Beal
Look at the documentation for the and tags. Each tag has an attribute 'role' where you can specify a comma-separated list of roles. What I think you want is: with the role attribute in each case having the list of all roles you define in your application descriptor. -- Jeff Frank S

Re: logic TagLib and getRemoteUser()

2005-02-03 Thread Frank Schaare
Hi, Do you mean that you want to display one image if the user is logged in and a different image if the user is not logged in? Exactly. <%=request.getRemoteUser()%> is null when the user ist not loged in. If so <%=request.getRemoteUser()%> gives me the string of the username. IÂm looking for

Re: logic TagLib and getRemoteUser()

2005-02-03 Thread Jeff Beal
Frank Schaare wrote: Hi, iÂd like to diplay an image whether the user is loged in or not (CMS). Do you mean that you want to display one image if the user is logged in and a different image if the user is not logged in? -- Jeff -

logic TagLib and getRemoteUser()

2005-02-03 Thread Frank Schaare
Hi, iÂd like to diplay an image whether the user is loged in or not (CMS). Therefore iÂd like to use the logig taglib, but i canÂt access the request object. Any jsp fragment like <%=request.getRemoteUser()%> works fine, but how do i translate this into suitable arguments for the logic tags ? t