Quick poll: is anyone creating their own custom render tags and render spots for use in RedDot Open Text Web Solutions (Group) Management Server?
If so, what kind of things have you made…
Regards,
Richard Hauer
====================
5 Limes Pty Limited
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
Nope.
I can tell you how to do it if you like.
I assumed they would document it instead of expecting people to guess. Silly me.
Kind regards,
Christoph
Short answer:
The “shorthand” notation only works for ObjectLoaders, not RenderTags.
Long answer:
In “main.config” you will notice this described as a “DirectSpot”.
What happens is that the contents of the spot is sent to the ObjectLoadManager (after being trimmed for spaces). The ObjectLoadManager then splits on “:” and uses the left side as the “Loader” object and the right side as the “Method/Property”.
We have a custom Loader we call “Utility” with methods like “UrlEncode”.
In “shorthand” notation these can be used like this:
<%!! Utility:UrlEncode(String:<%inf_banana%>) %!!>
You can’t access custom RenderTags this way. Actually you can’t access any RenderTags this way.
Have you ever seen:
<%!! output !!%>
or
<%!! foreach !!%>
1 interesting anomaly is <%!! navigation !!%> as this is both a RenderTag and an ObjectLoader.
Regards,
Richard Hauer
Solution Architect
p +61 2 9321 1555 | d +61 2 9321 1556 | m +61 414 189 170
From: reddot-c...@googlegroups.com [mailto:reddot-c...@googlegroups.com] On Behalf Of Philipp Mikael
Sent: Thursday, 30 August 2012 1:35 AM
To: reddot-c...@googlegroups.com
Cc: richar...@5limes.com.au
Subject: Re: Custom render tags and render spots
Hi,
I'm wondering if it is possible to use the short spot with custom render tags. <reddot:cms><helloworld /></reddot:cms> works fine but <%!! helloworld !!%> doesn't output anything.
Regards
Philipp
--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/0QzQAY6EAdMJ.