Re: update a WOComponentContent from my code?
Re: update a WOComponentContent from my code?
- Subject: Re: update a WOComponentContent from my code?
- From: Chuck Hill <email@hidden>
- Date: Mon, 06 Jun 2011 10:48:53 -0700
Using an AUC and a redirect together seems wrong.
I think the solution to your problem is in the MaiTable class and needing to call the set... methods with a default value if they are not set.
Chuck
On Jun 5, 2011, at 7:28 PM, Theodore Petrosky wrote:
> I have an update Container:
>
> <wo:AjaxUpdateContainer id = "MainTableUC">
> <div id = "contentArea"> <webobject name = "MainTableComponentContent" /> </div>
> </wo:AjaxUpdateContainer>
>
> WOD
>
> MainTableComponentContent : WOComponentContent {}
>
> I have a popup and depending on its selection, I fire:
>
> MainTable nextPage = pageWithName(MainTable.class);
> nextPage.setShowAllIOs(((Session)session()).showAllIOs());
> nextPage.setSearchQualifier(((Session)session()).searchQualifier());
>
> AjaxUtils.redirectTo(nextPage);
>
>
> and beautifully AjaxUtils inserts the WOComponentContent.
>
> How can I fire this from my code? My Main page opens with nothing present. I must select something from the popup. I can not figure out how to present a default selection.
>
> I am sure it is simple, but my pea brain just doesn't understand.
>
> Ted
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden