1. opensymphony
  2. webwork

Commits

plightbo  committed 8d60b31

WW-1076: old velocity ajax templates

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1939573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits f3ded09
  • Branches master

Comments (0)

Files changed (18)

File src/java/template/ajax/a-close.vm

-</a>

File src/java/template/ajax/a.vm

-<a dojoType="BindAnchor" evalResult="true"
-#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
-#if ($parameters.href) href="$!webwork.htmlEncode($parameters.href)" #end
-#if ($parameters.notifyTopics) notifyTopics="$!webwork.htmlEncode($parameters.notifyTopics)" #end
-#if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
-#if ($parameters.showErrorTransportText)  showTransportError="true" #end
-#if ($parameters.afterLoading) onLoad="$!parameters.afterLoading" #end
-#if ($parameters.preInvokeJS) preInvokeJS="$!parameters.preInvokeJS" #end
-#if ($parameters.tabindex) tabindex="$!webwork.htmlEncode($parameters.tabindex)" #end
-#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
-#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
-#parse("/$parameters.templateDir/simple/scripting-events.vm")
->

File src/java/template/ajax/div-close.vm

-</div>

File src/java/template/ajax/div.vm

-<div dojoType='BindDiv'
-#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
-#if ($parameters.href) href="$!parameters.href" #end
-#if ($parameters.loadingText) loadingHtml="$!webwork.htmlEncode($parameters.loadingText)" #end
-#if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
-#if ($parameters.showErrorTransportText) showTransportError="true" #end
-#if ($parameters.delay) delay="$!parameters.delay" #end
-#if ($parameters.updateFreq) refresh="$!parameters.updateFreq" #end
-#if ($parameters.listenTopics) listenTopics="$!parameters.listenTopics" #end
-#if ($parameters.afterLoading) onLoad="$!parameters.afterLoading" #end
-#if ($parameters.tabindex) tabindex="$!webwork.htmlEncode($parameters.tabindex)" #end
-#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
-#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
-#parse("/$parameters.templateDir/simple/scripting-events.vm")
->

File src/java/template/ajax/form-close.vm

-</table>
-</form>

File src/java/template/ajax/form.vm

-#if ($parameters.validate)
-<script src="$!base/webwork/validationClient.js"></script>
-<script src="$!base/dwr/interface/validator.js"></script>
-<script src="$!base/dwr/engine.js"></script>
-<script src="$!base/webwork/template/xhtml/validation.js"></script>
-#end
-<form
-#if ($parameters.namespace) namespace="$!webwork.htmlEncode($parameters.namespace)" #end
-#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
-#if ($parameters.name) name="$!webwork.htmlEncode($parameters.name)" #end
-#if ($parameters.action) action="$!webwork.htmlEncode($parameters.action)" #end
-#if ($parameters.target) target="$!webwork.htmlEncode($parameters.target)" #end
-#if ($parameters.method) method="$!webwork.htmlEncode($parameters.method)" #end
-#if ($parameters.enctype) enctype="$!webwork.htmlEncode($parameters.enctype)" #end
-#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
-#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
-onSubmit="return false;"
->
-<table class="wwFormTable">

File src/java/template/ajax/submit.vm

-<button type="submit" dojoType="BindButton"<#rt/>
-#if ($parameters.form && $parameters.form.id)  formId="$parameters.form.id" #end
-#if ($parameters.name) name="$!webwork.htmlEncode($parameters.name)" #end
-#if ($parameters.nameValue) value="$!webwork.htmlEncode($parameters.nameValue)" #end
-#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
-#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
-#if ($parameters.resultDivId) targetDiv="$!webwork.htmlEncode($parameters.resultDivId)" #end
-#if ($parameters.onLoadJS) onLoad="$!parameters.onLoadJS" #end
-#if ($parameters.preInvokeJS) preInvokeJS="$!parameters.preInvokeJS" #end
-#if ($parameters.notifyTopics) notifyTopics="$!webwork.htmlEncode($parameters.notifyTopics)" #end
-#if ($parameters.listenTopics) listenTopics="$!webwork.htmlEncode($parameters.listenTopics)" #end
-#parse("/$parameters.templateDir/simple/scripting-events.vm")
-/>

File src/java/template/ajax/tab-close.vm

-    </div>
-    </div>
-
-    <script language="JavaScript" type="text/javascript">
-        var tabpanelc_$!parameters.id = new TabContent( "$!parameters.id", $!parameters.remote );
-        dojo.event.topic.subscribe( "$!parameters.subscribeTopicName", tabpanelc_$!parameters.id, "updateVisibility" );
-    </script>

File src/java/template/ajax/tab.vm

-<div class="tab_contents_header" id="tab_contents_${parameters.id}">
-    <div class="tab_contents"
-         id="tab_contents_update_${parameters.id}"
-	 #if ($parameters.remote)
-	      dojoType='BindDiv'
-	      #if ($parameters.href) href="$!webwork.htmlEncode($parameters.href)" #end
-	      #if ($parameters.loadingText) loadingHtml="$!webwork.htmlEncode($parameters.loadingText)" #end
-	      #if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
-	      #if ($parameters.showErrorTransportText) showTransportError="true" #end
-	      #if ($parameters.delay) delay="$!parameters.delay" #end
-	      #if ($parameters.updateFreq) refresh="$!parameters.updateFreq" #end
-	      #if ($parameters.listenTopics) listenTopics="$!webwork.htmlEncode($parameters.listenTopics)" #end
-	      #if ($parameters.afterLoading) onLoad="$!webwork.htmlEncode($parameters.afterLoading)" #end
-     #end
- 	 #if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
-	 #if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
-      >

File src/java/template/archive/ajax/a-close.vm

View file
+</a>

File src/java/template/archive/ajax/a.vm

View file
+<a dojoType="BindAnchor" evalResult="true"
+#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
+#if ($parameters.href) href="$!webwork.htmlEncode($parameters.href)" #end
+#if ($parameters.notifyTopics) notifyTopics="$!webwork.htmlEncode($parameters.notifyTopics)" #end
+#if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
+#if ($parameters.showErrorTransportText)  showTransportError="true" #end
+#if ($parameters.afterLoading) onLoad="$!parameters.afterLoading" #end
+#if ($parameters.preInvokeJS) preInvokeJS="$!parameters.preInvokeJS" #end
+#if ($parameters.tabindex) tabindex="$!webwork.htmlEncode($parameters.tabindex)" #end
+#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
+#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
+#parse("/$parameters.templateDir/simple/scripting-events.vm")
+>

File src/java/template/archive/ajax/div-close.vm

View file
+</div>

File src/java/template/archive/ajax/div.vm

View file
+<div dojoType='BindDiv'
+#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
+#if ($parameters.href) href="$!parameters.href" #end
+#if ($parameters.loadingText) loadingHtml="$!webwork.htmlEncode($parameters.loadingText)" #end
+#if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
+#if ($parameters.showErrorTransportText) showTransportError="true" #end
+#if ($parameters.delay) delay="$!parameters.delay" #end
+#if ($parameters.updateFreq) refresh="$!parameters.updateFreq" #end
+#if ($parameters.listenTopics) listenTopics="$!parameters.listenTopics" #end
+#if ($parameters.afterLoading) onLoad="$!parameters.afterLoading" #end
+#if ($parameters.tabindex) tabindex="$!webwork.htmlEncode($parameters.tabindex)" #end
+#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
+#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
+#parse("/$parameters.templateDir/simple/scripting-events.vm")
+>

File src/java/template/archive/ajax/form-close.vm

View file
+</table>
+</form>

File src/java/template/archive/ajax/form.vm

View file
+#if ($parameters.validate)
+<script src="$!base/webwork/validationClient.js"></script>
+<script src="$!base/dwr/interface/validator.js"></script>
+<script src="$!base/dwr/engine.js"></script>
+<script src="$!base/webwork/template/xhtml/validation.js"></script>
+#end
+<form
+#if ($parameters.namespace) namespace="$!webwork.htmlEncode($parameters.namespace)" #end
+#if ($parameters.id) id="$!webwork.htmlEncode($parameters.id)" #end
+#if ($parameters.name) name="$!webwork.htmlEncode($parameters.name)" #end
+#if ($parameters.action) action="$!webwork.htmlEncode($parameters.action)" #end
+#if ($parameters.target) target="$!webwork.htmlEncode($parameters.target)" #end
+#if ($parameters.method) method="$!webwork.htmlEncode($parameters.method)" #end
+#if ($parameters.enctype) enctype="$!webwork.htmlEncode($parameters.enctype)" #end
+#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
+#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
+onSubmit="return false;"
+>
+<table class="wwFormTable">

File src/java/template/archive/ajax/submit.vm

View file
+<button type="submit" dojoType="BindButton"<#rt/>
+#if ($parameters.form && $parameters.form.id)  formId="$parameters.form.id" #end
+#if ($parameters.name) name="$!webwork.htmlEncode($parameters.name)" #end
+#if ($parameters.nameValue) value="$!webwork.htmlEncode($parameters.nameValue)" #end
+#if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
+#if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
+#if ($parameters.resultDivId) targetDiv="$!webwork.htmlEncode($parameters.resultDivId)" #end
+#if ($parameters.onLoadJS) onLoad="$!parameters.onLoadJS" #end
+#if ($parameters.preInvokeJS) preInvokeJS="$!parameters.preInvokeJS" #end
+#if ($parameters.notifyTopics) notifyTopics="$!webwork.htmlEncode($parameters.notifyTopics)" #end
+#if ($parameters.listenTopics) listenTopics="$!webwork.htmlEncode($parameters.listenTopics)" #end
+#parse("/$parameters.templateDir/simple/scripting-events.vm")
+/>

File src/java/template/archive/ajax/tab-close.vm

View file
+    </div>
+    </div>
+
+    <script language="JavaScript" type="text/javascript">
+        var tabpanelc_$!parameters.id = new TabContent( "$!parameters.id", $!parameters.remote );
+        dojo.event.topic.subscribe( "$!parameters.subscribeTopicName", tabpanelc_$!parameters.id, "updateVisibility" );
+    </script>

File src/java/template/archive/ajax/tab.vm

View file
+<div class="tab_contents_header" id="tab_contents_${parameters.id}">
+    <div class="tab_contents"
+         id="tab_contents_update_${parameters.id}"
+	 #if ($parameters.remote)
+	      dojoType='BindDiv'
+	      #if ($parameters.href) href="$!webwork.htmlEncode($parameters.href)" #end
+	      #if ($parameters.loadingText) loadingHtml="$!webwork.htmlEncode($parameters.loadingText)" #end
+	      #if ($parameters.errorText) errorHtml="$!webwork.htmlEncode($parameters.errorText)" #end
+	      #if ($parameters.showErrorTransportText) showTransportError="true" #end
+	      #if ($parameters.delay) delay="$!parameters.delay" #end
+	      #if ($parameters.updateFreq) refresh="$!parameters.updateFreq" #end
+	      #if ($parameters.listenTopics) listenTopics="$!webwork.htmlEncode($parameters.listenTopics)" #end
+	      #if ($parameters.afterLoading) onLoad="$!webwork.htmlEncode($parameters.afterLoading)" #end
+     #end
+ 	 #if ($parameters.cssClass) class="$!webwork.htmlEncode($parameters.cssClass)" #end
+	 #if ($parameters.cssStyle) style="$!webwork.htmlEncode($parameters.cssStyle)" #end
+      >