Donnerstag, 30. Juni 2011

Tapestry 5.3.0 + Chenillekit + Jumpstart

In order to test my CSRF protection I want to use Jumpstart as testcase. This requires an update of the Chenillekit and Jumpstart to work with Apache Tapestry 5.3.0.

Chenillekit update:
The required modifications in the source code are quite easy. I was able to make a compatible build and  deployed it to my Google Summer of Code maven repository. This is just an interim solution until an official Chenillekit update has happend.

Jumpstart update:
  • Libraries: The Tapestry and Chenillekit libraries in the web/src/main/lib-compile and web/src/main/lib-runtime have to be updated.
  • Code: The AppModule contributeValidateMessagesSource method has to be renamed to contributeComponentMessagesSource
That's it.

Update:
[TAP5-1440] - Remove "validateForm" event triggered by Form component (replaced with "validate" event) --> onValidateForm method needs to be renamed!






3 Kommentare:

  1. hi marcus,
    may you apply another patch to your repository?
    I try to use your libraries with 5.4 rc3 and it gives me an exception. In ChenelliKitCoreModule they use slashes in configuration.add("fckeditor/", ...) which is not possible anymore:
    Exeption: Contribution of folder name 'fckeditor/' is invalid as it may not start with or end with a slash.
    same applies for "window/"

    I would help me a lot, since I don't know how to apply the patch myself.

    regards, andreas

    AntwortenLöschen
  2. For fixing the problem mentioned above, just the slash at the end of the configuration symbol in class ChenilleKitCoreModule has to be removed. I've done that. You can download the modified jar here: http://www.filesonic.com/file/4315857915/chenillekit-tapestry-1.3.3-SNAPSHOT_no_slashtail.jar

    AntwortenLöschen