Title: RE: virtual fields in EditWizards ?

> It seems that the EditWizards, or rather the Dove Servlet, does not
> support fields with state=virtual. Does anybody know if there a specific
> reason for this or is just not there since nobody wanted if before ?

It was introduced because virtual field cannot be changed (well, not normally), so in general, dove does not return virtual fields.

However, in the latest version of Dove, if you _specify_ a field to be loaded, it should do so, regardless of field type or state.

In the editwizards, this means:

<action type="load">
   <relation destinationtype="x" role="y" />
</action>

will only return a node's persistent fields (not load any virtual fields), but

<action type="load">
   <relation destinationtype="x" role="y" />
   <field name="z" />
</action>

will - iirc - only load field z, regardless of whether 'z' is a virtual field or not.
'z' should, however, be a true field of the NodeManager (defined in builder xml, or in the builder code).

I think this code change was made in 1.6.4.

Pierre

Reply via email to