More precise info:

- The "name" field is empty in the newly created node
- When I use a info.magnolia.module.admininterface.dialogs.NodeNameControl field however, the correct name is being displayed.

=> So I'm pretty sure I should have additionally set the name somewhere... but where?

-will

On 26.06.2008, at 10:19, Will Scheidegger wrote:

I'm creating data nodes programmatically like so:

HierarchyManager dataHm = MgnlContext.getHierarchyManager("data");
Content sbkvMemberNode = ContentUtil.createPath(dataHm, "/sbkv/ memberData/" + username, new ItemType("sbkvMember"), true);

This all works fine and the new node appears where it should. When I edit the new node using the data module GUI and dialog it shows my username as node name, but after saving, the node name (and therefore the path) is changed to "sbkvMember" which is the node type.

Can someone tell me what I'm missing? Thanks a bunch!

-will


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to