update a WOComponentContent from my code?
update a WOComponentContent from my code?
- Subject: update a WOComponentContent from my code?
- From: Theodore Petrosky <email@hidden>
- Date: Sun, 05 Jun 2011 19:28:03 -0700 (PDT)
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