Insert dialog into wizard sequence
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 07:53 AM
Hi,
is it possible to make a dialog like a step of a wizard ?
If it's not possible what is best way to use dialog methods from wizard bean ?
is it possible to make a dialog like a step of a wizard ?
If it's not possible what is best way to use dialog methods from wizard bean ?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2007 10:00 AM
Hello,
If you want to reuse the same JSP page from a dialog and wizard, yes, it is possible. Simply access to your bean with the syntax #{Container.xxx} instead of #{DialogManager.bean.xxx} or #{Wizardmanager.bean.xxx}.
If you want to use the same bean for both dialog a and wizard, you'll have to create 2 classes, one inheriting from the other to put all common methods in the parent. Have a look at Alfresco beans : CreateSpaceDialog/CreateSpaceWizard from instance.
If you want to reuse the same JSP page from a dialog and wizard, yes, it is possible. Simply access to your bean with the syntax #{Container.xxx} instead of #{DialogManager.bean.xxx} or #{Wizardmanager.bean.xxx}.
If you want to use the same bean for both dialog a and wizard, you'll have to create 2 classes, one inheriting from the other to put all common methods in the parent. Have a look at Alfresco beans : CreateSpaceDialog/CreateSpaceWizard from instance.
