Re: Suggestion for Enhanced Component Editor in Eclipse

From: Zak Burke (zdbw..artmouth.EDU)
Date: Wed Apr 18 2007 - 15:32:54 EDT

  • Next message: Mike Schrag: "Re: Suggestion for Enhanced Component Editor in Eclipse"

    Mike Schrag wrote on 4/18/07 7:50 AM:
    > I'm just now writing completion (as we speak) for inline binding syntax
    > in the new html editor.
    >
    > ms
    >
    > On Apr 18, 2007, at 1:16 AM, Brendan Duddridge wrote:
    >
    >> Hi,
    >>
    >> It's be great to see a toolbar of some sort in the WO component
    >> editor. I think a switch to generate html/separate wod code vs. the
    >> newer inline html/combined wod would be really nice too. I've started
    >> to use the inline wod code more and more.
    >>
    >> e.g. <wo:WOString value="$someContent" escapeHTML="$false" />

    Huh; WOOgnl bindings like this:
         <wo name=foo />
         ...
         foo: WOString {
             value = "..ackage.class@CONSTANT";

    work for me, but when I try something like this

         <wo:WOString value="$item.person.contact.address.city" />

    I get exceptions:

    Apr 18 15:26:32 i3p-cms[2003] (ERXNSLogLog4jBridge.java:41) WARN
    NSLog - <er.extensions.ERXDirectActionRequestHandler>: Exception
    while handling action named "internal" on action class "null"
    :com.webobjects.foundation.NSForwardException
    [com.webobjects.appserver._private.WOHTMLFormatException]
    <WOHTMLWebObjectTag cannot initialize WebObject tag <wo:WOString
    value="$item.person.contact.address.city" escapeHTML="$false" > . It
    has no NAME=... parameter:
    <com.webobjects.appserver._private.WOComponentDefinition: Error
    parsing template for Component :
    'file:/Volumes/disk2/home/zburke/workspace/cms_app/dist/cms_app.woa/Contents/Frameworks/ce_fw.framework/Resources/InternalGroupPage.wo/':
    com.webobjects.appserver._private.WOHTMLFormatException:
    <WOHTMLWebObjectTag cannot initialize WebObject tag <wo:WOString
    value="$item.person.contact.address.city" escapeHTML="$false" > . It
    has no NAME=... parameter

    Am I missing a properties setting somewhere to turn on these short
    cuts? Currently I have

         ognl.helperFunctions=true
         ognl.inlineBindings=true

    in my Properties file.

    zak.



    This archive was generated by hypermail 2.0.0 : Wed Apr 18 2007 - 15:34:24 EDT