Hi,

let's say I have three kinds of teasers:

#1, small: headline, button text, background image
#2, large: small teaser with larger image and copy
#3, video: large teaser plus youtube video

What I want to do now is to build three dialogs:

#1: headline and button text (TextFieldDefinition), bg image 
(LinkFieldDefinition)
#2, extending #1, adding copy (TextFieldDefinition)
#3, extending #2, adding a field for a Youtube ID (TextFieldDefinition)

Kind of simple, I guess I just could write three separate dialogs... but I want 
to understand if (and how) this is possible... :-) What I tried so far:

I've built the dialogs "teaser" and "teaserLarge". "teaserLarge" has no actions 
(as I want it to get them from "teaser"), a form with just one field "copy", 
and a property "extends=templating:teaser", where "templating:teaser" is the 
path I use in my components as well to address my dialog. This produces the 
error

[quote]ERROR info.magnolia.pages.app.editor.PageEditorPresenter: An error 
occurred while executing action [editElement]
info.magnolia.ui.api.action.ActionExecutionException: Action execution failed 
for action: editElement
...
Caused by: java.lang.RuntimeException: No dialogDefinition found for 
templating:largeTeaser
...
Caused by: info.magnolia.registry.RegistrationException: No dialog definition 
registered for id: templating:largeTeaser
[/quote]

TIA,
crusy

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=c45d9353-7ac3-444b-869c-ca456147f710


----------------------------------------------------------------
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]>
----------------------------------------------------------------

Reply via email to