Add the old <cms:query> tag in Magnolia 4.5?
--------------------------------------------
Key: MAGNOLIA-4463
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4463
Project: Magnolia
Issue Type: New Feature
Security Level: Public
Components: templating
Affects Versions: 4.5.3
Reporter: Edgar Vonk
Assignee: Philipp Bärfuss
As mentioned in SUPPORT-1448 we miss functionality that was present in the old
Magnolia JSP taglib but no longer in the new 4.5 JSP API. One is the old
<cms:query> tag. We use this extensively in our old JSPs. E.g.
{code}
<c:set var="query">//aankeilers//element(*,aankeiler)[@jcr:uuid =
'${linkInternal}']</c:set>
<cms:query query="${query}" nodeType="aankeiler" var="aankeilerList"
repository="data" type="xpath" />
<cms:setNode var="aankeiler" contentNode="${aankeilerList[0]}" />
{code}
I admit it's not the best looking JSP code maybe but we are now mainly looking
for the quickest way to migrate to 4.5. And since Philipp now told us that the
JSPs compatibility taglibs will not be supported in the future we want to
migrate this code too.
Is this functionality somewhere present in the 4.5 JSP API? If not, is it
possible to add it or do you have another suggestion? I am guessing there are
more people out there that use this tag quite a bit.
Of course we could move this stuff to JSP scriptlets (brr) or write our own JSP
tag but but before we do I would to know what you suggest.
As Philipp also mentioned:
{quote}Many of the old tags can now be replaced by the more elegant functions
and expression language. But we have to document each replacement. A matrix
listing all tags is needed.{quote}
This would help us very much indeed.
--
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/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------