• 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
Re: OGNL syntax in inline binding...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OGNL syntax in inline binding...


  • Subject: Re: OGNL syntax in inline binding...
  • From: Timo Hoepfner <email@hidden>
  • Date: Thu, 5 Aug 2010 13:48:30 +0200

Hi David,

AFAIK caret notation won't work in WOGNL expressions, so you should define a getter in the component

public String panelName() {
  return stringValueForBinding("panelName");
}

Then the following expression should work:

id="~panelName+'_splitter'"

Timo


Am 05.08.2010 um 14:31 schrieb David BON:

<wo:Split3View id="goodMenuContentPane" panelName="menu1Panel"/>

And in the Split3View component, I try to set the id of a div to "menu1Panel_splitter" with:

<wo:container elementName="div" id= '~$^panelname'+"_splitter" class ="splitter" >

Obviously this synthax is wrong but I can't find the right way of writing this.


_______________________________________________ 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
References: 
 >OGNL syntax in inline binding... (From: David BON <email@hidden>)

  • Prev by Date: OGNL syntax in inline binding...
  • Next by Date: Re: OGNL syntax in inline binding...
  • Previous by thread: OGNL syntax in inline binding...
  • Next by thread: Re: OGNL syntax in inline binding...
  • Index(es):
    • Date
    • Thread