Issue Details (XML | Word | Printable)

Key: STR-1305
Type: New Feature New Feature
Status: In Progress In Progress
Priority: Major Major
Assignee: Paul Benedict
Reporter: Leonardo Quijano
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Struts 1

Add <html:label> tag to output HTML label

Created: 15/Mar/03 04:56 AM   Updated: 12/Oct/07 03:13 AM
Return to search
Component/s: Tag Libraries
Affects Version/s: None
Fix Version/s: 1.4.0

Environment:
Operating System: All
Platform: All
Issue Links:
Dependency
 

Bugzilla Id: 18015


 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Don Brown made changes - 23/Apr/06 04:41 AM
Field Original Value New Value
issue.field.bugzillaimportkey 18015 26596
Paul Benedict made changes - 05/Sep/06 01:23 AM
Assignee Struts Developers [ dev@struts.apache.org ] Paul Benedict [ paul4christ79 ]
Paul Benedict made changes - 05/Sep/06 01:33 AM
Summary [taglib] New <html:label> custom tag to write forms' properties New <html:label> custom tag to output HTML label
Affects Version/s 1.3.6 [ 21731 ]
Affects Version/s Future [ 21701 ]
Bugzilla Id 18015
Paul Benedict made changes - 05/Sep/06 01:33 AM
Status Reopened [ 4 ] In Progress [ 3 ]
Paul Benedict made changes - 05/Sep/06 01:37 AM
Priority Minor [ 4 ] Major [ 3 ]
Fix Version/s 1.3.6 [ 21731 ]
Summary New <html:label> custom tag to output HTML label Add <html:label> tag to output HTML label
Issue Type Improvement [ 4 ] New Feature [ 2 ]
Fix Version/s Future [ 21701 ]
Affects Version/s 1.3.6 [ 21731 ]
Bugzilla Id 18015
Paul Benedict made changes - 27/Nov/06 07:53 PM
Bugzilla Id 18015
Fix Version/s 1.3.7 [ 21771 ]
Fix Version/s 1.3.6 [ 21731 ]
Paul Benedict made changes - 09/Feb/07 01:19 AM
Fix Version/s 1.4.0 [ 21795 ]
Fix Version/s 1.3.7 [ 21771 ]
Paul Benedict made changes - 05/Jul/07 11:17 PM
Link This issue blocks STR-3064 [ STR-3064 ]