portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r345862 - /portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm
Date Mon, 21 Nov 2005 07:37:57 GMT
Author: taylor
Date: Sun Nov 20 23:37:56 2005
New Revision: 345862

URL: http://svn.apache.org/viewcvs?rev=345862&view=rev
Log:
very minimalistic add Page

Modified:
    portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm

Modified: portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm?rev=345862&r1=345861&r2=345862&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm (original)
+++ portals/jetspeed-2/trunk/applications/pam/src/webapp/WEB-INF/view/site/add-page.vm Sun
Nov 20 23:37:56 2005
@@ -1,8 +1,20 @@
+
 #set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
-#set ($view = $forward.getView('folder-view'))
 
 <h2 class="portlet-section-header">$MESSAGES.getString('add.page')</h2>
 
-<a href="$view">$MESSAGES.getString('folder.details')</a>
+<form action="$renderResponse.createActionURL()" method="post">
+<input type='hidden' name='portlet.action' value='processAddPageAction'/>
+<table>
+    #formField('Name' "$!pageBean.Key" "40" 'key' $MESSAGES $ERRORS)
+	#formField('Title' "$!pageBean.Title" "40" 'title' $MESSAGES $ERRORS)
+    #formField('ShortTitle' "$!pageBean.ShortTitle" "40" 'shortTitle' $MESSAGES $ERRORS)
+    #formField('Version' "$!pageBean.Version" "40" 'version' $MESSAGES $ERRORS)
+	<input type='hidden' name='bridges.view.view' value='add-page'/>
+	
+</table>
+<br/>
+<input type="submit" name="Save" value="$MESSAGES.getString('save')" />
+</form>
 
 #ErrorMessages($ERRORS)



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message