Hi all,
Very often, especially in the admin/configuration area ( and on the
beginning of application development) , i use simple schema:
1. Defined page template
2. Simple view ( for form, table, or for streaming)
For form content is only : $form, table:: $table, streaming: empty page
My proposal is a creating a mechanism which allows the generation of
default view , wrapped in page template.
So that 'annotaded' page will correspond to the schema:
<package_name>.<PageName> -> page-name.htm
For example:
Streaming
@PageStream
public class FileShow extends PageTemplate { // when the page is empty
Form
@PageForm
public class EntryEdit extends PageTemplate { // for page with just $form tag
Table
@PageTable(path="custom-path.htm")
public class EntryList extends PageTemplate { // for $table tag
Unfortunately i have not followed the order of setup application and I
don't know if it is possible, but it should simplify solution
Best regards,
Tomasz