• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: action binding of an AjaxObserveField to return a WOComponent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: action binding of an AjaxObserveField to return a WOComponent?


  • Subject: Re: action binding of an AjaxObserveField to return a WOComponent?
  • From: Michael Sharp <email@hidden>
  • Date: Wed, 01 Jun 2011 08:51:25 +1000

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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
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

References: 
 >action binding of an AjaxObserveField to return a WOComponent? (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: CSS resources using url(...) syntax under Direct Connect
  • Next by Date: It's alive!
  • Previous by thread: action binding of an AjaxObserveField to return a WOComponent?
  • Next by thread: D2W QueryAll question(s), hopefully simple
  • Index(es):
    • Date
    • Thread