You could certainly use either if you've enabled the filter I mentioned
below. I suppose it depends on how much you want your code to be tied
to Acegi. If there's a possibility you'll revert back to CMA someday,
I'd use <logic:present>.
Matt
On Apr 26, 2005, at 9:44 AM, Greg Akins wrote:
Thanks!
While I was checking into this I also ran into the
<authz:authorize> tag.
Any thoughts on whether it's better to call the roles
attribute using <logic:present> vs relying on the
Acegi tag libraries?
--- Matt Raible <[EMAIL PROTECTED]> wrote:
You should be able to use the "roles" attribute of
<logic:present> if
you enable Acegi's ContextHolderAwareRequestFilter
(http://tinyurl.com/8knk9).
Matt
On Apr 26, 2005, at 8:45 AM, Greg Akins wrote:
I would like to use Acegi to display a value in a
JSP
page conditionally.
Preferably using <logic:present/>
There is probably a pretty obvious answer to this;
and
I'm going to go looking for it now.
However, I'm on a tight deadline. So if anyone
can
point me to a FAQ, Wiki entry... Or anything to
help
I'd really appreciate it.
Thanks!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT
Products from real
users.
Discover which products truly live up to the hype.
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT
Products from real users.
Discover which products truly live up to the hype.
Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer