Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
<wm:editable tag="div" contentHolder="${pageVersion}" area="0" class="main_content">
 ...
<!-- Output the content here up to the first separator element or call the wm:render tag. -->
 ...
<></wm:editable>

 

This is the most basic and common usage. The class attribute is passed through to the outputted HTML. The following example shows how to wrap the title of a page version:

...

Note

When wrapping content like a page title, no extra static HTML should appear inside the <wm:editable> tag except the page title itself. Any static HTML could be appended to the field being wrapped. Do NOT user your own element render loop to output the elements content in the tag itself or with a wm:pagepart tag.

 

The following is an example of the correct usage for a page version title:

...