Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 92414 invoked by uid 500); 10 Nov 2002 00:33:03 -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 92398 invoked from network); 10 Nov 2002 00:33:02 -0000 Message-ID: <004901c28850$bd92a220$02001aac@pccillo> From: "Josema Alonso" To: References: <00ea01c2881f$8caf7d30$02001aac@pccillo> <117501c28824$57d6a480$0100a8c0@MAUCHI> Subject: Re: XMLForm - xf:repeat tag on DOM Nodes? Date: Sun, 10 Nov 2002 01:32:45 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Stupid me, I sent the code snippet before fix it. That's what I meant exactly, and it's working good. I just had some incorrect mappings in the model. You know? It took me a lot of time to understand this whole XMLForms thingie of you. Now that it seems I know what I'm doing I must say I really like this approach to forms. Thanks you very much for providing it :-) Btw, some people are missing a dynamic model, I mean, they say you must create it before hand. It would be pretty nice to see it in a next version, sometime, but I can say to those, that using DOM nodes and documents and manipulating them inside the action, can give a lot of power to make things dynamic :-) Thanks again. ----- Original Message ----- From: "Ivelin Ivanov" To: Sent: Saturday, November 09, 2002 8:15 PM Subject: Re: XMLForm - xf:repeat tag on DOM Nodes? > > You probably meant to use: > > > > > Language (code): > > > > Description: > > > > > I would also recommend that you use the standard xml:lang attribute instead > of a non-qualified one. > > > > Ivelin > > > > > ----- Original Message ----- > From: "Josema Alonso" > To: "Cocoon-Users" > Sent: Saturday, November 09, 2002 12:40 PM > Subject: XMLForm - xf:repeat tag on DOM Nodes? > > > > Dear all, > > > > I see in thw wizrd demo how the repeat tag is used like this: > > > > > > URL: > > > > > > > > In the model bean the favorite is implemented as an array list, so you can > > iterate through it using the position function and specifying how many > items > > to display. > > > > Well, now I got a part of my model implmented as a DOM Node. It seems it'w > > working right but I can't make the repeat tag to work with it. Let's say I > > have something like this: > > > > nice table > > mesa bonita > > > > > > I want to display as many textboxes as descriptions, ok? I have tried > this, > > but unfortunately it is not working. : > > > > > > Language (code): > > > > > > > > Description: > > > > > > > > > > If I try to access just one description node outside the repeat tag, I get > > the info correctly. Any ideas? > > > > Thanks. > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. > > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: