WOComponents, Packages, and Protected variables.

From: David Avendasora (webobject..vendasora.com)
Date: Thu Aug 16 2007 - 10:02:04 EDT

  • Next message: Guido Neitzer: "Re: WOComponents, Packages, and Protected variables."

    Hi all,

    I know that this question has come up before, but I can't seem to
    find a definitive answer.

    I just migrated my project from Xcode to Eclipse (yeah!). I have
    organized all my component .java files into packages, and now all my
    components are complaining about not being able to access the
    protected attributes in the Java classes. Is this a bug or a feature?

    I would think that the Component for a given Java Class would be
    considered as being in the same package. Even if I mimic the package
    structure of the Sources directory in the Components directory, it
    still does not see them as being in the same package.

    I would really rather NOT change all the protected attributes to
    "public". I could create public accessors for them, but this seems a
    bit extreme when the related component should "be" in the same package.

    I would be happy to add the answer to this to the WOProject/WOLips/
    Tutorials/Editing WOComponents documentation.

    Thanks,

    Dave



    This archive was generated by hypermail 2.0.0 : Thu Aug 16 2007 - 10:04:28 EDT