Is D2W dead? [Was: WebAssistant IllegalStateException]
Is D2W dead? [Was: WebAssistant IllegalStateException]
- Subject: Is D2W dead? [Was: WebAssistant IllegalStateException]
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 12 Aug 2008 23:50:37 -0400
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:
@mac.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