• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Display group wierdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display group wierdness


  • Subject: Re: Display group wierdness
  • From: Don Lindsay <email@hidden>
  • Date: Tue, 11 Jul 2006 17:32:36 -0400

Hello;
The code was created by Web objects by using Add | New File from the popup (right click menu) then selecting new display group component.  I have tried to access agentDisplayGroup from within constructor, appendtoresult, an custom public functions.

// Generated by the WebObjects Assistant Sun Jul 09 20:32:32 US/Eastern 2006
import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;
import com.webobjects.examples.utilities.*;

public class agentDisplay extends WOComponent {

    /** @TypeInfo Agent */
    protected EOEnterpriseObject agent;
    // This WODisplayGroup is initialized from the .woo archive in the component's constructor method
    protected WODisplayGroup agentDisplayGroup;
    public String errorMessage;
    public Person selectedPerson;
    public String sOrderBy;
    public Agent newAgent;
    public NSArray PersonList;
    public Person aPerson;
    public WeaponAssignment agentWeapon;
    public String searchAgent;
    public String searchSerial;
    protected String orgListing;
    public Organization anOrganization;

    public agentDisplay(WOContext context) {
        super(context);
    }

    public void appendToResponse(WOResponse response, WOContext context) {
        WXDebug.println(25,"**appendToResponse(): Entered");
        this.agentDisplayGroup.queryMatch.agent_person.surname = "Agent Name"; //results in cannot resolve symbol
        this.agentDisplayGroup.queryMatch.agent_weapons.serial = "Serial"; // results in cannot resolve symbol
        super.appendToResponse(response,context);
        WXDebug.println(25,"**appendToResponse(): Done");
    }
}

On Jul 11, 2006, at 1:08 PM, Travis Cripps wrote:

Don,

Hi.  Can you share some of the code?  Normally there would be no reason you shouldn't be able to access it.

Travis
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Display group wierdness
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WWDC WO Meet
  • Next by Date: RE: Error Deserializing EOGlobalID via Web Services (SOLVED)
  • Previous by thread: Re: Re: Adding EOModels embedded in an external framework to an existing project [Solved]
  • Next by thread: Re: Display group wierdness
  • Index(es):
    • Date
    • Thread