Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Everton Agner
Thanks!

___
Everton Agner Ramos


2010/12/7 Thiago H. de Paula Figueiredo 

> On Tue, 07 Dec 2010 21:26:14 -0200, Everton Agner 
> wrote:
>
>  So, the ordering is just A-Z ?
>>
>
> Yes.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Dec 2010 21:26:14 -0200, Everton Agner   
wrote:



So, the ordering is just A-Z ?


Yes.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Everton Agner
So, the ordering is just A-Z ?

___
Everton Agner Ramos


2010/12/7 Thiago H. de Paula Figueiredo 

> On Tue, 07 Dec 2010 21:19:23 -0200, Everton Agner 
> wrote:
>
>  I'm developing a generic auto-adapting Menu builder (that'll be open in
>> googlecode also). I need to know the ordering because my algorithm to walk
>> through the tree
>> (it's levels) needs to start from the deeper ones (the leafs) to the first
>> (the root).
>>
>
> In your case, you need some sorting logic that most probably isn't
> implemented inside Tapestry, so I suggest you to implement a Comparator that
> does what you want.
>
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Dec 2010 21:19:23 -0200, Everton Agner   
wrote:



I'm developing a generic auto-adapting Menu builder (that'll be open in
googlecode also). I need to know the ordering because my algorithm to  
walk through the tree
(it's levels) needs to start from the deeper ones (the leafs) to the  
first (the root).


In your case, you need some sorting logic that most probably isn't  
implemented inside Tapestry, so I suggest you to implement a Comparator  
that does what you want.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Everton Agner
I'm developing a generic auto-adapting Menu builder (that'll be open in
googlecode also).

I need to know the ordering because my algorithm to walk through the tree
(it's levels) needs to start from the deeper ones (the leafs) to the first
(the root).

___
Everton Agner Ramos


2010/12/7 Thiago H. de Paula Figueiredo 

> On Tue, 07 Dec 2010 21:06:42 -0200, Everton Agner 
> wrote:
>
>  Hi friends,
>>
>
> Hi, Everton
>
>
>  I would like to know what is the ordering that ComponentClassResolver
>> returns the list of Page Names via .getPageNames().
>>
>
> Why is that important to you? What's your scenario? I can't think of any .
> . .
>
> --
> Thiago H. de Paula Figueiredo
> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
> and instructor
> Owner, Ars Machina Tecnologia da Informação Ltda.
> http://www.arsmachina.com.br
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Dec 2010 21:06:42 -0200, Everton Agner   
wrote:



Hi friends,


Hi, Everton


I would like to know what is the ordering that ComponentClassResolver
returns the list of Page Names via .getPageNames().


Why is that important to you? What's your scenario? I can't think of any .  
. .


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Order from the Page Names retrieved from ComponentClassResolver

2010-12-07 Thread Everton Agner
Hi friends,

I would like to know what is the ordering that ComponentClassResolver
returns the list of Page Names via .getPageNames().

Is it ordered by level? From the first one (first package under
'root.pages') to the deeper one? I'm pretty sure that's that, but I need to
be certain.

The JavaDoc says "Returns a list of all page names, in sorted order.", but
it's not clear what order would be.

Thanks!

___
Everton Agner Ramos