[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-2786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23234#action_23234
 ] 

Grégory Joseph commented on MAGNOLIA-2786:
------------------------------------------

Hi,

Is there something we could do for you, or did you just copy this issue by 
accident ?

Cheers,
-g

> CLONE -Provide EL functions for use in jsp pages (instead of ${actpage})
> ------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-2786
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2786
>             Project: Magnolia
>          Issue Type: Improvement
>          Components: taglibs
>    Affects Versions: 3.1 M1
>            Reporter: prakash chinnakannan
>            Assignee: Fabrizio Giustina
>            Priority: Minor
>             Fix For: 3.1 M2
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to