Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 31791 invoked from network); 25 Jul 2000 20:22:23 -0000 Received: from tele-post-20.mail.demon.net (194.217.242.20) by locus.apache.org with SMTP; 25 Jul 2000 20:22:23 -0000 Received: from media.demon.co.uk ([158.152.20.147] helo=[192.168.0.2]) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 13HBDZ-000PuQ-0K for cocoon-users@xml.apache.org; Tue, 25 Jul 2000 20:22:21 +0000 Mime-Version: 1.0 X-Sender: media@pop3.demon.co.uk Message-Id: In-Reply-To: <397DBAB4.FE4BDD13@denic.de> References: <397DBAB4.FE4BDD13@denic.de> Date: Tue, 25 Jul 2000 20:46:18 +0100 To: cocoon-users@xml.apache.org From: Jeremy Quinn Subject: Re: fp taglib feedback Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N At 18:05 +0200 25/07/00, Ulrich Mayring wrote: >Hi all, > >I just converted one of my apps over from using the XMLForm servlet to >using the fp taglib. I must say I'm impressed with fp, it is pretty >elegant to use (once you get behind its logic, which took at least me a >couple of hours :). I have one thing, however, where I don't know how to >proceed. Consider this command: > > > >This means I have to specify all the nodes I want to save as a literal >string. Now I have complex forms with millions (well, maybe thousands >;-) of fields that need to be saved. What's more the number of fields >may change dynamically - because the XML file that holds the definition >of the fields is also editable via fp :) > >So I need a way to tell fp to "write out anything you find in the >request parameters". I tried: > >So, is there another way to generate a dynamic value for the select >attribute?(*) Not right now, that I can think of, sorry. >Another thing about fp: am I right in assuming that the correct way to >delete an item is to all items except the one to delete and >then to a new file and then rename the new file to the old >file? Deleting is completely untested. There is provision for remove in a , and I plan to implement an override, so that an individual can act differently from the it uses. >The and things are great, but I think they >should be seperated into another taglib for forms handling. My feelings too, Stefano asked me to wait on stuff like this till we all have had a bit more of a chance to play with it. >The also works fine, but I wonder why > wasn't used in its place? Actually, I don't >wonder so much, because I tried using and it >didn't work :) I had to write a new Tag because I wanted it to work only under certain conditions. <1> it is a POST request <2> there were no internal errors. >Anyway, I already love the fp taglib and will probably use it a lot. >Thanks Jeremy. Thank you for your feedback. I hope this is not going to be too frustrating for you, but I don't have much spare time right now ...... it will take a while to implement this stuff. regards Jeremy -- ___________________________________________________________________ Jeremy Quinn Karma Divers webSpace Design HyperMedia Research Centre