One of the display groups defined in my WOO file was missing the
entity name key and value.
itemDetailDG = {
class = WODisplayGroup;
dataSource = {
class = EODetailDataSource;
detailKey = details;
};
fetchesOnLoad = YES;
formatForLikeQualifier = "..";
numberOfObjectsPerBatch = 0;
selectsFirstObjectAfterFetch = YES;
};
The WO old timers hand edit components. Being an infrequent WO
developer I use all the WOLips tools (Thanks Chuck and others!). Maybe
WOO validation could be added to Component editor later.
JR
On Jan 16, 2009, at 1:37 PM, Chuck Hill wrote:
>
> On Jan 16, 2009, at 11:33 AM, My GMAIL wrote:
>
>> I am trying to edit a component using Component Editor. Component
>> Editor modifies the component automatically when opened. If I close
>> the component without making any changes the "Do you want to save
>> changes" dialog pops up. If accept the changes the component throws
>> exceptions at runtime. The component editor seems to be having
>> problems with the WOO file. Component editor deletes all the
>> display groups after the first display group causing the app to
>> fail at runtime. Any idea what's wrong? Below is the console
>> warning before editing the component.
>>
>>
>> Description Resource Path Location Type
>> TicketEdit.woo Mohawk/Components/TicketEdit.wo Unknown WebObjects
>> Template Problems
>>
>> Eclipse version Version: 3.4.1
>> WOLips version: 3.4.5521
>
> My best guess would be corruption in the .woo file.
>
> Chuck
>
>
> --
> Chuck Hill Senior Consultant / VP Development
>
> Practical WebObjects - for developers who want to increase their
> overall knowledge of WebObjects or who are trying to solve specific
> problems.
> http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
This archive was generated by hypermail 2.0.0 : Fri Jan 16 2009 - 15:51:12 EST