-
Improvement
-
Resolution: Duplicate
-
Minor
-
None
-
3.1 M1
Since actpage has been deprecated/removed we should start offering a better way to get the current page in jsp page, which doesn't rely on the nave of a variable anymore.
A good solution for jsp 2.0 containers is to use EL functions. I will add a new cmsfn taglib with the following jsp 2.0 functions:
${cmsfn:currentPage()}
${cmsfn:mainPage()}
${cmsfn:currentParagraph()}
the new taglib can be declared with:
<jsp:root ... xmlns:cmsfn="http://www.magnolia.info/tlds/cmsfn-taglib.tld">
note that I am not adding this funtions directly to the "cms" tld since this will require updating the tld to jsp 2.0 schema, we will probably it them compatible with jsp 1.2 only containers.
- clones
-
MAGNOLIA-1647 Provide EL functions for use in jsp pages (instead of ${actpage})
- Closed
- is depended upon by
-
MAGNOLIA-1647 Provide EL functions for use in jsp pages (instead of ${actpage})
- Closed