It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Passing form data in Multi-Dialog pages Edited

Hey,

i have build a blueprint template with two pages in the wizard dialog.
Is there a way to pass data from the first page to the second page?

Soy

{template .page1Form}
<form action="#" method="post" class="aui">
<fieldset>
<div name="Definition" class="field-group">
<label for="vtopics">{getText('my.blueprint.form.label.title.vTopics')}</label>
<input id="vtopics" class="text" type="text" name="vTopics" placeholder="{getText('my.blueprint.form.label.title.vTopics.placeholder')}">
</div>
</fieldset>
</form>
{/template}

{template .page2Form}
<form action="#" method="post" id="hello-blueprint-form" class="aui">
<fieldset>
<div name="Count" class="field-group">
{loop through vTopics...}
</div>
</fieldset>
</form>
{/template}

 

Atlassian xml

 <!-- Blueprint -->
<blueprint key="blueprint" index-key="index" content-template-key="protokoll-template" i18n-name-key="my.blueprint.name">
<dialog-wizard key="protokoll-wizard">
<dialog-page id="page1Id" template-key="Plugins.Blueprint.Protokoll.page1Form" title-key="my.blueprint.wizard.page1.title" last="false"
description-header-key="my.blueprint.wizard.page1.desc.header" description-content-key="my.blueprint.wizard.page1.desc.content" />
<dialog-page id="page2Id" template-key="Plugins.Blueprint.Protokoll.page2Form" title-key="my.blueprint.wizard.page2.title" last="true" />
</dialog-wizard>
</blueprint>

 

So there are these two pages in the dialog and i want to process a loop through a value typed in in the first page.

 

Thank you :)

 

EDIT:

Got it working with "soyRenderContext"

1 answer

1 accepted

0 votes
Answer accepted

Hi Sven,

Could you elaborate further? Maybe attach some screenshot of what you are trying to achieve? :)

Hey, im sorry. I edited my post with some more informations.

If you are able to use javascript within your code you should be able to.

I'm not familiar with wizard blueprints, sorry :(

Yes, i get the data into JS. But i need them in the template when it renders the second page :D

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

306 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you