cancel
Showing results for 
Search instead for 
Did you mean: 

Best practice - Copy code from another bean

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

im creating a custom wizard, in one of my step i need to choose user so im very interesting by code of wizard to invite people to a space (inviteUsersWizard)
I need probably to do same code and same jsp.

Is there a clean solution to do that ? Or i need to copy all to my own jsp and class ?

If i do that maybe that will be maybe dangerous for next upgrading ?
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
You can re-use code from another wizard, this is actually done by the CreateWebsiteWizard, it instantiates and sets up the InviteUsersWizard within the finishImpl method.