...
Tapestry is very rigid here; you can't. Page classes must go in root-package.pages
, component classes in root-package.components
, etc.
You are allowed to create sub-packages, to help organize your code better and more logically. For example, you might have _root-package.pages.account.ViewAccount
, which would have the page name "account/viewaccount"
Footnote |
---|
Tapestry would also create an alias "account/view", by stripping off the redundant "account" suffix. Either name is equally valid in your code, and Tapestry will use the shorter name, "account/view" in URLs. |
Why do my instance variables have to be private?
...