Re: WOLips: no application or session from WOBuilder

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Sun Jul 20 2003 - 08:24:44 EDT

  • Next message: Kaj Hejer: "Re: Slowdown with opening files after upgrading to WOLips 1.0.4"

    Hi Tore,

    this is a missing feature in WOBuilder/ProjectBuilderWO. Anyway you can
    create accessor methods for your application and session in the
    wocomponent class or a superclass.

    public Application getApplication() {
            return (Application)this.application();
    }

    public Session getSession() {
            return (Session)this.session();
    }

    Ulrich

    On Sonntag, 20. Juli 2003, at 10:40 Uhr, Tore Halset wrote:

    > Hello!
    >
    > I am using eclipse 3.0M2 and WOLips 1.0.4. All my java-code are in
    > packages. The component-classes and Application/Session are not in the
    > same packages. In the component-classes I have the full import
    > statement (import com.webobjects.appserver.*).
    >
    > When I choose "Open WOComponent" from eclipse, WOBuilder starts ok.
    > The problem is that I have no access to Application or Session. What
    > am I doing wrong this time? :)
    >
    > - Tore.
    >



    This archive was generated by hypermail 2.0.0 : Sun Jul 20 2003 - 08:23:13 EDT