Installation steps:
4. Copy the contents of the feature folder to your eclipse feature folder.
Setting up Click Project:
1. Create a new dynamic web project (name it as ApacheClick).
2. Go to project properties and select “Project Facets” . and choose click and other facets like java.
3. The click.xml will be added to the web project.
import org.apache.click.control.Form;
public class Index extends org.apache.click.Page {
private static final long serialVersionUID = 1L;
private Form form = new Form(“form”);
public Index(){
addControl(form);
}
<pages package=”” autobinding=”annotation”>
<page path=”index.htm” classname=”com.sandeep.poc.Index”></page>
</pages>
<mode value=”profile”/>
</click-app>