You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "David Evans (JIRA)" <ji...@apache.org> on 2006/04/25 01:02:10 UTC

[jira] Reopened: (STR-7) form:multibox tag values from bean BugRat Report#702

     [ http://issues.apache.org/struts/browse/STR-7?page=all ]
     
David Evans reopened STR-7:
---------------------------


> form:multibox tag values from bean BugRat Report#702
> ----------------------------------------------------
>
>          Key: STR-7
>          URL: http://issues.apache.org/struts/browse/STR-7
>      Project: Struts Action 1
>         Type: Bug

>   Components: Taglibs
>     Versions: Nightly Build
>  Environment: Operating System: All
> Platform: All
>     Reporter: Jeremy Taylor
>     Assignee: Craig McClanahan
>      Fix For: 1.0.0
>  Attachments: CustomboxTag.java, CustomboxTag.java, multibox.txt
>
> I find mutlibox more useful if the values can be read from a bean at runtime.
> I have modified my local copy of multibox to do this.
> I added the following to org.apache.struts.taglib.form.MultiboxTag at line 199.
> Object valueBean = pageContext.findAttribute(value);
> if(valueBean != null) value = valueBean.toString();

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org