Http Adaptor and UTF-8 encoded URL

2007-05-24 Thread Alexis Tual
but i couldn't find any differences... Has anyone already run into something similar ? This drives me nuts ! Thanks, Alexis TUAL ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: Http Adaptor and UTF-8 encoded URL

2007-05-24 Thread Alexis Tual
Le 24 mai 07 à 18:32, Chuck Hill a écrit : On May 24, 2007, at 5:13 AM, Alexis Tual wrote: Hello everyone, i've localized an application, turning all in UTF-8 with the help of the mighty Practical WO (chapter 8). All works fine, except the URLs encoded in UTF-8. I've added

Re: Http Adaptor and UTF-8 encoded URL [Solved]

2007-05-25 Thread Alexis Tual
Hill a écrit : On May 24, 2007, at 12:33 PM, Alexis Tual wrote: Le 24 mai 07 à 18:32, Chuck Hill a écrit : On May 24, 2007, at 5:13 AM, Alexis Tual wrote: Hello everyone, i've localized an application, turning all in UTF-8 with the help of the mighty Practical WO (chapter 8). All

Re: True war deployment and WebServerResources

2009-08-03 Thread Alexis Tual
with his message War / Maven / Jar Build – How Does it Work wi th Eclipse's Build Automatically? Thanks for your answers, Alexis Le 1 août 09 à 15:18, Alexis Tual a écrit : Hi list, i'm in the process of mavenizing and deploying a wonder application as a true war. Mavenization worked well

Re: True war deployment and WebServerResources

2009-08-03 Thread Alexis Tual
Thanks Mr Brown, it was indeed the Info.plist that was not correctly filtered... When completed everything shows up : ERXStylesheet, ERXImage... great ! Alexis Le 3 août 09 à 13:50, Alexis Tual a écrit : Hi, Check out: http://wiki.objectstyle.org/confluence/display/WOL/Packaging+WO

Re: True war deployment and WebServerResources

2009-08-04 Thread Alexis Tual
Hello Andrew, Le 3 août 09 à 23:41, Andrew Lindesay a écrit : Hello Alexis; (3.aug.2009) Andrew Lindesay faces the same issue with his message War / Maven / Jar Build – How Does it Work wi th Eclipse's Build Automatically? I have lodged an issue with Apple about this and they are aware

java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2009-09-29 Thread Alexis Tual
Hi list, i'm using wonder 5.0.0-9638 (5.4 classifier, yes i'm mavenized), webobjects 5.4.3 and get the following error when clicking an AjaxSubmitButton : java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders(Lcom/ webobjects/foundation/NSDictionary;)V at

Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2009-09-30 Thread Alexis Tual
Problem solved, i upgraded to version 5.0.0-r9933 (22 sept. 2009) and it seems to work now... i guess version 5.0.0-9638 was bogus. Alex Le 29 sept. 09 à 18:07, Alexis Tual a écrit : Hi list, i'm using wonder 5.0.0-9638 (5.4 classifier, yes i'm mavenized), webobjects 5.4.3 and get

Mavenized project and custom components

2009-10-07 Thread Alexis Tual
Hi list, i'm using the maven layout structure on a new project (woapplication- archetype 2.1). When i launch the application with WOLips, custom component classes cannot be found , i get the following error : WorkerThread0 WOBundle.lookForClassInAllBundles(MyComp) failed! [2009-10-7 17:57:9

Re: Mavenized project and custom components

2009-10-08 Thread Alexis Tual
application again and check if the problem was solved. Cheers, Henrique Alexis Tual wrote: Hi list, i'm using the maven layout structure on a new project (woapplication-archetype 2.1). When i launch the application with WOLips, custom component classes cannot be found , i get the following error

Re: WO alternatives

2009-10-09 Thread Alexis Tual
Le 9 oct. 09 à 15:28, Pascal Robert a écrit : Le 09-10-09 à 08:00, Q a écrit : On 09/10/2009, at 9:07 PM, Pascal Robert wrote: I'm wondering if we can just migrate and adapt Wonder on top of a project like GETobjects so that we can have a exit point, just in case... GETObjects, not

Re: ERProfiling

2010-01-20 Thread Alexis Tual
I've just taken a look to the documentation, that seems just impressive... I mean : Once you turn on heat maps, future requests will have colored boxes drawn around expensive areas of the page. The closer the border colors on your page are to red, the more expensive they were. That's just

Re: ERProfiling

2010-01-20 Thread Alexis Tual
, Alexis Tual wrote: I've just taken a look to the documentation, that seems just impressive... I mean : Once you turn on heat maps, future requests will have colored boxes drawn around expensive areas of the page. The closer the border colors on your page are to red, the more expensive they were

Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2010-05-10 Thread Alexis Tual
was compiled against wo 5.4.3 even the wo53 classifier jar. Anybody having this issue ? I'll try to compile wonder with maven and see if i can make it work. Thanks Alex 2009/9/30 Alexis Tual alexis.t...@gmail.com Problem solved, i upgraded to version 5.0.0-r9933 (22 sept. 2009) and it seems

Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2010-05-11 Thread Alexis Tual
with wo53 profile, one with wo54 profile... Thanks 2010/5/10 Alexis Tual alexis.t...@gmail.com Hi list, i'm facing a similar problem, this time on a project using wo 5.3.3 with maven and latest fake release of wonder (5.0.0-r10779http://wo-repository.moleque.com.br/nexus/content/groups/public

Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2010-05-26 Thread Alexis Tual
-SNAPSHOT/ version classifierwo53/classifier /dependency 2010/5/11 Alexis Tual alexis.t...@gmail.com Continuing my monolog, i've compiled wonder frameworks with maven rather smoothly : mvn clean install -P wo53 -Dwoversion=5.3.3 ... and it works at runtime. Henrique, could you please check

Maven build and CFBundleShortVersionString

2010-06-11 Thread Alexis Tual
Hi list and maven guys, i'd like to add the CFBundleShortVersionString param in Info.plist 's maven built frameworks (mine and in wonder frameworks) Has anyone already done that ? If not, where can i find the source code of maven-wolifecycle-plugin ? Thanks for your answers Alex

Re: Maven build and CFBundleShortVersionString

2010-06-11 Thread Alexis Tual
Thanks for your suggestions Lachlang and Henrique. Le 11 juin 2010 à 22:17, Henrique Prange a écrit : Hi Alexis, On 11/06/10 13:24, Alexis Tual wrote: Hi list and maven guys, i'd like to add the CFBundleShortVersionString param in Info.plist 's maven built frameworks (mine and in wonder

Re: Maven build and CFBundleShortVersionString

2010-06-12 Thread Alexis Tual
Le 12 juin 2010 à 12:06, Lachlan Deck a écrit : On 12/06/2010, at 8:18 AM, Alexis Tual wrote: Le 11 juin 2010 à 22:17, Henrique Prange a écrit : On 11/06/10 13:24, Alexis Tual wrote: Hi list and maven guys, i'd like to add the CFBundleShortVersionString param in Info.plist 's maven

Re: [OT] Service Mapping Description with REST?

2010-06-18 Thread Alexis Tual
I haven't worked with this but came across WADL generated by jersey (REST Library for java) https://wadl.dev.java.net/ Alex Le 18 juin 2010 à 18:26, Pascal Robert a écrit : I was wondering if REST had something similar to WSDL, eg a standard that let you find out available services. And

Re: [OT] Service Mapping Description with REST?

2010-06-19 Thread Alexis Tual
I tend to agree. I think there's a need to create (semi automatically) some kind of documentation of a REST API though. Alex Le 19 juin 2010 à 14:59, Anjo Krank a écrit : Heh. Don't you think it's kinda typical for IBM to take sth that's supposed to be a simple replacement of SOAP and

Maven build and flattened resources

2010-06-21 Thread Alexis Tual
Hi list and fellow maven users, i need to have flattened resources in my own jar built frameworks. Why ? Because it fails to find the components inside subfolders. So as written in the wiki, i did this : configuration flattenResourcestrue/flattenResources /configuration It works ok but

Re: Problem with Ajax Components in AjaxModalDialog...

2010-07-01 Thread Alexis Tual
Hi, Try to put your form inside the AjaxModalDialog, and of course to define your dialog outside an existing form. Cheers, Alex Le 1 juil. 2010 à 14:24, Sreenivasulu A a écrit : Hi All, I am facing issues with AjaxModalDialog. I am having AjaxModalDialogOpener in my Form. When I click

Re: http://wiki.objectstyle.org/ is not loading home page fully

2010-07-07 Thread Alexis Tual
Works fine here too (firefox 3.6.6) Cheers, Alex Le 7 juil. 2010 à 15:57, Kieran Kelleher a écrit : Hi Andrus, http://wiki.objectstyle.org/ is not loading home page fully. Maybe you can check to see the problem please. Thanks, Kieran ___

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Alexis Tual
Le 8 juil. 2010 à 16:23, Greg Lappen a écrit : I did turn on database logging. What I saw was that the app selected the next value from a sequence, then paused for 20 seconds, then did an insert (and then did 20 other sql statements within a second). It does the same exact thing each

Re: Migrations in Production?

2010-07-13 Thread Alexis Tual
If you can't use ERXMigration, you might want to check Liquibase which can execute changesets via ant or maven, as well as generate sql corresponding to these changesets in case your dba want to view and execute them himself. Cheers, Alex Le 13 juil. 2010 à 20:00, Farrukh Ijaz a écrit :

Re: Does Apple stop to use WebObjects for its internal tools?

2010-09-10 Thread Alexis Tual
Apple has public web properties that are static html, php, struts, jsf, jsp, sproutcore, webobjects, and I'm sure others Not to mention Gianduia ? :) Alex Le 10 sept. 2010 à 14:22, Mike Schrag a écrit : Here's my slightly less grumpy response :) Apple, like any smart company, makes

Re: Does Apple stop to use WebObjects for its internal tools?

2010-09-10 Thread Alexis Tual
, core data... Alex Le 10 sept. 2010 à 18:37, David BON a écrit : Hoping a spoiler? +1 :-) David B. Le 10 sept. 10 à 14:52, Alexis Tual a écrit : Not to mention Gianduia ? :) ___ Do not post admin requests to the list. They will be ignored

Re: Does Apple stop to use WebObjects for its internal tools?

2010-09-11 Thread Alexis Tual
I've tried it, not used it for a real job. I think it's a decent tool to avoid writing some UI code by hand. IMO on this no HTML approach, Cappucino is more promising along with their IB clone http://280atlas.com/what.php Alex Le 11 sept. 2010 à 01:06, Mike Schrag a écrit : On the subject,

Maven build and stdFrameworks = true

2010-10-26 Thread Alexis Tual
Hi list and fellow maven users, the deployment guys want to have woa's without standard webobjects frameworks embedded. This can be done with the skipAppleProvidedFrameworks param but unfortunately the generated Classpath*.txt do not contain the lines :

Re: Snapshots mysteriously vanishing?

2010-11-03 Thread Alexis Tual
Hi and thanks for your detailed answer, just adding my 2ct : we've got the same errors in the same environment : deep nested editing context's. (WO 5.3 + Wonder, don't know about 5.4 though) At that time, the only workarounds we found were : - when possible, reducing the level of nested

Re: AjaxTabbedPanel ??? V2

2011-01-17 Thread Alexis Tual
As AjaxTabbedPanelTab is stateless (dynamic element) you should help him maintain its selected state by binding isSelected to a settable variable. If you do not, it will appears selected on the client view, but will not be considered selected on the server side and thus may not

Re: not to start something but:

2011-03-13 Thread Alexis Tual
I tend to agree but GWT lacks WO (or Cocoa) architectural goodness that makes us write maintainable and internally beautiful apps. For example, they did not integrate MVC support from the start (because you know, it's a toolkit not a framework...), they added stuff to lead you to eventually

Re: not to start something but:

2011-03-13 Thread Alexis Tual
big pieces missing from GWT. John On Sun, Mar 13, 2011 at 4:36 AM, Alexis Tual alexis.t...@gmail.com wrote: I tend to agree but GWT lacks WO (or Cocoa) architectural goodness that makes us write maintainable and internally beautiful apps. For example, they did not integrate MVC support from

setValueForBinding findings

2011-03-14 Thread Alexis Tual
Hi list, just wanted to share my friday headache findings : if you happen to have a setValueForBinding(value, binding) that sometimes does not call the corresponding setter on the parent, it might be that WO first verifies if the current value is different from the value to set. If not, it does

Re: Scheduled Actions

2011-03-31 Thread Alexis Tual
Bonjour Philippe, That's interesting, we've done something similar but very specific to our ERP (several apps - one BDD) : - modeling and persisting of scheduled actions with our own eomodel - scheduling with quartz : one scheduler with RAMJobStore for an entire app, that's a limitation due to

Re: Scheduled Actions

2011-03-31 Thread Alexis Tual
Le 31 mars 2011 à 17:17, Philippe Rabier a écrit : On 31 mars 2011, at 14:06, Alexis Tual wrote: Bonjour Philippe, Bonjour Alexis (did you recognize my accent? ;-)) Yes french people tend to recognize themselves, but alors ! That's interesting, we've done something similar but very

Re: Fetching on 2 EOMODELS using different schema in DATABASE with but have relationship

2011-05-11 Thread Alexis Tual
Hi, in your eomodel, you should prefix your tables names by the schema they belong to. You should also use a single user to connect to your db, this user must have access to all the schemas used by your eomodels. This can be done in Properties of your app : dbConnectURLGLOBAL =

Re: qualifier to check for empty toMany

2011-05-11 Thread Alexis Tual
Hi, John is right, if you have A - B, this should work : EOQualifier qual = new ERXExistsQualifier( ERXQ.isNotNull(B.A_FK_KEY) , A.TO_BS_KEY); ERXFetchSpecificationA spec = new ERXFetchSpecificationA(A.ENTITY_NAME, qual, null); (not tested though) hope it helps Alex Le 12 mai 2011 à 00:00,

Re: qualifier to check for empty toMany

2011-05-12 Thread Alexis Tual
); From:Alexis Tual alexis.t...@gmail.com To:John Huss johnth...@gmail.com Cc:Fred Wells fred.we...@marketforward.com, webobjects-dev@lists.apple.com Date:05/11/2011 05:22 PM Subject:Re: qualifier to check for empty toMany Hi, John is right

Re: qualifier to check for empty toMany

2011-05-13 Thread Alexis Tual
There's a simple way if you have a A - B, to fetch all the A's having no B's : EOQualifier qual = ERXQ.isNull(A.TO_BS_KEY + . + B.ID_KEY); Beware, the to-many relationship must be of type Left Outer in your model Hope it helps. Alex Le 11 mai 2011 à 23:29, Fred Wells a écrit : Hey all,

Re: Duplicated data after fetching on a view

2011-06-09 Thread Alexis Tual
Hi Naneon, my guess is that your entities mapping your views have no primary key defined (i'm not sure it's even allowed)... or the primary key defined is not one (not unique) Cheers Alex Le 9 juin 2011 à 11:00, naneon.raym...@neuf.fr a écrit : Hi All, I create a view to get all data I

Re: How to get each CheckBox value inside a WORepetition Bind to the same variable

2011-06-17 Thread Alexis Tual
Hi, you need an array to store the selected objects, here's un example to a selection of movies. Bind the checkbox's selection to movieSelected : public boolean movieSelected() { return selectedMovies.containsObject(currentMovie); } public boolean setMovieSelected(boolean checked) {

Re: How to get each CheckBox value inside a WORepetition Bind to the same variable

2011-06-17 Thread Alexis Tual
Erf sorry my bad, see below : Le 17 juin 2011 à 10:32, Alexis Tual a écrit : Hi, you need an array to store the selected objects, here's un example to a selection of movies. Bind the checkbox's selection to movieSelected : You need to use the checked binding of WOCheckBox, not selection

Re: How to get each CheckBox value inside a WORepetition Bind to the same variable

2011-06-17 Thread Alexis Tual
: ingenieurCheck : WOCheckBox { class = texte; name = ingenieur; checked = isIngChecked; //value = currentIngenieur.diplSpecAbr; //onclick = IngChecked(this.form); } Ray Message du : 17/06/2011 De : Alexis Tual

Re: Dependent popups on the same line

2011-06-29 Thread Alexis Tual
Hi, you could set the elementName binding of AjaxObserveField to span Cheers Alex Le 29 juin 2011 à 04:43, Stavros Panidis a écrit : Hi, I try to reproduce DependentListsExample from AjaxExample in my project. My question: Is it possible to keep dependent popups on the same line?

Re: You backtracked too far error after closing AjaxModalDialog and clicking on a link on the page

2011-07-13 Thread Alexis Tual
Hi, have you tried to raise the er.extensions.maxPageReplacementCacheSize (default is 30) ? It should delay the page restauration error, not fixing the real issue... and if you have few users and enough memory, it might be the cheapest way to get it done. Anyway, I filled a jira for this a

Re: Performance Questions

2011-07-29 Thread Alexis Tual
An example of all that John said is available there thanks to Kieran : https://github.com/projectwonder/wonder/tree/master/Examples/Misc/BackgroundTasks Alex Le 29 juil. 2011 à 16:52, Andrew Kinnie a écrit : Thanks. I may give that a try. That was one of the other options I thought of,

Re: WOLips on eclipse 3.7

2011-08-01 Thread Alexis Tual
Thanks for your suggestion, I've tried that with no luck Alex Le 1 août 2011 à 16:37, Marius Soutier a écrit : Have you tried renaming the folder from eclipse-indigio to e.g. EclipseIndigo? On 01.08.2011, at 16:22, Alexis Tual wrote: Hi list, I've just switched to eclipse 3.7

Re: WOLips on eclipse 3.7

2011-08-01 Thread Alexis Tual
That works if I set the eomodel absolute path in the eogen file. Something must be wrong with my setup, that's weird I tried also with a clean workspace (-clean and no custom prefs) Alex Le 1 août 2011 à 16:41, Alexis Tual a écrit : Thanks for your suggestion, I've tried that with no luck

Re: WOLips on eclipse 3.7

2011-08-02 Thread Alexis Tual
gets dependent on a tool… On 02/08/2011, at 12:22 AM, Alexis Tual wrote: Hi list, I've just switched to eclipse 3.7 with WOLips from http://webobjects.mdimension.com/hudson/job/WOLips37Current/lastSuccessfulBuild/artifact/site/ Everything seemed to work fine until I tried to eogenerate

Re: setUser() vs. setUserRelationship()

2011-08-05 Thread Alexis Tual
That would be ironic to have an ERXUnmodeledToManyRelationship modeled in EntityModeler though :) Alex Le 5 août 2011 à 17:53, Ricardo J. Parada a écrit : Yes, you're right. :-) I found ERXUnmodeledToManyRelationship in your presentation but nowhere you said it was part of entity

Re: Bundle Name Problem

2011-08-17 Thread Alexis Tual
You should do a full clean of your workspace (Project Clean). To avoid this issues later, assuming you're using Wonder, you should turn off generating bundles (Eclipse Preferences WOLips Build, uncheck generates bundles) Alex Le 17 août 2011 à 06:34, Jeff Schmitz a écrit : After getting

Re: Look, a displaygroup!

2011-08-19 Thread Alexis Tual
Hi Johan, there's a somehow tada way in Wolips : in the component editor, there's a Display Groups tab where you can add and edit properties of a display group. I've never used it though, Cheers Alex Le 19 août 2011 à 09:53, Johan Henselmans a écrit : I remember that in the old days it was

Re: AjaxDatePicker on ModalDialogBox

2011-10-12 Thread Alexis Tual
Hello, that sounds familiar, you might want to check this : http://lists.apple.com/archives/webobjects-dev/2011/Sep/msg00288.html and the fix : https://github.com/alextu/wonder/commit/25f57ecf4241503d991fa52dc2efbd19c45843ff Cheers, Alexis Le 12 oct. 2011 à 21:22, Chris Pastore a écrit :

Re: WOTabPanel - Refresh page problem

2011-10-13 Thread Alexis Tual
Hi, use CCTabPanel from Wonder to have your form values submitted when switching tabs, Cheers, Alex Le 13 oct. 2011 à 11:14, Raymond NANEON a écrit : Hi, I use WOTabPanel for the first time and I'm surprise on how this component works. It refreshes the page each time you select a new tab

Re: Rép : Re: WOTabPanel - Refresh page problem

2011-10-13 Thread Alexis Tual
/master/Frameworks/Ajax/ERCoolComponents If this is too much trouble, there's ERXTabPanel that does a similar job (I guess) And have you seen my topic about AutoCompletion and getEntity pk? Not yet, Alex Thanks Envoyé depuis iCloud Le 13 oct 2011 à 02:22, Alexis Tual alexis.t

Re: AjaxDatePicker on ModalDialogBox

2011-10-13 Thread Alexis Tual
, Alex Le 13 oct. 2011 à 17:31, Paul Yu a écrit : I just ignore my IE customers and tell them to switch. ;) Paul On Oct 13, 2011, at 11:29 AM, Alexis Tual wrote: Hi, Le 13 oct. 2011 à 17:08, Chris Pastore a écrit : Alexis, That does seem to do the trick! Are there any plans

Re: AjaxDatePicker on ModalDialogBox

2011-10-13 Thread Alexis Tual
for any help/information. Thanks, Chris Pastore you're welcome, Alex On Oct 12, 2011, at 3:41 PM, Alexis Tual wrote: Hello, that sounds familiar, you might want to check this : http://lists.apple.com/archives/webobjects-dev/2011/Sep/msg00288.html and the fix : https://github.com

Re: How to access WOApplication variables from inside a framework

2011-10-21 Thread Alexis Tual
If you do that, you need to make your framework depend on your app, which is wrong. Instead I would create a ERXFrameworkPrincipal to provide the app a unique Pilot instance... Less Woish, your framework could also have a IPilotProvider interface implemented by Application classes and then you

Re: Maven

2011-11-16 Thread Alexis Tual
Le 16 nov. 2011 à 23:26, Hugi Thordarson a écrit : Aloha over there in Bhutranio! There's TWO WebObjects developers on Iceland?! There are more. Atli Páll is the pseudonym our 2000+ strong Icelandic iTunes Store slave labor camp posts under. Are you real, or just the corporeal

Re: tinyMCE and AjaxTabbedPanel, AjaxTabbedPanelTab

2011-12-09 Thread Alexis Tual
Hi Raymond, when doing ajax, you have to re-init the tinymce editor, in your case something like should work : ProblematiqueTab : AjaxTabbedPanelTab { name = Problematique; isSelected = problematiqueTabSelected; id = tabProblematiqueId; onLoad = function() {

Re: ERRest tutorial

2012-01-02 Thread Alexis Tual
Hi Pascal and the list, best wishes for 2K12 ! Thanks for this tutorial, but I have some questions : - Where is the new Wonder REST Application wizard ? I can't see it in my current WOLips (v 3.7.1002088) - Last step in the controller: implementing the showAction method. Again, the code is

Re: ERRest tutorial

2012-01-02 Thread Alexis Tual
Le 2 janv. 2012 à 20:04, Pascal Robert a écrit : Le 2012-01-02 à 13:09, Alexis Tual a écrit : Hi Pascal and the list, best wishes for 2K12 ! Thanks for this tutorial, but I have some questions : - Where is the new Wonder REST Application wizard ? I can't see it in my current WOLips

Re: EC locking (headless and threads)

2012-02-12 Thread Alexis Tual
Hi Kieran and others, related to this topic, I have a deadlock situation which I can't explain. I have 2 background threads doing EOF stuff, the first one is doing a lot of fetches and can take several minutes. The second one is doing periodical short work (a fetch every 30sec). For these two

Re: EC locking (headless and threads)

2012-02-12 Thread Alexis Tual
/2/13 Kieran Kelleher kelleh...@gmail.com How are you dispatching the background threads? Are you using ERXExecutorService.executorService() to execute/submit Runnable/Callable? On Feb 12, 2012, at 9:17 PM, Alexis Tual wrote: Hi Kieran and others, related to this topic, I have a deadlock

Re: EC locking (headless and threads)

2012-02-12 Thread Alexis Tual
Looks like ERXEOGlobalIDUtilities.fetchObjectsWithGlobalIds is involved in some way. I've replaced it with ec.faultForGlobalID(gid, ec) and so far no deadlock (finger crossed). Alex 2012/2/13 Alexis Tual alexis.t...@gmail.com Thanks for your quick answer. None of the two threads are launched

Re: Entirely independent EOF on Quartz Threads - How to do?

2012-02-16 Thread Alexis Tual
Hi, 2012/2/17 Kieran Kelleher kelleh...@gmail.com On Feb 16, 2012, at 8:58 AM, Paul Dunkler wrote: Hi Alexis, Hi, You should carefully read the source of BackgroundTaskshttps://github.com/projectwonder/wonder/tree/master/Examples/Misc/BackgroundTasks and watch Kieran's presentation.

Timestamps and Oracle

2012-02-23 Thread Alexis Tual
Hi list, looks like moving to GMT+11 timezone gives you a nice sun in february but also headache with oracle and timezones. The application, the db and the users are in the same timezone (GMT+11), we set this in the Application constructor with the NSTimeZone.setDefault, TimeZone.setDefault, even

Re: WebObjects 5.4.3 and JavaClient Apps

2012-02-27 Thread Alexis Tual
Hi Ray and David, when I saw the old and crappy way of launching Java Client apps in dev mode, I thought there might be a better way. I'm pretty sure I once managed to build both the client side and server side with incremental builder, allowing debugging... I know Emmanuel Geze managed to do

Re: login multiple WOApps by passing same login credentials

2012-03-01 Thread Alexis Tual
Hi, if security matters and you have time to learn something new, you need Single Sign On such as CAS : http://www.jasig.org/cas (easy to setup when deploying in Tomcat) If not you could implement something like this : - app1 generate a link to app2 with a token in it - app2 verify if the token

Re: Many-To-Many Relationship across DB

2012-03-12 Thread Alexis Tual
Hi, cross models flattened many-to-many relationships with differents users are buggy in my experience. You should use the same user in all your connection dictionnaries, easely done with Wonder in your Properties : dbConnectURLGLOBAL = jdbc:oracle:thin:@db.test:1521:oracletest

Re: Timestamps and Oracle

2012-03-12 Thread Alexis Tual
that is). Just works (for us). atze Am 23.02.2012 um 02:32 schrieb Alexis Tual: Hi list, looks like moving to GMT+11 timezone gives you a nice sun in february but also headache with oracle and timezones. The application, the db and the users are in the same timezone (GMT+11

Re: Many-To-Many Relationship across DB with different users

2012-03-12 Thread Alexis Tual
2012/3/13 Troy Lumasag tluma...@gmail.com Hello Alexis, Thank you. cross models flattened many-to-many relationships with differents users are buggy in my experience. You should use the same user in all your connection dictionnaries, easely done with Wonder in your Properties : It

Re: New releases of Wonder

2012-03-16 Thread Alexis Tual
Great job guys ! Alex 2012/3/17 David Avendasora webobje...@avendasora.com This is fantastic! Thanks Pascal, Johann (and anyone else involved!) Both in that there are now version numbers for Wonder and Tags for those versions, and that there is a Change Log! Dave On Mar 17, 2012, at

Re: Most requested stuff on Google Moderator

2012-03-29 Thread Alexis Tual
2012/3/29 Chuck Hill ch...@global-village.net The sun set on WO a long time ago (well, assuming you think that it ever really shined on WO). For new projects, WebObjects and Wonder is still my choice until I find something _better_ not just newer. I am not moving to something newer and

Re: What is eating my AMD form tags?

2012-04-01 Thread Alexis Tual
Hello 2012/4/2 James Cicenia ja...@jimijon.com Hello - I have an AjaxModalDialog that has an ERXList in it. This list has a custom action component to delete or edit. When I click edit which is an AjaxHyperLink I have it bound to an action that opens a different AMD:

Re: Optimizing EOF Applications - what does this mean to you?

2012-04-03 Thread Alexis Tual
Congratulations Dan, looking forward to read your paper ! Great ideas already mentionned, also : - Fetching raw rows (using traditionnal fetchspec or own sql) - Converting raw rows to eos efficiently - Design : don't model big bi-directional to-many relationships - Caching :

Re: Tests fitnesse with WebObject

2012-04-12 Thread Alexis Tual
Use the source, Luke ! You may try ERXExtensions.initEOF, ERXExtensions.initApp... I had some non-blocking problems in the past with this (search the list for this methods). Good luck, 2012/4/13 SAUGET Marc sauget.m...@gmail.com Thanks for the RTFM but we have read some part of this manual

Re: how open database connection for test

2012-04-16 Thread Alexis Tual
Hi, why do you have to load a model ? When needed, Wonder should load the models it founds in the classpath. If you want to override the connection dicitonnary, you can just set the right Wonder properties : http://wiki.wocommunity.org/display/WO/The+EOModel#TheEOModel-ConnectionDictionary

Re: logging database access time

2012-04-17 Thread Alexis Tual
Also, there are Wonder properties for that : ## Enable delegate to emit SQL debugging info. The Logger used is ## log4j.category.er.extensions.ERXAdaptorChannelDelegate.sqlLogging er.extensions.ERXAdaptorChannelDelegate.enabled=true ## How long a statement must run to cause a log message.

Re: java.lang.ClassCastException: com.webobjects.eocontrol.EOGenericRecord cannot be cast to com.cariatides.noyau.modele.noyauppersonne.Personne

2012-04-18 Thread Alexis Tual
Hi, you should put the whole stacktrace in there. A note, your eos should inherits from EOGenericRecord (or better, ERXGenericRecord, use the templates from Wonder : http://wiki.wocommunity.org/display/WOL/EOGenerator+Templates+and+Additions) Alex 2012/4/19 g.alexandre g.alexan...@symaris.com

Re: Ajax requests and http_x_requested_with header

2012-04-24 Thread Alexis Tual
Hi Chuck ! 2012/4/25 Chuck Hill ch...@global-village.net Hi Alexis, On 2012-04-23, at 7:31 PM, Alexis Tual wrote: Hi list, here's a puzzle I've solved half way : On a production server (OS X Server 10.6.8 Apache 2.2), I got js errors on Wonder apps, the typical one being

Re: Ajax and multiple file uploads

2012-05-21 Thread Alexis Tual
Hi, I think AjaxFlexibleFileUpload does this already (dynamically generated iframe), I haven't tried multiple AjaxFlexibleFileupload, it's worth the try but I guess you'll run into server side problems (handling multiple requests for the same session ?) Cheers, 2012/5/16 Amedeo Mantica

Re: Ajax and multiple file uploads

2012-05-21 Thread Alexis Tual
2012/5/22 Amedeo Mantica amedeomant...@me.com On 21/mag/2012, at 08:18, Alexis Tual wrote: Hi, I think AjaxFlexibleFileUpload does this already (dynamically generated iframe), I haven't tried multiple AjaxFlexibleFileupload, it's worth the try but I guess you'll run into server side

Re: failed to find a snapshot for EO with Global ID

2012-06-11 Thread Alexis Tual
Hi Ramsey, this bug sounds very familiar... In your code, ec.setRetainsRegisteredObjects(true) should do the job, but that eats memory. For more details, see http://lists.apple.com/archives/webobjects-dev/2010/Nov/msg9.html, Mike said : I don't have a patch you can easily apply. The

Re: failed to find a snapshot for EO with Global ID

2012-06-12 Thread Alexis Tual
I'm also very curious about Ramsey's investigations because when this bug happens, you have to basically toss your EC stack... Alex 2012/6/13 Calven Eggert cegg...@uhnresearch.ca I'm very curious to see your findings. One of our WO apps have had this problem for years but it happens so

Re: failed to find a snapshot for EO with Global ID

2012-06-14 Thread Alexis Tual
consequences. https://github.com/smarthealth/wonder/commit/bed35de926d0fe53c207b2fea7f5e3d1922d0ddb I'm deploying this out to a dev server now to see if any more snapshots go missing. If all goes well, I'll pull this change into the main wonder fork. Ramsey On Jun 12, 2012, at 2:22 PM, Alexis

Re: Different Database Connection per session for the same model

2012-06-18 Thread Alexis Tual
I agree, cross model relationships with different database connections shouldn't be used in real applications : eof bugs aside, there's one major problem : it's not transactionnal. Larry setup is interesting though, looks like the new old wo 4.5.1 :), the optimistic locking will work for sure !

[OT] New js framework

2012-07-10 Thread Alexis Tual
Hi list, I've just seen this morning across twitter: http://www.tetsubo.org Montage is released : congrats to the Motorola-Mobility team for bringing us WO-like components on the client side ! (So maybe not that off topic) Cheers Alex ___ Do not post

Re: [OT] New js framework

2012-07-11 Thread Alexis Tual
2012, at 02:31, prob...@macti.camailto:prob...@macti.ca prob...@macti.camailto:prob...@macti.ca wrote: And if anyone remembers Benoit Marchand's talk at WOWODC 2009 or his rant at WOWODC 2011, have a look at the framework. Envoyé de mon iPhone Le 2012-07-10 à 19:14, Alexis Tual alexis.t

Re: WOWODC-2012 Git presentations

2012-07-14 Thread Alexis Tual
Thanks that's a great presentation ! 2012/7/13 Kieran Kelleher kelleh...@gmail.com FYI, If you are new to git. The first 3 parts of the 5-part series derived from the Understanding Using Git WOWODC2012 presentation is available in this iTunes feed:

Re: WODynamicElementCreationException

2012-08-05 Thread Alexis Tual
Hi, AFAIK there's no exception thrown at runtime if a binding is not set but required by the API. API is just an hint for the IDE tools. Maybe the solution is to add the validation logic in the ant tasks so we can detect at build times this kind of errors and avoid the extra code. Alex 2012/8/5

Re: MacBook Air/Mountain Lion

2012-08-07 Thread Alexis Tual
I do light work (no large workspaces) with a MBA and it's rather good. The only VERY annoying problem I had lately is WIFI connexion drops. I've had to change my WIFI router to satisfy my MBA, you can find on the web tons of complaints about WIFI problems on MACs, don't know why Apple can't fix

Re: creating a second database connection

2012-08-23 Thread Alexis Tual
+1 Cross model relationships with different db connections is bugged, there's a few threads on the list about this. Even if it wasn't bugged, there's no 2-phases commit, so you can end up with inconsistent data. Anyway (as in your case), you can still fetch objects coming from whatever databases,

Re: JDK7 vulnerability

2012-08-30 Thread Alexis Tual
I saw that this week, interesting explanation of the exploit : http://www.kb.cert.org/vuls/id/636312 Oracle Java 1.7 provides an execute()http://docs.oracle.com/javase/1.4.2/docs/api/java/beans/Statement.html#execute%28%29method for

Re: WOWorkerThread deadlocks

2012-09-10 Thread Alexis Tual
Hi, 2012/9/11 Maik Musall m...@selbstdenker.ag Note that I recently switched to Wonder for this project (using all the Wonder base classes), and since I did, this problem occurred more frequently. It's now almost once a day, and was about once a week before. I switched from

Re: FYI - regex to list installed WO frameworks

2012-09-10 Thread Alexis Tual
Hi Kieran, I thought awk could do it, but it can't handle grouping, so perl to the rescue (aka the fun) : find . -name *.jar | perl -n -e '/(.+).framework\/Resources\/Java\/(\1).jar/ print $1.framework\n' Cheers, Alex 2012/9/11 Kieran Kelleher kelleh...@gmail.com Here is the output of the

Re: WOWorkerThread deadlocks

2012-09-11 Thread Alexis Tual
/master/Examples/Misc/BackgroundTasks Good luck, Alex 2012/9/11 Maik Musall m...@selbstdenker.ag Am 11.09.2012 um 09:10 schrieb Maik Musall m...@selbstdenker.ag: Hi Alexis, Am 10.09.2012 um 23:19 schrieb Alexis Tual alexis.t...@gmail.com: Note that I recently switched to Wonder

Re: WOWorkerThread deadlocks

2012-09-12 Thread Alexis Tual
Hi, 2012/9/13 John Huss johnth...@gmail.com The state the app was in when I took that jstack was that no login was possible and user's requests would not return, ultimately running into no instance responses after the timeout elapsed. Grep the app logs for OutOfMemory, that is one

  1   2   >