Re: Component editor and soft wrap?

From: Johann Werner (j..yosys.de)
Date: Wed Jan 07 2009 - 08:55:25 EST

  • Next message: Lachlan Deck: "Re: Component editor and soft wrap?"

    Hi Kieran

    Am 07.01.2009 um 13:47 schrieb Kieran Kelleher:

    > As long as you are using WOnder's WOOgnl, you can mix both styles.
    > In fact, IIRC, Mike Schrag mentioned in the past that he tends to
    > use inline style when there are just a few, perhaps 3 or less
    > bindings, since it gets unwieldy and difficult to read with a lot of
    > bindings. For lots of bindings, the WOD entry is definitely easier
    > to work with. I find that mixing the styles and using whichever
    > feels more natural for the specific WOComponent that you are binding
    > up works well.

    Yes you are right. But I like the idea to drop WOD files completely
    having only one text file with all information that could be stored
    easily as a string in a database.

    jw

    > For example, I usually use inline style for simple items like
    > WOString, WOForm, WOConditional, etc, but for an
    > ERXToManyRelationship or some of the versatile Ajax components that
    > have a lot of binding options, I find the WOD is easier to work with.
    >
    > Also WOD is useful if you have something like a RolePrivilege type
    > conditional with maybe one or two bindings that is used repeatedly
    > in the HTML and need only be defined once in the WOD.
    >
    > Just my 2 cents :-)
    >
    > Kieran
    >
    > On Jan 7, 2009, at 6:34 AM, Theodore Petrosky wrote:
    >
    >> Funny you should mention this... I have also just begun using 'in
    >> line' bindings and finding the same problem... it has been fueling
    >> the thoughts to return to the WOD.
    >>
    >> Ted
    >>
    >> --- On Wed, 1/7/09, Johann Werner <j..yosys.de> wrote:
    >>
    >>> From: Johann Werner <j..yosys.de>
    >>> Subject: Component editor and soft wrap?
    >>> To: woproject-de..bjectstyle.org
    >>> Date: Wednesday, January 7, 2009, 5:11 AM
    >>> Hi,
    >>>
    >>> I really like the WO inline binding feature but in the
    >>> course of changing all my components to use this I have some
    >>> WO tags that have quite a bunch of bindings and thus my
    >>> lines can get pretty long. It would be really helpful if the
    >>> component editor had an option to soft wrap the content so
    >>> all of these lines would still be visible. I don't know if
    >>> it is possible to implement that in WOLips or if the editor
    >>> is an Ecplise thing.
    >>>
    >>> jw
    >>
    >>
    >>
    >
    >





    This archive was generated by hypermail 2.0.0 : Wed Jan 07 2009 - 08:56:12 EST