wizard and wizardpages passing objects [message #143106] |
Mon, 13 October 2003 16:46 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: pippo.pluto.com
Hi all,
I have a problem dealing with multipage wizards. I have a wizard which has
three pages, the second of which must be created dynamically, i.e. even the
controls inside it (texts, labels, and so on) depend on what the user
specifies in the first page.
My problem is that while I can set normal objects to be the ones passed by
the first page, I can't actually make the graphic controls reload and
reinstantiate; how can I do it? the fact is that I can not create those
controls unless I know parameters passed by the first page.
My wizard is a simple version of an invocation of an operation of an object:
in the first page one tells the method name, which is passed to the second
page. The second page gets the method, and in particular gets the parameter
names and types at runtime, and then dynamically creates a form inside the
page.
What I dont succeed in doing is the dynamic creation of this form: the
operation is passed successfully, but the controls can't be created again
after the page has been instantiated. Or is there another way?
Thanks all...
*GIU*
|
|
|
Powered by
FUDForum. Page generated in 0.03571 seconds