Wiki source code of Pesky WOComponent Errors

Version 2.1 by Ray Kiddy on 2008/08/23 17:18

Show last authors
1 The easiest way to get rid of these errors, when they are not really errors, is to use a "~/~/VALID" modifer on the tag. For example, if I have an EOEnterpriseObject named 'foo' and it will return a string from "someAttribute", then the tag below may cause a red error indicator to be displayed in eclipse, with the associated error text being: "There is no key 'someAttribute' for the keypath 'foo' in <component name>".
2
3 &nbsp;<wo:str value="$foo.someAttribute" />
4
5 &nbsp;The tag below will cause eclipse to not display this error.
6
7 &nbsp; <wo:str value="$foo.someAttribute~/~/VALID" />
8
9 One may also change this behavior by chaging the values in Eclipse > Preferences > WOLips > 'Binding Validation and Binding Validation Rules'. (How? TBD)