uPortal IRC Logs-2011-10-05

[11:05:39 CDT(-0500)] <athena> hmm, so the one problem w/ the jaxb code generation maven plugin

[11:05:56 CDT(-0500)] <athena> need to write a separate set of java classes for JPA, i guess

[11:06:04 CDT(-0500)] <EricDalquist> right

[11:06:18 CDT(-0500)] <EricDalquist> but that is generally a good idea

[11:06:34 CDT(-0500)] <EricDalquist> since the JAXB generated classes don't really follow JPA entity best practices

[11:12:11 CDT(-0500)] <athena> gotcha

[11:12:17 CDT(-0500)] <athena> makes it kind of awkward though

[11:12:29 CDT(-0500)] <EricDalquist> what are you working on?

[11:12:36 CDT(-0500)] <athena> have to manually translate between them i guess?

[11:12:37 CDT(-0500)] <athena> maps portlet

[11:12:42 CDT(-0500)] <EricDalquist> ah

[11:12:43 CDT(-0500)] <EricDalquist> yeah

[11:12:46 CDT(-0500)] <athena> eventually probably want to be able to store locations to a local db

[11:13:06 CDT(-0500)] <EricDalquist> or just do the JAXB annotations manually to match up with the XSD :/

[11:17:58 CDT(-0500)] <athena> yeah

[11:18:25 CDT(-0500)] <athena> don't need a db layer yet really, so guess i have some time to think about it

[13:23:56 CDT(-0500)] <b-rock> Greetings uPortal Devs: it seems that the WebProxyPortlet always returns the portlet WindowState from 'MAXIMIZED' to 'NORMAL' for form posts. do you know if this is by design?

[13:24:23 CDT(-0500)] <b-rock> we'd like the portlet to stay maximized if possible.

[13:24:25 CDT(-0500)] <EricDalquist> how do you have the URL that is used for the POST mapped?

[13:24:38 CDT(-0500)] <EricDalquist> when you map URLs to proxy you also specify the window state to use

[13:25:10 CDT(-0500)] <b-rock> its mapped to the proxied content and not a portlet action request. although I do see that the processAction method is the first method that is processed by the webproxyportlet

[13:25:20 CDT(-0500)] <b-rock> after the post

[13:25:28 CDT(-0500)] <EricDalquist> the proxy portlet always does action requests

[13:25:35 CDT(-0500)] <EricDalquist> since it needs to determine if a redirect is needed

[13:25:53 CDT(-0500)] <b-rock> ok. is the mapping done in the portlet manager as a configuration or do I need to specify something in the form?

[13:25:57 CDT(-0500)] <EricDalquist> can you list your mapped urls in the config?

[13:26:01 CDT(-0500)] <EricDalquist> it is in the portlet manager

[13:26:13 CDT(-0500)] <b-rock> sure ...

[13:28:22 CDT(-0500)] <b-rock> I've got edu.wisc.my.webproxy.webproxy.general.config.sBaseUrl and edu.wisc.my.webproxy.webproxy.general.config.sPortletUrl set to the same proxied root url and I see that edu.wisc.my.webproxy.webproxy.general.config.sPortletState is set to 'NORMAL' . Should it be set to something else?

[13:28:44 CDT(-0500)] <b-rock> like AUTO or something?

[13:28:56 CDT(-0500)] <EricDalquist> that is the window state that any URL which matches the corresponding pattern in the sPortletUrl property

[13:29:14 CDT(-0500)] <EricDalquist> so if you want the portlet to be maximized set it to maximized

[13:29:36 CDT(-0500)] <b-rock> well all of them start in normal view and then the user maximizes them

[13:29:53 CDT(-0500)] <EricDalquist> I don't know if there is a way to have it just keep the current window state

[13:30:35 CDT(-0500)] <b-rock> oh ok. I think thats what were looking for.

[13:31:30 CDT(-0500)] <b-rock> but maybe I could customize it to keep the current window state. I'm just not sure where that would be getting set. when processAction runs it is alread back to NORMAL even if it was in a Maximized state from the post

[13:31:45 CDT(-0500)] <EricDalquist> it would be in the URL generation code

[13:32:11 CDT(-0500)] <EricDalquist> when the portlet re-writes the content it replaces any urls on the page with portlet urls if the match one of the configured patterns

[13:32:21 CDT(-0500)] <b-rock> ok. Thanks EricDalquist. I've got a little time to look into that. If I come up with anything I'll be sure to push it back as a patch

[13:32:27 CDT(-0500)] <EricDalquist> sounds good

[15:11:15 CDT(-0500)] <EricDalquist> anyone feel like a short brainstorm on how much info to stuff into the new events api?

[15:11:27 CDT(-0500)] <EricDalquist> like for a PortletRenderExecutionEvent or a PortletActionExecutionEvent

[15:11:30 CDT(-0500)] <EricDalquist> what is useful?

[15:12:10 CDT(-0500)] <EricDalquist> for all of them I have execution time

[15:12:45 CDT(-0500)] <EricDalquist> user & fname as well

[15:14:33 CDT(-0500)] <EricDalquist> brb