Hi Matteo,

I think doing it through a dedicated action is your safest bet, in there you 
can indeed request a different dialog depending on your parameters, e.g. 
context.
So as such, there is no notion of a "dynamic" dialog definition.

As a more adventurous alternative, you could subclass/implement the 
FormDialogPresenter(Impl), in particular you would override the #start() method 
and tweek the [i]dialogDefinition[/i] — or rather a clone of it — before 
calling super#start().

Hope it helps somehow ;)

Cheers,

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8d2e286f-0e2b-4e63-b18a-30d0c80f28e2


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to