<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Jivespace: Message List - Objects available within FTL templates</title>
    <link>http://www.jivesoftware.com/jivespace/community/plugins?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sun, 04 Nov 2007 20:35:08 GMT</pubDate>
    <generator>Jive SBS 3.0.8 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2007-11-04T20:35:08Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Objects available within FTL templates</title>
      <link>http://www.jivesoftware.com/jivespace/message/51610?tstart=0#51610</link>
      <description>&lt;!-- [DocumentBodyStart:87f1ea70-2199-430e-aa20-9905e2ad9e7d] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Thanks Steve, thats exactly what I'm looking for.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:87f1ea70-2199-430e-aa20-9905e2ad9e7d] --&gt;</description>
      <pubDate>Sun, 04 Nov 2007 20:35:08 GMT</pubDate>
      <author>shannon.krebs@gmail.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/51610?tstart=0#51610</guid>
      <dc:date>2007-11-04T20:35:08Z</dc:date>
      <clearspace:dateToText>2 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Objects available within FTL templates</title>
      <link>http://www.jivesoftware.com/jivespace/message/51587?tstart=0#51587</link>
      <description>&lt;!-- [DocumentBodyStart:adf36a39-4d71-41f7-adaf-b47c4158729c] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Have you tried using JiveContext? I haven't confirmed that you have access to this from a plugin, but I think you should be able to use something like this:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;#assign groups = jiveContext.getGroupManager().getUserGroups(user)/&amp;gt;, where "user" is a User object.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Steve&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:adf36a39-4d71-41f7-adaf-b47c4158729c] --&gt;</description>
      <pubDate>Sat, 03 Nov 2007 00:16:35 GMT</pubDate>
      <author>steve@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/51587?tstart=0#51587</guid>
      <dc:date>2007-11-03T00:16:35Z</dc:date>
      <clearspace:dateToText>2 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Objects available within FTL templates</title>
      <link>http://www.jivesoftware.com/jivespace/message/51586?tstart=0#51586</link>
      <description>&lt;!-- [DocumentBodyStart:a0a3ad5e-2d8b-4de0-93ad-cd140a85d123] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks Steve,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There doesn't appear to be anything in there related to getting user groups etc, so I'm guessing I'm out of luck unless I create a new action.&amp;nbsp; ( Although I can't seem to find some of these classes in the &lt;a class="jive-link-external-small" href="http://www.jivesoftware.com/builds/docs/clearspace/1.7.0/javadoc/api/"&gt;javadocs&lt;/a&gt;e.g SkinUtils, DocumentPermHelper etc so I may be missing something?) &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a0a3ad5e-2d8b-4de0-93ad-cd140a85d123] --&gt;</description>
      <pubDate>Fri, 02 Nov 2007 23:39:28 GMT</pubDate>
      <author>shannon.krebs@gmail.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/51586?tstart=0#51586</guid>
      <dc:date>2007-11-02T23:39:28Z</dc:date>
      <clearspace:dateToText>2 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Objects available within FTL templates</title>
      <link>http://www.jivesoftware.com/jivespace/message/51585?tstart=0#51585</link>
      <description>&lt;!-- [DocumentBodyStart:398c049f-1f46-4bc0-b973-ea3f351b7ff9] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi Shannon,&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;There's no documentation that I know of that lists the objects available to FreeMarker. I agree that that would be good to have. We do have a list of utility classes in &lt;a class="jive-link-external-small" href="http://www.jivesoftware.com/builds/docs/clearspace/latest/ClearspacePluginDevelopmentGuide.html#ClearspacePluginDevelopmentGuide-CreatingViewswithPlugins"&gt;another incarnation of the plugin documentation&lt;/a&gt; that somehow didn't get migrated to Jivespace. I'll move that content in soon.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Steve&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:398c049f-1f46-4bc0-b973-ea3f351b7ff9] --&gt;</description>
      <pubDate>Fri, 02 Nov 2007 23:14:51 GMT</pubDate>
      <author>steve@jivesoftware.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/51585?tstart=0#51585</guid>
      <dc:date>2007-11-02T23:14:51Z</dc:date>
      <clearspace:dateToText>2 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Objects available within FTL templates</title>
      <link>http://www.jivesoftware.com/jivespace/message/51584?tstart=0#51584</link>
      <description>&lt;!-- [DocumentBodyStart:bd312ed1-d1bf-4f93-9077-4f8703c154e0] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Is there some documentation somewhere that list alll of the objects that are availble from within a freemarker template (when editing one of the default templates already provided)?&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am specifically interested in this case how I can get a hold of the groupManager from within a template to try and work out which groups the current user is a part of?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:bd312ed1-d1bf-4f93-9077-4f8703c154e0] --&gt;</description>
      <pubDate>Fri, 02 Nov 2007 22:02:40 GMT</pubDate>
      <author>shannon.krebs@gmail.com</author>
      <guid>http://www.jivesoftware.com/jivespace/message/51584?tstart=0#51584</guid>
      <dc:date>2007-11-02T22:02:40Z</dc:date>
      <clearspace:dateToText>2 years, 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

