Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

[08:58:04 CDT(-0500)] <rickard> How do I in a portlet check if the current user is part of a particular group?
[09:01:29 CDT(-0500)] <rickard> Something similar to upGroup:isUserDeepMemberOfGroupName() but from a portlet.
[09:41:37 CDT(-0500)] <rickard> athena: Do you know if that's possible?
[09:52:14 CDT(-0500)] <rickard> Nevermind. I found request.isUserInRole()
[17:54:24 CDT(-0500)] <EricDalquist> style question for folks
[17:54:28 CDT(-0500)] <EricDalquist> in an XML document
[17:54:46 CDT(-0500)] <EricDalquist> what are peoples preferences on wrapping a repeating tag with an outer tag
[17:55:14 CDT(-0500)] <DrewWills> er... depends?
[17:55:18 CDT(-0500)] <EricDalquist> like: <foo><things><thing id="1"/><thing id="2"/><thing id="3"/></things></foo>
[17:55:34 CDT(-0500)] <DrewWills> i wouldn't ssay it's necessary in all cases
[17:55:34 CDT(-0500)] <EricDalquist> versus: <foo><thing id="1"/><thing id="2"/><thing id="3"/></foo>
[17:56:00 CDT(-0500)] <EricDalquist> I tend to lean toward option 2
[17:56:09 CDT(-0500)] <DrewWills> any chance you'd want attributes on the outer tag?
[17:56:12 CDT(-0500)] <EricDalquist> but I didn't know if people had other views
[17:56:17 CDT(-0500)] <EricDalquist> not in these cases
[17:56:23 CDT(-0500)] <EricDalquist> its simply acting as a wrapper

  • No labels