portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/site folder-details.vm
Date Fri, 12 Nov 2004 19:34:32 GMT
taylor      2004/11/12 11:34:32

  Modified:    applications/pam/src/webapp/WEB-INF/view/site
                        folder-details.vm
  Log:
  *** keyword substitution change ***
  
  Revision  Changes    Path
  1.2       +21 -17    jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm
  
  Index: folder-details.vm
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/pam/src/webapp/WEB-INF/view/site/folder-details.vm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- folder-details.vm	12 Nov 2004 06:34:26 -0000	1.1
  +++ folder-details.vm	12 Nov 2004 19:34:32 -0000	1.2
  @@ -1,17 +1,21 @@
  -#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
  -
  -<h2 class="portlet-section-header">$MESSAGES.getString('folder.details')</h2>
  -
  -</p>
  -<form action="$renderResponse.createActionURL()" method="post">
  -<input type='hidden' name='velocity.action' value='processSaveFolderAction'/>
  -<table>
  -    #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS)
  -</table>
  -<input type="submit" name="Save" value="$MESSAGES.getString('save')" />
  -<a href="<bf:forward view='add-page'/>">$MESSAGES.getString('add.page')</a>
  -<a href="<bf:forward view='add-subfolder'/>">$MESSAGES.getString('add.subfolder')</a>
  -<a href="<bf:forward view='add-docset'/>">$MESSAGES.getString('add.docset')</a>
  -</form>
  -
  -#ErrorMessages($ERRORS)
  +#set ($MESSAGES = $portletConfig.getResourceBundle($renderRequest.Locale))
  +
  +#if ($!folderBean.isNew())
  +
  +#else
  +<h2 class="portlet-section-header">$MESSAGES.getString('folder.details')</h2>
  +
  +<form action="$renderResponse.createActionURL()" method="post">
  +<input type='hidden' name='velocity.action' value='processSaveFolderAction'/>
  +<table>
  +    #formField('Title' "$!folderBean.Title" "40" 'title' $MESSAGES $ERRORS)
  +</table>
  +<br/>
  +<input type="submit" name="Save" value="$MESSAGES.getString('save')" />
  +<a href="<bf:forward view='add-page'/>">$MESSAGES.getString('add.page')</a>
  +<a href="<bf:forward view='add-subfolder'/>">$MESSAGES.getString('add.subfolder')</a>
  +<a href="<bf:forward view='add-docset'/>">$MESSAGES.getString('add.docset')</a>
  +</form>
  +
  +#ErrorMessages($ERRORS)
  +#end
  \ No newline at end of file
  
  
  

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


Mime
View raw message