Neeme Praks wrote:
>
> Just one question about the userconf files: does this position attribute
> have to be a number or could it also be a simple string. I would prefer
> to have names instead of numbers (then I could do a URL rewrite, to make
> the URLs look friendly to outside world also). And, in what order are
> the portlets displayed? In this numerical order or in the order they
> appear in the file? I would prefer to have something like this:
> <portlets name="myPage">
> <entry/>
> </portlets>
> So I can reference the set with a normal name and all the portlets would
> be displayed in the order they appear in the file. Makes easier to
> change the order of portlets, right now I have to change all the
> following portlet numbers...
>
Currently we only use the layout position, but I'm +1 for allowing
the element names to be searched first. The order must be defined by the explicit
layout position though because
- I can think of a whole lot of manipulations that may not preserve the implicit
element order of elements
- once we have user customization the order of input should not constraint the
order of display.
In any case, if you don't specify explicit layout position, the default implicit
order is used, we just don't guarantee that it will be preserved in the engine...
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]