• 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 binding failing for WOImageButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OGNL binding failing for WOImageButton


  • Subject: Re: OGNL binding failing for WOImageButton
  • From: John Larson <email@hidden>
  • Date: Tue, 11 Jan 2011 21:54:32 -0600

It might be late and I may have had a beer or two tonight, but are you absolutely positive that simply changing from WOImage to WOImageButton breaks it as you've described? I want to remember that error being a bundling problem like if you use an outdated reference to a framework. If it was an ognl problem, you'd get a clear ognl error. This is a total shot in the dark, but it's dark outside so ..., did you try specifying the framework in addition to the filename?

John



On Jan 11, 2011, at 9:35 PM, Tarun Reddy <email@hidden> wrote:

On Mon, Jan 10, 2011 at 10:43 PM, Tarun Reddy <email@hidden> wrote:
Can anyone help with this:

SearchImage : WOImageButton {
     filename = "~session.siteDefinition.siteDomain + \"/images/find1.jpg\"";
}

This gives the desired image....

SearchImage : WOImage {
     filename = "~session.siteDefinition.siteDomain + \"/images/find1.jpg\"";
}
 

I guess it would have been at least moderately helpful to include my error that I get :-)

Error:java.lang.RuntimeException: Unable to load the component named 'SearchImage' with the declaration Component Type = WOImageButton, Bindings = { filename=session.siteDefinition.siteDomain + "/images/find1.jpg" }. Make sure the .wo folder is where it's supposed to be and the name is spelled correctly.
Reason:Unable to load the component named 'SearchImage' with the declaration Component Type = WOImageButton, Bindings = { filename=session.siteDefinition.siteDomain + "/images/find1.jpg" }. Make sure the .wo folder is where it's supposed to be and the name is spelled correctly.

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 binding failing for WOImageButton (From: Tarun Reddy <email@hidden>)
 >Re: OGNL binding failing for WOImageButton (From: Tarun Reddy <email@hidden>)

  • Prev by Date: Re: OGNL binding failing for WOImageButton
  • Next by Date: Re: OGNL binding failing for WOImageButton
  • Previous by thread: Re: OGNL binding failing for WOImageButton
  • Next by thread: Re: OGNL binding failing for WOImageButton
  • Index(es):
    • Date
    • Thread