You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/14 21:56:45 UTC
DO NOT REPLY [Bug 18015] New: -
[RFE] - A html:label custom tag to write forms' properties
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=18015>.
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=18015
[RFE] - A html:label custom tag to write forms' properties
Summary: [RFE] - A html:label custom tag to write forms'
properties
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: lquijano@hotpop.com
It would be useful to have a tag that just writes a form's value.
We already have one:
<html:hidden property="foo" write="true" />
The problem is that it generates a HTML INPUT in addittion to the text. That
INPUT could interfere with the form's submission, and it adds bloat to the
page.It would be nice to have a custom tag just to generate the form's text.
I know i could also expose the form as a bean (I guess it would be <bean:struts
... />). But that could tie the JSP to the form's name, and that's not a good think.
Maybe the tag could be something like:
<html:label property="foo" />
And it would get property "foo" from the form and write it like a bean:write. It
could be even:
<html:label property="foo.x.y.z" />
Leonardo
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org