uPortal IRC Logs-2008-08-19

[06:43:20 EDT(-0400)] <higpetter> myString=sprintf("%20s%5d",otherString,someInt);
[06:43:27 EDT(-0400)] <higpetter> you know what I mean..
[06:43:37 EDT(-0400)] <higpetter> the best way to do this in java?
[06:44:10 EDT(-0400)] <higpetter> never mind
[06:44:16 EDT(-0400)] <higpetter> http://java.sun.com/developer/technicalArticles/Programming/sprintf/ seems good
[08:31:57 EDT(-0400)] * athena7 (n=athena7@99.149.83.32) has joined ##uportal
[09:45:55 EDT(-0400)] * MarkRogers (n=MarkRoge@addhcp129.cc.umanitoba.ca) has joined ##uportal
[10:00:01 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[10:30:11 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[10:48:19 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[11:20:54 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:46:21 EDT(-0400)] * lennar1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:35:45 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:59:17 EDT(-0400)] <lennar1> lol
[15:45:11 EDT(-0400)] * MarkRogers (n=MarkRoge@addhcp129.cc.umanitoba.ca) has joined ##uportal
[15:53:20 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has joined ##uportal
[16:32:43 EDT(-0400)] <dstn> In a portlet, I am only getting true from isUserInRole when I pass in the role-link value ... like isUserInRole("local.55") ... am I doing something wrong? I expected isUserinRole("Role Name") to return true.
[16:36:57 EDT(-0400)] <athena7> did you map them in the portlet.xml?
[16:38:37 EDT(-0400)] <dstn> ya ...
[16:38:43 EDT(-0400)] <dstn> To make sure I got it right, let me pastebin
[16:39:51 EDT(-0400)] <dstn> http://uportal.pastebin.com/d20a56173
[16:40:21 EDT(-0400)] <dstn> hopefully I don't have them mixed around
[16:40:27 EDT(-0400)] <dstn> haven't tried that yet
[16:41:06 EDT(-0400)] <athena7> looks ok
[16:41:15 EDT(-0400)] <athena7> are they in the <portlet> element itself?
[16:41:21 EDT(-0400)] <athena7> like as opposed to outside it
[16:41:33 EDT(-0400)] <dstn> a..yep
[16:42:04 EDT(-0400)] <dstn> I don't mind using the local.55 but it looks funny with spring security
[16:42:10 EDT(-0400)] <dstn> ROLE_local.55
[16:42:24 EDT(-0400)] <athena7> you should be able to use the mapped role name
[16:42:29 EDT(-0400)] <athena7> seemed to work ok in the calendar portlet
[16:43:53 EDT(-0400)] <dstn> Ya I could swear I've used the role name too
[16:44:00 EDT(-0400)] <dstn> sigh
[16:44:45 EDT(-0400)] <athena7> any chance it doesn't like spaces?
[16:47:01 EDT(-0400)] <dstn> I was wondering that
[16:48:22 EDT(-0400)] <athena7> well, let me know what you find out (smile)
[16:48:25 EDT(-0400)] <athena7> think i'm out for the day
[16:48:30 EDT(-0400)] <dstn> lol, okays
[16:48:35 EDT(-0400)] <dstn> good day
[16:48:39 EDT(-0400)] <athena7> you too
[16:57:03 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[17:15:31 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[23:42:03 EDT(-0400)] * higpetter (n=petter@brunte.HIG.SE) has joined ##uportal