[JBoss Portal] - Re: What determines window order within a region?
by PeterJ
How did I know you would ask that? I was initially going to say "I don't know", but in trying it out I I would have to say that the order is undetermined. I changed three windows to have a theme.order of 0 and they simply rearranged themselves. The new order is the inverse of the old order, and is not in the order in which I changed the individual theme.order values, nor is it in alphabetical order. Now, I did this though the Management Porltet. I don't know what order you would get if you did this via a *-object.xml file (I might bet on order of appearance, but inverse order is possible).
Long story short, if you care, use different numbers. By the way, the numbers to not have to be consecutive, so you can use the old coding trick of numbering using 100's or 10's (e.g., 100, 200, 300). Then it is easy to add things in between later without renumbering everything.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978206#3978206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978206
19 years, 8 months
[JBoss Portal] - Re: What determines window order within a region?
by david.hoffman
"The Reference Guide" wrote :
| The four markup containers are hierarchical. The region contains one or more windows. A window contains the portlet decoration and the portlet content.
|
| The region is responsible for arranging the positioning and order of each portlet window. Should they be arranged in a row or a column? If there are more then one portlet window in a region, in what order should they appear?
|
| The window is responsible for placing the window decoration, including the portlet title, over the portlet content, or under, or next to it.
|
| The decoration is responsible for inserting the correct markup with the links to the portlet modes and window states currently available for each portlet.
|
|
So now I just need to figure out the best way to order the region.getWindows() List object.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978198#3978198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978198
19 years, 8 months