Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
There is a package in Project Wonder named er.extensions.net.http; author ishimoto based on the Apache commons. Not sure if anyone is using it? thanks. On Dec 21, 2012, at 4:59 PM, Ramsey Gurley wrote: > The comment from one of my commits to a HttpClient utils class: > > "Seriously, they defa

Re: Direct Action help?

2012-12-21 Thread Ramsey Gurley
The comment from one of my commits to a HttpClient utils class: "Seriously, they default to US-ASCII on requests and ISO-8859-1 on responses? WTH man? Response should have a charset anyway, but explicitly setting UTF-8 just in case." It's better than URLConnection, yes. Just don't assume the de

Re: Multiple databases an EOModel.

2012-12-21 Thread Larry Mills-Gahl
Ramsey is right. There are lots of pitfalls. Losing FK constraints is a pain and I miss it, but it's something I can deal with … not ideal, but not a killer. Reassigning IDs and merging data is the biggest problem and we are helped by the fact that most of our data comes to us and is loaded from

Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
Actually HTTPClient from ApacheCommons looks much less daunting than java.net.HttpURLConnection, so I will give it a try. Thanks for the suggestions. > On Dec 21, 2012, at 2:22 PM, Chuck Hill wrote: > >> It does not sound like you want a direct action. I think you want something >> more like j

Re: Direct Action help?

2012-12-21 Thread Chuck Hill
It does not sound like you want a direct action. I think you want something more like java.net.HttpURLConnection or HTTPClient from the Apache commons. Chuck On 2012-12-21, at 2:11 PM, Mai Nguyen wrote: > Yes, if I can call performActionNamed: to get a WOActionResults and get the > response

Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
Yes, if I can call performActionNamed: to get a WOActionResults and get the response. But the problem is that I need to call a validateURLS() which calls an external app to do validation. Maybe I have to use WODirectActionRequestHandler directlynot sure. thanks On Dec 21, 2012, at 2:02 PM

Re: Direct Action help?

2012-12-21 Thread John Huss
A redirect does not have a content body, just a status code and a Location header. On Fri, Dec 21, 2012 at 3:48 PM, Mai Nguyen wrote: > Hi List, > I have read David LeBer's very good blog about Direct Actions, but I am > still unclear how to get the http response returned by a DA? Or is it > pos

Direct Action help?

2012-12-21 Thread Mai Nguyen
Hi List, I have read David LeBer's very good blog about Direct Actions, but I am still unclear how to get the http response returned by a DA? Or is it possible? For example, I have the following code, as the redirect is needed to call a DA to do further validation. The DA inside the URL (that I

Models not connecting in different projects.

2012-12-21 Thread Larry Mills-Gahl
I am just turning up a new development machine and am moving projects over to the new eclipse (still indigo) and am having difficulty launching projects that have launched perfectly well on the old laptop. The issue is models not connecting. To try to track down the problem, I've created a new

Re: time selection

2012-12-21 Thread Tim Worman
I use pop-ups for time entry - one for hours and one for minutes (0, 15, 30, 45). I have a Time class that extends Number for doing math. T On Dec 20, 2012, at 9:02 AM, Theodore Petrosky wrote: > As I am thinking the user will be limited to Hours and half hours, i.e.: > 12:00 or 12:30, I was

Re: Migrations problem with FrontBase

2012-12-21 Thread Cheong Hee (Gmail)
Thanks. Read through the ERPrototypes documentation, I think this is by far the most up-to-date. The doc shows: 1. set up for ERPrototypes framework 2. set up for EOModeler 3. set up your frameworks 4. set up your applications Following this guide, thing should be in better order. Cheers

Re: problem of accents on FR data

2012-12-21 Thread Raymond NANEON
Hi Stéphan, Thanks a lot. I am in holydays. I go to try it when I will go back at office. Have nice day Envoyé de mon iPhone Le 20 déc. 2012 à 16:25, Stéphan Mertz a écrit : > And add this in the Application init to replace the original OracleExpression > (you must change the IVOracleExpressio

Re: Migrations problem with FrontBase

2012-12-21 Thread Cheong Hee (Gmail)
Another possible setting in property that will override setting in eomodel: erprototypes.EOPrototypesEntity=EOJDBCMySQLPrototypes Cheers Cheong Hee - Original Message - From: Ângelo Andrade Cirino To: Cheong Hee (Gmail) Cc: Chuck Hill ; webobjects-dev@lists.appl