[Hippo-cms7-user] orderBefore() method not supported in UpdaterNode
Berry van Halderen
b.vanhalderen at 1hippo.com
Thu May 27 15:01:59 CEST 2010
On Thu, May 27, 2010 at 2:15 PM, Dennis Dam <d.dam at onehippo.com> wrote:
> I am trying to implement an updater module which adds a node to a list of
> nodes, but inserts the new node at the first position of the list. I am
> using the UpdaterItemVisitor.NodeTypeVisitor for this purpose. The leaving()
> method is called for every node that is visited. However, the node that is
> passed to the leaving() method is not the standard JCR node, but a specific
> implementation from Hippo (org.hippoecm.repository.updater.UpdaterNode).
> When I called the orderBefore() method on the parent node (to insert a new
> child node at the first position), I got an UpdaterException with the
> message "illegal method". Why is this method not supported in the
> UpdaterNode class ?
Because it has not yet supported. There was no customer need for this as yet.
Please file an issue if you require support for this (or submit a patch ;-).
More information about the Hippo-cms7-user