Passing data to another component
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