Re: OGNL binding failing for WOImageButton
Re: OGNL binding failing for WOImageButton
- Subject: Re: OGNL binding failing for WOImageButton
- From: Chuck Hill <email@hidden>
- Date: Tue, 11 Jan 2011 20:16:02 -0800
My money is on you still not telling us all the details. Is the working on in one component and the broken one in another? I will bet that the .wo for the broken one got added at the wrong place in the project.
Chuck
On Jan 11, 2011, at 7:35 PM, Tarun Reddy 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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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