THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Add proper subtitle and tip like all other page
- Create advanced settings area for things most users don't use.
- Provide up/down expand/contract buttons for template text area on Template Editor page.
- Provide link to page generated by template
- Provide feed-back to show users what the page URL will look like
- Provide content-type field for each page template.
- Text field and combo-box with options:
- Page (text/html)
- CSS (text/style)
- JavaScript (text/script)
- Custom... (launches pop-up allows entering custom content-type).
- Text field and combo-box with options:
- Provide language field for each page template.
- Combo-box with options:
- Velocity
- (list of others specified in startup configuration).
- Combo-box with options:
All template pages:
- Switch out Struts logic tags for JSTL
- Use page model approach like other pages
...
- edit-page.jsp: Changes to meed requirements above. See screen-shots below.
- edit-pages.jsp: Changes to meet requiremets above. See screen-shots below.
- WeblogTemplateFormAction.java: Changes to meet requirements above.
Rendering system changes
- PageServlet.java: Use content-type specified by page, guess based on file extension of templates link or default to "text/html"
Edit-Pages screen-shot
NOTES:
...
- If page is required we mention that in the help tip
- Link is reflect reflected in URL and updated as user types
- If link is un-changed, then "launch" will launch it in a pop-up window
- Note up/down buttons at bottom right of text-area
- Advanced Settings is a "toggle-control" like those on Weblog-Edit page
- Content type combo-box has "Custom..." option to allow additional types
...