uPortal IRC Logs-2011-01-31

[17:23:52 CST(-0600)] <athena> EricDalquist: we can store preferences from a resource request, yes?
[17:24:03 CST(-0600)] <EricDalquist> nope
[17:24:09 CST(-0600)] <EricDalquist> wait
[17:24:10 CST(-0600)] <EricDalquist> hrm
[17:24:25 CST(-0600)] <EricDalquist> not sure I can't remember what the 2.0 spec says
[17:25:11 CST(-0600)] <athena> yeah, i'm having trouble finding it
[17:25:34 CST(-0600)] <athena> bit worried that if we can't, we won't necessarily be able to use resource requests as a complete replacement for ajax stuff
[17:26:17 CST(-0600)] <EricDalquist> hrm
[17:29:36 CST(-0600)] <athena> javadocs say "The store method can only be invoked within the scope of a processAction call."
[17:29:56 CST(-0600)] <EricDalquist> hrm
[17:30:19 CST(-0600)] <EricDalquist> thats annoying
[17:30:53 CST(-0600)] <EricDalquist> I wonder if an action can result in a redirect to a resource req instead of a render req
[17:31:05 CST(-0600)] <athena> hm, interesting
[17:31:48 CST(-0600)] <athena> think that'd result in better browser performance?
[17:32:04 CST(-0600)] <EricDalquist> well it would give the portlet better control over the response
[17:32:46 CST(-0600)] <athena> suppose that's true
[17:32:58 CST(-0600)] <athena> think we'd be able to support etags and such?
[17:33:13 CST(-0600)] <EricDalquist> if you have time you could ask about preferences on the pluto list
[17:34:13 CST(-0600)] <athena> ok
[17:34:19 CST(-0600)] <EricDalquist> All changes made to PortletPreferences object not followed by a call to the store method must be discarded when the portlet finishes the processAction, processEvent, or serveResource method. cliv If the store method is invoked within the scope of a render method invocation, it must throw an IllegalStateException.clv
[17:34:23 CST(-0600)] <EricDalquist> the javadocs are wrong
[17:34:37 CST(-0600)] <EricDalquist> from the bottom of "PLT.17.1"
[17:34:52 CST(-0600)] <EricDalquist> so render is the only place it is invalid
[17:35:00 CST(-0600)] <EricDalquist> you can set preferences in action, resource and event requests
[17:35:08 CST(-0600)] <athena> the javadocs probably just didn't get updated from 1.0
[17:35:11 CST(-0600)] <athena> that's great to hear, thanks (smile)
[17:35:21 CST(-0600)] <EricDalquist> yup
[17:37:41 CST(-0600)] <athena> trying to fix the news reader up a bit
[17:37:52 CST(-0600)] <athena> right now only the single-feed reader supports 2.0
[17:38:03 CST(-0600)] <athena> though the news reader will be a bit hard to test until we have config mode support
[17:44:46 CST(-0600)] <athena> hmmm, so this is odd
[17:44:53 CST(-0600)] <athena> my parameters to the resource request seem to be disappearing
[17:45:11 CST(-0600)] <EricDalquist> hrm
[17:45:17 CST(-0600)] <EricDalquist> the URL syntax code is in flux right now
[17:45:30 CST(-0600)] <EricDalquist> that could be the issue
[17:48:45 CST(-0600)] <athena> want me to file a bug or just leave it for now?
[17:49:29 CST(-0600)] <EricDalquist> bug is good
[17:49:33 CST(-0600)] <EricDalquist> don't want to lose track of stuff
[17:49:37 CST(-0600)] <EricDalquist> got to go ...