@URLBinding("@URLBinding("/pages/{page=Main}/{$event}")
class PageActionBean {
WikiPage getPage()
void setPage(WikiPage)
int getVersion()
void setVersion(int)
void view()
void edit()
void comment()
}
Not dynamic, not good. Adding new actions requires modification of existing code.
(No, the current one is not very good either for the same reason. Each action should be a separate Bean so that template writers can declare them at will from their own JARs.)
/Janne
