There's a request tag in Jakarta taglibs that supports isUserInRole (among other things), so I would suggest that we go with three and refer people to taglibs for the missing functionality (still all in the family :0)
The role functionality is new in 1.1, and so people going from 1.0 to struts-el won't even miss it. -Ted 10/19/2002 6:48:15 PM, [EMAIL PROTECTED] wrote: >DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG >RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT ><http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13787>. >ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND >INSERTED IN THE BUG DATABASE. > >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13787 > >Struts-EL: Roles functionality of "logic:present" not in logic-el > > Summary: Struts-EL: Roles functionality of "logic:present" not in > logic-el > Product: Struts > Version: Nightly Build > Platform: Other > OS/Version: Other > Status: NEW > Severity: Normal > Priority: Other > Component: Custom Tags > AssignedTo: [EMAIL PROTECTED] > ReportedBy: [EMAIL PROTECTED] > > >When I made my "porting decisions" on each Struts tag, I thought that all of the >functionality of the "logic:present" tag was available in the JSTL, so I didn't >port that tag to Struts-EL. I now realize that the "role" functionality of >"logic:present" isn't directly provided in the JSTL. > >So, the alternatives are: > >One, port "logic:present" to Struts-EL. This is pretty easy, but it's sort of >annoying to have a tag, most of whose functionality is provided with the JSTL. > >Two, write "logic-el:isUserInRole". This is almost as easy as the first choice, >but the oddity here is that the tag would extend "PresentTag". > >Three, do nothing. > >Balancing the tradeoffs, I guess choice One is still the best choice. > >-- >To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> >For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org> > > -- To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>