Source Viewer : WEB-INF/classes/org/apache/click/examples/page/velocity/SimpleTable.java
package org.apache.click.examples.page.velocity;
import java.util.TreeMap;
import org.apache.click.Page;
import org.apache.click.examples.page.BorderPage;
/**
* Provides simple Table example which demonstrates Velocity #foreach directive.
*/
public class SimpleTable extends BorderPage {
private static final long serialVersionUID = 1L;
/**
* @see Page#onRender()
*/
@SuppressWarnings("unchecked")
@Override
public void onRender() {
addModel("properties", new TreeMap(System.getProperties()));
}
}