• 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: Is D2W dead? [Was: WebAssistant IllegalStateException]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is D2W dead? [Was: WebAssistant IllegalStateException]


  • Subject: Re: Is D2W dead? [Was: WebAssistant IllegalStateException]
  • From: Ramsey Gurley <email@hidden>
  • Date: Tue, 19 Aug 2008 02:20:19 -0400

Hi Dayrl,

That definitely did the trick... for WO 5.3 obviously. Many thanks! That will definitely make the task of figuring out the rule system a lot easier :-) For people who might be reading this in the archives later and who don't have the benefit of a screen shot, the magic Eclipse settings are located at Preferences->WOLips->Build. Click the checkboxes for "Write PB.project on build" and "Write Xcode .xcodeproj on build." Thanks again Daryl! I'm sure it will be a huge help to me.

Ramsey

On Aug 18, 2008, at 4:13 PM, Daryl Lee wrote:

I think your problem is that the WO is not detecting your project type. In the past, people have turned on the PBWO and .xcodeproj project file generation to workaround this.

In your WOLips preferences, turn on:

PNG image




On Aug 12, 2008, at 8:50 PM, Ramsey Gurley wrote:

Ahh, I see, WebAssistant is dead...

http://support.apple.com/kb/HT1979

Without WebAssistant, how do you freeze components? Is D2W dead with it?

On Aug 12, 2008, at 9:14 PM, Ramsey Gurley wrote:

Hi all,

I'm trying to get started with D2W and I'm having a bit of trouble getting the web assistant to work. When I click "Customize" it throws

java.lang.IllegalStateException: ***** Warning: The DirectToWeb WebAssistant will not be able to modify your DirectToWeb resources. You must have your application project opened in Project Builder to save changes using the WebAssistant.
at com .webobjects .directtoweb .D2WModel.checkPossibilityToSaveUserModel(D2WModel.java:631)
at com.webobjects.directtoweb.D2W.webAssistantInContext(D2W.java: 392)
at com .d2wexample.components.MenuHeader.showWebAssistant(MenuHeader.java: 64)
...


With the offending code being:

63     public WOComponent showWebAssistant() {
64         return D2W.factory().webAssistantInContext(context());
65     }

Although this is complaining about the user.d2wmodel file, I can see near the end of my logs before the app finishes launching this warning

WARN NSLog - ** DirectToWeb could not merge d2wmodel from file:/ path/to/d2w.d2wmodel for reason: <com.webobjects.directtoweb.Assignment 0x628381> valueForKey(): lookup of unknown key: 'priority'.
This class does not have an instance variable of the name priority or _priority, nor a method of the name priority, _priority, getPriority, or _getPriority


I've been reading through mailing lists and documents, but I'm not getting very far. Athough I'm using project wonder, I tried to open a basic d2w app in pure WO and get the same IllegalStateException. I've tried this with and without Project Wonder in WO 5.4.2 and without Wonder in WO 5.3.3. In all three cases, the app throws the same IllegalStateException. Does anyone know how what is going on or how to fix it?

Thanks everyone,

rg

_______________________________________________
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

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


This email sent to email@hidden


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Is D2W dead? [Was: WebAssistant IllegalStateException]
      • From: Guido Neitzer <email@hidden>
References: 
 >WebAssistant IllegalStateException (From: Ramsey Gurley <email@hidden>)
 >Is D2W dead? [Was: WebAssistant IllegalStateException] (From: Ramsey Gurley <email@hidden>)
 >Re: Is D2W dead? [Was: WebAssistant IllegalStateException] (From: Daryl Lee <email@hidden>)

  • Prev by Date: Re: Problems disabling direct connect mode
  • Next by Date: Re: Problems disabling direct connect mode
  • Previous by thread: Re: Is D2W dead? [Was: WebAssistant IllegalStateException]
  • Next by thread: Re: Is D2W dead? [Was: WebAssistant IllegalStateException]
  • Index(es):
    • Date
    • Thread