At line 45 changed one line |
!Main JSP pages: Wiki.jsp, Edit.jsp, Preview.jsp, PageInfo.jsp, etc. |
!Main JSP pages: Wiki.jsp, Edit.jsp, Preview.jsp, ~PageInfo.jsp, etc. |
At line 59 changed 3 lines |
There are two basic templates: ViewTemplate and EditTemplate. |
ViewTemplate gets all requests from any page that does not have to |
care about changing the page contents, and EditTemplate gets all those |
There are two basic templates: ~ViewTemplate and ~EditTemplate. |
~ViewTemplate gets all requests from any page that does not have to |
care about changing the page contents, and ~EditTemplate gets all those |
At line 68 changed one line |
!View pages: ViewTemplate.jsp, EditTemplate.jsp |
!View pages: ~ViewTemplate.jsp, ~EditTemplate.jsp |
At line 70 changed 2 lines |
ViewTemplate.jsp gets all requests from Wiki.jsp, Preview.jsp, |
PageInfo.jsp, etc. Modify this file to change the visual outlook of |
~ViewTemplate.jsp gets all requests from Wiki.jsp, Preview.jsp, |
~PageInfo.jsp, etc. Modify this file to change the visual outlook of |
At line 74 changed one line |
EditTemplate.jsp on the other hand gets all Edit.jsp requests. Modify |
~EditTemplate.jsp on the other hand gets all Edit.jsp requests. Modify |
At line 81 changed one line |
they are both handled by ViewTemplate.jsp! |
they are both handled by ~ViewTemplate.jsp! |
At line 87 changed one line |
the CheckRequestContext tag to see which context you're in at the moment, |
the [CheckRequestContext tag] to see which context you're in at the moment, |
At line 99 changed one line |
include a JSP page called 'PageContent.jsp'". The PageContent.jsp |
include a JSP page called '~PageContent.jsp'". The ~PageContent.jsp |
At line 113 changed one line |
So, it's not that difficult. Take a look at "ViewTemplate.jsp" to see |
So, it's not that difficult. Take a look at "~ViewTemplate.jsp" to see |
At line 122 changed 2 lines |
"ViewTemplate.jsp". For example, "PageContent.jsp" displays HTML, |
"DiffContent.jsp" displays the diff, etc. You can just easily reuse |
"~ViewTemplate.jsp". For example, "~PageContent.jsp" displays HTML, |
"~DiffContent.jsp" displays the diff, etc. You can just easily reuse |
At line 172 changed one line |
;:''This problem has been fixed since 2.1.18 with the TemplateDirTag, which can be used to figure out the used template at run time.'' |
;:''This problem has been fixed since 2.1.18 with the ~TemplateDirTag, which can be used to figure out the used template at run time.'' |
At line 197 changed one line |
Since both Janne's home page and my layout do have leftmenu actually on the right side, I wonder if we could call it just menu.jsp. In fact, I'm thinking about the ViewTemplate loading (if it is present) a username + menu or pagename + menu. This would be handy is some cases, to have different views or several blogs having different menus. I'm not sure if it is FlexibilitySyndrome, though. Also, the class for the div should be "menu", or "navmenu", for navigation menu. --SantiagoGala |
Since both Janne's home page and my layout do have leftmenu actually on the right side, I wonder if we could call it just menu.jsp. In fact, I'm thinking about the ~ViewTemplate loading (if it is present) a username + menu or pagename + menu. This would be handy is some cases, to have different views or several blogs having different menus. I'm not sure if it is FlexibilitySyndrome, though. Also, the class for the div should be "menu", or "navmenu", for navigation menu. --SantiagoGala |