Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 51473 invoked from network); 18 Jul 2002 22:46:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Jul 2002 22:46:46 -0000 Received: (qmail 11498 invoked by uid 97); 18 Jul 2002 22:47:00 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 11463 invoked by uid 97); 18 Jul 2002 22:47:00 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 11418 invoked by uid 98); 18 Jul 2002 22:46:58 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <3D374547.1070704@yahoo.fr> Date: Fri, 19 Jul 2002 00:46:31 +0200 From: =?ISO-8859-1?Q?St=E9phane_MOR?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607 X-Accept-Language: fr-fr, en-us MIME-Version: 1.0 To: Jakarta Commons Developers List Subject: Re: [SUBMIT] [jelly] tag library for prompting users for information References: <1026954322.1189.13.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N John Casey wrote: >I submitted this once before to the maven-dev list, since I saw more >Jelly traffic on that than on commons-dev, but here goes again... > Hi John ! Last time you posted that, you forgot the sources ! :-) As I started something identical that on my side, I simply finished it and put it in the org.apache.commons.jelly.interaction package. >I'm attaching the source code for an interaction tag library, that will >prompt the user for input and save the result to a variable... > By now, there is only an AskTag that asks the user a question, and sets the value to a variable (like yours), which is the basic thing that I would expect from an Interaction thing ! >Additional features include: > >- input types: text, password, boolean, numeric text, and drop-down list >(comma-separated default value supplied) > I like those ideas, the password is something that we could need, and the boolean value is essential in interactive scripts. I thought about a ChoiceTag, which must be the same as you drop-down list, even if I can't see how my console would show me that drop-down list ... >- auto-detection of GUI-enabled JVM's; console display for otherwise > Cool ! If my JVM is GUI-enabled and if I don't want any GUI, do I have a way to disable it somehow ? >- solid domain object model backing tags, to promote extensibility and >reimplementation into Ant task > hmmm, I need more infos there, I should find that in the sources :-) >The source files here are [mostly] well-documented. I'm posting them >here with the hope that they will be integrated into the Jelly project, >so that I can maintain them as a standard part of the Jelly tool. > I'd love to help you to integrate that, as I feel that it's something that can be very valuable. Cheers, St�phane ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.comm -- To unsubscribe, e-mail: For additional commands, e-mail: