Hi Karthik,

This question is better to ask on the 'Get help with Magnolia' forum, there's a 
larger audience there especially since its synced with the user mailing list.

We have a complete sample project for Blossom with a number of java classes and 
jsps. Follow the instructions in the Blossom documentation [1] to get started.

When using the DAM in a Blossom project you use the DamConfig object to create 
DAM fields. Like in this example:

@TabFactory("Content")
public void contentTab(UiConfig cfg, DamConfig dam, TabBuilder tab) {
    tab.fields(
            cfg.fields.text("title").label("Title"),
            cfg.fields.richText("body").label("Text"),
            dam.fields.assetLink("photo").label("Photo")
    );
}

Hope that helps, Tobias

[1] 
http://documentation.magnolia-cms.com/display/DOCS/Blossom+module#Blossommodule-Runningthesampleproject

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ab0eb91b-51fe-47b3-9ede-0a96b3832226


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to