• 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: Guido Neitzer <email@hidden>
  • Date: Tue, 19 Aug 2008 09:40:44 -0600
  • Thread-topic: Is D2W dead? [Was: WebAssistant IllegalStateException]

Maybe you want to think about some things:

- Right now, without autolocking of editing contexts in the WebObjects
frameworks, using D2W without ProjectWOnder is asking for deadlocks. It's
not an "if" it's a "when" thing ...

- Don't freeze components. You loose ALL the nice things of D2W and get the
ugliest pages for free.

- Use ERDirectToWeb - and read the source to learn how to use it.

- Check the rules the Assistant creates in a demo project. These rules are
normally totally stupid and ridiculously verbose.

- Use Wonder prototypes and smartProperties (check in ERDirectToWeb how to
use them), it makes your rule files shorter and cleaner.

- Don't start freezing a page because you run into a little problem. Try to
solve it in a dynamic way.

cug


On 19.08.08 00:20, "Ramsey Gurley" <email@hidden> wrote:

> 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:
>>
>>
>>
>>
>> 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
>>
>
>  _______________________________________________
> 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:

This email sent to email@hidden

References: 
 >Re: Is D2W dead? [Was: WebAssistant IllegalStateException] (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: Owns Destination problem
  • Next by Date: Absolute URL's for WOHyperlink and WOActiveImage?
  • Previous by thread: Re: Is D2W dead? [Was: WebAssistant IllegalStateException]
  • Next by thread: CSS background images
  • Index(es):
    • Date
    • Thread