Forum Discussion

davidtwamley's avatar
16 years ago
Solved

What Lithium objects are available in FreeMarker

Lithium, please beef up the documentation regarding FreeMarker! What Lithium-specific top level objects are available to us? So far I've only seen references to page and user. Surely there are others. Here's the brief list I've encountered so far.

${page}
${page.name}
${user}
${user.anonymous}
${user.registered}
${user.id}
${user.login}

5 Replies

  • Here's a few more from AdamT's quick answers to my other FreeMarker questions:

     

    ${http.request}
    ${http.request.url}
    ${coreNode.title}
    ${page.context.thread.topicMessage.subject}
  • davidtwamley's avatar
    davidtwamley
    Expert
    16 years ago

    Wow! That's even better than I hoped for. Thank you very much!

  • JulianL's avatar
    JulianL
    Lithium Alumni (Retired)
    16 years ago

    Credit goes to the engineering team that put this together. I hope this is going to help you guys create some nice custom components!

     

    The link was broken but I just fixed it.

  • djksar's avatar
    djksar
    Maven
    14 years ago
    very helpful! thanks.