Re: WOD Editor and methods from super classed

From: André Koppany (koppan..ackoy.de)
Date: Mon May 07 2007 - 09:22:15 EDT

  • Next message: Mike Schrag: "Re: WOD Editor and methods from super classed"

    Hi,

    > What exactly is the relationship between the component utility
    > class and the loc() method on your component? is it like:
    >
    > public class ExtendedWOComponent extends WOComponent {
    > public ERXLocalized loc() {
    > return ComponentUtilities.loc();
    > }
    > }
    >
    >
    yes, its exactly like this, only the method returns:
    return ((Session)session()).localizer();

    Its just an convinience method to cut down the long binding keypath.

    Best,
    André

    André Koppany
    IT-Services

    mackoyCONSULTING
    Leopoldstrasse 244
    D-80807 München
    Tel. +49 (0)89/340 290 66
    Fax +49 (0)89/340 290 67

    koppan..ackoy.de
    www.mackoy.de



    This archive was generated by hypermail 2.0.0 : Mon May 07 2007 - 09:22:27 EDT