I am trying to make a blueprint that lets users create multiple pages. I understood this should be possible.
I have followed the blueprint tutorials in the developer guide and looked at the hello-blueprint example.
I manage to create on page but never more. from my plugins.xml:
<!-- Top level Blueprint -->
<blueprint key="my-blueprint" index-key="my-index" >
<content-template ref="simplebp-template"/>
<children>
<blueprint ref="my-blueprint-child"/>
</children>
</blueprint>
<blueprint key="my-blueprint-child" content-template-key="simplebp-template-child" index-key="my- index-child" >
<context-provider class="com.example.plugins.tutorial.confluence.simplebp.MyContextProvider"/>
</blueprint>
<!-- Template for Blueprint -->
<content-template key="simplebp-template" template-title-key="my.blueprint.title">
<resource name="template" type="download" location="/templates/testTemplate.xml" />
<context-provider class="com.example.plugins.tutorial.confluence.simplebp.MyContextProvider"/>
</content-template>
<content-template key="simplebp-template-child" template-title-key="my.blueprint.child.title">
<resource name="template" type="download" location="/templates/testTemplateA.xml" />
<context-provider class="com.example.plugins.tutorial.confluence.simplebp.MyContextProvider"/>
</content-template>
the top level blueprint and the child templates are identical.
BTW this is first meeting with atlassian development, so if anyone can point me to material for better understanding of what I am working with i would be grateful. for example the definitions of the ml elements.