Or turn off "Warn if missing key on NSArray/NSDictionary" I think ...

ms

On Mar 18, 2008, at 8:07 AM, David LeBer wrote:


On 18-Mar-08, at 5:49 AM, Alexander Spohr wrote:

Hi List,

how do I switch this message off?
„Unable to verify key 'abc' because the keypath 'session.stringTable' in MyComponent is a collection.“ I know that it is a collection (NSDictionary) and I know that it is not verifyable, so I really don’t need that warning, it just clutters my problems-panel.

Eclipse => Preferences => WOLips => Binding Validation has a lot of checkboxes, but none of the texts looks as if it kills that warning :)

Append //VALID to the binding.

Inline:  <wo:str value="$session.stringTable.abc//VALID"/>
Wod:

MyString:WOString {
        value = session.stringTable.abc; //VALID
}

Or, add an entry in:

Exlipse -> Preferences -> WOLips -> Binding Validation Rules

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org


_______________________________________________
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/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
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