Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 99914 invoked by uid 500); 13 Jun 2002 17:52:13 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 99901 invoked from network); 13 Jun 2002 17:52:12 -0000 Message-ID: <007201c2129e$dbb28e00$0e01000a@IMKENBEREFBF6G> Reply-To: "Mohamed El-Refaey" From: "Mohamed El-Refaey" To: Subject: DataBinding with XMLForm Date: Thu, 13 Jun 2002 08:54:57 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_006F_01C212B7.FE774660" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_006F_01C212B7.FE774660 Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: quoted-printable Hi all, I'm very interested in the cocoon XMLForm and, but I'd like to ask a = question: is it possible to repeate XMLForm dynamically according to data from = Database ?and HOW I can make data binding of this retrived data with = each repeated form instance.? for Example : I have products from the DB and I wanna to display these products in = XMLForms to update their quantity in it -------------------------------------------------------------------------= --------------------------------------------- Product1 ID :12236 Name :p1 = ---------------------- Description: any description. quantity(Text Box) ------------------- = Update Button = ------------------- ---------------------- -------------------------------------------------------------------------= ---------------------------------- -------------------------------------------------------------------------= ---------------------------------------------- Product2 ID :12256 Name :p2 = ---------------------- Description: any description. quantity(Text Box) ------------------- = Update Button = ------------------- ---------------------- -------------------------------------------------------------------------= ---------------------------------------------- -------------------------------------------------------------------------= ---------------------------------------------- Product3 ID :12776 Name :p3 = ---------------------- Description: any description. quantity(Text Box) ------------------- = Update Button = ------------------- ---------------------- -------------------------------------------------------------------------= ---------------------------------------------- or it is better to make all these data as container Bean that contain = products beans and this container is binded with only one Big form = instance to process it instead of one form instance for each product. ? any help ? Thanx in advance Mohamed ------=_NextPart_000_006F_01C212B7.FE774660 Content-Type: text/html; charset="windows-1256" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I'm very interested in the = cocoon=20 XMLForm and, but I'd like to ask a question:
is it possible to repeate = XMLForm=20 dynamically according to data from Database ?and HOW I can make data = binding of=20 this retrived data with each repeated form instance.?
 
for Example :
I have products from the DB = and I wanna=20 to display these products in XMLForms to update their quantity in=20 it
 
----------------------------------------------------------------= ------------------------------------------------------
Product1
ID :12236
Name=20 :p1           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;=20         = ----------------------
Description: any=20 description.    quantity(Text Box)=20 -------------------     Update Button
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;=20 -------------------    = ----------------------
----------------------------------------------------------------= -------------------------------------------
----------------------------------------------------------------= -------------------------------------------------------
Product2
ID :12256
Name=20 :p2           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;          =20         =20 ----------------------
Description: any=20 description.    quantity(Text Box)=20 -------------------     Update Button
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;-------------------   =20 ----------------------
----------------------------------------------------------------= -------------------------------------------------------
----------------------------------------------------------------= -------------------------------------------------------
Product3
ID :12776
Name=20 :p3           &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;       =20 ----------------------
Description: any=20 description.    quantity(Text Box)=20 -------------------     Update Button
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;           &nb= sp;-------------------   =20 ----------------------
----------------------------------------------------------------= -------------------------------------------------------
 
or it is better  to make all these data as container Bean that = contain=20 products beans and this container is binded with only one Big form = instance to=20 process it instead of one form instance for each product. ?
 
any help ?
Thanx in advance
Mohamed
------=_NextPart_000_006F_01C212B7.FE774660--