Hi,
I've got a control that chooses a page, and another that chooses an asset from
the DAM, and they work. The code is like this (for the page one):
[code] @TabFactory("Article")
public void mainTab(UiConfig cfg, TabBuilder tab) {
tab.fields(cfg.fields.link("link").label("Article").appName("pages"));
}
[/code]
The problem is that this returns a link, which breaks if the target is moved. I
want something more like uuidLink, which is missing in Blossom 3.
According to [url]http://documentation.magnolia-cms.com/display/DOCS/Link[/url]
link should do the job for both. You should get a UUID if you don't specify an
identifierToPathConverter. I haven't so I should get a UUID, right? But no, I
get a link. I have (in desperation) tried .identifierToPathConverter(null) but
that makes no difference.
Jan Haderka's reply to this thread
[url]http://forum.magnolia-cms.com/forum/thread.html?threadId=3c4fde57-9de5-4020-96c4-bb2da3586420&page=1[/url]
suggests that UUID links to DAM assets might not be possible. Is that true?
Is this a bug in Blossom, or am I doing it wrong?
Thanks,
-Tim
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=4fab208d-02ea-4c89-b500-3343cfba7b01
You are invited to Magnolia Conference. Less than a month to go! Register now:
http://www.magnolia-cms.com/conference/register.html
----------------------------------------------------------------
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: <[email protected]>
----------------------------------------------------------------