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 protected]> 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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>>
>> This email sent to [email protected]
>
> --
> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to