Wiki source code of Pesky WOComponent Errors
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | <wo:str value="$foo.someAttribute" /> | ||
4 | |||
5 | The tag below will cause eclipse to not display this error. | ||
6 | |||
7 | <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) |