struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Benedict (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-2223) Enhancements in DynaActionForm
Date Tue, 13 Nov 2007 08:24:34 GMT

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

Paul Benedict closed STR-2223.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.9
         Assignee:     (was: Struts Developers)

Can be accomplished through the LazyDynaForm

> Enhancements in DynaActionForm
> ------------------------------
>
>                 Key: STR-2223
>                 URL: https://issues.apache.org/struts/browse/STR-2223
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Future
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Aldo Gutiérrez
>            Priority: Minor
>             Fix For: 1.2.9
>
>
> 1.- make DynaActionForm implements java.util.Map interface
>     benefits:
>     you can use the EL lenguaje better for example for access
>     a propertie of the DynaActionForm you have to do:
>     <c:out  value="${revertion_consult.map.year}" />
>     with this enhancement you only need to do:      
>     <c:out  value="${revertion_consult.year}" />
> 2.- add a constructor DynaActionForm(java.util.map map)
>     where the key of the map is a property 
>     benefits:
>     
>     You can create a DynaActionForm dinamically on the fly
>     This is useful when you want to initialice a DynaActionForm
>     to dinamic default values. You can create de DynaActionForm
>     and put it in the right context(session,request) in an Action

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


Mime
View raw message