You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Udo Walker (JIRA)" <ji...@apache.org> on 2008/11/05 16:36:36 UTC
[jira] Created: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Add an attribute renderer for "page" for backwards compatibility
----------------------------------------------------------------
Key: TILES-333
URL: https://issues.apache.org/struts/browse/TILES-333
Project: Tiles
Issue Type: Improvement
Components: tiles-jsp (jsp support)
Affects Versions: 2.1.x
Reporter: Udo Walker
To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli reopened TILES-333:
------------------------------------
This is a bug, and I reopen it.
This is related to the tiles-compat module, not to the core.
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Bug
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Fix For: 2.1.x
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli resolved TILES-333.
------------------------------------
Resolution: Not A Problem
I cannot understand anything. If it is a question, please ask the Tiles Users mailing list:
http://tiles.apache.org/mail.html
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-jsp (jsp support)
> Affects Versions: 2.1.x
> Reporter: Udo Walker
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli resolved TILES-333.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.1.x)
2.1.1
In fact it was not a bug, but a lack of documentation.
Fixed the documentation.
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Bug
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Assignee: Antonio Petrelli
> Fix For: 2.1.1
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TILES-333) Add an attribute renderer for "page" for
backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli closed TILES-333.
----------------------------------
Closed due to the release of Tiles 2.1.1
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Bug
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Assignee: Antonio Petrelli
> Fix For: 2.1.1
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Udo Walker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44921#action_44921 ]
Udo Walker commented on TILES-333:
----------------------------------
Hmm, but in Tiles 2.0.5 you still can use "page" type. I ask then why is there the jar "tiles-compat.jar" ? To what should it be compatible?
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-jsp (jsp support)
> Affects Versions: 2.1.x
> Reporter: Udo Walker
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli updated TILES-333:
-----------------------------------
Assignee: Antonio Petrelli
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Bug
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Assignee: Antonio Petrelli
> Fix For: 2.1.x
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44919#action_44919 ]
Antonio Petrelli commented on TILES-333:
----------------------------------------
The "page" type has been removed from Tiles 1 for a reason: make it more concise and without duplication.
So use "template".
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-jsp (jsp support)
> Affects Versions: 2.1.x
> Reporter: Udo Walker
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Udo Walker (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44918#action_44918 ]
Udo Walker commented on TILES-333:
----------------------------------
No question. Just an improvment. I have some old JSP pages with following syntax:
...
<tiles:putAttribute name="footer" type="page" value="/some/url.jsp"/>
If I try to run this with Tiles 2.0.5 it works fine and there are no errors. But if I try to run it with Tiles 2.1.1 then I get the error that the page renderer is mssing.
In Tiles 2.1.x is this extension scheme:
org.apache.tiles.renderer.impl.BasicRendererFactory.TYPE_RENDERERS
with which you can add type renderers. In the default configuration there are renderes for the types "string", "definition" and "template". In Tile 1.x the type "page" had the same meaning as the type "template" in Tiles 2.x. So why not just add another type renderer for this type? It would be just to add the same type renderer to the type "template" and "page".
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-jsp (jsp support)
> Affects Versions: 2.1.x
> Reporter: Udo Walker
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Petrelli updated TILES-333:
-----------------------------------
Component/s: (was: tiles-jsp (jsp support))
tiles-compat
Affects Version/s: (was: 2.1.x)
2.1.0
Fix Version/s: 2.1.x
Issue Type: Bug (was: Improvement)
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Bug
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Fix For: 2.1.x
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TILES-333) Add an attribute renderer for "page"
for backwards compatibility
Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/TILES-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44922#action_44922 ]
Antonio Petrelli commented on TILES-333:
----------------------------------------
Oh wait, Tiles 2.0.5 *does not* support page type, see the DTD, because it prohibits that use.
But about the "tiles-compat" module, probably you're right. I'll make changes to this issue to clarify it.
> Add an attribute renderer for "page" for backwards compatibility
> ----------------------------------------------------------------
>
> Key: TILES-333
> URL: https://issues.apache.org/struts/browse/TILES-333
> Project: Tiles
> Issue Type: Improvement
> Components: tiles-compat
> Affects Versions: 2.1.0
> Reporter: Udo Walker
> Fix For: 2.1.x
>
>
> To be backwards compatible with Tiles 2.0.x you could add an attribute renderer for the type "page" which works exactly like the renderer for the type "template". Then you do not have to change the putAttribute tags concerning the type attribute.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.