Hi,
I've created a SWGAlbum which inherit from SW2Page. This class has an
instance variable called renderer. I want the user to be able to modify
this instance variable selecting a value in a list :
descriptionRenderer
^ (MASingleSelectionDescription selector: #renderer label: 'Type'
priority: 110 default: SWGAlbumViewer)
options: (MADynamicObject on: [ SWGAlbumViewer
withAllConcreteClasses ]);
beRequired;
yourself.
So I have created a specialized SWGEditAlbumCommand which inherit from
SW2EditPageCommand. I have also created a SWGAlbum>>editCommand
returning a new SWGEditAlbumCommand.
My problem is that 2 'Edit' links appears in the command widget. One
from SW2EditPageCommand and one from SWGEditAlbumCommand. How can I hide
the one from SW2EditPageCommand ?
Other question, how can I replace the 'Edit' button on top-left of the
window (next to 'View') for it to launch my SWGEditAlbumCommand and not
SW2EditPageCommand ?
Thank you
--
Damien