mirror of
https://github.com/apache/struts.git
synced 2026-08-05 22:56:59 +00:00
Removing cewolf chart example from exampley
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@404873 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -12,10 +12,6 @@
|
||||
<result name="success">/WEB-INF/view/index.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="chartExample" class="org.apache.struts.action2.portlet.example.ChartExampleAction">
|
||||
<result name="success">/WEB-INF/view/chartExample.jsp</result>
|
||||
</action>
|
||||
|
||||
<action name="formExample"
|
||||
class="org.apache.struts.action2.portlet.example.FormExample" method="input">
|
||||
<result name="input">
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -1,29 +0,0 @@
|
||||
<%@ taglib prefix="saf" uri="/struts-action" %>
|
||||
<%@ taglib prefix="cewolf" uri="/cewolf" %>
|
||||
|
||||
<H2>Sample charts</H2>
|
||||
|
||||
<saf:set name="lineDataSet" value="lineChartProducer" scope="request"/>
|
||||
<saf:set name="pieDataSet" value="pieChartProducer" scope="request"/>
|
||||
|
||||
<cewolf:chart
|
||||
id="line"
|
||||
title="Sample line chart"
|
||||
type="line"
|
||||
xaxislabel="X"
|
||||
yaxislabel="Y">
|
||||
<cewolf:data>
|
||||
<cewolf:producer id="lineDataSet"/>
|
||||
</cewolf:data>
|
||||
</cewolf:chart>
|
||||
|
||||
<cewolf:chart
|
||||
id="pie"
|
||||
title="Sample pie chart"
|
||||
type="pie">
|
||||
<cewolf:data>
|
||||
<cewolf:producer id="pieDataSet"/>
|
||||
</cewolf:data>
|
||||
</cewolf:chart>
|
||||
<p/>
|
||||
<cewolf:img chartid="line" renderer="/cewolf" width="400" height="300"/> <cewolf:img chartid="pie" renderer="/cewolf" width="400" height="300"/>
|
||||
@@ -10,7 +10,6 @@ Here you'll find examples of what is possible with the PortletWork framework.
|
||||
<li><a href="<saf:url action="ajaxExample"/>">Ajax</a></li>
|
||||
<li><a href="<saf:url action="freeMarkerExample"/>">FreeMarker</a></li>
|
||||
<li><a href="<saf:url action="velocityHelloWorld"/>">Velocity</a></li>
|
||||
<li><a href="<saf:url action="chartExample"/>">Chart example</a></li>
|
||||
<li><a href="<saf:url action="index" portletMode="edit"/>">Go to edit mode and see what's there</a></li>
|
||||
<li><a href="<saf:url action="index" portletMode="help"/>">Go to help mode and see what's there</a></li>
|
||||
</ul>
|
||||
|
||||
@@ -40,23 +40,10 @@
|
||||
<servlet-name>dwr</servlet-name>
|
||||
<servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>CewolfServlet</servlet-name>
|
||||
<servlet-class>de.laures.cewolf.CewolfRenderer</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>CewolfServlet</servlet-name>
|
||||
<url-pattern>/cewolf/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>dwr</servlet-name>
|
||||
<url-pattern>/dwr/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<taglib>
|
||||
<taglib-uri>/cewolf</taglib-uri>
|
||||
<taglib-location>/WEB-INF/tld/cewolf.tld</taglib-location>
|
||||
</taglib>
|
||||
|
||||
</web-app>
|
||||
|
||||
Reference in New Issue
Block a user