From: <die...@us...> - 2012-03-21 07:20:46
|
Revision: 3874 http://openutils.svn.sourceforge.net/openutils/?rev=3874&view=rev Author: diego_schivo Date: 2012-03-21 07:20:40 +0000 (Wed, 21 Mar 2012) Log Message: ----------- template.jsp, area.jsp, paragraph.jsp Modified Paths: -------------- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/paragraph.jsp magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/template.jsp Added Paths: ----------- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/area.jsp Added: magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/area.jsp =================================================================== --- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/area.jsp (rev 0) +++ magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/area.jsp 2012-03-21 07:20:40 UTC (rev 3874) @@ -0,0 +1,8 @@ +<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:cms="http://magnolia-cms.com/taglib/templating-components/cms" + xmlns:cmsfn="http://magnolia-cms.com/taglib/templating-components/cmsfn"> + <jsp:directive.page contentType="text/html; charset=UTF-8" session="false" /> + <c:forEach var="component" items="${components}"> + <cms:component component="${component}" /> + </c:forEach> +</jsp:root> \ No newline at end of file Modified: magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/paragraph.jsp =================================================================== --- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/paragraph.jsp 2012-03-21 06:27:39 UTC (rev 3873) +++ magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/paragraph.jsp 2012-03-21 07:20:40 UTC (rev 3874) @@ -1,7 +1,6 @@ -<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:cms="urn:jsptld:cms-taglib" - xmlns:c="urn:jsptld:http://java.sun.com/jsp/jstl/core" xmlns:fmt="urn:jsptld:http://java.sun.com/jsp/jstl/fmt" - xmlns:fn="urn:jsptld:http://java.sun.com/jsp/jstl/functions" xmlns:cmsu="urn:jsptld:cms-util-taglib" - xmlns:cmsfn="http://www.magnolia.info/tlds/cmsfn-taglib.tld" xmlns:mu="mgnlutils"> +<jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" + xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:cms="http://magnolia-cms.com/taglib/templating-components/cms" + xmlns:cmsfn="http://magnolia-cms.com/taglib/templating-components/cmsfn"> <jsp:directive.page contentType="text/html; charset=UTF-8" session="false" /> ${actionBean.text} </jsp:root> \ No newline at end of file Modified: magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/template.jsp =================================================================== --- magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/template.jsp 2012-03-21 06:27:39 UTC (rev 3873) +++ magnoliamodules/trunk/openutils-mgnlstripes/src/main/resources/mgnl-files/templates/samples-stripes/template.jsp 2012-03-21 07:20:40 UTC (rev 3874) @@ -8,19 +8,12 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>${actpage.title}</title> - <cms:links /> + <title>${content.title}</title> + <cms:init /> </head> <body> - <cms:mainBar dialog="o-page-home" /> - <h1>${actpage.title}</h1> - <div> - <cms:contentNodeIterator contentNodeCollectionName="main"> - <cms:editBar /> - <cms:includeTemplate /> - </cms:contentNodeIterator> - <cms:newBar contentNodeCollectionName="main" paragraph="samplestripes" /> - </div> + <h1>${content.title}</h1> + <cms:area name="main" /> </body> </html> </jsp:root> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |