[07:46:27 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[08:28:39 EDT(-0400)] * dstn_ (n=dstn@unaffiliated/dstn) has left ##uportal
[09:28:06 EDT(-0400)] * anastasiac (n=team@142.150.154.160) has joined ##uportal
[09:41:13 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279543344.dsl.bell.ca) has joined ##uportal
[10:05:04 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279543344.dsl.bell.ca) has joined ##uportal
[10:12:14 EDT(-0400)] * apetro-_ (n=apetro@CPE-65-30-162-97.wi.res.rr.com) has joined ##uportal
[10:42:14 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:02:30 EDT(-0400)] <athena7> so, uci announcements portlet -> jasig repository?
[11:02:36 EDT(-0400)] <EricDalquist> yeah
[11:02:42 EDT(-0400)] <EricDalquist> working with Erik to make that happen rightnow
[11:02:46 EDT(-0400)] <athena7> awesome!
[11:02:50 EDT(-0400)] <athena7> that's great
[11:03:00 EDT(-0400)] <EricDalquist> yeah
[11:03:02 EDT(-0400)] <athena7> it sounds like he's done some really great work - on my plate to try it out today
[11:03:06 EDT(-0400)] <EricDalquist> figured we should finally standardize on one
[11:03:09 EDT(-0400)] <athena7> yes
[11:03:11 EDT(-0400)] <athena7> so if we do
[11:03:40 EDT(-0400)] <athena7> we may want to consider that the announcements and toro notifications portlet currently have different, non-overlapping features
[11:03:57 EDT(-0400)] <EricDalquist> yup
[11:04:08 EDT(-0400)] <EricDalquist> and work will need to be done to resolve that
[11:04:13 EDT(-0400)] <athena7> well
[11:04:27 EDT(-0400)] <athena7> a few of us had discussed the feasability of one portlet to rule them all
[11:04:36 EDT(-0400)] <athena7> since the notifications portlet isn't spring mvc at the moment either
[11:04:52 EDT(-0400)] <athena7> i know they do different things, but it seems to me like you might plausibly want both features in one portlet
[11:09:33 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[11:19:22 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has joined ##uportal
[11:19:39 EDT(-0400)] <dstn> athena7: do you know of any schools that are currently using the Feedback Portlet?
[11:22:50 EDT(-0400)] <athena7> no
[11:23:13 EDT(-0400)] <EricDalquist> it is on our list
[11:23:17 EDT(-0400)] <EricDalquist> post 3 upgrade
[11:23:20 EDT(-0400)] <EricDalquist> along with weather
[11:23:22 EDT(-0400)] <EricDalquist> announcements
[11:23:51 EDT(-0400)] <athena7> it's in the unicon demo
[11:28:20 EDT(-0400)] <athena7> hm, the announcements portlet seems to include the portlet servlets in its web.xml
[11:32:55 EDT(-0400)] <athena7> so dstn, about the weather portlet css
[11:33:05 EDT(-0400)] <athena7> did i miss conversation after i left?
[11:48:30 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:04:11 EDT(-0400)] * michelled_ (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[12:28:19 EDT(-0400)] <dstn> athena7: We talked about it. Eric mentioned the preference to have the <link>'s by default for ease of configuration but I prefer valid HTML so Eric/Holdorph suggested it be a preference option in the portlet.xml <init-param>.
[12:29:02 EDT(-0400)] <athena7> yes, that would actually be my suggestion as well
[12:29:09 EDT(-0400)] <athena7> i have a strong preference for making things work out of the box
[12:29:29 EDT(-0400)] <athena7> but having a preference option that you can toggle to get well-formed html instead sounds like a good solution
[12:29:56 EDT(-0400)] <dstn> I got looking at the <init-param> elements and defineObjects for use of the init-params in the JSP and it wasn't going to be a clean way in the JSP, I.E. use of <% %> ... and I stopped there.
[12:30:06 EDT(-0400)] <athena7> well
[12:30:27 EDT(-0400)] <athena7> we could always pull it out of the init param in the controller and drop it into the model
[12:30:59 EDT(-0400)] <holdorph> you should be able to use expression language and avoid the <% %>
[12:31:03 EDT(-0400)] <dstn> Eric suggested and interceptor and I like that idea, feels more clean
[12:32:19 EDT(-0400)] <EricDalquist> holdorph: I don't know of a way to call arbitrary methods in JSTL-EL
[12:32:24 EDT(-0400)] <dstn> holdorph: I couldn't figure out the EL way of doing it?
[12:32:39 EDT(-0400)] <EricDalquist> and PortletConfig doesn't have a nice JavaBean way to access the init params
[12:32:47 EDT(-0400)] <EricDalquist> just a getInitParameter(String) method
[12:37:20 EDT(-0400)] <holdorph> bummer. if only they had made getInitParameterNames() return a Map of the parameters instead, then it could be done.
[12:37:29 EDT(-0400)] <EricDalquist> yeah
[12:37:54 EDT(-0400)] <EricDalquist> so the other idea was to add an interceptor to the controllers
[12:38:08 EDT(-0400)] <EricDalquist> I think those can modify the model before it goes to the view
[12:38:23 EDT(-0400)] <holdorph> interceptor or putting the logic right in the controller, probably not a huge difference.
[12:38:55 EDT(-0400)] <holdorph> probably less work to put it into the controller, if the current controller is already adding items to the model.
[12:39:33 EDT(-0400)] <EricDalquist> well if there are multiple controllers ...
[12:39:43 EDT(-0400)] <EricDalquist> http://static.springframework.org/spring/docs/2.5.x/api/org/springframework/web/portlet/HandlerInterceptor.html#postHandleRender(javax.portlet.RenderRequest,%20javax.portlet.RenderResponse,%20java.lang.Object,%20org.springframework.web.portlet.ModelAndView)
[12:40:06 EDT(-0400)] <holdorph> true, i don't know much about the current portlet. if there are multiple controllers an interceptor would be easier
[12:40:23 EDT(-0400)] <holdorph> but if you only had one controller, I think putting it into the one, would be easier
[12:52:45 EDT(-0400)] <dstn> Ya, there are multiple controllers where the settings would apply
[12:52:55 EDT(-0400)] <dstn> edit/view etc
[13:03:41 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:10:22 EDT(-0400)] * athena7 (n=athena7@99.145.99.32) has joined ##uportal
[13:58:17 EDT(-0400)] <dstn> yay! interceptor works
[14:02:39 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[14:03:43 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[14:03:54 EDT(-0400)] <athena7> w00t
[14:04:20 EDT(-0400)] <athena7> can we have the CSS on by default?
[14:05:00 EDT(-0400)] <dstn> I'm going to get out voted if I say no so sure
[14:05:06 EDT(-0400)] <dstn>
[14:05:45 EDT(-0400)] <dstn> as for jquery, should that be enabled by default?
[14:06:17 EDT(-0400)] <athena7> lol
[14:06:32 EDT(-0400)] <athena7> well, i do strongly think that portlets should work out of the box, and this won't if the css is omitted
[14:06:39 EDT(-0400)] <athena7> not sure for jquery
[14:06:49 EDT(-0400)] <athena7> probably disabled by default, i guess
[14:07:06 EDT(-0400)] <athena7> although that's less up2.6 friendly
[14:07:20 EDT(-0400)] <EricDalquist> jquery still not happy about getting loaded more than once?
[14:07:55 EDT(-0400)] <athena7> i think that's the case
[14:08:11 EDT(-0400)] <athena7> also, eventually we're going to run into issues with having different versions of jquery
[14:08:18 EDT(-0400)] <athena7> and i'm really not sure what'll happen then
[14:08:31 EDT(-0400)] <EricDalquist> we'll wish we were writing applets
[14:08:47 EDT(-0400)] <EricDalquist> or that JS had better namespaceing built in
[14:09:00 EDT(-0400)] <dstn> so what happens when you have multiple <links> on a page? does css get loaded twice?
[14:09:14 EDT(-0400)] <dstn> multiple of the same <link>'s that is
[14:09:28 EDT(-0400)] * dstn needs to leave in 5 min
[14:09:51 EDT(-0400)] <EricDalquist> don't know
[14:10:08 EDT(-0400)] <dstn> I'm recalling now that was part of my other concern from leaving it out
[14:18:58 EDT(-0400)] <athena7> it may depend on the browser
[14:19:18 EDT(-0400)] <athena7> i'd recommend leaving it in and documenting clearly how and why one might want to disable the import
[14:19:31 EDT(-0400)] <athena7> a lot of people may not want the extra css imported on every single portal view, too
[14:21:51 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[14:23:33 EDT(-0400)] <dstn> anyone know if 268 supports additional files like js or css per view? that'd be nice
[14:23:45 EDT(-0400)] <holdorph> 286
[14:23:51 EDT(-0400)] <EricDalquist> yes
[14:24:07 EDT(-0400)] <holdorph> what do you mean, 'per view' ?
[14:25:14 EDT(-0400)] <dstn> sorry, 286
[14:25:52 EDT(-0400)] <dstn> so edit view I have this CSS and JS and help view doesn't have JS, only CSS
[14:26:33 EDT(-0400)] <EricDalquist> PLT.12.5.4 in the spec
[14:27:17 EDT(-0400)] <EricDalquist> http://uportal.pastebin.com/m602b31de
[14:27:18 EDT(-0400)] <holdorph> well, it's not really related to views. that's a choice you could personally make
[14:27:29 EDT(-0400)] <EricDalquist> it is an optional part of the spec
[14:27:36 EDT(-0400)] <holdorph> but like eric says, it's definitely in the new spec to allow you to put stuff into the header of the page
[14:27:55 EDT(-0400)] <EricDalquist> but if supported it allows a portlet to set a response property
[14:28:18 EDT(-0400)] <EricDalquist> which ends up in the head
[14:29:26 EDT(-0400)] <holdorph> right. but the 'per view' choice would be left up to the programmer to control. simply look at the current view and decide to do it (put in head) or not.
[14:29:35 EDT(-0400)] <EricDalquist> yeah
[14:29:59 EDT(-0400)] <EricDalquist> and reading a bit more if you just extend GenericPortlet in 286 there is doHeaders method
[14:30:12 EDT(-0400)] <EricDalquist> where you're supposed to write out your <head> content
[14:31:07 EDT(-0400)] <EricDalquist> and looking at GenericPortlet's code it looks like they built support into the spec to do this via multiple calls
[14:31:42 EDT(-0400)] <EricDalquist> so your portlet may have render called on in multiple times for 'one' rendering each time a different RenderRequest.RENDER_PART attribute value will be set
[14:56:55 EDT(-0400)] <dstn> Is it possible to render a portlet without any of the surrounding portal framework (tabs, etc), just the portlet? I'm asking for the sake of wanting to render a single portlet in a lightbox like manner.
[14:57:17 EDT(-0400)] <EricDalquist> uPortal supports the EXCLUSIVE WindowState which is custom
[14:57:22 EDT(-0400)] <EricDalquist> and renders a portlet as if it were a servlet
[14:58:29 EDT(-0400)] <dstn> ahh, so that's what that's for
[14:59:04 EDT(-0400)] <EricDalquist> it lets you write out binary content and such too if you really want
[14:59:14 EDT(-0400)] <EricDalquist> not cross portal compliant though
[14:59:23 EDT(-0400)] <EricDalquist> so if you depend on it likely it won't be there on other portals
[15:05:24 EDT(-0400)] <dstn> right
[15:06:35 EDT(-0400)] <dstn> we are concerned with using precious "real estate" for the feedback portlet and this idea of rendering in lightbox format was brought up; wanted to know what the haul would be
[15:22:41 EDT(-0400)] * athena7 (n=athena7@99.145.99.32) has joined ##uportal
[15:46:44 EDT(-0400)] <holdorph> the benefit to uportal exclusive is that it's very close to the way you can do that sort of thing in the new 286 spec
[16:03:35 EDT(-0400)] * atpa8a (n=stfu@static-71-249-199-57.nycmny.east.verizon.net) has joined ##uportal
[16:03:41 EDT(-0400)] <atpa8a> hello
[16:04:14 EDT(-0400)] <atpa8a> the recepie in http://www.ja-sig.org/wiki/display/PDM15/JDBC+Attribute+Source doesn't seem to work...
[16:05:19 EDT(-0400)] <atpa8a> the constructor expects 3 arguments but the bean configuration only specifies two
[16:05:49 EDT(-0400)] <EricDalquist> what version of uPortal are you using?
[16:06:15 EDT(-0400)] <EricDalquist> that manual space is for Person Directory 1.5
[16:06:19 EDT(-0400)] <EricDalquist> which will be part of uPortal 3.1
[16:06:32 EDT(-0400)] <atpa8a> i'm actually trying to configure that in CAS
[16:06:59 EDT(-0400)] <EricDalquist> CAS is using an earlier version of PD too'
[16:07:17 EDT(-0400)] <EricDalquist> I'm not sure there were ever manual pages put together for it :/
[16:07:32 EDT(-0400)] <atpa8a> Error creating bean with name 'attributeRepository' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Unsatisfied dependency expressed through constructor argument with index 1 of type [java.util.List]: Ambiguous constructor argument types - did you specify the correct bean references as constructor arguments?
[16:07:57 EDT(-0400)] <atpa8a> there's no manual for CAS
[16:08:05 EDT(-0400)] <EricDalquist> check on their email lists
[16:08:10 EDT(-0400)] <atpa8a> thought uPortal one would be helpful
[16:08:16 EDT(-0400)] <atpa8a> will do
[16:08:21 EDT(-0400)] <atpa8a> thanks
[16:08:23 EDT(-0400)] <EricDalquist> yup
[16:13:55 EDT(-0400)] <atpa8a> hmm
[16:14:06 EDT(-0400)] <atpa8a> javadoc for SingleRow... is wrong
[16:14:18 EDT(-0400)] <EricDalquist> where are you looking?
[16:14:28 EDT(-0400)] <atpa8a> the constructor states that it creates a new MultiRow...
[16:14:54 EDT(-0400)] <atpa8a> http://developer.ja-sig.org/projects/person-directory/1.0.0/apidocs/org/jasig/services/persondir/support/jdbc/SingleRowJdbcPersonAttributeDao.html
[16:14:58 EDT(-0400)] <atpa8a> is that old?
[16:14:59 EDT(-0400)] <EricDalquist> yay copy-paste bug
[16:15:07 EDT(-0400)] <EricDalquist> do you know what version of person directory cas is using?
[16:15:23 EDT(-0400)] <atpa8a> no... but i can probably find out really quick
[16:15:34 EDT(-0400)] <EricDalquist> that would be good
[16:15:59 EDT(-0400)] <atpa8a> 1.1.1
[16:16:19 EDT(-0400)] <EricDalquist> http://developer.ja-sig.org/
[16:16:31 EDT(-0400)] <EricDalquist> http://developer.ja-sig.org/projects/person-directory/1.1.1/apidocs/index.html
[16:18:09 EDT(-0400)] <atpa8a> yup
[16:18:11 EDT(-0400)] <atpa8a> got that
[16:18:11 EDT(-0400)] <atpa8a> thanks
[16:18:36 EDT(-0400)] <EricDalquist> looks like that javadoc is still wrong there :/
[16:18:59 EDT(-0400)] <EricDalquist> I can help with some config stuff though with PersonDirectory
[16:19:03 EDT(-0400)] <atpa8a> what's that %u argument for the attrList parameter
[16:19:19 EDT(-0400)] <atpa8a> cool
[16:19:20 EDT(-0400)] <atpa8a> thaks
[16:19:34 EDT(-0400)] <EricDalquist> %u ?
[16:20:00 EDT(-0400)] <atpa8a> http://www.nabble.com/allowedAttributes-not-being-stored-td18269147.html
[16:21:02 EDT(-0400)] <atpa8a> http://sh.nu/p/24794
[16:21:10 EDT(-0400)] <atpa8a> that's the example i found in that thread
[16:21:20 EDT(-0400)] <EricDalquist> no idea what the %you is
[16:21:29 EDT(-0400)] <EricDalquist> heh autocomplete on that last msg
[16:22:18 EDT(-0400)] <EricDalquist> the attrList is supposed to be the names of the attributes used for running the query
[16:23:10 EDT(-0400)] <EricDalquist> so if the PD query is username=edalquist and your query is SELECT USER_NAME FROM USERS WHERE USER_ID=? your list would just be <list><value>username</value></list>
[16:23:29 EDT(-0400)] <EricDalquist> it is so the code knows what to bind to the query parameters
[16:24:32 EDT(-0400)] <atpa8a> hmm
[16:24:37 EDT(-0400)] <atpa8a> i see
[16:24:50 EDT(-0400)] <atpa8a> but i think i need to start playing with that
[16:25:15 EDT(-0400)] <atpa8a> i'll ask a bit more a bit later, if you don't mind and available
[16:25:20 EDT(-0400)] <atpa8a> thanks a bunch
[16:25:31 EDT(-0400)] <EricDalquist> np
[16:25:52 EDT(-0400)] <atpa8a> gotta figure out what CAS calls that parameter
[16:26:37 EDT(-0400)] <EricDalquist> you're probably safe with username
[16:26:45 EDT(-0400)] <atpa8a> i'll give it a shot
[16:26:50 EDT(-0400)] <EricDalquist> the PD API lets the client code do a call like getAttributes(String)
[16:27:02 EDT(-0400)] <EricDalquist> which then assign's a 'default' attribute name to that value
[16:27:32 EDT(-0400)] <EricDalquist> you can look up the class hierarchy for the single row DAO at AbstractDefaultAttributePersonAttributeDao for info on that
[16:28:05 EDT(-0400)] <atpa8a> ok
[16:28:22 EDT(-0400)] <atpa8a> and i don't need a % in that parameter, right?
[16:28:28 EDT(-0400)] <EricDalquist> no
[16:28:59 EDT(-0400)] <EricDalquist> not unless cas is calling one of the getAttributes(Map) APIs and using %foo as the name of the attribute you want to use in your query
[16:41:12 EDT(-0400)] <atpa8a> let me test...
[16:41:14 EDT(-0400)] <athena7> eric, do you have a good reference for JPA annotations?
[16:41:36 EDT(-0400)] <EricDalquist> the Java Persistence with Hibernate book
[16:42:43 EDT(-0400)] <athena7> ok, apparently "annotations" was the wrong thing to look under in the index
[16:42:52 EDT(-0400)] <athena7> i need to find time to actually read this thing
[16:43:30 EDT(-0400)] <EricDalquist> ah so you have the book?
[16:43:36 EDT(-0400)] <athena7> yeah, got it recently
[16:44:02 EDT(-0400)] <EricDalquist> so the chapter format for any given topic seems to be:
[16:44:14 EDT(-0400)] <EricDalquist> show you the hbm.xml way
[16:44:30 EDT(-0400)] <EricDalquist> then show you the annotation way
[16:44:44 EDT(-0400)] <EricDalquist> so you're better off looking up the task you want the annotation to do
[16:44:52 EDT(-0400)] <athena7> oh ok
[16:44:53 EDT(-0400)] <athena7> thanks
[16:44:54 EDT(-0400)] <EricDalquist> read the hbm.xml way (since that is better documented)
[16:45:05 EDT(-0400)] <EricDalquist> then continue to the annotations to figure out the jpa way
[16:46:41 EDT(-0400)] <athena7> gotcha, thanks
[16:46:47 EDT(-0400)] <athena7> i need to just budget some time to read through this
[16:46:48 EDT(-0400)] <atpa8a> hmm
[16:46:54 EDT(-0400)] <atpa8a> so far so good... no errors
[16:47:02 EDT(-0400)] <athena7> normally i just do it outside of work hours but i've had like . . . life
[16:47:07 EDT(-0400)] <EricDalquist> lol
[16:50:12 EDT(-0400)] * dstn wonders what life is
[16:55:46 EDT(-0400)] <athena7> aww
[16:56:06 EDT(-0400)] * athena7 got married over the weekend
[16:56:13 EDT(-0400)] <EricDalquist> grats!
[16:56:26 EDT(-0400)] <EricDalquist> supprised you're even around doing up stuff
[16:56:35 EDT(-0400)] * dstn high fives athena7
[16:56:36 EDT(-0400)] <athena7> thanks!
[16:56:43 EDT(-0400)] <athena7> well, we're saving the honeymoon for oct
[16:56:55 EDT(-0400)] <EricDalquist> ah
[16:57:00 EDT(-0400)] <EricDalquist> that makes more sense then
[16:59:23 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has joined ##uportal
[17:01:55 EDT(-0400)] <atpa8a> honeymoon is the best part of marriage
[17:03:50 EDT(-0400)] <EricDalquist> lol, not a very optimistic view there atpa8a
[17:07:46 EDT(-0400)] * Sememmon (n=Sememmon@ip70-190-242-64.ph.ph.cox.net) has joined ##uportal
[17:11:23 EDT(-0400)] * michelled (n=michelle@CPE001310472ade-CM0011aefd3ca8.cpe.net.cable.rogers.com) has left ##uportal
[17:18:34 EDT(-0400)] <atpa8a> EricDalquist: on the contrary
[17:18:58 EDT(-0400)] <atpa8a> note!
[17:19:07 EDT(-0400)] * atpa8a is happily married
[17:19:55 EDT(-0400)] <dstn> he just said that cause this is logged
[17:20:07 EDT(-0400)] <atpa8a>
[17:20:18 EDT(-0400)] <atpa8a> marriage is overrated
[17:20:54 EDT(-0400)] <atpa8a> the only purpose is to possibly to save some taxes and have less trouble when trying to give a kid your last name
[17:23:36 EDT(-0400)] <dstn> lol
[17:25:07 EDT(-0400)] * dstn (n=dstn@unaffiliated/dstn) has left ##uportal
[17:27:53 EDT(-0400)] * Sememmon steals holdorph's m&m's.
[17:28:29 EDT(-0400)] <holdorph> back off thief
[17:28:45 EDT(-0400)] <holdorph> you must donate m&m's before you're allowed to take any.
[17:30:38 EDT(-0400)] <Sememmon> =P
[17:50:42 EDT(-0400)] <athena7> that seems to defeat the purpose of stealing
[17:54:26 EDT(-0400)] <holdorph> ok, in this case, lets just say he was caught, and has been let off the hook with a warning.
[17:54:53 EDT(-0400)] <holdorph> the consequences for getting caught a second time.... not sure he wants to find out about those.
[17:57:03 EDT(-0400)] <holdorph> dan: http://pastebin.com/dd3b3709
[17:57:32 EDT(-0400)] <holdorph> sorry, wrong window. but for anyone interested in sakai code, feel free
[17:58:30 EDT(-0400)] <EricDalquist> you'll like this holdorph:
[17:58:30 EDT(-0400)] <EricDalquist> Caused by: org.apache.pluto.PortletContainerException: Unable to obtain the servlet context for the portlet app context path [/googleportlet]. Make sure that the portlet app has been deployed, and that cross context support is enabled for the portal app.
[17:58:42 EDT(-0400)] <EricDalquist> that's the new error message we'll get with pluto 1.1.6
[17:58:45 EDT(-0400)] * athena7 (n=athena7@99.149.83.32) has joined ##uportal
[17:58:46 EDT(-0400)] <EricDalquist> much much more friendly
[17:59:29 EDT(-0400)] <holdorph> that path.
Page Comparison
General
Content
Integrations