|
|
|
+1
And Matt a comment from your great blog to should also be considered when impl. this feature to WW > I'm sure WebWork has a way of making this result type the default, I just haven't found it yet. Matt,
I applied your patch locally. However, there is no "uptodate" version of tiles-core in the maven repositories, so I compiled against http://cvs.apache.org/repository/tiles/jars/tiles-core-0.2-SNAPSHOT.jar . I do not have any tiles based test-webapp around. Can you please verify, If your version works with the above SNAPSHOT.jar? If this works without problems, I'll commit the patch. Thanks, Rainer Thanks for the contribution, patch applied
Hi, I am using the version of tiles-core available at http://people.apache.org/maven-snapshot-repository/org/apache/struts/tiles/tiles-core/2.0-SNAPSHOT/tiles-core-2.0-SNAPSHOT.jar (dated 25 Jul).
The method getContext now expects a TilesContext instead of ServletRequest, resulting in the following error java.lang.NoSuchMethodError: org.apache.tiles.ComponentContext.getContext(Ljavax/servlet/ServletRequest;)Lorg/apache/tiles/ComponentContext; at com.opensymphony.webwork.views.tiles.TilesResult.getComponentContext(TilesResult.java:151) at com.opensymphony.webwork.views.tiles.TilesResult.doExecute(TilesResult.java:97) Just checking if anyone has encountered the same problem and is working on this before I try to see if I am able to fix it? | ||||||||||||||||||||||||||||||||||||||||||||||||
Not polished or tested - but it works!