PayPal sdk and Java Classpath.

2007-06-29 Thread Jacob Nelson
My webobjects application will not run when I include the PayPal sdk .jar files in my default java classpath. Anyone run into this problem? I know my questions are a little light on the technical side so bare with me. -Jake ___ Do not post admin reques

Re: [Wonder-disc] log4j version update?

2007-06-29 Thread Simon McLean
Their refusal to ever consider open sourcing it (in spite of how Steve Jobs rants about how he looves open source) makes me feel even more animosity about the platform. Which bits of it would you like them to open up ? and why ? Just about everything i want to tinker with is alread

Re: [Wonder-disc] log4j version update?

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 1:37 PM, Steven Mark McCraw wrote: Their refusal to ever consider open sourcing it (in spite of how Steve Jobs rants about how he looves open source) makes me feel even more animosity about the platform. I think I know why they won't do this. No, I won't tell

Re: Selenium tests

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 11:02 AM, Simon McLean wrote: Hi Chuck, Here is a very simple example that fails every time under "run" but works under "walk" (i've included the log too): TravelPoint-CreateItinerary TravelPoint-CreateItinerary open /cgi-bin/WebObjects/TravelPo

Re: [Wonder-disc] log4j version update?

2007-06-29 Thread Steven Mark McCraw
I am not sure what happening here is fair anyway. You guys at wonder are doing the job of an open source community, giving Apple the tools it works with, and what is Apple doing in counterpart? Nothing! Or very little. WO does not evolve, or so slowly. Apple does not even maintain the tools. Apple

Re: [Wonder-disc] MS SQL Server and Deferred Constraints

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 1:08 PM, David Avendasora wrote: Okay, I've installed Wonder's Extensions framework and changed my Application class to call Chuck's code. Do you call it in the main() method just like I showed you? If you call it later, the DB context might already be created and the

Re: MS SQL Server and Deferred Constraints

2007-06-29 Thread David Avendasora
Okay, I've installed Wonder's Extensions framework and changed my Application class to call Chuck's code. But it's still not working. I'm still getting the COLUMN FOREIGN KEY constraint error. I'm not sure if I'm not calling the new Wonder functionality properly, or if It has to do with the

Re: Pretty printing?

2007-06-29 Thread Guido Neitzer
On 29.06.2007, at 13:00, Mike Schrag wrote: er.extensions.ERXApplication.responseCompressionEnabled=true Yeah, but that doesn't bring you all the nice benefits of compressing WS resources and so on. mod_gzip is really cool. .. if you use Project Wonder. Interesting enough that didn't wo

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Chuck Hill
Another solution is to use Ajax. Then the back button goes back to the previous page and not the previous batch. Chuck On Jun 29, 2007, at 7:19 AM, Miguel Arroz wrote: Hi! No. The problem is not the browser making the request or fetching from its cache. The problem is that the pager co

Re: Pretty printing?

2007-06-29 Thread Mike Schrag
er.extensions.ERXApplication.responseCompressionEnabled=true .. if you use Project Wonder. I've also wondered about this. Pretty Printing is tough, though, because it's often possible to cause some rendering artifacts if it's not done carefully. ms On Jun 29, 2007, at 10:27 AM, Guido Nei

Re: Caret Notation

2007-06-29 Thread Ulrich Köster
One additional node: Carat is not quite the same as super in java. Carat is part of the component hierarchy and not the class hierarchy. ^foo is a shortcut for this.parent().valueForBinding("foo"); uli Am 29.06.2007 um 18:41 schrieb Chuck Hill: Correct. On Jun 29, 2007, at 7:59 AM, Steven

Re: Problem with a form SOLVED(sort of)

2007-06-29 Thread Paul Lynch
You could always leave it in with a note that it is a case study for the inquisitive into the pros and cons of reengineering? Sort of a modern version of QED. Paul On 29 Jun 2007, at 19:07, Janine Sisk wrote: On Jun 29, 2007, at 10:53 AM, Chuck Hill wrote: Ah ha! So it is a bug in the

Re: Problem with a form SOLVED(sort of)

2007-06-29 Thread Janine Sisk
On Jun 29, 2007, at 10:53 AM, Chuck Hill wrote: Ah ha! So it is a bug in the tutorial. Oh Janine :-) Congratulations, that's the first non-typo problem report. Well, actually it probably is a typo, but in a bad place. ;) I guess it's time to get a a new version released. So m

Re: Selenium tests

2007-06-29 Thread Simon McLean
Hi Chuck, Here is a very simple example that fails every time under "run" but works under "walk" (i've included the log too): TravelPoint-CreateItinerary TravelPoint-CreateItinerary open /cgi-bin/WebObjects/TravelPoint.woa/wa/Nav/default click

Re: Problem with a form SOLVED(sort of)

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 4:47 AM, Sigurður E. Vilhelmsson wrote: OK, I've solved this puzzle (sort of), and it comes back to the Tutorial code. The tutorial instructs you to set the External Width of the MIME type field to 20. However, the model in the source code has it set to 200. Ah ha! So

Re: Finding binding in .wod file

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 3:50 AM, Mike Schrag wrote: It *sometimes* works ... It's a known bug though. The "tip" you gave me at WWDC to close and reopen the Outline view in Eclipse seems to work fine though ;-) And it brings shame to my family. I hear that his wife will no longer leave the ho

Re: Refreshing complete page from a header component

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 4:31 AM, Johan Henselmans wrote: I must be missing something: I have a header component, which contains the menubar, and sets the default language, by calling session.setlanguages() via a WOHyperlink. After that I want to return the current page. But a "return this" fro

Re: Refreshing complete page from a header component

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 6:39 AM, Steven Mark McCraw wrote: Can anyone comment on the benefits of returning context().page() vs. returning null for an action method? They both have the same effect (unless you are dong something funky / bad in your code but I will ignore that remote possibility

Re: Selenium tests

2007-06-29 Thread Chuck Hill
On Jun 29, 2007, at 8:13 AM, Simon McLean wrote: Hi All - I have some selenium tests that work when I "walk" through them, but fail when i "run" through them. Has anyone else seen this behavior ? Any known workarounds ? Thanks, Simon ps. i am using Selenium IDE with chuck's wolocators.js

Re: Caret Notation

2007-06-29 Thread Chuck Hill
Correct. On Jun 29, 2007, at 7:59 AM, Steven Mark McCraw wrote: So caret notation only works if you're not synchronizing bindings? On Jun 29, 2007, at 10:54 AM, Jean-François Veillette wrote: The component TextFieldCalendar should not synchronize it's bindings. - jfv Le 07-06-29 à 10:50,

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread Chuck Hill
Yes: please, please take a very few minutes out of your day and respond to this. Chuck On Jun 29, 2007, at 12:41 AM, Fabrice Pipart wrote: Just for those hesitating... It is quick to answer (far quicker than Apple surveys !) and it focuses on the important points : everyone should answer th

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Paul Lynch
That's all a matter of perspective. It may be easier to change your perspective slightly than to rewrite your application :-). I'd say that the vast majority of web applications, not just WO ones, work by refreshing backtracked pages. Paul On 29 Jun 2007, at 15:19, Miguel Arroz wrote:

Re: Refreshing complete page from a header component

2007-06-29 Thread Johan Henselmans
On 29-jun-2007, at 15:17, Paul Lynch wrote: On 29 Jun 2007, at 12:31, Johan Henselmans wrote: I must be missing something: I have a header component, which contains the menubar, and sets the default language, by calling session.setlanguages() via a WOHyperlink. After that I want to ret

web.xml.template Variable Definitions

2007-06-29 Thread David Avendasora
Hi all, I am deploying to SSDD and in my project I have a web.xml.template document. In it are several variables, %WOAppMode% for example. Where are these values set? When I build my application in Xcode (yes, I know, I know), %WOAppMode% is always replaced with "Development" even when I

Re: Selenium tests

2007-06-29 Thread Kieran Kelleher
What does the error on the failed line say? On Jun 29, 2007, at 11:13 AM, Simon McLean wrote: Hi All - I have some selenium tests that work when I "walk" through them, but fail when i "run" through them. Has anyone else seen this behavior ? Any known workarounds ? Thanks, Simon ps. i am

Re: Caret Notation

2007-06-29 Thread Jean-François Veillette
The component TextFieldCalendar should not synchronize it's bindings. - jfv Le 07-06-29 à 10:50, Steven Mark McCraw a écrit : Hi all, I've always thought that using caret notation was a good idea when creating reuseable components, but it only seems to work for me about half the time, so

Re: Caret Notation

2007-06-29 Thread Jean-François Veillette
In that case, yes. Because wo will try to assign all the bindings : setDate(...); setDefault(...); oops doesn't work ! So yes you do not want to sync the bindings if you can't do 'setDefault()' But you could still sync the bindings, have an empty 'setDefault' implementation. And the

Selenium tests

2007-06-29 Thread Simon McLean
Hi All - I have some selenium tests that work when I "walk" through them, but fail when i "run" through them. Has anyone else seen this behavior ? Any known workarounds ? Thanks, Simon ps. i am using Selenium IDE with chuck's wolocators.js IDE extensions, not ERSelenium _

Re: Caret Notation

2007-06-29 Thread Steven Mark McCraw
So caret notation only works if you're not synchronizing bindings? On Jun 29, 2007, at 10:54 AM, Jean-François Veillette wrote: The component TextFieldCalendar should not synchronize it's bindings. - jfv Le 07-06-29 à 10:50, Steven Mark McCraw a écrit : Hi all, I've always thought that us

Caret Notation

2007-06-29 Thread Steven Mark McCraw
Hi all, I've always thought that using caret notation was a good idea when creating reuseable components, but it only seems to work for me about half the time, so I'm not sure I fully understand it. I have a component that has a textfield whose "default" binding should be inherited from i

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Miguel Arroz
Hi! No. The problem is not the browser making the request or fetching from its cache. The problem is that the pager component (and controller) internal structures are always in the last state. ie, imagine the controller has an array of the elements that are visible on the current page.

Re: Pretty printing?

2007-06-29 Thread Guido Neitzer
On 29.06.2007, at 06:05, Lachlan Deck wrote: has anyone used any pretty printing for WO responses? Any suggestions? There can be a *lot* of white space in the output when you've got lots of little reusable components in play. To get smaller transfer sizes and better transfer times, we use

Re: Refreshing complete page from a header component

2007-06-29 Thread Paul Lynch
Returning null is quite interesting, as it seems to return (so I was once told) the last component used to generate a page - like possibly an email page component. I haven't bothered to personally verify this, but plenty of people have reported similar situations. I take the approach of le

Re: Refreshing complete page from a header component

2007-06-29 Thread Steven Mark McCraw
Can anyone comment on the benefits of returning context().page() vs. returning null for an action method? Returning context().page() seems to not work when using Wonder Ajax components, so I always return null there. Someone who worked at Apple once told me that returning context().page(

Re: Problem with a form SOLVED(sort of)

2007-06-29 Thread Paul Lynch
On 29 Jun 2007, at 12:47, Sigurður E. Vilhelmsson wrote: The tutorial instructs you to set the External Width of the MIME type field to 20. However, the model in the source code has it set to 200. So, when you run the tutorial source, my MIME type problem doesn't come up. However, if you look

Re: Refreshing complete page from a header component

2007-06-29 Thread Paul Lynch
On 29 Jun 2007, at 12:31, Johan Henselmans wrote: I must be missing something: I have a header component, which contains the menubar, and sets the default language, by calling session.setlanguages() via a WOHyperlink. After that I want to return the current page. But a "return this" from wi

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread David Ress
Thanks, a great idea. David On Jun 28, 2007, at 8:45 PM, Pascal Robert wrote: Hello fellow WO dudes, before the WWDC hype go down, I think it's time to make a better picture of the WebObjects community. So I created a online survey where you can give input both to Apple and the communit

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread Pascal Robert
Ah... nice work. But do I answer as a company or as a developer? Questions like „If the community releases online or DVD training, ...?“ I would answer as company. But „ If the community create a podcast ...“ I'd answer as a developer. What should I do? Answer as both :-) Someone told me

Pretty printing?

2007-06-29 Thread Lachlan Deck
Hi there, has anyone used any pretty printing for WO responses? Any suggestions? There can be a *lot* of white space in the output when you've got lots of little reusable components in play. Thanks. with regards, -- Lachlan Deck ___ Do not pos

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread Alexander Spohr
Ah... nice work. But do I answer as a company or as a developer? Questions like „If the community releases online or DVD training, ...?“ I would answer as company. But „ If the community create a podcast ...“ I'd answer as a developer. What should I do? atze Am 29.06.2007 um 02:45

Problem with a form SOLVED(sort of)

2007-06-29 Thread Sigurður E. Vilhelmsson
OK, I've solved this puzzle (sort of), and it comes back to the Tutorial code. The tutorial instructs you to set the External Width of the MIME type field to 20. However, the model in the source code has it set to 200. So, when you run the tutorial source, my MIME type problem doesn't come up.

Re: Refreshing complete page from a header component

2007-06-29 Thread Daniele Corti
2007/6/29, Johan Henselmans <[EMAIL PROTECTED]>: I must be missing something: I have a header component, which contains the menubar, and sets the default language, by calling session.setlanguages() via a WOHyperlink. After that I want to return the current page. But a "return this" from within t

Refreshing complete page from a header component

2007-06-29 Thread Johan Henselmans
I must be missing something: I have a header component, which contains the menubar, and sets the default language, by calling session.setlanguages() via a WOHyperlink. After that I want to return the current page. But a "return this" from within the Header WOComponent will only return the h

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread Mike Schrag
No 5.4 on the "which version of WO are you using" :) ms On Jun 28, 2007, at 8:45 PM, Pascal Robert wrote: Hello fellow WO dudes, before the WWDC hype go down, I think it's time to make a better picture of the WebObjects community. So I created a online survey where you can give input bot

Re: Finding binding in .wod file

2007-06-29 Thread Mike Schrag
It *sometimes* works ... It's a known bug though. The "tip" you gave me at WWDC to close and reopen the Outline view in Eclipse seems to work fine though ;-) And it brings shame to my family. It needs to be fixed, I just haven't gotten to it. I've been working on standalone Entity Modeler

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Pierre Bernard
Check out the backtracking code at http://www.bernard-web.com/pierre Does exactly that. On Jun 28, 2007, at 11:31 PM, Miguel Arroz wrote: Hi! Ok, this is a weird question. My problem is this: I implemented a pager and a pager controller. (I know all this stuff is in Wonder, but I'm a guy

Re: Problem with a form

2007-06-29 Thread Sigurður E. Vilhelmsson
You're correct, that is the error reported. But the problem is that this happens when I don't want to update that field. With no file selected in the FileUpload field, the MIME type is still reported application/octet-stream, when it should be empty. So if I bump up the field size, the MIME typ

Re: Blank page after LongResponse !!! :-(

2007-06-29 Thread Daniele Corti
2007/6/29, Shravan Kumar.M <[EMAIL PROTECTED]>: Thanks for your reply Daniele. We have same version of WO in MS Windows and Mac i.e., WO 5.2.4 and same .woa on both the OS's Eclipse Version on MS Windows - 3.1.0 Eclipse Version on Mac - 3.1.2 OffTopic, but It's better to update Eclipse at 3.

Re: Blank page after LongResponse !!! :-(

2007-06-29 Thread Shravan Kumar.M
Thanks for your reply Daniele. We have same version of WO in MS Windows and Mac i.e., WO 5.2.4 and same .woa on both the OS's Eclipse Version on MS Windows - 3.1.0 Eclipse Version on Mac - 3.1.2 Thanks & Rgds, Shravan Kumar.M "Let us learn from the past to profit by the present,and from the

Re: Blank page after LongResponse !!! :-(

2007-06-29 Thread Daniele Corti
Oh, probably you've find out a bug in the Mac WOLips runtime... If your apps are the same, I don't see any other explanation... Or, maybe, did you check the WO version on the windows machine and on the Mac? If they are the same, so all that remain is a bug. PS. A little consideration: when thing

Re: Blank page after LongResponse !!! :-(

2007-06-29 Thread Shravan Kumar.M
Additional information: One important thing actually I miss to inform is, this problem is generated only when we access our application launched through Eclipse on Mac during development phase whereas accessing the same application launched from Eclipse on MS

Re: How to preserve all the states of stateful components?

2007-06-29 Thread Paul Lynch
On 28 Jun 2007, at 22:31, Miguel Arroz wrote: The pager kicks ass, as it handles huge amount of data, using the objectInRange stuff in Wonder to limit the resources usage. Everything works like a charm. Except... when the user clicks the evil back button. There, two things happen: fir

Re: [ANN] WebObjects Community Survey 2007 !

2007-06-29 Thread Fabrice Pipart
Just for those hesitating... It is quick to answer (far quicker than Apple surveys !) and it focuses on the important points : everyone should answer this ! Thanks Pascal ! On Jun 29, 2007, at 2:45 AM, Pascal Robert wrote: Hello fellow WO dudes, before the WWDC hype go down, I think it's time

Re: Finding binding in .wod file

2007-06-29 Thread Fabrice Pipart
On Jun 26, 2007, at 5:41 PM, Mike Schrag wrote: After installing the latest Eclipse and WOLips, as of a week ago or so, I'm no longer able to click on a webobject tag in a .html file (Name="clickonthisname") and have it automatically find the binding in the .wod file. Is there a new setti