Re: Tapestry tree render without recursion?

2010-09-11 Thread Josh Canfield
I didn't  actually click through on the links. I just thought of it as a 
placeholder for "add a tree component". I believe there are a couple 
implementations out there that we could pull ideas from for the core version.

-- Josh

On Sep 11, 2010, at 3:47 AM, "Blower, Andy"  wrote:

> The links in that Jira don't work for me. It looks like a 3 year old issue so 
> maybe that's not surprising.
> 
>> -Original Message-
>> From: Josh Canfield [mailto:joshcanfi...@gmail.com]
>> Sent: 10 September 2010 17:52
>> To: Tapestry users
>> Subject: Re: Tapestry tree render without recursion?
>> 
>> Vote for this and maybe we can get something into core.
>> https://issues.apache.org/jira/browse/TAP5-71
>> 
>> On Fri, Sep 10, 2010 at 3:08 AM, Elin  wrote:
>>> 
>>> Im making a component for rendering my categories tree but i have
>> seen that i
>>> cant use recursive components (calling themselves not even
>> indirectly) so,
>>> any advice about how to do this (your own ideas or something u have
>> read
>>> around)?
>>> 
>>> 
>>> Example:
>>> 
>>> 
>>> 
>>> Coffee
>>> 
>>> Tea
>>> 
>>> 
>>> 
>>> Black tea
>>> 
>>> Green tea
>>> 
>>> 
>>> 
>>> 
>>> Milk
>>> 
>>> 
>>> 
>>> Thx in advance
>>> 
>>> --
>>> View this message in context:
>> http://tapestry.1045711.n5.nabble.com/Tapestry-tree-render-without-
>> recursion-tp2834784p2834784.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>> 
>> 
>> 
>> 
>> --
>> --
>> http://www.bodylabgym.com - a private, by appointment only, one-on-one
>> health and fitness facility.
>> --
>> http://www.ectransition.com - Quality Electronic Cigarettes at a
>> reasonable price!
>> --
>> TheDailyTube.com. Sign up and get the best new videos on the internet
>> delivered fresh to your inbox.
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>> 
> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

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



RE: Tapestry tree render without recursion?

2010-09-11 Thread Blower, Andy
The links in that Jira don't work for me. It looks like a 3 year old issue so 
maybe that's not surprising.

> -Original Message-
> From: Josh Canfield [mailto:joshcanfi...@gmail.com]
> Sent: 10 September 2010 17:52
> To: Tapestry users
> Subject: Re: Tapestry tree render without recursion?
> 
> Vote for this and maybe we can get something into core.
> https://issues.apache.org/jira/browse/TAP5-71
> 
> On Fri, Sep 10, 2010 at 3:08 AM, Elin  wrote:
> >
> > Im making a component for rendering my categories tree but i have
> seen that i
> > cant use recursive components (calling themselves not even
> indirectly) so,
> > any advice about how to do this (your own ideas or something u have
> read
> > around)?
> >
> >
> > Example:
> >
> >
> >
> > Coffee
> >
> > Tea
> >
> >
> >
> > Black tea
> >
> > Green tea
> >
> >
> >
> >
> > Milk
> >
> >
> >
> > Thx in advance
> >
> > --
> > View this message in context:
> http://tapestry.1045711.n5.nabble.com/Tapestry-tree-render-without-
> recursion-tp2834784p2834784.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> 
> 
> 
> --
> --
> http://www.bodylabgym.com - a private, by appointment only, one-on-one
> health and fitness facility.
> --
> http://www.ectransition.com - Quality Electronic Cigarettes at a
> reasonable price!
> --
> TheDailyTube.com. Sign up and get the best new videos on the internet
> delivered fresh to your inbox.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



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



Re: Tapestry tree render without recursion?

2010-09-10 Thread Josh Canfield
Vote for this and maybe we can get something into core.
https://issues.apache.org/jira/browse/TAP5-71

On Fri, Sep 10, 2010 at 3:08 AM, Elin  wrote:
>
> Im making a component for rendering my categories tree but i have seen that i
> cant use recursive components (calling themselves not even indirectly) so,
> any advice about how to do this (your own ideas or something u have read
> around)?
>
>
> Example:
>
>
>
> Coffee
>
> Tea
>
>
>
> Black tea
>
> Green tea
>
>
>
>
> Milk
>
>
>
> Thx in advance
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Tapestry-tree-render-without-recursion-tp2834784p2834784.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>



-- 
--
http://www.bodylabgym.com - a private, by appointment only, one-on-one
health and fitness facility.
--
http://www.ectransition.com - Quality Electronic Cigarettes at a
reasonable price!
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

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



Re: Tapestry tree render without recursion?

2010-09-10 Thread Thiago H. de Paula Figueiredo

On Fri, 10 Sep 2010 07:10:59 -0300, Elin  wrote:


Ok just found this
http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/tapestry-crud/branches/1.1/src/main/java/br/com/arsmachina/tapestrycrud/components/TreeSelect.java?revision=595&view=markup
so i will take a look on it.


I wrote that. :) Basically, it's easier to use generation of HTML in code  
using MarkupWriter than templates in Tapestry. I also have an idea to  
improve that component, but I haven't had the time to do it yet.


--
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: Tapestry tree render without recursion?

2010-09-10 Thread Alexander Muthmann

 We tried to use recursive components for a menu-structure.

In the end we limited our self to a maximum depth for the menu and now 
use 3 components which are nearly equal:


TopMenu
SubMenu
SubSubMenu

Not a clear solution but easy ;)


On 10.09.2010 12:08, Elin wrote:

Im making a component for rendering my categories tree but i have seen that i
cant use recursive components (calling themselves not even indirectly) so,
any advice about how to do this (your own ideas or something u have read
around)?


Example:



Coffee

Tea



Black tea

Green tea




Milk



Thx in advance





smime.p7s
Description: S/MIME Cryptographic Signature


Re: Tapestry tree render without recursion?

2010-09-10 Thread Elin

Ok just found this
http://ars-machina.svn.sourceforge.net/viewvc/ars-machina/tapestry-crud/branches/1.1/src/main/java/br/com/arsmachina/tapestrycrud/components/TreeSelect.java?revision=595&view=markup
 
so i will take a look on it.

I will come back if i have some kind of problem with this. Just when i wrote
this message i found the link to this. Sorry for posting before searching a
bit more ;)
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-tree-render-without-recursion-tp2834784p2834788.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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