Re: OGNL binding failing for WOImageButton
Re: OGNL binding failing for WOImageButton
- Subject: Re: OGNL binding failing for WOImageButton
- From: Tarun Reddy <email@hidden>
- Date: Wed, 12 Jan 2011 21:41:37 -0700
I wish it might have been that easy.
Same component, same exact location. I tried WOImage first as I was
figuring out ognl (my first use) and then tried to change to
Woimagebutton with the error indicated. Switching back and forth both
works and doesn't work without variation. I'll try in the morning with
a mini project.
Thanks,
Tarun
Sent from my iPhone
On Jan 11, 2011, at 9:16 PM, Chuck Hill <email@hidden> wrote:
> 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
>
>
>
>
>
>
>
_______________________________________________
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