Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[09:55:17 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[09:57:00 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[10:04:02 EDT(-0400)] * athena7 (n=athena7@99.145.99.32) has joined ##uportal
[10:23:46 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[10:48:38 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:40:27 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:01:57 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[12:01:57 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[12:02:16 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:02:19 EDT(-0400)] * bulloche (n=bulloche@134.250.4.77) has joined ##uportal
[12:02:35 EDT(-0400)] * ChanServ (ChanServ@services.) has joined ##uportal
[12:02:35 EDT(-0400)] * jessm (n=Jess@c-76-19-199-61.hsd1.ma.comcast.net) has joined ##uportal
[12:02:35 EDT(-0400)] * Tuomaz (n=fredrik@kaffe.umdc.umu.se) has joined ##uportal
[12:02:35 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[12:02:41 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[12:02:41 EDT(-0400)] * higpetter (n=petter@brunte.HIG.SE) has joined ##uportal
[16:08:10 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has joined ##uportal
[16:08:56 EDT(-0400)] <athena7> what happened to spring-mock in spring 2.5?
[16:09:00 EDT(-0400)] <athena7> did it go away?
[16:09:05 EDT(-0400)] <dstn> In portlets when you do <role-link>local.50</role-link> Where is the local coming from?
[16:09:08 EDT(-0400)] <athena7> and spring-portlet
[16:09:15 EDT(-0400)] <athena7> that's the name of a uportal role
[16:09:23 EDT(-0400)] <athena7> so local vs. pags
[16:09:28 EDT(-0400)] <dstn> so the portal puts that into the session or something?
[16:09:30 EDT(-0400)] <athena7> depending on where you want the roles to come from
[16:09:49 EDT(-0400)] <athena7> the portlet connector thing puts those into the portlet request, but only when asked to do so by the portlet.xml
[16:09:59 EDT(-0400)] <athena7> it actually checks to see which properties you're asking for
[16:10:43 EDT(-0400)] <dstn> ok
[16:11:15 EDT(-0400)] <athena7> if you need to find the id for a group, you can look at the groups table
[16:11:20 EDT(-0400)] <holdorph> portlet and web mvc got reorganzied to different modules in spring 2.5
[16:11:23 EDT(-0400)] <dstn> Ya that's where I was just at
[16:11:32 EDT(-0400)] <athena7> mrgh.
[16:11:43 EDT(-0400)] <dstn> was trying to determine if the local.# was uportal specific or something in the portlet spec
[16:11:56 EDT(-0400)] <athena7> spring-webmvc-portlet is what i want i'm guess - thanks cris
[16:12:10 EDT(-0400)] <athena7> the format of it is uportal-specific
[16:12:20 EDT(-0400)] <dstn> yes, 2.5 is spring-webmvc-portlet
[16:12:22 EDT(-0400)] <athena7> there's been talk about giving the roles unique names in uportal
[16:12:25 EDT(-0400)] <holdorph> <dependency>
[16:12:25 EDT(-0400)] <holdorph> <groupId>org.springframework</groupId>
[16:12:25 EDT(-0400)] <holdorph> <artifactId>spring-webmvc-portlet</artifactId>
[16:12:25 EDT(-0400)] <holdorph> <version>2.5.4</version>
[16:12:25 EDT(-0400)] <holdorph> <scope>compile</scope>
[16:12:26 EDT(-0400)] <holdorph> </dependency>
[16:12:36 EDT(-0400)] <athena7> since they'll annoyingly change between uportal deployments now
[16:12:41 EDT(-0400)] <holdorph> is what I used last time
[16:12:56 EDT(-0400)] <athena7> thanks!
[16:12:58 EDT(-0400)] <dstn> What do you mean change?
[16:13:08 EDT(-0400)] <athena7> so in uportal 2.6 and below
[16:13:17 EDT(-0400)] <athena7> the group ids were hard-coded
[16:13:38 EDT(-0400)] <athena7> now the init scripts just import the relevant data and it gets assigned whatever the next id in the sequence is
[16:13:53 EDT(-0400)] <athena7> so you can't count on the student group always having the ID 14, or whatever it used to be
[16:14:06 EDT(-0400)] <athena7> also, if you do an export and import, all the group, channel, etc. ids will chagne
[16:14:21 EDT(-0400)] <dstn> i c
[16:14:30 EDT(-0400)] <athena7> so if you deploy your portlet in development and production, the group might be "local.50" in one, and "local.30" in the other
[16:14:32 EDT(-0400)] <dstn> so from uportal version to version, assuming you migrated data
[16:14:35 EDT(-0400)] <athena7> yes
[16:14:37 EDT(-0400)] <athena7> that too
[16:14:59 EDT(-0400)] <dstn> or ya, exporting from production and into another database
[16:15:02 EDT(-0400)] <dstn> ok, make sense
[16:15:06 EDT(-0400)] <athena7> yep
[16:15:07 EDT(-0400)] <dstn> makes*
[16:15:09 EDT(-0400)] <athena7> this is a pain
[16:15:16 EDT(-0400)] <athena7> so it'd be cool if you could do local.admin
[16:15:18 EDT(-0400)] <athena7> or whatever
[16:15:29 EDT(-0400)] <athena7> sort of like having an fname for groups
[16:16:35 EDT(-0400)] <athena7> this is also an issue for things like CAnnouncements that index data by channel subscribe id
[16:16:40 EDT(-0400)] <athena7> or the yale version of the calendar portlet
[16:17:38 EDT(-0400)] <dstn> i c
[16:17:49 EDT(-0400)] <dstn> holdorph: have you used the spring 2.5 annotations yet?
[16:18:15 EDT(-0400)] <dstn> portlet-webmvc annotations specifically
[16:18:16 EDT(-0400)] <holdorph> john lewis and I did a pre-conference seminar in st. paul. and one hour was on them
[16:18:28 EDT(-0400)] <holdorph> more him, then me, but I was there (wink)
[16:19:09 EDT(-0400)] <holdorph> they're pretty trippy if you ask me
[16:19:22 EDT(-0400)] <dstn> agreed, some of them didn't make sense
[16:19:40 EDT(-0400)] <dstn> like you return a String but the model is set in the method and still found
[16:20:27 EDT(-0400)] <holdorph> hmm... not sure I either follow that or believe it.
[16:23:21 EDT(-0400)] <dstn> like this: http://uportal.pastebin.com/d39adebe7
[16:24:37 EDT(-0400)] <holdorph> the model gets passed, in. so, i don't know what you mean by being surprised it's found.
[16:24:47 EDT(-0400)] <holdorph> the spring code created the model and let your method simply use it.
[16:25:05 EDT(-0400)] <dstn> but you added something too it and it wasn't returned
[16:25:18 EDT(-0400)] <holdorph> but you mutated the object
[16:25:34 EDT(-0400)] <holdorph> objects are pass by reference not by value
[16:26:33 EDT(-0400)] <dstn> I was under the impression it was the other way around
[16:26:42 EDT(-0400)] <dstn> no such thing as pass by reference in java
[16:26:53 EDT(-0400)] <holdorph> primitives are pass by value, objects are pass by reference
[16:27:01 EDT(-0400)] <holdorph> there is no way to do anything besides that in java
[16:28:34 EDT(-0400)] * apetro-_ (n=apetro@CPE-65-30-162-97.wi.res.rr.com) has joined ##uportal
[16:29:21 EDT(-0400)] <dstn> lol: http://javadude.com/articles/passbyvalue.htm
[16:30:49 EDT(-0400)] <holdorph> wow, nothing like going over the top and becoming the poster child for 'pedantic'
[16:32:36 EDT(-0400)] <dstn> lol
[16:32:40 EDT(-0400)] <athena7> lol
[16:33:04 EDT(-0400)] <EricDalquist> athena7: http://erics-notes.blogspot.com/2007/12/spring-25-module-contents.html
[16:33:12 EDT(-0400)] <athena7> thanks (smile)
[16:33:13 EDT(-0400)] <holdorph> dstn: http://uportal.pastebin.com/m3080f248
[16:33:17 EDT(-0400)] <EricDalquist> spring mock is now in spring-test
[16:33:21 EDT(-0400)] <holdorph> if you want to convince yourself any more.
[16:33:27 EDT(-0400)] * dstn needs to refer to dictionary.com for holdorph's vocab
[16:33:56 EDT(-0400)] <athena7> by the way eric, i think it's possible by JPA problem from before was just something weird that happened to the db
[16:34:26 EDT(-0400)] <EricDalquist> ah ok
[16:34:31 EDT(-0400)] <EricDalquist> I was meaning to ask you about that
[16:35:46 EDT(-0400)] <dstn> holdorph: indeed it does work, suppose I'm not used to doing things like that...used to returning it
[16:36:52 EDT(-0400)] <holdorph> well immutable objects like String, and as a general design pattern, also make it pretty rare
[16:37:27 EDT(-0400)] <dstn> i c i c
[16:43:37 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[16:53:11 EDT(-0400)] <athena7> EricDalquist: i'll let you know if it comes back, but i haven't seen it since i did an initportal
[16:53:19 EDT(-0400)] <EricDalquist> sounds good
[16:53:31 EDT(-0400)] <EricDalquist> fyi, I'm cutting a 3.1-M1 tag today
[16:53:43 EDT(-0400)] <apetro-_> congratulations on the M1
[16:53:45 EDT(-0400)] <EricDalquist> figured 70 some issues would be good to have something people can more easily test
[16:53:50 EDT(-0400)] <athena7> woo!
[16:55:51 EDT(-0400)] <dstn> sweetness
[17:00:52 EDT(-0400)] <EricDalquist> once the pluto 1.1.6 vote passes I can do a 3.0.2 release too
[17:04:38 EDT(-0400)] <holdorph> whats pluto 1.1.6 mean to uportal (i could guess it must be some bug fix that uportal needs, but dont remember you saying something)
[17:04:55 EDT(-0400)] <EricDalquist> a performance related bug fix
[17:05:16 EDT(-0400)] <EricDalquist> 1.1.5 internally calls store on the portlet preferences each time they are created
[17:06:06 EDT(-0400)] <EricDalquist> http://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10560&amp;styleName=Html&amp;version=12313075
[17:06:14 EDT(-0400)] <EricDalquist> that's the full summary of 1.1.6 changes
[17:07:32 EDT(-0400)] <holdorph> nod cool, the more perf improvements in 3.0.2 the better.
[17:08:10 EDT(-0400)] <EricDalquist> yeah figure since all the stuff I found with Lennard will make it in we should try to get that in there too
[17:10:07 EDT(-0400)] <EricDalquist> still need to get the portlet css fixed :/
[17:13:00 EDT(-0400)] <athena7> which portlet css?
[17:13:08 EDT(-0400)] <athena7> is this the select menu background thing?
[17:13:26 EDT(-0400)] <EricDalquist> the jsr168 spec css added for 3.0.1
[17:13:30 EDT(-0400)] <EricDalquist> makes form fields black
[17:13:33 EDT(-0400)] <athena7> yeah
[17:13:36 EDT(-0400)] <athena7> that should be easy to fix
[17:13:38 EDT(-0400)] <athena7> one-liner
[17:13:56 EDT(-0400)] <EricDalquist> would you mind?
[17:13:59 EDT(-0400)] <EricDalquist> CSS scares me (tongue)
[17:14:12 EDT(-0400)] <EricDalquist> http://www.ja-sig.org/issues/browse/UP-2113
[17:15:17 EDT(-0400)] <athena7> sure
[17:15:20 EDT(-0400)] <athena7> can you assign it to me?
[17:15:24 EDT(-0400)] <EricDalquist> yup
[17:15:27 EDT(-0400)] <athena7> thanks!
[17:15:45 EDT(-0400)] <athena7> i think i finally have the duke mail portlet more or less correctly persisting mail accounts to the database
[17:15:52 EDT(-0400)] <EricDalquist> nice
[17:15:56 EDT(-0400)] <athena7> i ran into some issues
[17:16:08 EDT(-0400)] <athena7> one of which eventually turned out to have nothing to do with my changes
[17:16:26 EDT(-0400)] <athena7> i hope it's ok to check in - i never heard back from gary
[17:18:07 EDT(-0400)] <dstn> "CSS scares me (tongue)" <--- me too
[17:18:28 EDT(-0400)] <athena7> maybe i'll try emailing him again
[17:18:29 EDT(-0400)] <holdorph> CSS and I mutually ignore each other.
[17:18:30 EDT(-0400)] <athena7> aw
[17:18:34 EDT(-0400)] <dstn> lol
[17:18:36 EDT(-0400)] <athena7> CSS is fun and tasty
[17:18:53 EDT(-0400)] <athena7> i mean it can be irritating when you get into cross-browser quirks
[17:18:59 EDT(-0400)] <athena7> but CSS is much better than no CSS
[17:19:18 EDT(-0400)] <athena7> by the way dstn, would you mind if i at some point updated the weather portlet to use jsr168 styles?