Commits

Anonymous committed 0937741

Better navigation within portlet sample
Issue number:
Obtained from:
Submitted by:
Reviewed by:

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

  • Participants
  • Parent commits 9e87d8a

Comments (0)

Files changed (12)

File webapps/portlet/src/webapp/WEB-INF/edit/defaultEdit.jsp

-<%@ taglib prefix="pw" uri="/portletwork" %>
+<%@ taglib prefix="ww" uri="/webwork" %>
 <H1>Portletwork</H1>
 This is the default edit page!
 <p>
-<a href="<pw:url value="prefsForm.action"/>">Set some prefs</a>
+<a href="<ww:url value="prefsForm.action"/>">Set some prefs</a>
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/edit/formExampleInput.jsp

 	<ww:textfield label="Last name" name="lastName" value="%{lastName}"/>
 	<ww:submit value="Submit the form"/>
 </ww:form>
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/edit/prefsForm.jsp

 <%@ taglib prefix="ww" uri="/webwork" %>
-<%@ taglib prefix="pw" uri="/portletwork" %>
-<pw:form action="prefsFormSave.action" method="POST">
+<ww:form action="prefsFormSave.action" method="POST">
 	<ww:textfield label="Preference one" name="preferenceOne" value="%{preferenceOne}"/>
 	<ww:textfield label="Preference two" name="preferenceTwo" value="%{preferenceTwo}"/>
 	<ww:submit value="Save prefs"/>
-</pw:form>
+</ww:form>
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/edit/prefsSaved.jsp

-<%@ taglib prefix="pw" uri="/portletwork" %>
+<%@ taglib prefix="ww" uri="/webwork" %>
 
 The preferences has been saved.
 
-<a href="<pw:url value="index.action"/>">Back</a>
+<a href="<ww:url value="index.action"/>">Back</a>

File webapps/portlet/src/webapp/WEB-INF/help/defaultHelp.jsp

+<%@ taglib prefix="ww" uri="/webwork" %>
 This is the default help page!
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/help/index.jsp

+<%@ taglib prefix="ww" uri="/webwork" %>
 There are no examples in help mode yet
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/view/chartExample.jsp

 </cewolf:chart>
 <p/>
 <cewolf:img chartid="line" renderer="/cewolf" width="400" height="300"/> <cewolf:img chartid="pie" renderer="/cewolf" width="400" height="300"/>
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/view/formExampleInput.jsp

 	<ww:textfield label="Last name" name="lastName" value="%{lastName}"/>
 	<ww:submit value="Submit the form"/>
 </ww:form>
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/view/formExampleInputValidation.jsp

 	<ww:textfield label="Last name" name="lastName" value="%{lastName}"/>
 	<ww:submit value="Submit the form"/>
 </ww:form>
+
+<a href="<ww:url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/view/freeMarkerExampleInput.ftl

     <@ww.textfield label="Last name" name="lastName"/>
     <@ww.submit value="Say hello!"/>
 </@ww.form>
+
+<a href="<@ww.url action="index"/>">Back to front page</a>

File webapps/portlet/src/webapp/WEB-INF/view/notImplemented.jsp

+<%@ taglib prefix="ww" uri="/webwork" %>
 <H2>This example has not yet been implemented</H2>
+<a href="<ww:url action="index"/>"/>Back to front page</a>
+

File webapps/portlet/src/webapp/WEB-INF/view/tokenExampleInput.jsp

 	<ww:textfield label="The value to submit" name="theValue" value=""/>
 	<ww:submit value="Submit the form"/>
 </ww:form>
+<a href="<ww:url action="index"/>"/>Back to front page</a>