AnsweredAssumed Answered

DisplayForm

Question asked by yassra on Apr 15, 2013
HI everybody,

I'm new to alfresco and i'm struggling to use this  javascript method,

<static> Alfresco.util.PopupManager.displayForm(config)
Displays a form inside a dialog
Parameters:
config
config.title
{String} The dialog title
config.properties
{Object} An object literal with the form properties
config.success
{Object} A callback object literal used on form success
config.successMessage
{String} A submit success message
config.failure
{Object} A callback object literal used on form failure
config.failureMessage
{String} A submit failure message


actually i'm having  a problem with how to initialize parameters, if someone can give an example of how to use it, i will really appreciate it .



Thank you

Outcomes