newBar
<cms:newBar contentNodeCollectionName="mainColumnParagraphs" paragraph="par1,par2" />
-> name of the paragraphs

paragraph:
- par1
        - description: ...
        - dialog: dialog1
        - templatePath: /templates/paragraphs/paragraph1.jsp
        - title: My first paragraph
        - type: jsp
- par2
        - description: par2 with different template but same dialog as par1
        - dialog: dialog1
        - templatePath: /templates/paragraphs/paragraph2.jsp
        - title: My second paragraph
        - type: jsp

dialog:
- dialog1
        - ....

Make sure, the names of your paragraphs and dialogs are unique.

Regards,
Will


On 06.07.2007, at 12:15, dieter wrote:


Hi Will,

Thanks for that. It sounds very encouraging. Do you have an example of the properties you have to set in the paragraph definition re the dialog info.
Another point is in the cms:newbar tag do you specify the name of the
paragraph definition or the dialog name..? (in the paragraph attribute)

Dieter



Magnolia - User mailing list wrote:

Since you provide the dialog info in the paragraph settings you _can_
use the same dialog for as many paragraphs as you like. You can even
use a dialog from the samples for your paragraphs. We do that all the
time.

Will

On 06.07.2007, at 10:54, dieter wrote:


Hi there,

Is the paragraph dialog relationship strictly one to one or can a
dialog
have one or many paragraphs or a paragraph have many dialogs?

This is all still a little grey to me, i have not successfully used
a single
dialog with different paragraphs(jsp templates) and have seen
various other
people with the same issues. ALthough the documentation seems to
say you can
do so.

Could anyone shed a little light on the subject?

Dieter
--
View this message in context: http://www.nabble.com/Paragraph---
Dialog-relationship-tf4034333.html#a11460770
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
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
----------------------------------------------------------------



--
View this message in context: http://www.nabble.com/Re%3A- Paragraph---Dialog-relationship-tf4034383.html#a11461809
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
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
----------------------------------------------------------------

Reply via email to