1 2 Previous Next 16 Replies Latest reply on Sep 15, 2008 2:55 PM by longbeach Go to original post
      • 15. Re: JBoss 5 RC1 and Struts 2 : Simple validation error
        jaikiran

         

        "longbeach" wrote:


        Do you know when this modification will be compiled and integrated in the xwork-2.0.5.jar jar file ? (its size should be around 446 Ko)


        Don't know. If the XWork developers feel its a good enough fix then they will apply it, whenever they plan to do it.

        "longbeach" wrote:

        Can you send me your xwork-2.0.5.jar file compiled with the modification you made on the ValidatorFactory class so that i can test it ?


        The best way to use that patch is to checkout their source code and apply the patch on that. Then build the jar from the project. Is that a option for you? If not, let me know where you want it to be mailed.

        "longbeach" wrote:

        Also, they have transformed that ValidatorFactory class into an interface in xwork-2.1.1.jar, which is the version integrated in Struts 2.1.2


        Yes, i noticed that. That new version has a lot of API changes. So i did not do any investigation/fixes for that version. If a similar issue comes up in that version then the fix would be quite similar to what is done in 2.0.x version.

        "longbeach" wrote:

        By the way, it might fix the validation problem using a -validation.xml file but I am not sure it will fix the validation problem using annotations (@Validation, @RequiredFieldValidator ...) although i got the same error on both techniques.
        Or will it ?


        From what i have seen of the code, the fix will be valid for both annotations and xml files. I haven't given it a try with annotations. Try it out with your application and see how it goes.





        • 16. Re: JBoss 5 RC1 and Struts 2 : Simple validation error
          longbeach

          hey, thanks very much again for helping.

          Can you send the jar file to this address :

          cel975 at yahoo dot com

          Please let me know.
          Thanks a lot

          1 2 Previous Next