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 2007/08/27 04:50:34 UTC

[jira] Updated: (STR-2751) Make the 'name' attribute value accessible to jsp

     [ https://issues.apache.org/struts/browse/STR-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated STR-2751:
-------------------------------

    Fix Version/s: Future
         Assignee:     (was: Struts Developers)

> Make the 'name' attribute value accessible to jsp
> -------------------------------------------------
>
>                 Key: STR-2751
>                 URL: https://issues.apache.org/struts/browse/STR-2751
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Taglibs
>    Affects Versions: 1.2.8
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Tomasz Bech
>            Priority: Minor
>             Fix For: Future
>
>
> 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"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.