I have the following code in one of my pages and it does what I am expecting
however I'd like to try and generalize it some.
#set ($hql = , BaseObject as obj where obj.name = doc.fullName and
obj.className = 'CPA_FAQs.FAQClass' and doc.space='MySpace')
#set($recentDocs =
Hi Kevin,
Kevin_C wrote:
I have the following code in one of my pages and it does what I am expecting
however I'd like to try and generalize it some.
#set ($hql = , BaseObject as obj where obj.name = doc.fullName and
obj.className = 'CPA_FAQs.FAQClass' and doc.space='MySpace')
Marius Dumitru Florea wrote:
Hi Kevin,
Kevin_C wrote:
I have the following code in one of my pages and it does what I am expecting
however I'd like to try and generalize it some.
#set ($hql = , BaseObject as obj where obj.name = doc.fullName and
obj.className = 'CPA_FAQs.FAQClass' and
## Add space=MySpace to the query string of the URL
#set($lookupSpace = $request.space)
I ended up using this as the code is in a default page for a parent space so
I can't add the correct parameter to the Url.
#set($space = $entry.substring(0, $entry.indexOf(.)))
Thanks for the great info!