Debug Wicket AJAX in the CMS

Sometimes you might want to see what the CMS AJAX framework is doing. In your development environment, you can configure the maven jetty plugin to set some system properties, which are needed by Apache Wicket to set Wicket in development mode.

<plugin>
  <groupId>org.mortbay.jetty</groupId>
  <artifactId>maven-jetty-plugin</artifactId>
  <version>6.1.10</version>
  <configuration>
    <scanIntervalSeconds>5</scanIntervalSeconds>
    <connectors>
      <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
        <port>8080</port>
      </connector>
    </connectors>
    <contextPath>/cms</contextPath>
    <systemProperties>
      <systemProperty>
        <name>wicket.configuration</name>
        <value>development</value>
      </systemProperty>
    </systemProperties>
  </configuration>
</plugin>

Browse Space

- Pages
- News
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced
- Activity

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

 

Other Features

Add Content

- Add Comment