uPortal IRC Logs-2009-04-17

[03:51:42 EDT(-0400)] * higmad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[08:27:19 EDT(-0400)] * EricDalquist (n=EricDalq@adsl-71-150-249-231.dsl.mdsnwi.sbcglobal.net) has joined ##uportal
[08:30:47 EDT(-0400)] * anastasiac (n=stasia@142.150.154.189) has joined ##uportal
[08:51:59 EDT(-0400)] * fj4000 (n=Main@CPE0018f85ab63e-CM001692f5798c.cpe.net.cable.rogers.com) has joined ##uportal
[08:53:05 EDT(-0400)] * athena (n=athena@99.129.100.66) has joined ##uportal
[09:49:18 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:56:13 EDT(-0400)] * michelled (n=team@142.150.154.193) has joined ##uportal
[10:07:10 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[10:38:04 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:15:57 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:59:31 EDT(-0400)] <dstn> how large do people set their permsize on their servers to run uPortal?
[11:59:48 EDT(-0400)] <EricDalquist> I think ours is at 256?
[12:00:44 EDT(-0400)] <dstn> doh, should have looked at the wiki first
[12:00:51 EDT(-0400)] <dstn> found a great page http://www.ja-sig.org/wiki/display/UPC/JVM+Configurations
[12:01:01 EDT(-0400)] <dstn> sorry :-P
[12:15:45 EDT(-0400)] <awills> EricDalquist/athena – if you were considering getting a reference to a user's LayoutManager instance from w/in a portlet, how would you do it most cleanly? Or would you stop considering it, and do that sort of thing in a Servlet?
[12:16:00 EDT(-0400)] <EricDalquist> a framework portlet?
[12:16:13 EDT(-0400)] <awills> yeah a framewok portlet... meant to include that
[12:16:16 EDT(-0400)] <athena> i guess it sort of depends what you're doing?
[12:16:23 EDT(-0400)] <EricDalquist> just a sec
[12:16:30 EDT(-0400)] <EricDalquist> I'll show you how
[12:16:52 EDT(-0400)] <athena> there's some code that gets references to such things in the UpdatePreferencesServlet as well
[12:16:53 EDT(-0400)] <awills> loadUserLayout(true)
[12:17:15 EDT(-0400)] <awills> moost of the APIs i see take an HttpServletRequest
[12:17:19 EDT(-0400)] <EricDalquist> yeas
[12:17:20 EDT(-0400)] <awills> most*
[12:17:26 EDT(-0400)] <EricDalquist> there is a trick
[12:17:33 EDT(-0400)] <EricDalquist> look at IPortalRequestUtils
[12:17:49 EDT(-0400)] <EricDalquist> the implementation of that exists as a spring-managed bean
[12:17:55 EDT(-0400)] <awills> k, i will... might we consider adding an overload that takes a PortletRequest?
[12:18:17 EDT(-0400)] <EricDalquist> no
[12:18:25 EDT(-0400)] <EricDalquist> that is what IPortalRequestUtils are for
[12:18:26 EDT(-0400)] <EricDalquist> public HttpServletRequest getOriginalPortalRequest(PortletRequest portletRequest);
[12:19:18 EDT(-0400)] <EricDalquist> so your portlet needs to be injected with IPortalRequestUtils and IUserInstanceManager
[12:19:28 EDT(-0400)] <EricDalquist> you can then use the request utils to get the http request
[12:19:36 EDT(-0400)] <EricDalquist> and use the user instance manager to get to the layout manager
[12:20:13 EDT(-0400)] <awills> bean is 'portalRequestUtils' got it
[12:23:03 EDT(-0400)] <EricDalquist> great
[12:53:45 EDT(-0400)] * Sememmon (n=Sememmon@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[13:47:48 EDT(-0400)] * colinclark (n=colin@142.150.154.101) has joined ##uportal
[14:04:03 EDT(-0400)] * apetro (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[14:35:33 EDT(-0400)] * apetro_ (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[15:16:10 EDT(-0400)] * lennard1 (n=sparhk@ip68-98-56-21.ph.ph.cox.net) has left ##uportal
[16:37:15 EDT(-0400)] * anastasiac (n=stasia@142.150.154.189) has left ##uportal
[18:57:11 EDT(-0400)] * Sememmon (n=Sememmon@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[20:59:12 EDT(-0400)] * Sememmon (n=Sememmon@ip70-190-32-223.ph.ph.cox.net) has joined ##uportal
[22:12:22 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has left ##uportal
[22:52:03 EDT(-0400)] * rainbowgeek1 (n=joshua@c-98-210-28-168.hsd1.ca.comcast.net) has joined ##uportal
[23:38:13 EDT(-0400)] * Sememmon (n=Sememmon@ip70-190-32-223.ph.ph.cox.net) has joined ##uportal