Return-Path: Delivered-To: apmail-tapestry-dev-archive@www.apache.org Received: (qmail 73071 invoked from network); 5 Jun 2009 00:33:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 00:33:18 -0000 Received: (qmail 49498 invoked by uid 500); 5 Jun 2009 00:33:29 -0000 Delivered-To: apmail-tapestry-dev-archive@tapestry.apache.org Received: (qmail 49411 invoked by uid 500); 5 Jun 2009 00:33:29 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 49402 invoked by uid 99); 5 Jun 2009 00:33:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 00:33:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 00:33:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 563AE234C004 for ; Thu, 4 Jun 2009 17:33:07 -0700 (PDT) Message-ID: <88617807.1244161987339.JavaMail.jira@brutus> Date: Thu, 4 Jun 2009 17:33:07 -0700 (PDT) From: "Thiago H. de Paula Figueiredo (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Closed: (TAP5-739) Allow recursion of a component within itself In-Reply-To: <1762287750.1244154187728.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thiago H. de Paula Figueiredo closed TAP5-739. ---------------------------------------------- Resolution: Won't Fix This can't be implemented in Tapestry without rewriting it from scratch. Read the "Principle 1 -- Static Structure, Dynamic Behavior" section of http://tapestry.apache.org/tapestry5.1/ to know why. Summary: Tapestry has a static tree of components, and allowing recursion in templates needs dynamic instantiation of components. By the way, it's not hard to render trees or tree-like structures inside a component: just render everything in code. One example: 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. > Allow recursion of a component within itself > -------------------------------------------- > > Key: TAP5-739 > URL: https://issues.apache.org/jira/browse/TAP5-739 > Project: Tapestry 5 > Issue Type: New Feature > Reporter: Seth Call > > Ideally, Tapestry would allow a component to be nested within itself. > Because recursion of a component within itself is not possible, it is very difficult to represent a tree structure, which a component representing each node of the tree. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.