[ http://issues.apache.org/struts/browse/STR-2972?page=all ]

Niall Pemberton resolved STR-2972.
----------------------------------

    Fix Version/s: 1.3.6
       Resolution: Fixed
         Assignee: Niall Pemberton

Hi Paul,
resolving this as fixed.

Stuart,
in Struts 1.3 you can inherit "dyna" forms using the "extends" attribute - 
maybe that will meet your need? One possible issue with what you describe is 
how beanutils treats DynaBeans and POJO's - if its a DynaBean then any regular 
properties are ignored. Possiblly I have mis-understood - if you do come up 
with an alternative implementation that you want to share with others then by 
all means open a Jira ticket and submit it back.

> LazyValidatorForm cannot be saved in the session
> ------------------------------------------------
>
>                 Key: STR-2972
>                 URL: http://issues.apache.org/struts/browse/STR-2972
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.5
>         Environment: N/A
>            Reporter: Stuart Goldberg
>         Assigned To: Niall Pemberton
>             Fix For: 1.3.6
>
>
> This issue relates to the Struts Bugzilla entry "ASF Bugzilla Bug 35488".
> That fix makes it so that your forms can be resued if you use a POJO in a 
> <form-bean> element that Strus will wrap in a BeanValidatorForm.
> However it is still broken in the following scenario. Use LazyValidatorForm 
> (or a subclass thereof) in a <form-bean> element. Your form will never be 
> reused (or saved?) because FormBeanConfig will compare LazyValidatorForm 
> against LazyDynaBean and always fail.

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

        

Reply via email to