Author: aron.gombas Date: 2005-10-08 14:51:54 -0400 (Sat, 08 Oct 2005) New Revision: 1344 Added: trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib.properties trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib_hu.properties trunk/labs/kosmos/web-portlet/WEB-INF/lib/jsp-api.jar trunk/labs/kosmos/web-portlet/WEB-INF/tld/kosmos-taglib.tld Modified: trunk/labs/kosmos/build/build.xml trunk/labs/kosmos/web-portlet/WEB-INF/web.xml trunk/labs/kosmos/web-portlet/pages/includes/taglibs.jsp Log: New Kosmos taglib added Modified: trunk/labs/kosmos/build/build.xml =================================================================== --- trunk/labs/kosmos/build/build.xml 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/build/build.xml 2005-10-08 18:51:54 UTC (rev 1344) @@ -79,6 +79,7 @@ <!-- copy other binary files --> <copy todir="${dist-bin.bin.dir}"> <fileset dir="${web.dir}" excludes="**/*.jsp"> + <exclude name="**/jsp-api*.jar"/> <exclude name="**/portlet-api*.jar"/> <exclude name="**/servletapi*.jar"/> <exclude name="**/portlet/**/*.properties"/> Added: trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib.properties =================================================================== --- trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib.properties 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib.properties 2005-10-08 18:51:54 UTC (rev 1344) @@ -0,0 +1,8 @@ +# $Id$ + +age.minutes=minutes +age.hours=hours +age.days=days +age.weeks=weeks +age.months=months +age.years=years Added: trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib_hu.properties =================================================================== --- trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib_hu.properties 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/web-portlet/WEB-INF/classes/kosmos-taglib_hu.properties 2005-10-08 18:51:54 UTC (rev 1344) @@ -0,0 +1,8 @@ +# $Id$ + +age.minutes=perc +age.hours=+age.days=nap +age.weeks=h+age.months=h +age.years= Added: trunk/labs/kosmos/web-portlet/WEB-INF/lib/jsp-api.jar =================================================================== (Binary files differ) Property changes on: trunk/labs/kosmos/web-portlet/WEB-INF/lib/jsp-api.jar ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/labs/kosmos/web-portlet/WEB-INF/tld/kosmos-taglib.tld =================================================================== --- trunk/labs/kosmos/web-portlet/WEB-INF/tld/kosmos-taglib.tld 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/web-portlet/WEB-INF/tld/kosmos-taglib.tld 2005-10-08 18:51:54 UTC (rev 1344) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" + "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> +<taglib> + <tlib-version>1.0</tlib-version> + <jsp-version>0.1.1</jsp-version> + <short-name>kosmos-taglib</short-name> + <uri>http://labs.jboss.com/projects/kosmos</uri> + <display-name>Kosmos Tag Library</display-name> + <description> + TODO + </description> + <tag> + <name>age</name> + <tag-class>hu.midori.kosmos.portlet.taglib.AgeTag</tag-class> + <body-content>JSP</body-content> + <display-name>age</display-name> + <description> + TODO + </description> + <attribute> + <name>time</name> + <required>true</required> + <rtexprvalue>true</rtexprvalue> + <description> + TODO + </description> + </attribute> + <example> + <![CDATA[ +<kosmos:age time="1234"> +]]> + </example> + </tag> +</taglib> Modified: trunk/labs/kosmos/web-portlet/WEB-INF/web.xml =================================================================== --- trunk/labs/kosmos/web-portlet/WEB-INF/web.xml 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/web-portlet/WEB-INF/web.xml 2005-10-08 18:51:54 UTC (rev 1344) @@ -12,6 +12,10 @@ </context-param> <!-- JSP configuration --> + <taglib> + <taglib-uri>http://labs.jboss.com/projects/kosmos</taglib-uri> + <taglib-location>/WEB-INF/tld/kosmos-taglib.tld</taglib-location> + </taglib> <taglib> <taglib-uri>http://displaytag.sf.net/el</taglib-uri> <taglib-location>/WEB-INF/tld/displaytag-el-12.tld</taglib-location> Modified: trunk/labs/kosmos/web-portlet/pages/includes/taglibs.jsp =================================================================== --- trunk/labs/kosmos/web-portlet/pages/includes/taglibs.jsp 2005-10-08 18:41:53 UTC (rev 1343) +++ trunk/labs/kosmos/web-portlet/pages/includes/taglibs.jsp 2005-10-08 18:51:54 UTC (rev 1344) @@ -4,4 +4,5 @@ <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %> +<%@ taglib uri="http://labs.jboss.com/projects/kosmos" prefix="kosmos" %> <%@ taglib uri="http://displaytag.sf.net" prefix="display" %> |