Author: musachy
Date: Mon May 28 09:38:54 2007
New Revision: 542266
URL: http://svn.apache.org/viewvc?view=rev&rev=542266
Log:
Fix example to use Dojo plugin tags
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/getCategory.jsp
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/tree.jsp
Modified:
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/getCategory.jsp
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/getCategory.jsp?view=diff&rev=542266&r1=542265&r2=542266
==============================================================================
---
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/getCategory.jsp
(original)
+++
struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/getCategory.jsp
Mon May 28 09:38:54 2007
@@ -4,7 +4,7 @@
<s:iterator value="category.children">
<li>
<s:if test="children.size() > 0">
- <s:a theme="ajax" href="toggle.action?catId=%{id}">+</s:a>
+ <sx:a href="toggle.action?catId=%{id}">+</sx:a>
</s:if>
<s:property value="name"/>
</li>
@@ -15,8 +15,7 @@
<s:set name="display" value="''"/>
</s:else>
âº
- <s:div theme="ajax"
- id="children_%{id}"
+ <sx:div id="children_%{id}"
cssStyle="display: %{display}"
href="getCategory.action?catId=%{id}"
refreshListenTopic="children_%{id}"/>
Modified: struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/tree.jsp
URL:
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/tree.jsp?view=diff&rev=542266&r1=542265&r2=542266
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/tree.jsp
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/webapp/ajax/tree/tree.jsp Mon
May 28 09:38:54 2007
@@ -2,7 +2,7 @@
<html>
<head>
<title>Tree</title>
- <s:head theme="ajax"/>
+ <sx:head />
</head>
<body>