elfuchsjekyll / vosao

Automatically exported from code.google.com/p/vosao
0 stars 0 forks source link

Add "edit this page" link #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add "Edit this page" link for authenticated editors (to end of page at
sitemesh level?).

/trunk/web/src/main/webapp/WEB-INF/sitemesh/layout.jsp#57

- <decorator:body />
+ <decorator:body />
+ <% if (user.isEditor())
<div id="vosao_edit_link">
<a href="/cms">Edit this page</a>
<% } %> 
</div>

Is there a way to pass the name of the page and load that page directly?

Original issue reported on code.google.com by ted.husted on 31 Jan 2010 at 12:36

GoogleCodeExporter commented 9 years ago
Nevermind - I didn't realize that SiteMesh was only available in the workarea. 

Original comment by ted.husted on 31 Jan 2010 at 2:25