Hello,

I am building a dialog using blossom. In the dialog the user has to choose a 
type first, and then can move on to fill fields that are specific for that 
type. When the dialog is created, I want to check if the type is already 
choosen. If not, I will show the 'select type' field, otherwise I can show 
controls specific for the already choosen type.

To get to the contents I like to use:


@TabFactory("Content")

public void content(TabBuilder tab) {

Content storageNode = tab.getTab().getStorageNode();


For a new dialog this node is null. Unfortunately, the storageNode is still 
null for a paragraph that already exists. I see that in the 
DialogCreationContext of the tab, the websiteNode is set with the paragraph 
content. But I cannot reach this: tab.getContext().getWebsiteNode() does not 
exist.

Is there another way to establish in the dialog at creation time what the 
content of the paragraph is?

Best regards, Bert


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

Reply via email to