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 return
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. ^^
-- 
View this message in context: 
http://www.nabble.com/How-to-create-a-Date-type-NodeData--tp15038073p15038073.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to