ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18717] New: - Missed "defaultvalue" attribute in <input> doc
Date Fri, 04 Apr 2003 16:55:35 GMT
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: dev@ant.apache.org
        ReportedBy: jan@materne.de
                CC: jan@materne.de


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>

Mime
View raw message