Re: handy things

From: Gavin Eadie (gavi..mich.edu)
Date: Sun Mar 04 2007 - 10:42:12 EST

  • Next message: Mike Schrag: "Re: handy things"

    My bad, Mike!
    I trimmed the code to illustrate the point and lost the point instead,

    At 8:25 AM -0500 3/4/07, Mike Schrag wrote:
    >I think you must be looking at older source ... The current version says:
    >
    > if (!"false".equals(System.getProperty("ognl.active"))) {

    ... my real point, albeit tiny, is that "ognl.inlineBindings" can
    only be enabled if "ognl.helperFunctions" is also turned on.
    Abbreviating savagely:

    >> if (("ognl.helperFunctions")) {
    >> if (("ognl.inlineBindings")) {
    >> ....setAllowInlineBindings(true);

    ... I can't claim to be writing the most illuminating post I've ever
    made, but I tripped over this when I added only "ognl.inlineBindings"
    to my Preferences and my "<wo name="StandardPage" />" wasn't parsed.
    Someone else might trip here too.

         As I looked at this feature more, it actually makes no sense to
    only turn on the "inlineBindings" feature without also turning on
    "helperFunctions" -- saving trees with code like: <wo:string
    value="Hello" /> is neat!!



    This archive was generated by hypermail 2.0.0 : Sun Mar 04 2007 - 10:42:34 EST