Hi all,
I thought that appending a "//VALID" comment to a binding would bypass any
validation on that binding. What I'm seeing, however, is that some of my OGNL
bindings are flagged as errors. Here's an example:
MasterEdits: MPVCheckboxMatrix {
list = editTypeList;
item = editTypeIterator;
selections = selectedEditTypes;
maxColumns = 2;
displayString = ~editTypeIterator.description +
" "; //VALID
escapeHTML = false;
}
The 'displayString' binding is always being flagged as an error by the
component editor in WOLips, even though I've appended the //VALID comment. The
specific error is:
- The binding value ' ' can only appear after an '=' or a 'xxx:'
If I change the string so that there are no non-breaking spaces (e.g.
"blahblah"), things validate just fine.
I have WOLips preferences set to:
Validate WOD / Inline Bindings : YES
Validate Binding Values : YES
Use Inline Bindings : YES
Validate OGNL : YES
Am I doing something wrong in how I'm trying to suppress validation of this
binding? Or is there another way to tell WOLips that the binding is okay? This
seems like a bug to me, but I wanted to check before filing a jira.
I'm using Eclipse 3.4.1 / WOLips 3.4.5868.
Thanks.
Fez
_______________________________________________
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]