[SOLVED] HOWTO Pass data(parameters) between wizard pages [message #754284] |
Tue, 01 November 2011 19:23 |
Nicolas Messages: 23 Registered: October 2011 |
Junior Member |
|
|
Hi, I have this situation:
One wizard with two pages.
on firts page I let the user to select intems from a grid (Table Viewer), and have 2 combos that acts as filters.
on page 2 I let the user to use a file dialog to choose a file, where to export items selected in firt page.
I wnat to display to the user in the 2nd page the filters selected in the 1st page.
As I can see the two pages area instantited at wizard creation time
@Override
public void addPages() {
page1 = new ExportarEnsayosPage1(page2);
page2 = new ExportarEnsayosPage2(page1);
page1.setPageComplete(false);
page2.setPageComplete(false);
addPage(page1);
addPage(page2);
}
The problem is that I want to update Labels in the 2nd page, whenever the user camnge the selection in the combo.
I don't know how to access and fire setText() method on the Labels no the page 2 from the page 1 of the wizard.
I try several ways.
-passing the 2nd page as parameter to the 1st page.
-using getPage("paso2") method of the wizard ...
nothing works...
Any Idea ?
what i'm doing wrong !
I'm in eclipse 3.7, with java 1.5 !
Best Regards
[Updated on: Tue, 01 November 2011 19:33] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03350 seconds