Using a SaveHandler or FieldSaveHandler is probably a better option in
this case, although doing anything else than saving in a method called
save() is a bit dodgy. Maybe the pre/postSave methods of the dialog
handler could do too.
-g
On Jan 8, 2009, at 4:33 PM, Ralf Hirning wrote:
Adrian,
You can use your own dialog handler by specifying the class property
of the dialog. To create this class extend
info.magnolia.module.admininterface.dialogs.ParagraphEditDialog and
override the save() method. Learn from the source code how to access
the dialog fields...
Ralf
Adrian Butnaru schrieb:
Thanks,
I did it and it shows correctly.
But stil I am not able to find out where should I change the code
in Magnolia to make the button sending an email in place of saving.
Any help would be great!
Adrian
Ralf Hirning schreef:
Adrian,
add a property "saveLabel" with value "Send" to the dialog
definition
Ralf
Adrian Butnaru schrieb:
Hi,
I created a new function button "Send Email" which opens a dialog
where one can fill in the email address where the path to a
certain document from DMS have to be sent (for revision).
Can anybody help me giving me a tip how to change the "Save"
button in a "Send" buton?
Thanks in advance!
Adrian
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------