Hi Ted,

I'm not sure that what you're describing as happening is actually the case.

AjaxUtils.redirectTo isn't updating an area of your page surrounded by an 
AjaxUpdateContainer, it's redirecting your browser to a full page component.

It sounds like you're interested in updating parts of your already rendered 
page using Ajax, yes?

You can call AjaxUpdateContainer.updateContainerWithID in code, or use the 
updateContainerID binding on AjaxObserveField to nominate the AUC to be updated 
after the observed field(s) submit their contents.

Sharpy..


On 06/06/2011, at 12: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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/getsharp%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to