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

http://issues.apache.org/bugzilla/show_bug.cgi?id=38446

           Summary: Make the 'name' attribute value accessible to jsp
           Product: Struts
           Version: 1.2.8
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Taglibs
        AssignedTo: dev@struts.apache.org
        ReportedBy: [EMAIL PROTECTED]


In case there is a need to have javascript or similar to access value of the
field, its name, or id must be provided. When a field is under
nested->nested->iterate->nested->iterate this name is rather complex and there
is no way to read it from the taglib.
So following extensions to html tags would be nice:
- writeNameTo="page/session_attrName" writeNameToScope="page|session"
and when it is set, the calculated 'name' value would be written to the 
property.
Additionally when such value is needed before the field is rendered, following
tag would be nice:
nested:writeName property="" name="" writeNameTo="page/session_attrName"
writeNameToScope="page|session"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to