Have a look at AjaxUtils.redirectTo(WOComponent)

For the "jump menu" type of thing I use that within the method bound to action 
of the AjaxObserveField that's observing the WOPopup.

Sharpy.

On 01/06/2011, at 1:06 AM, Theodore Petrosky wrote:

> 
> I have only used hyperlinks to insert a new WOComponent into my page like 
> this:
> 
> <webobject name = "UserManagement">Employee Management</webobject>
> 
> in the wod:
> 
> UserManagement : WOHyperlink {
>       pageName = "TWTUserManagement";
>       class="subfirst";
>       title="Employees";
> }
> 
> 
> of course I have a WOComponentContent in the page:
> 
> <webobject name = "Contents" />
> 
> Contents : WOComponentContent {
> }
> 
> I am also using the action binding of the WOHyperlink and returning a 
> WOComponent. This works just fine allowing me to pass data to the WOComponent 
> before I display it.
> 
> I am playing around with a different interface and I want to use a popup to 
> choose which component to bring in.
> 
> I have tried to use the action binding of an AjaxObserveField that is 
> watching my popup but it doesn't work as I think.
> 
> Am I barking up the wrong tree? Maybe I am just not setting it up correctly?
> 
> Basically I have a popup in the header. I want to display a WOComponent in:
> 
> <webobject name = "Contents" />
> 
> Contents : WOComponentContent {
> }
> 
> but I need to pass data to the component before display it.
> 
> public WOActionResults returnComponent() {
>       MainTableComponent nextPage = pageWithName(MainTableComponent.class);
>       nextPage.setSomeStuff;
> 
>       return nextPage;        
> }
> 
> Help, please.
> 
> 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