Hi Cheong,

I can't see anything suspicious. Do you use the display group in any other 
binding or in your java class? What's the full stack trace? You have a form on 
your page?

jw


Am 29.06.2010 um 18:36 schrieb Cheong Hee:

> Hi Johann
> 
> Binding:
> 
> Repetition3: WORepetition {
> item = user;
> list = logOnUserDisplayGroup.displayedObjects;
> index = sessionUserAdminWrapper.index;
> }
> ----
> {
> "WebObjects Release" = "WebObjects 5.0"; 
> encoding = "UTF-8"; 
> variables = {
> logOnUserDisplayGroup = {
> class = WODisplayGroup; 
> dataSource = {
> class = EODatabaseDataSource; 
> editingContext = "session.defaultEditingContext"; 
> fetchSpecification = {
> class = EOFetchSpecification; 
> entityName = LogOnUser; 
> isDeep = YES; 
> prefetchingRelationshipKeyPaths = (); 
> }; 
> }; 
> fetchesOnLoad = NO; 
> formatForLikeQualifier = "%...@*"; 
> numberOfObjectsPerBatch = 20; 
> selectsFirstObjectAfterFetch = NO; 
> sortOrdering = ({class = EOSortOrdering; key = vName; selectorName = 
> "compareAscending:"; }); 
> }; 
> }; 
> 
> ----
> 
> html:
> <webobject name = "Repetition3">
> <webobject name = "GenericContainer1">
> <td>
> <webobject name = "Conditional5"><webobject name = "Image3" /></webobject>
> <webobject name = "Conditional9"><webobject name = "Image4" /></webobject>
> </td>
> <td align = "LEFT" valign = "MIDDLE">
> <webobject name = "Hyperlink1"><webobject name = "String6" /></webobject>
> </td>
> <td align = "LEFT"><webobject name = "String3" /></td>
> <td align = "LEFT"><webobject name = "String7" /></td>
> <td align = "CENTER">
> <webobject name = "CheckBox3" />
> <webobject name = "Conditional6"><webobject name = "Image1" /></webobject>
> <webobject name = "Conditional7"><webobject name = "Image2" /></webobject>
> </td>
> <td><webobject name = "SubmitButton5" /></td>
> <td><webobject name = "SubmitButton7" /></td>
> </webobject>
> </webobject>
>  
> 
>  
> I have cross-checked with other components that contain display groups.  But 
> no clue.  The moment I added this display group into the component, the error 
> will happen at appendToResponse.
>  
> Thanks,
>  
> Cheong Hee 
> ps.  It is late night and I may not be able to response with more info 
> later...
> ----- Original Message -----
> From: Johann Werner
> To: Cheong Hee
> Cc: [email protected]
> Sent: Tuesday, June 29, 2010 6:52 PM
> Subject: Re: WODisplayGroup can't find displayObjects?
> 
> Hi Cheong,
> 
> the error says that you are trying to set a value for displayedObjects though 
> this is not a settable value. Please post your bindings/html where you are 
> using the display group so we can see what is exactly happening.
> 
> jw
> 
> 
> Am 29.06.2010 um 12:31 schrieb Cheong Hee:
> 
>> I spending hours on this matters but still could not figure out what has 
>> been gone wrong.  I have a repeatition that shows displayedObjects of a 
>> display group.  Checked wod, woo and coding and things looked normal.
>> 
>> Anyone to help why WODisplayGroup complains about displayedObjects variable 
>> not found?  The following is the short error message :~
>> 
>> [2010-6-29 18:11:30 SGT] <WorkerThread0> 
>> <com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message 
>> '<com.webobjects.appserver.WODisplayGroup 0x1694eca> takeValueForKey(): 
>> attempt to assign value to unknown key: 'displayedObjects'.
>> 
>> This class does not have an instance variable of the name displayedObjects 
>> or _displayedObjects, nor a method of the name setDisplayedObjects or 
>> _setDisplayedObjects' object '<com.webobjects.appserver.WODisplayGroup 
>> datasource=com.webobjects.eoaccess.eodatabasedatasou...@9c8c3f 
>> delegate=Class: 'com.webobjects.appserver.WODisplayGroup$Delegate' Object: 
>> <null> sortOrdering=( <class com.webobjects.eocontrol.EOSortOrdering(vName 
>> compareAscending)> ) qualifier=null localKeys=null 
>> insertedObjectDefaultValues={} numberOfObjectsPerBatch=20>' key 
>> 'displayedObjects'>
>> 
>> at 
>> com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleTakeValueForUnboundKey(NSKeyValueCoding.java:1399)
>> 
>> at 
>> com.webobjects.appserver.WODisplayGroup.handleTakeValueForUnboundKey(WODisplayGroup.java:3136)
>> 
>> 
>>  
>> Thanks for any pointer.
>> 
>> Cheong Hee
>> 
> 
> 


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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to