You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2006/09/05 03:38:31 UTC
[jira] Updated: (STR-1305) Add tag to output HTML
label
[ http://issues.apache.org/struts/browse/STR-1305?page=all ]
Paul Benedict updated STR-1305:
-------------------------------
Summary: Add <html:label> tag to output HTML label (was: New <html:label> custom tag to output HTML label)
Issue Type: New Feature (was: Improvement)
Bugzilla Id: (was: 18015)
Fix Version/s: 1.3.6
(was: Future)
Affects Version/s: (was: 1.3.6)
Priority: Major (was: Minor)
> Add <html:label> tag to output HTML label
> -----------------------------------------
>
> Key: STR-1305
> URL: http://issues.apache.org/struts/browse/STR-1305
> Project: Struts 1
> Issue Type: New Feature
> Components: Taglibs
> Environment: Operating System: All
> Platform: All
> Reporter: Leonardo Quijano
> Assigned To: Paul Benedict
> Fix For: 1.3.6
>
>
> 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira