• 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
D2JC: defaultSpecifications question???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2JC: defaultSpecifications question???


  • Subject: D2JC: defaultSpecifications question???
  • From: Scott Suler <email@hidden>
  • Date: Fri, 16 Sep 2005 11:01:20 -0400

I would really appreciate any help on this.
I am trying to get a blank form window for an entity to appear on application startup instead of the query window so the user's an enter the entity info immediately instead of clicking new in the query window.  This is what I tried to do.

A. d2w.d2wmodel
- added rule: *true* / defaultSpecifications  / "HelpDeskDefaultSpecifications"

B.  Added a Component to my project name HelpDeskDefaultSpecifications
- updated the java file to extend D2WComponent

C. Updated the .api file with the class="HelpDeskDefaultSpecifications"  attribute

D.  Added this to the HelpDeskSpecifications .wo file
<Array>
    <DICTIONARY>
        <STRING name="question" value="window"/>
        <STRING name="task" value="form"/>
        <STRING name="entity.name" value="SupportIncident"/>
    </DICTIONARY>
</Array>

When the client begins to come up I see the rule added in step A. above fires then 20 more rules fire.  The last bunch of rules look like:


2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : *true* => typeName=typeName (-1)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : (isRootController <> 'false') => reuseMode=NeverReuse (java.lang.String) (10001)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : *true* => actionWidgetController=EOActionButtonsController (java.lang.String) (-1)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : *true* => actionWidgetPosition=TopLeft (java.lang.String) (-1)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : (task = 'form') => controller=EOForm (java.lang.String) (10001)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : (task = 'form') => entityController=EOFormController (java.lang.String) (10001)
[2005-09-16 10:52:49 EDT] <WorkerThread0> ****** fire : ((controllerType = 'entityController') or (controllerType = 'groupingController')) => alignsComponents=true (java.lang.String) (10001)

Then the client just dies. The exception I get in the console is:

java.lang.IllegalStateException: Server exception: 'componentName' not specified or association evaluated to null.

What am I doing wrong?


 _______________________________________________
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

  • Prev by Date: Re: junit and WebObjects Components
  • Next by Date: deploying webobjects on tomcat problems
  • Previous by thread: Re: AW: AW: Unlimitted requests question
  • Next by thread: deploying webobjects on tomcat problems
  • Index(es):
    • Date
    • Thread