Proposal: Template Editor Enhancements
Status |
Proposal under-development |
Target Release |
4.0 |
Original Authors |
DaveJohnson |
Abstract
This is a proposal to make some minor usability and functionality improvements to the UI of the Template Editor pages (edit-page.jsp and edit-pages.jsp).
Requirements
- Templates page
- Remove Navbar, Hidden page and Edit columns
- Add Content-Type column where removed columns were
- Add icon to column one and make page name link to edit page
- Show hidden pages in italics and with different icon
- Template Editor page
- 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
Issues
None.
Design
List and describe new manager methods, Struts actions, JSP pages, macros, etc.
- New table column webpage.outputtype which specifies MIME content-type that is generated by the template. If this is null or an empty-string then rendering system will assume text/html.
- Startup-configuration: new property rendering.templateLanguages, which lists the languages to be allowed in the Edit-Templates page.
- 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.jsp: Changes to meetin requirements above.
Edit-Pages screen-shot
Edit-Page screen-shot
Comments
Other can leave comments here.