• 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
action binding of an AjaxObserveField to return a WOComponent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

action binding of an AjaxObserveField to return a WOComponent?


  • Subject: action binding of an AjaxObserveField to return a WOComponent?
  • From: Theodore Petrosky <email@hidden>
  • Date: Tue, 31 May 2011 08:06:30 -0700 (PDT)

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

  • Follow-Ups:
    • Re: action binding of an AjaxObserveField to return a WOComponent?
      • From: Michael Sharp <email@hidden>
  • Prev by Date: Re: CSS resources using url(...) syntax under Direct Connect
  • Next by Date: Re: CSS resources using url(...) syntax under Direct Connect
  • Previous by thread: Re: CSS resources using url(...) syntax under Direct Connect
  • Next by thread: Re: action binding of an AjaxObserveField to return a WOComponent?
  • Index(es):
    • Date
    • Thread