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 2006/01/30 13:29:29 UTC

DO NOT REPLY [Bug 38446] New: - Make the 'name' attribute value accessible to jsp

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: tomasz.bech@bull.com.pl


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: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org