AnsweredAssumed Answered

Unable to change values of custom properties

Question asked by jacqueswvdh on Jul 24, 2007
Latest reply on Aug 2, 2007 by kevinr
I want to change the values of properties of a node through a form.
If I try and change the node.properties.name it works:
in the .js file:
   sellOfferNode1.properties.name = args.name;
   model.message +="<br />name changed to: " + sellOfferNode1.properties.name;
   sellOfferNode1.save();
   model.sellOfferNode= sellOfferNode1;

In the .ftl file:
   message = ${message}<br />
   Naam onderneming<sup>*</sup>:
   <input type="text" name="name" value='${sellOfferNode.properties.name}' />

If I try to change any custom property, added in then description.xml (e.g. change to
   sellOfferNode1.properties.country and
   ${sellOfferNode.properties["mn:country"]})
it failes. I cannot understand why.

Help will be greatly appreciated.
Jacques

Outcomes