Q.
In v3.x the invocation of javascript has been moved to the top-level JSPs,
by means of :

  <s:layout-component name="script"> ...



In v2.x this was done from within the template jsp, through the
TemplateManager. Eg:

   TemplateManager.addResourceRequest( context, "script",  contextPath +
"/scripts/jspwiki-edit.js" );


What is rationale for this ?
IMHO, the solution of v2.x gives more flexibilty to template specific
adaptations, rather then having to modifty the top-level jsp's.
Is the old solution still supported ?



dirk

Reply via email to