Details
-
New Feature
-
Resolution: Duplicate
-
Neutral
-
None
-
4.5.3
-
None
-
-
Empty show more show less
Description
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.
<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]}" />
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:
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.
This would help us very much indeed.