Re: Velocity EOGenerator templates and WO 5.4.1

From: David Avendasora (webobject..vendasora.com)
Date: Wed Mar 05 2008 - 10:33:58 EST

  • Next message: Michael Hast: "Re: WOComponent Editor Command-K Search Forward"

    On Mar 5, 2008, at 10:22 AM, Mike Schrag wrote:

    >> I see in the default Velocity EOGenerator templates that there is a
    >> check for a $attribute.userInfo.ERXConstantClassName attribute
    >> that, if I'm reading right is to set the correct data type for
    >> things instead of just "Number".
    > Nope ... Number=>Integer is handled separately (and automatically).
    > ERXConstantClassName is to support Wonder's enumerated type constants.
    >
    >> Is this something that still needs to be done or can I get rid of
    >> the check for this in my templates?
    > Well, if you use Wonder constants, it needs to be done. If not,
    > then you can remove it.

    I'm not now, but I'll leave it in as it will automatically pick things
    up if they are used. I just wanted to make sure it wasn't something
    that was no longer needed.



    This archive was generated by hypermail 2.0.0 : Wed Mar 05 2008 - 10:36:51 EST