A custom page extends import com.manydesigns.portofino.pageactions.custom.CustomAction, you can override any method of it.
CustomAction defines the following hooks, predefined methods to extend its behavior.
This method is executed when the page is reached. e.g you can put all your logic in this method and redirect to a jsp for visualization.
String fwd = "/layouts/custom/example.jsp"; return forwardTo(fwd);
The action give to you the following objects that you can use in your methods:
The Stripes context, e.g. you can obtain the request from it.
A string with the current path.
A com.manydesigns.portofino.model.Model, which stores all the information about the databases (e.g. tables, columns, ...).
This object stores all the configuration properties.
The Application object which store all common data of your application(e.g. all Hibernate sessions).
The org.slf4j.Logger that you can use to log your activities.