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: [email protected]
[mailto:[email protected]] On Behalf Of Philipp Mikael
Sent: Thursday, 30 August 2012 1:35 AM
To: [email protected]
Cc: [email protected]
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

Am Dienstag, 3. Juli 2012 11:36:10 UTC+2 schrieb Richard Hauer (5 Limes):

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 

www.5Limes.com.au <http://www.5Limes.com.au> 

 

-- 
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.
To post to this group, send email to [email protected]
<mailto:[email protected]> .
To unsubscribe from this group, send email to
[email protected]
<mailto:[email protected]> .
For more options, visit this group at
http://groups.google.com/group/reddot-cms-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/reddot-cms-users?hl=en.

Reply via email to