You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mu...@apache.org on 2007/03/14 02:26:34 UTC

svn commit: r517965 - in /struts/struts2/trunk/plugins/dojo/src/main/resources: struts-plugin.xml template/ajax/form.ftl

Author: musachy
Date: Tue Mar 13 18:26:33 2007
New Revision: 517965

URL: http://svn.apache.org/viewvc?view=rev&rev=517965
Log:
WW-1607 
* Add cssStyle to form template
* Add struts-plugin.xml for the Dojo plugin

Added:
    struts/struts2/trunk/plugins/dojo/src/main/resources/struts-plugin.xml
Modified:
    struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/form.ftl

Added: struts/struts2/trunk/plugins/dojo/src/main/resources/struts-plugin.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/struts-plugin.xml?view=auto&rev=517965
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/struts-plugin.xml (added)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/struts-plugin.xml Tue Mar 13 18:26:33 2007
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!DOCTYPE struts PUBLIC
+    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
+    "http://struts.apache.org/dtds/struts-2.0.dtd">
+    
+<struts>
+    <bean type="org.apache.struts2.views.TagLibrary" name="sx" class="org.apache.struts2.dojo.views.DojoTagLibrary" />
+</struts>
\ No newline at end of file

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/form.ftl
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/form.ftl?view=diff&rev=517965&r1=517964&r2=517965
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/form.ftl (original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/template/ajax/form.ftl Tue Mar 13 18:26:33 2007
@@ -38,10 +38,3 @@
 </#if>
  ${tag.addParameter("ajaxSubmit", "true")}
 >
-<#include "/${parameters.templateDir}/${themeProperties.parent}/control.ftl" />
-<#--
-<table class="${parameters.cssClass?default('wwFormTable')?html}"<#rt/>
-<#if parameters.cssStyle?exists> style="${parameters.cssStyle?html}"<#rt/>
-</#if>
->
--->