DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18717

Missed "defaultvalue" attribute in <input> doc

           Summary: Missed "defaultvalue" attribute in <input> doc
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


When I started working with <input> I missed the ability for default values. So 
I wanted to add it ... and saw that itīs already there. :-)

So it would be good, if the doc is enhanced (as long as it isnīt generated by 
XDoclet :-)

Here the addīs (attribute and example - my diff doesnīt work right, so here as 
snippets):

As last attribute:
  <tr>
    <td valign="top">defaultvalue</td>
    <td valign="top">Defines the default value of the property to be created 
from input.
    Property value will be set to default if not input is received.</td>
    <td valign="top" align="center">No</td>
  </tr>

As last example:
<pre>  &lt;input
    message=&quot;Please enter db-username:&quot;
    addproperty=&quot;db.user&quot;
    defaultvalue=&quot;Scott-Tiger&quot;
  /&gt;</pre>
<p>Same as above, but will set <code>db.user</code> to the value <i>Scott-
Tiger</i>
if the user enters no value (simply types &lt;return&gt;).</p>

Reply via email to