Ack. OK, so it looks like I'm actually doing everything right, but
I'm bumping up against the weird portlet problems Parker started a
thread about a couple days ago (http://www.nabble.com/Spring-Portlet-
MVC---uPortal-Error-t4251226.html). I'm glad I haven't
misinterpreted how spring portletmvc works, but the unreliable
behavior is a little concerning. I'm seeing both the ""Could not
obtain command object from portlet session" and blank view problems
mentioned in the thread, although I can't consistently trigger either
one.
- Jen
On Sep 7, 2007, at 1:32 PM, Dustin S. wrote:
> Jen,
>
> We set the mode in the onSubmitAction method:
>
> protected void onSubmitAction(ActionRequest request,
> ActionResponse response, Object command, BindException
> bind)
> throws Exception {
> //Logic here to save preferences or whatever.
> response.setPortletMode(PortletMode.VIEW);
> }
>
> On 9/7/07, Jennifer Bourey <[EMAIL PROTECTED]> wrote:
> How do you handle sending the portlet back to view mode? Does this
> happen automatically, or are you manually setting the mode?
>
> Thanks!
>
> - Jen
>
>
> On Sep 7, 2007, at 11:50 AM, Parker Grimes wrote:
>
>> Here are some screenshots of one of our portlets. One in "view"
>> mode and the other in "edit" mode. When you click "Save" or
>> "Cancel" in edit mode it returns you to view mode.
>>
>> -Parker
>>
>
>
> ---------------------------------
> Jennifer Bourey
> Technology and Planning
> Yale University ITS
> 203.432.5718
>
>
>
>
> --
> You are currently subscribed to [email protected] as:
> [EMAIL PROTECTED]
> To unsubscribe, change settings or access archives, see http://
> www.ja-sig.org/wiki/display/JSG/uportal-dev
>
> --
> You are currently subscribed to [email protected] as:
> [EMAIL PROTECTED]
> To unsubscribe, change settings or access archives, see http://
> www.ja-sig.org/wiki/display/JSG/uportal-dev
---------------------------------
Jennifer Bourey
Technology and Planning
Yale University ITS
203.432.5718
--
You are currently subscribed to [email protected] as: [EMAIL
PROTECTED]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/uportal-dev