Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [Issue 17] pop up window for <input> task should properly support [Cancel] choice

antelope
Discussion topic

Back to topic list

[Issue 17] pop up window for &lt;input&gt; task should properly support [Cancel] choice

Author esafern
Full name Eric Safern
Date 2004-08-02 19:54:51 PDT
Message http://antelope.tigr​is.org/issues/show_b​ug.cgi?id=17






------- Additional comments from esafern at tigris dot org Mon Aug 2 19:54:51 -0700 2004 -------
OK, sorry about the delay!

I checked - all of my <input> tasks have a default value set.

This is what messes up the process.

Try this example:

<project name="test_input" default="test" basedir=".">
   <target name="test">
      <input message="Please enter ID: " addproperty="ID" defaultvalue="777" />
      <fail message="No ID entered - quitting." unless="ID" />
   </target>
</project>


Even though cancel is chosen, the default value ("777") is still set.

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: issues-unsubscribe@a​ntelope.tigris.org
For additional commands, e-mail: issues-help at antelope dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[Issue 17] pop up window for &lt;input&gt; task should properly support [Cancel] choice esafern Eric Safern 2004-08-02 19:54:51 PDT
Messages per page: