Re: OGNL binding failing for WOImageButton

2011-01-14 Thread Anjo Krank
This would be a serious issue, but from ERXApp: if (_rapidTurnaroundActiveForAnyProject() && isDirectConnectEnabled()) { registerRequestHandler(new ERXStaticResourceRequestHandler(), "_wr_"); } so this shouldn't be a problem in deployment

Re: OGNL binding failing for WOImageButton

2011-01-13 Thread Chuck Hill
On Jan 13, 2011, at 9:12 PM, Tarun Reddy wrote: > Ah... silly me. > > Doing this fixes it! Thank you all for your help. > > One last thing that kind of concerns me, but maybe it isn't an issue. > > When I use the filename binding in anything, such as WOImageButton, > WOResourceURL, the URL is

Re: OGNL binding failing for WOImageButton

2011-01-13 Thread Tarun Reddy
Ah... silly me. Doing this fixes it! Thank you all for your help. One last thing that kind of concerns me, but maybe it isn't an issue. When I use the filename binding in anything, such as WOImageButton, WOResourceURL, the URL is similar to this: http://10.0.1.100:60613/cgi-bin/WebObjects/atla

Re: OGNL binding failing for WOImageButton

2011-01-13 Thread Robert B. Hanviriyapunt
For null action try: action = "~null"; = Robert = On Jan 13, 2011, at 1:14 AM, Paul Hoadley wrote: Hi Tarun, On 13/01/2011, at 3:19 PM, Tarun Reddy wrote: create new Wonder Application create an image in WebServerResources/default.com/images/search.jpg Add public String comp = "default.com

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Paul Hoadley
Hi Tarun, On 13/01/2011, at 3:19 PM, Tarun Reddy wrote: > create new Wonder Application > create an image in WebServerResources/default.com/images/search.jpg > Add public String comp = "default.com"; to Session.java > In Main.html, add WOImage in > body tag > In Main.wod add > SubmitButton : WO

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Farrukh Ijaz
You need to specify action. You can't set it as null although it doesn't complain at compile time. That's breaking your component I guess. Farrukh On 2011-01-13, at 7:49 AM, Tarun Reddy wrote: > Last thing.. I created a new Wonder Application and successfully reproduced > the problem. > > My

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Chuck Hill
On Jan 12, 2011, at 8:49 PM, Tarun Reddy wrote: > Last thing.. I created a new Wonder Application and successfully reproduced > the problem. > > My steps: > • create new Wonder Application > • create an image in WebServerResources/default.com/images/search.jpg > • Add public S

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Tarun Reddy
Last thing.. I created a new Wonder Application and successfully reproduced the problem. My steps: 1. create new Wonder Application 2. create an image in WebServerResources/default.com/images/search.jpg 3. Add public String comp = "default.com"; to Session.java 4. In Main.html, add WO

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Tarun Reddy
This seems to work fine. It resolves to com.webobjects.appserver._private.WOImageButton Tarun On Wed, Jan 12, 2011 at 5:01 AM, John Larson wrote: > Go to the page's Java file. Somewhere try to define a variable of type > WOImageButton and see if eclipse finds it in your classpath. It's possibl

Fwd: OGNL binding failing for WOImageButton

2011-01-12 Thread Tarun Reddy
forgot to send from the correct address -- Forwarded message -- From: Tarun Reddy Date: Wed, Jan 12, 2011 at 12:36 AM Subject: Re: OGNL binding failing for WOImageButton To: John Larson Cc: Tarun Reddy , "Webobjects-dev@lists.apple.com" < Webobjects-dev@lists.apple

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread Tarun Reddy
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 morn

Re: OGNL binding failing for WOImageButton

2011-01-12 Thread John Larson
Go to the page's Java file. Somewhere try to define a variable of type WOImageButton and see if eclipse finds it in your classpath. It's possible that your install is missing it altogether. There's obviously other ways to check that, but this way should only take a second and then you've elimina

Re: OGNL binding failing for WOImageButton

2011-01-11 Thread Chuck Hill
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

Re: OGNL binding failing for WOImageButton

2011-01-11 Thread John Larson
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 o

Re: OGNL binding failing for WOImageButton

2011-01-11 Thread Tarun Reddy
On Mon, Jan 10, 2011 at 10:43 PM, Tarun Reddy wrote: > Can anyone help with this: > > SearchImage : WOImageButton { > filename = "~session.siteDefinition.siteDomain + > \"/images/find1.jpg\""; > } > > This gives the desired image > > SearchImage : WOImage { > filename = "~session.si

OGNL binding failing for WOImageButton

2011-01-10 Thread Tarun Reddy
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\""; } Help? Thank you, Tar