Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 29384 invoked from network); 19 Jul 2002 16:17:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 19 Jul 2002 16:17:26 -0000 Received: (qmail 5598 invoked by uid 97); 19 Jul 2002 16:17:22 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 5467 invoked by uid 97); 19 Jul 2002 16:17:21 -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 5439 invoked by uid 98); 19 Jul 2002 16:17:20 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Authentication-Warning: localhost.localdomain: jdcasey set sender to jdcasey@00java.com using -f Subject: Re: [SUBMIT] [jelly] tag library for prompting users for information From: John Casey To: Jakarta Commons Developers List In-Reply-To: <019701c22f37$3579d9c0$9865fea9@spiritsoft.com> References: <1026954322.1189.13.camel@localhost.localdomain><3D374547.1070704@yahoo.fr> <1027050542.1236.4.camel@localhost.localdomain><1027056801.2655.10.camel@loc alhost.localdomain> <0fc901c22f11$591dcd30$9865fea9@spiritsoft.com> <1027087630.1226.7.camel@localhost.localdomain> <019701c22f37$3579d9c0$9865fea9@spiritsoft.com> Content-Type: multipart/mixed; boundary="=-yEySYI+aMt8L8PlKlC1G" X-Mailer: Ximian Evolution 1.0.3 (1.0.3-4) Date: 19 Jul 2002 11:16:02 -0500 Message-Id: <1027095362.1226.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --=-yEySYI+aMt8L8PlKlC1G Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable well I sent this one last night before the non-jar file, but I'll send it again in case something else was messed up... Thanks, John On Fri, 2002-07-19 at 10:16, James Strachan wrote: > Thanks. John do you have an example Jelly script to show how these tags a= re > meant to be used? >=20 > James > ----- Original Message ----- > From: "John Casey" > To: "Jakarta Commons Developers List" > Sent: Friday, July 19, 2002 3:07 PM > Subject: Re: [SUBMIT] [jelly] tag library for prompting users for > information >=20 >=20 > *sigh* >=20 > Sorry for the spam, but here's the real jar...I'm still working out how > the Jar functionality works from within NetBeans, apparently. Sorry > again. >=20 > John >=20 >=20 >=20 > On Fri, 2002-07-19 at 05:37, James Strachan wrote: > > I think that JAR you sent is empty :-) > > > > James > > ----- Original Message ----- > > From: "John Casey" > > To: "Jakarta Commons Developers List" > > Sent: Friday, July 19, 2002 6:33 AM > > Subject: Re: [SUBMIT] [jelly] tag library for prompting users for > > information > > > > > > FYI- > > > > I have included some minor changes to the package structures for the > > interact stuff, along with a proof-of-concept for adapting it to Ant. > > > > It's not all that well documented in all cases, but I'll clean that up > > eventually. > > > > Also, I've added to requested ability to override the gui display mode > > in favor of a console-only mode. > > > > The attribute for this is consoleOnly=3D'true' ... > > > > Regards, > > John > > > > > > On Thu, 2002-07-18 at 22:49, John Casey wrote: > > > I've included a test jelly script. You can test it normally using > > > Windows, etc. but currently the only easy way to test the console > > > version of things is to have Linux or something and run it on non-X m= ode > > > like runlevel 3 or something. > > > > > > I would like to integrate an override switch for forced-console mode, > > > however...I'll look into that tomorrow first thing. > > > > > > Also, I'd like to take a second and mention a couple of features I > > > forgot about until now: > > > > > > - Option on the property-sheet to store results to file. > > > - Option to provide autofill.properties for automation of otherwise > > > interactive executions, so that default values are automatically used > > > instead of prompting and waiting forever. > > > > > > Anyway, here's the test script that I used...see what you think. > > > > > > Regards, > > > John > > > > > > > > > > > > On Thu, 2002-07-18 at 17:46, St=E9phane MOR wrote: > > > > John Casey wrote: > > > > > > > > >I submitted this once before to the maven-dev list, since I saw mo= re > > > > >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-dow= n > > list > > > > >(comma-separated default value supplied) > > > > > > > > > I like those ideas, the password is something that we could need, a= nd > > > > the boolean value > > > > is essential in interactive scripts. > > > > I thought about a ChoiceTag, which must be the same as you drop-dow= n > > > > 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 otherwi= se > > > > > > > > > Cool ! > > > > If my JVM is GUI-enabled and if I don't want any GUI, do I have a w= ay > 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 t= hem > > > > >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 somethi= ng > > > > that can be very > > > > valuable. > > > > > > > > Cheers, > > > > St=E9phane > > > > > > > > ___________________________________________________________ > > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais ! > > > > Yahoo! Mail : http://fr.mail.yahoo.comm > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > > > For additional commands, e-mail: > > > > > > > > > > > > ---- > > > > > > > > > > > > > > > > > xmlns:i=3D"jelly:org.apache.commons.jelly.tags.interact.InteractTagLibrar= y" > > > xmlns:a=3D"jelly:ant"> > > > > > > start > > > > > > > > > > type=3D'boolean'/> > > > > defaultValue=3D'one,two,three' /> > > > > defaultValue=3D'3' /> > > > type=3D'text' > > /> > > > > type=3D'password' /> > > > > > > > > > Pulling from CVS? ${pull_cvs} > > > Build Phase: ${phase} > > > Maximum Retries: ${retries} > > > Using Config File: ${config_file} > > > Using Password: ${password} > > > > > > end > > > > > > > > > > > > > > > > > > ---- > > > > > > > > -- > > > To unsubscribe, e-mail: > > > > > For additional commands, e-mail: > > > > > > > > > > > > -----------------------------------------------------------------------= --- > -- > > ---- > > > > > > > -- > > > To unsubscribe, e-mail: > > > > > For additional commands, e-mail: > > > > > > __________________________________________________ > > Do You Yahoo!? > > Everything you'll ever need on one web page > > from News and Sport to Email and Music Charts > > http://uk.my.yahoo.comm > > > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > >=20 >=20 >=20 >=20 > -------------------------------------------------------------------------= --- > ---- >=20 >=20 > > -- > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > >=20 > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.comm >=20 > -- > To unsubscribe, e-mail: > For additional commands, e-mail: >=20 --=-yEySYI+aMt8L8PlKlC1G Content-Disposition: attachment; filename=test-interact.jelly Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=test-interact.jelly; charset=ISO-8859-15 =0D =0D =0D =20=0D start=0D =0D =0D =0D =0D =0D =0D =0D =0D =20=0D Pulling from CVS? ${pull_cvs}=0D Build Phase: ${phase}=0D Maximum Retries: ${retries}=0D Using Config File: ${config_file}=0D Using Password: ${password}=0D =20=0D end=0D =20=0D =0D =0D =0D --=-yEySYI+aMt8L8PlKlC1G Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --=-yEySYI+aMt8L8PlKlC1G--