> -----Original Message-----
> From: Rapha�l Luta [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 08, 2000 5:56 PM
> 
> 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...

ok, I agree. So I can use all possible combinations:
<portlets name="myPage"/>
<portlets name="myPage" layout="0"/>
<portlets layout="0"/>

Actually, I don't care so much about the usage/non-usage of layout
attribute. Just an idea/question that came up...
I could try to write the code for checking the name attribute before
layout, if you would point me in the right direction...

Neeme


--
--------------------------------------------------------------
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]

Reply via email to