Ordering child nodes across node types

This is a discussion on Ordering child nodes across node types within the Apache forums in Application Servers & Tools category; I have the following mixin type "myMixin": [myMixin] mixin orderable + mixA (someType) + mixB (someType) I have the following node type "myType" which includes "mix": [myType] > myMixin orderable + typeA + typeB So I can create a new node A of type "myType" and add the following child nodes: A --> mixA, mixB, typeA, typeB However, when I try to re-order "typeA" before "mixB", I get "child node ordering not supported" error even though both "myType" and "myMixin" are defined with the "orderable" keyword. Is it because "typeA" and "mixB" are in different types and so you can't ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-05-2007, 02:03 PM
James Hang
Guest
 
Default Ordering child nodes across node types


I have the following mixin type "myMixin":

[myMixin] mixin orderable
+ mixA (someType)
+ mixB (someType)

I have the following node type "myType" which includes "mix":

[myType] > myMixin orderable
+ typeA
+ typeB

So I can create a new node A of type "myType" and add the following child
nodes:

A --> mixA, mixB, typeA, typeB

However, when I try to re-order "typeA" before "mixB", I get "child node
ordering not supported" error even though both "myType" and "myMixin" are
defined with the "orderable" keyword. Is it because "typeA" and "mixB" are
in different types and so you can't order between them? If so, is there a
way around this?

--
View this message in context: http://www.nabble.com/Ordering-child....html#a9859835
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:10 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.