Versions Compared

Key

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

...

When you develop JSP's using a <wm:editable> tag, you must make sure that you don't do not render the content of the contentholder content holder within the tag itself. For example, render content as follows:

...

Code Block
<wm:editable contentHolder="${contentholder}" class="maincontentarea" area="0" tag="div"></wm:editable>

 

The reason is that  that this implementation ensures that personalizations and variants for content elements are rendered properly.

...

Code Block
 <wm:editable contentHolder="${contentholder}" class="maincontentarea" area="0" tag="div"><wm:render bjectobject="${contentholder}"/></wm:editable>

...