You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Dev Naga (JIRA)" <ji...@apache.org> on 2008/06/12 23:34:05 UTC
[jira] Updated: (TILES-277) integrate tiles2 with spring2.0.6
[ https://issues.apache.org/struts/browse/TILES-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dev Naga updated TILES-277:
---------------------------
Attachment: Tiles2View.java
That true. We have the plan to upgrading it to spring 2.5.
Meanwhile, I found some solution from forums to integrate tiles 2.0.x with spring 2.0.6.
http://jira.springframework.org/browse/SPR-3535
I steped forward to working on it.
Since spring 2.0.6 supports tiles1, configure tiles2 in web.xml separately as
<listener>
<listener-class>org.apache.tiles.web.startup.TilesListener</listener-class>
</listener>
<context-param>
<param-name>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</param-name>
<param-value>/WEB-INF/tiles-defs.xml</param-value>
</context-param>
And configure the tilescontainer by extending AbstractUrlBasedView to get the url. (Please find the attached Tiles2View.java)
It is then refer in view.properties as
search.class=com.test.Tiles2View
search.url=test.page #refering the tiles definition name
Here my problem is when I compile Tiles2View.java using jdk5 & run it with jdk1.4 by adding retrotranslator jar, it is throwing error like unsupported version(49.0)
Please advice me how to compile Tiles2View.java(contains java5 code) for jdk1.4.* with websphere6.0.
Add please notify me if I am wrong anywhere in my steps.
> integrate tiles2 with spring2.0.6
> ---------------------------------
>
> Key: TILES-277
> URL: https://issues.apache.org/struts/browse/TILES-277
> Project: Tiles
> Issue Type: New Feature
> Affects Versions: 2.0.6
> Environment: WebSphere Platform 6.0 [BASE 6.0.2.15 cf150636.04]
> Host Operating System is Windows XP, version 5.1
> Java version = J2RE 1.4.2 IBM Windows 32 build cn142-20060421 (SR5) (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
> Reporter: Dev Naga
> Attachments: Tiles2View.java
>
>
> need to integrate tiles latest version 2.0.x with spring 2.0.6.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.