Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 33101 invoked from network); 3 Sep 2007 01:53:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 01:53:20 -0000 Received: (qmail 17083 invoked by uid 500); 3 Sep 2007 01:53:12 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 17046 invoked by uid 500); 3 Sep 2007 01:53:12 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 17035 invoked by uid 99); 3 Sep 2007 01:53:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2007 18:53:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.249.95.37] (HELO mail.cruzio.com) (63.249.95.37) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 01:54:17 +0000 Received: from [192.168.0.103] (dsl-63-249-97-217.cruzio.com [63.249.97.217]) by mail.cruzio.com with ESMTP id l831qjp4020426 for ; Sun, 2 Sep 2007 18:52:45 -0700 (PDT) Message-ID: <46DB6928.2010303@cruzio.com> Date: Sun, 02 Sep 2007 18:53:44 -0700 From: Richard Yee User-Agent: Thunderbird 1.4 (Windows/20050908) MIME-Version: 1.0 To: MyFaces Discussion Subject: Dynamic forms with JSF References: <46D993C0.3080706@googlemail.com> In-Reply-To: <46D993C0.3080706@googlemail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Is it possible to have a dynamic number of forms in a JSF page? I would like to have a forEach tag in my page that iterates over a list of objects that contain a list if items to display in a multiselect table and some UI components that will get updated based on the rows that get selected. I have seen other postings that seem to indicate that UI components cannot be inside a forEach tag and use the variable from the var attribute. Is there any way to do this? Ex. Plan A ============================== | | Name | Association | -----+--------+--------------- | [] | aaa | XYZ | -----+--------+--------------- | [] | bbb | BBB | -----+--------+--------------- | [] | ccc | CCC | ------------------------------------------------- SelectOneChoice Checkbox SelectOneChoice Plan B ============================== | | Name | Association | -----+--------+--------------- | [] | aaa | XYZ | -----+--------+--------------- | [] | bbb | BBB | -----+--------+--------------- | [] | ccc | CCC | ------------------------------------------------- SelectOneChoice Checkbox SelectOneChoice ...... possibly more Plans... APPLY CANCEL Thanks, Richard