Hi,
this happens, if the NodeData has already been created. You cannot
change the NodeType later. Please try with a NodeData which definitely
does not exist before.
Ralf
Becari schrieb:
Nobody knows about this? :(
Becari wrote:
Hi everyone!
I'm trying to create a Date type NodeData but I don't know how to do it
yet. I have done the next:
NodeData nodeDate = contentnode.createNodeData("title_ca_ES",
PropertyType.DATE);
out.println("Type of the node: "+nodeDate.getType());
But when I consult the type of the node with getType(), this function
returns 1 (the value of a String) instead 5 (the value of a Date).
Anyone knows how to do it?
By the way, I'm using Magnolia Community Edition 3.0.
Thanks for all. ^^
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------