Re: handy things

From: Mike Schrag (mschra..dimension.com)
Date: Sun Mar 04 2007 - 08:25:17 EST

  • Next message: Gavin Eadie: "Re: handy things"

    I think you must be looking at older source ... The current version
    says:

             if (!"false".equals(System.getProperty("ognl.active"))) {

    , so it should be active unless you explicitly disable it.

    ms

    On Mar 4, 2007, at 1:11 AM, Gavin Eadie wrote:

    > At 7:29 AM -0500 3/3/07, Mike Schrag wrote:
    >> Kieran also mentioned a shortcut for the <webobject> tag ... If
    >> you're using wonder, you can also turn on the inline binding
    >> parser in Wonder with:
    >>
    >> ognl.helperFunctions=true
    >> ognl.inlineBindings=true
    >>
    >> (well that turns on inline bindings AND helpers, but both are
    >> cool) which gives you <wo name = "Whatever"></wo> which saves
    >> hundreds of virtual trees as well as things like <wo:if condition
    >> = "$whatever">...</wo>.
    >
    >
    > ... I think you MUST turn both on for inline bindings, and
    > "ognl.active" too, (in WOOgnl.java):
    >
    > if (("ognl.active")) {
    > if (("ognl.helperFunctions")) {
    > WOParser.setWOHTMLTemplateParserClassName("...");
    > if (("ognl.inlineBindings")) {
    > ....setAllowInlineBindings(true);
    > }
    > }
    > else {
    > WOParser.setWOHTMLTemplateParserClassName("...");
    > }
    > }



    This archive was generated by hypermail 2.0.0 : Sun Mar 04 2007 - 08:26:28 EST