It's more or less random.
What happens behind the scenes is that WindowContext implements Comparable, and the
compare method only considers the order to calculate the return value
| package org.jboss.portal.theme.page;
| public final class WindowContext implements Comparable, Serializable
| {
| ....
| public int compareTo(Object o)
| {
| return order - ((WindowContext)o).order;
| }
| ....
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979177#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...