Hi Claudio,
as much as I know you attended the Magnolia Developer Training. Have a
look at exercise 13 where you created your own DialogControl.
Ralf
Claudio Greuter schrieb:
Hi Ralf, thanks for the input.
But I don't have much influence on the paragraph dialog, as it is
generated by magnolia. Can I set this snippet as input value for a
dropdown in the dialog definition?
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Freitag, 25. Januar 2008 11:04
To: [email protected]
Subject: Re: [magnolia-user] Choosing a Template in a Paragrpah dialog
Hi Claudio,
you can use
TemplateManager.getInstance().getAvailableTemplates()
Ralf
Claudio Greuter schrieb:
Hi List
I want to implement a Paragraph that is capable of creating pages
automatically. This is quite easy, as I can create the pages in the
paragraph template. However it would be very nice if I can let the
user
choose from the available page templates, so that the created pages
use
the selected template.
As I cannot assume that the user knows the exact spelling of the
templates, I'd like to let him choose a template from a dropdown list.
Is there a possibility to dynamically fill a drowpdown with the
available template names, (similar to the template dropdown in the
admin
central)
Otherwise I would have to fill in the templates in a hard coded way,
which is not very convenient.
Any ideas?
Cheers
Claudio
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------