Hi Jan

 

Thanks for the information. I was indeed trying to use the control from
data dialog, expecting it to work in website dialogs too.

So, it seems there is no 'generic', configurable dataUUIDMultiSelect for
use in the website dialogs, similary?

I guess I will have to implement a similar control, but with configurable
root-path to expose a certain tree from the configuration.

Maybe the documentation should note this incompatibility with
data-controls in website tree?

 

Best regards

Marco

 

-- 

15 Years of Excellence - http://netcetera.com

 

Marco Glur | [email protected]

T +41 44 247 79 20

Netcetera AG | 8040 Zurich | Switzerland | http://netcetera.com

From: [email protected]
[mailto:[email protected]] On Behalf Of Jan Haderka
Sent: Dienstag, 18. Oktober 2011 12:13
To: Magnolia User-List
Subject: Re: [magnolia-user] RE: Problem referencing multiple data-entries
by UUID

 

Hi Marco,

I'm not sure if you are not actually mixing together 2 different things.

data* controls are meant to be used only within dialogs used in data
module to create and edit instances of given data type. This is what you
see configured in
config:/modules/data/dialogs/category/mainTab/relatedUUID. Those controls
cannot be used in the website dialogs to refer to the data type instances.

 

What categorization uses to refer to category items is a special
categorizationUUIDMultiSelect control as you can see in
config:/modules/categorization/dialogs/generic/tabCategorization/categorie
s.

 

HTH,

Jan

 

On Oct 18, 2011, at 6:06 PM, Marco Glur wrote:





What also looks different between the website content from the node-datas,
and the reference in the Category dialogs relatedUUID field is:

the saved node-names are the UUID in the data JCR repository, but an
ascending number in the website repository.

Saving the dialog again removes the previously saved references.

 

I guess this will have be reported as a bug, thought. Seems hard to debug
without knowing the code and what it does exactly.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Marco Glur
Sent: Montag, 17. Oktober 2011 17:25
To: Magnolia User-List
Subject: [magnolia-user] RE: Problem referencing multiple data-entries by
UUID

 

The same goes for the dataMultiSelect control, and also tested in another
EE installation (different project, EE 4.4.3 with fewer modules), fails
for custom Tree of a custom data-type aswell as for the Contacts tree.

 

controlType: dataMultiSelect

label: <Localized Key>

repository: data

tree: Contact

 

 

Hello

 

I couldn't find any clear documentation on this, but it should be possible
to add a reference to a data entry (from data modules) using the
predefined controlType 'dataUUIDMultiSelect', as this works for the
categorization relatedUUID field.

 

My problem is, that after saving the dialog with the dataUUIDMultiSelect
control, the uuid-reference is added to JCR, but on editing again using
the dialog, the control looks empty (even there is a value in the JCR).

 

First I thought, it might be an oddity having the control in a custom
module dialogs/dialogDefinition, but it also occurs for STK configuration
dialog definition.

 

Adding a control to generic Meta-tab definition as contactUUID (see
attachment), it does not work having it in a page-properties (home-page)
dialog).

 

While having the same control setup in Categories-dialog, it works as
expected.

 

Version is Magnolia EE 4.4.5

Basically there are many modules installed (developer samples,
categorization, wiki, translations, workflow, ..) so it might be caused by
one of these, but I don't see how this might be.

 

 

Thanks for any hints about experience with this issue is appreciated.

 

--

15 Years of Excellence - http://netcetera.com

 

Marco Glur | [email protected]

T +41 44 247 79 20

Netcetera AG | 8040 Zurich | Switzerland | http://netcetera.com

 

  _____  

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

 

  _____  

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

 

 

  _____  

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



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

Reply via email to