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
- 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... (popup allows entering custom content-type).
- Text field and combo-box with options:
- Provide language field for each page template.
- Combo-box with options:
- Velocity (default)
- (list of others specified in startup configuration).
- Combo-box with options:
- 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.
- Switch out Struts logic tags for JSTL
Issues
None.
Design
List and describe new manager methods, Struts actions, JSP pages, macros, etc.
- Table webpage: new column outputtype which specifies MIME content-type that is generated by the template.
- Startup-configuration: new property rendering.templateLanguages
- edit-page.jsp:
- edit-pages.jsp
- WeblogTemplateFormAction.jsp
Comments
Other can leave commments here.