• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OGNL binding validation problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OGNL binding validation problems


  • Subject: OGNL binding validation problems
  • From: Faizel Dakri <email@hidden>
  • Date: Thu, 10 Dec 2009 11:40:47 -0600

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 + "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"; //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 '&nbsp' 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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Format and Organize Imports after EOGenerate?
  • Next by Date: Re: Format and Organize Imports after EOGenerate?
  • Previous by thread: Re: Dynamic Frame Resize
  • Next by thread: Connection to Postgresql...
  • Index(es):
    • Date
    • Thread