• 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
Passing data to another component
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing data to another component


  • Subject: Passing data to another component
  • From: Jeremy Doseck <email@hidden>
  • Date: Tue, 27 Jul 2010 23:55:43 +0900

Hi, I've been trying to solve problem with passing inserted data to another page (component). Can anyone give me simple example how to do it?
I need to pass written data by the user (WOString) to nextcomp.wo and display them there. Trying not to use inline bindings. Here I tried to do that:

public String name;
public Object goToAnotherComponent;  //this is WOSubmitButton action binding

public nextcomp goToAnotherComponent() {
        nextcomp nextPage = (nextcomp)pageWithName("nextcomp");
        nextPage.setSelectedPopup(selectedNumber);
        nextPage.setName(name);
        return nextPage;

I think I need to put some code in nextcomp.wo component to display set Value but have no idea how..

Thanks for the answers;

Jeremy
 _______________________________________________
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: Passing data to another component
      • From: Johann Werner <email@hidden>
  • Prev by Date: IOU
  • Next by Date: Re: EOF and meaningful, modifiable PKs
  • Previous by thread: IOU
  • Next by thread: Re: Passing data to another component
  • Index(es):
    • Date
    • Thread