You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2007/02/15 17:24:12 UTC
svn commit: r507987 - in
/tiles/examples/trunk/tiles-showcase/src/main/webapp: common/
examples/tiles/portal/ test/ tutorial/common/ tutorial/common/menu/
tutorial/definitions/ tutorial/portal/
Author: apetrelli
Date: Thu Feb 15 08:24:11 2007
New Revision: 507987
URL: http://svn.apache.org/viewvc?view=rev&rev=507987
Log:
Changed JSP tags calls according to TILES-103.
Modified:
tiles/examples/trunk/tiles-showcase/src/main/webapp/common/submenu.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/examples/tiles/portal/portalBody.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/test/testList.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuLinks.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuSrc.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/submenu.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/definitionsConfig.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/simpleBody.jsp
tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/portal/portalBody.jsp
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/common/submenu.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/common/submenu.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/common/submenu.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/common/submenu.jsp Thu Feb 15 08:24:11 2007
@@ -67,14 +67,14 @@
<tiles:insertTemplate template="/common/submenu.jsp" flush="true">
<tiles:putAttribute name="title" value="Main Menu" />
<tiles:putListAttribute name="items" >
- <tiles:add value="Home" />
- <tiles:add value="Edit Customer" />
- <tiles:add value="Invoice" />
+ <tiles:addAttribute value="Home" />
+ <tiles:addAttribute value="Edit Customer" />
+ <tiles:addAttribute value="Invoice" />
</tiles:putListAttribute>
<tiles:putListAttribute name="links" >
- <tiles:add value="index.jsp" />
- <tiles:add value="invoice/index.jsp" />
- <tiles:add value="invoice/index.jsp" />
+ <tiles:addAttribute value="index.jsp" />
+ <tiles:addAttribute value="invoice/index.jsp" />
+ <tiles:addAttribute value="invoice/index.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/examples/tiles/portal/portalBody.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/examples/tiles/portal/portalBody.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/examples/tiles/portal/portalBody.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/examples/tiles/portal/portalBody.jsp Thu Feb 15 08:24:11 2007
@@ -26,16 +26,16 @@
<tiles:insertTemplate template="layout/columnsLayout.jsp" flush="true">
<tiles:putAttribute name="numCols" value="2" />
<tiles:putListAttribute name="list0" >
- <tiles:add value="/tutorial/portal/login.jsp" />
- <tiles:add value="/tutorial/portal/messages.jsp" />
- <tiles:add value="/tutorial/portal/newsFeed.jsp" />
- <tiles:add value="/tutorial/portal/advert2.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/login.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/messages.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/newsFeed.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/advert2.jsp" />
</tiles:putListAttribute>
<tiles:putListAttribute name="list1" >
- <tiles:add value="/tutorial/portal/advert3.jsp" />
- <tiles:add value="/tutorial/portal/stocks.jsp" />
- <tiles:add value="/tutorial/portal/whatsNew.jsp" />
- <tiles:add value="/tutorial/portal/personalLinks.jsp" />
- <tiles:add value="/tutorial/portal/search.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/advert3.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/stocks.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/whatsNew.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/personalLinks.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/search.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/test/testList.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/test/testList.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/test/testList.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/test/testList.jsp Thu Feb 15 08:24:11 2007
@@ -30,15 +30,15 @@
<tiles:insertTemplate template="menu.jsp" >
<tiles:putAttribute name="title" value="Test menu" />
<tiles:putListAttribute name="items">
- <tiles:add value="home" />
- <tiles:add>
+ <tiles:addAttribute value="home" />
+ <tiles:addAttribute>
<img src="<%=request.getContextPath()%>/images/struts-power.gif"
- align="right" border="0"></tiles:add>
- <tiles:add value="documentation"/>
+ align="right" border="0"></tiles:addAttribute>
+ <tiles:addAttribute value="documentation"/>
</tiles:putListAttribute>
<tiles:putListAttribute name="links">
- <tiles:add value="/index.jsp"/>
- <tiles:add value="/../struts-documentation"/>
- <tiles:add value="/../comps-doc" type="string" />
+ <tiles:addAttribute value="/index.jsp"/>
+ <tiles:addAttribute value="/../struts-documentation"/>
+ <tiles:addAttribute value="/../comps-doc" type="string" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu.jsp Thu Feb 15 08:24:11 2007
@@ -25,8 +25,8 @@
<tiles:insertTemplate template="/layout/vboxLayout.jsp" flush="true" >
<tiles:putListAttribute name="componentsList" >
- <tiles:add value="/tutorial/common/menu/menuLogo.jsp" />
- <tiles:add value="/tutorial/common/menu/menuLinks.jsp" />
- <tiles:add value="/tutorial/common/menu/menuSrc.jsp" />
+ <tiles:addAttribute value="/tutorial/common/menu/menuLogo.jsp" />
+ <tiles:addAttribute value="/tutorial/common/menu/menuLinks.jsp" />
+ <tiles:addAttribute value="/tutorial/common/menu/menuSrc.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuLinks.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuLinks.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuLinks.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuLinks.jsp Thu Feb 15 08:24:11 2007
@@ -26,17 +26,17 @@
<tiles:insertTemplate template="/common/submenu.jsp" flush="true">
<tiles:putAttribute name="title" value="Main Menu" />
<tiles:putListAttribute name="items" >
- <tiles:putListAttribute name="none">
- <tiles:putAttribute value="Home" />
- <tiles:putAttribute value="/tutorial/index.jsp" />
- </tiles:putListAttribute>
- <tiles:putListAttribute name="none">
- <tiles:putAttribute value="Basic Page" />
- <tiles:putAttribute value="/tutorial/basicPage.jsp" />
- </tiles:putListAttribute>
- <tiles:putListAttribute name="none">
- <tiles:putAttribute value="First Portal" />
- <tiles:putAttribute value="/tutorial/portalPage.jsp" />
- </tiles:putListAttribute>
+ <tiles:addListAttribute>
+ <tiles:addAttribute value="Home" />
+ <tiles:addAttribute value="/tutorial/index.jsp" />
+ </tiles:addListAttribute>
+ <tiles:addListAttribute>
+ <tiles:addAttribute value="Basic Page" />
+ <tiles:addAttribute value="/tutorial/basicPage.jsp" />
+ </tiles:addListAttribute>
+ <tiles:addListAttribute>
+ <tiles:addAttribute value="First Portal" />
+ <tiles:addAttribute value="/tutorial/portalPage.jsp" />
+ </tiles:addListAttribute>
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuSrc.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuSrc.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuSrc.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/menu/menuSrc.jsp Thu Feb 15 08:24:11 2007
@@ -25,13 +25,13 @@
<tiles:insertTemplate template="/tutorial/common/menuViewSrc.jsp" flush="true" >
<tiles:putListAttribute name="list" >
- <tiles:add value="/tutorial/basicPage.jsp" />
- <tiles:add value="/tutorial/portalPage.jsp" />
- <tiles:add value="/tutorial/portal/portalBody.jsp" />
- <tiles:add value="/tutorial/common/header.jsp" />
- <tiles:add value="/tutorial/common/menu.jsp" />
- <tiles:add value="/tutorial/common/footer.jsp" />
- <tiles:add value="/layout/classicLayout.jsp" />
- <tiles:add value="/layout/vboxLayout.jsp" />
+ <tiles:addAttribute value="/tutorial/basicPage.jsp" />
+ <tiles:addAttribute value="/tutorial/portalPage.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/portalBody.jsp" />
+ <tiles:addAttribute value="/tutorial/common/header.jsp" />
+ <tiles:addAttribute value="/tutorial/common/menu.jsp" />
+ <tiles:addAttribute value="/tutorial/common/footer.jsp" />
+ <tiles:addAttribute value="/layout/classicLayout.jsp" />
+ <tiles:addAttribute value="/layout/vboxLayout.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/submenu.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/submenu.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/submenu.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/common/submenu.jsp Thu Feb 15 08:24:11 2007
@@ -84,14 +84,14 @@
<tiles:insertTemplate template="/common/submenu.jsp" flush="true">
<tiles:putAttribute name="title" value="Main Menu" />
<tiles:putListAttribute name="items" >
- <tiles:add value="Home" />
- <tiles:add value="Edit Customer" />
- <tiles:add value="Invoice" />
+ <tiles:addAttribute value="Home" />
+ <tiles:addAttribute value="Edit Customer" />
+ <tiles:addAttribute value="Invoice" />
</tiles:putListAttribute>
<tiles:putListAttribute name="links" >
- <tiles:add value="index.jsp" />
- <tiles:add value="invoice/index.jsp" />
- <tiles:add value="invoice/index.jsp" />
+ <tiles:addAttribute value="index.jsp" />
+ <tiles:addAttribute value="invoice/index.jsp" />
+ <tiles:addAttribute value="invoice/index.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/definitionsConfig.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/definitionsConfig.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/definitionsConfig.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/definitionsConfig.jsp Thu Feb 15 08:24:11 2007
@@ -46,17 +46,17 @@
<tiles:definition id="portalExample" page="/layout/columnsLayout.jsp" scope="request">
<tiles:putAttribute name="numCols" value="2" />
<tiles:putListAttribute name="list0" >
- <tiles:add value="/portal/login.jsp" />
- <tiles:add value="/portal/messages.jsp" />
- <tiles:add value="/portal/newsFeed.jsp" />
- <tiles:add value="/portal/advert2.jsp" />
+ <tiles:addAttribute value="/portal/login.jsp" />
+ <tiles:addAttribute value="/portal/messages.jsp" />
+ <tiles:addAttribute value="/portal/newsFeed.jsp" />
+ <tiles:addAttribute value="/portal/advert2.jsp" />
</tiles:putListAttribute>
<tiles:putListAttribute name="list1" >
- <tiles:add value="/portal/advert3.jsp" />
- <tiles:add value="/portal/stocks.jsp" />
- <tiles:add value="/portal/whatsNew.jsp" />
- <tiles:add value="/portal/personalLinks.jsp" />
- <tiles:add value="/portal/search.jsp" />
+ <tiles:addAttribute value="/portal/advert3.jsp" />
+ <tiles:addAttribute value="/portal/stocks.jsp" />
+ <tiles:addAttribute value="/portal/whatsNew.jsp" />
+ <tiles:addAttribute value="/portal/personalLinks.jsp" />
+ <tiles:addAttribute value="/portal/search.jsp" />
</tiles:putListAttribute>
</tiles:definition>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/simpleBody.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/simpleBody.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/simpleBody.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/definitions/simpleBody.jsp Thu Feb 15 08:24:11 2007
@@ -26,16 +26,16 @@
<tiles:insertTemplate template="/layout/columnsLayout.jsp" flush="true">
<tiles:putAttribute name="numCols" value="2" />
<tiles:putListAttribute name="list0" >
- <tiles:add value="/portal/login.jsp" />
- <tiles:add value="/portal/messages.jsp" />
- <tiles:add value="/portal/newsFeed.jsp" />
- <tiles:add value="/portal/advert2.jsp" />
+ <tiles:addAttribute value="/portal/login.jsp" />
+ <tiles:addAttribute value="/portal/messages.jsp" />
+ <tiles:addAttribute value="/portal/newsFeed.jsp" />
+ <tiles:addAttribute value="/portal/advert2.jsp" />
</tiles:putListAttribute>
<tiles:putListAttribute name="list1" >
- <tiles:add value="/portal/advert3.jsp" />
- <tiles:add value="/portal/stocks.jsp" />
- <tiles:add value="/portal/whatsNew.jsp" />
- <tiles:add value="/portal/personalLinks.jsp" />
- <tiles:add value="/portal/search.jsp" />
+ <tiles:addAttribute value="/portal/advert3.jsp" />
+ <tiles:addAttribute value="/portal/stocks.jsp" />
+ <tiles:addAttribute value="/portal/whatsNew.jsp" />
+ <tiles:addAttribute value="/portal/personalLinks.jsp" />
+ <tiles:addAttribute value="/portal/search.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>
Modified: tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/portal/portalBody.jsp
URL: http://svn.apache.org/viewvc/tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/portal/portalBody.jsp?view=diff&rev=507987&r1=507986&r2=507987
==============================================================================
--- tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/portal/portalBody.jsp (original)
+++ tiles/examples/trunk/tiles-showcase/src/main/webapp/tutorial/portal/portalBody.jsp Thu Feb 15 08:24:11 2007
@@ -26,16 +26,16 @@
<tiles:insertTemplate template="/layout/columnsLayout.jsp" flush="true">
<tiles:putAttribute name="numCols" value="2" />
<tiles:putListAttribute name="list0" >
- <tiles:add value="/tutorial/portal/login.jsp" />
- <tiles:add value="/tutorial/portal/messages.jsp" />
- <tiles:add value="/tutorial/portal/newsFeed.jsp" />
- <tiles:add value="/tutorial/portal/advert2.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/login.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/messages.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/newsFeed.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/advert2.jsp" />
</tiles:putListAttribute>
<tiles:putListAttribute name="list1" >
- <tiles:add value="/tutorial/portal/advert3.jsp" />
- <tiles:add value="/tutorial/portal/stocks.jsp" />
- <tiles:add value="/tutorial/portal/whatsNew.jsp" />
- <tiles:add value="/tutorial/portal/personalLinks.jsp" />
- <tiles:add value="/tutorial/portal/search.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/advert3.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/stocks.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/whatsNew.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/personalLinks.jsp" />
+ <tiles:addAttribute value="/tutorial/portal/search.jsp" />
</tiles:putListAttribute>
</tiles:insertTemplate>