In Struts 1.1, the org.apache.struts.action.DynaActionFormClass included the method signature:
public static DynaActionClass createDynaActionFormClass(FormBeanConfig config);
But in version 1.18 of this class (as part of dealing with Bugzilla #22207[1] ), we changed the method signature to:
public static DynaActionClass
createDynaActionFormClass(FormBeanConfig config, ModuleConfig moduleConfig);
The change was necessitated by the fact that a FormBeanConfig no longer has a reference to the ModuleConfig for the module containing it, so it had to be passed in. The net result is that the Struts-Faces library can be built against either Struts 1.1 or Struts 1.2, but not both :-(.
I'd be willing to consider a 1.2 dependency if we had a GA quality release available; but I'd also rather not try to release struts-faces for 1.1 only and then have to rev it for Struts 1.2 solely to deal with this issue (in all other respects that I have tested, struts-faces seems to work fine on either).
Any ideas? In particular, is there a way to deal with the serialization issue that was described in the bug report, without having to change this method signature?
In the longer term, I think we do need to be somewhat more careful about public API changes in 1.x versions. One of the reasons Struts is powerful is precisely because there are many extensions built around it ... and making life harder on people building those extensions isn't conducive to that continuing.
Craig
[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=22207
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]