uPortal IRC Logs-2009-04-27

[01:33:03 EDT(-0400)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has joined ##uportal
[02:13:27 EDT(-0400)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has left ##uportal
[03:12:48 EDT(-0400)] * higmad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[08:23:00 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has joined ##uportal
[09:04:07 EDT(-0400)] * colinclark (n=colin@70.26.84.241) has joined ##uportal
[09:14:35 EDT(-0400)] * anastasiac (n=stasia@142.150.154.189) has joined ##uportal
[09:27:13 EDT(-0400)] * tsnfoo (n=tsnfoo@wso-mbp15.test.denison.edu) has joined ##uportal
[09:34:06 EDT(-0400)] * bszabo (n=bszabo@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[09:38:56 EDT(-0400)] * [jlee] (n=jlee@adsl-074-184-125-241.sip.asm.bellsouth.net) has joined ##uportal
[09:54:55 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:08:20 EDT(-0400)] * DSpair (n=dphillip@12.100.112.163) has joined ##uportal
[10:08:59 EDT(-0400)] * DSpair (n=dphillip@12.100.112.163) has left ##uportal
[10:27:34 EDT(-0400)] * fj4000 (n=Jacob@142.150.154.106) has joined ##uportal
[10:44:01 EDT(-0400)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:53:02 EDT(-0400)] * michelled (n=team@142.150.154.193) has joined ##uportal
[11:14:54 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:19:24 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:34:51 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:38:41 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[11:39:30 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[11:40:20 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[11:53:50 EDT(-0400)] * jessm (n=Jess@c-71-232-3-4.hsd1.ma.comcast.net) has joined ##uportal
[12:07:43 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[12:15:46 EDT(-0400)] * athena (n=athena@99.129.100.66) has joined ##uportal
[12:22:53 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[12:45:39 EDT(-0400)] * Sememmon (n=Sememmon@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:05:29 EDT(-0400)] <EricDalquist> hrm ... is there a good way to change the <title> in uPortal based on the skin?
[15:20:13 EDT(-0400)] <athena> EricDalquist:
[15:20:24 EDT(-0400)] <athena> you could do it using the new "institution" stuff that gary put in, i think
[15:20:44 EDT(-0400)] <athena> you'd probably need to declare two separate message keys and toggle between them based on the institution setting
[15:20:53 EDT(-0400)] <athena> or the skin variable
[15:20:54 EDT(-0400)] <athena> or whatever
[15:31:04 EDT(-0400)] <EricDalquist> ah ok
[15:38:34 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[15:42:07 EDT(-0400)] <athena> sending email re: fluid and up-2047
[16:15:33 EDT(-0400)] <EricDalquist> yay xpath
[16:15:44 EDT(-0400)] <athena> is it being helpful?
[16:15:48 EDT(-0400)] <EricDalquist> /theme-messages/tokens[lang('en-us') and (@institution='system' or not(@institution))]/token
[16:16:11 EDT(-0400)] <athena> nice (smile)
[16:16:24 EDT(-0400)] <athena> i like it!
[16:16:32 EDT(-0400)] <EricDalquist> that way I can only enumerate the institution specific tokens I need and leave the common ones in a non-institution specific block
[16:16:34 EDT(-0400)] <athena> might put that somewhere in case others are interested
[16:16:35 EDT(-0400)] <athena> yeah
[16:16:39 EDT(-0400)] <athena> absolutely
[16:16:39 EDT(-0400)] <EricDalquist> yeah
[16:33:11 EDT(-0400)] <EricDalquist> hrm ... annoying
[16:33:24 EDT(-0400)] <EricDalquist> xpath's lang() expects locale's using a - as a seperator
[16:33:30 EDT(-0400)] <EricDalquist> Java's Local uses a _
[16:33:52 EDT(-0400)] <EricDalquist> so if your Java Locale is en_us it won't match the en-us in the messages file (tongue)
[16:34:16 EDT(-0400)] <athena> ick
[16:34:32 EDT(-0400)] <athena> i feel like that's probably a problem for our current setup?
[16:34:38 EDT(-0400)] <EricDalquist> yup
[16:34:50 EDT(-0400)] <EricDalquist> you're fine if your locale is 'simple'
[16:35:07 EDT(-0400)] <EricDalquist> so if Java just returns a language code, not country or variant
[16:38:47 EDT(-0400)] <EricDalquist> does it seem sane to add:
[16:38:47 EDT(-0400)] <EricDalquist> translate($USER_LANG, '_', '-')
[16:38:51 EDT(-0400)] <EricDalquist> to the XSL?
[16:39:15 EDT(-0400)] <athena> that sounds reasonable to me
[16:39:39 EDT(-0400)] <EricDalquist> should I only do it in the messages lookup or globally when the variable is declared?
[16:40:09 EDT(-0400)] <athena> hm
[16:40:14 EDT(-0400)] <athena> does the variable get used anywhere else?
[16:40:22 EDT(-0400)] <EricDalquist> right now I don't think so
[16:40:34 EDT(-0400)] <athena> what does javascript expect?
[16:40:44 EDT(-0400)] <EricDalquist> good question
[16:40:46 EDT(-0400)] <EricDalquist> I'll go find out
[16:41:01 EDT(-0400)] <EricDalquist> there are apparently a few different RFC and ISO standards defining the syntax
[16:41:04 EDT(-0400)] <athena> i'm thinking if someone re-used that variable to change the language in the jquery ui calendar widget or something like that
[16:41:06 EDT(-0400)] <EricDalquist> which is why this is a problem
[16:41:12 EDT(-0400)] <athena> yeah it seems like it's kind of unpredictable
[16:41:22 EDT(-0400)] <athena> i've noticed there also seem to be about 10 billion time zone codes
[16:41:57 EDT(-0400)] <EricDalquist> yup
[16:44:16 EDT(-0400)] <EricDalquist> well on Firefox on Ubuntu shows en-UW
[16:44:17 EDT(-0400)] <EricDalquist> er US
[16:44:29 EDT(-0400)] <EricDalquist> you happen to have safari handy?
[16:45:18 EDT(-0400)] <EricDalquist> IE on windows returns en-us
[16:47:57 EDT(-0400)] <athena> oh, yeah i can check
[16:48:20 EDT(-0400)] <EricDalquist> ok go here: http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_tolocalestring
[16:48:20 EDT(-0400)] <EricDalquist> and
[16:48:38 EDT(-0400)] <EricDalquist> http://uportal.pastebin.com/de655bf
[16:48:44 EDT(-0400)] <EricDalquist> stick that in the editor on the left
[16:48:45 EDT(-0400)] <athena> looks like en-us
[16:49:04 EDT(-0400)] <EricDalquist> ok (smile)
[16:49:05 EDT(-0400)] <EricDalquist> thanks
[16:49:11 EDT(-0400)] <athena> oh i hadn't tried that yet
[16:49:12 EDT(-0400)] <athena> hang on
[16:49:26 EDT(-0400)] <EricDalquist> so I'm going to just fix the USER_LANG variable in the XSL to switch it to - instead of _
[16:50:11 EDT(-0400)] <athena> ok, yeah i was write
[16:50:13 EDT(-0400)] <athena> sounds good
[16:50:20 EDT(-0400)] <athena> er, right
[16:50:23 EDT(-0400)] <athena> writing right, ahh!
[16:50:24 EDT(-0400)] <EricDalquist> (smile)
[16:59:20 EDT(-0400)] * anastasiac (n=stasia@142.150.154.189) has left ##uportal
[17:08:13 EDT(-0400)] * monteslu (n=monteslu@ip68-109-171-127.ph.ph.cox.net) has joined ##uportal
[18:19:26 EDT(-0400)] <EricDalquist> I committed the institution based messages to trunk
[18:19:36 EDT(-0400)] <EricDalquist> with an empty example
[18:19:38 EDT(-0400)] * tsnfoo (n=tsnfoo@cpe-173-88-27-191.columbus.res.rr.com) has joined ##uportal
[18:19:40 EDT(-0400)] <EricDalquist> should be pretty easy to follow
[18:19:45 EDT(-0400)] <EricDalquist> also fixed the locale bug
[18:27:19 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[18:28:43 EDT(-0400)] <monteslu> is there any guess on when pluto 2.0 will be ready?
[18:29:14 EDT(-0400)] <EricDalquist> when pluto 2.0 will be released or when uPortal will upgrade to pluto 2.0?
[18:30:27 EDT(-0400)] <EricDalquist> which question are you looking for the answer to?
[18:31:50 EDT(-0400)] <monteslu> pluto
[18:32:28 EDT(-0400)] <EricDalquist> that would probably be best asked on the pluto-user email list
[18:33:07 EDT(-0400)] <monteslu> I know, but I belong to so many lists, I didn't want to join another, and pluto doesn't have an irc channel (smile)
[18:33:09 EDT(-0400)] <EricDalquist> http://www.nabble.com/Pluto-2.0-td23136078.html
[18:33:18 EDT(-0400)] <EricDalquist> that thread is fairly recent
[18:33:33 EDT(-0400)] <monteslu> alot of my hits for pluto questions come to this forum
[18:33:43 EDT(-0400)] <EricDalquist> ah
[18:33:52 EDT(-0400)] <EricDalquist> well uPortal uses pluto as it's portlet container
[18:33:53 EDT(-0400)] <monteslu> cool, thanks for the link
[18:33:57 EDT(-0400)] <EricDalquist> that is likely why
[18:34:22 EDT(-0400)] <monteslu> so does jetspeed, but there isnt a jetspeed portal channel either (smile)
[18:34:34 EDT(-0400)] <monteslu> jetspeed as a project looks dead
[18:34:51 EDT(-0400)] <EricDalquist> I'm really not very familiar with the project
[18:36:13 EDT(-0400)] <monteslu> my company uses it for demoing purposes
[18:36:26 EDT(-0400)] <monteslu> but I'd really like to use it for development on the 286 spec
[18:37:01 EDT(-0400)] <monteslu> our target is usually websphere portal, but that thing is a beast to launch and debug against
[18:40:12 EDT(-0400)] <EricDalquist> ah
[18:47:33 EDT(-0400)] <monteslu> I'm using pluto 1.1.6 with eclipse and that seems to work ok, for jsr 168 stuff
[19:42:28 EDT(-0400)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[19:55:15 EDT(-0400)] * lennard1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[23:21:13 EDT(-0400)] * tsnfoo (n=tsnfoo@cpe-173-88-27-191.columbus.res.rr.com) has joined ##uportal
[23:32:31 EDT(-0400)] * Sememmon (n=Sememmon@ip70-190-32-223.ph.ph.cox.net) has joined ##uportal