Re: ER.Rest - 405 Status on preflight

2018-01-24 Thread Raymond NANEON
Hi Samuel,

Thanks for advices. I solved my issue by using addRoutes in stead on 
addDefaultRoute on my route registring. I think the last one do not allow 
OPTIONS.

Cheer 

Envoyé de mon iPhone

> Le 22 janv. 2018 à 18:26, Samuel Pelletier <sam...@samkar.com> a écrit :
> 
> Hi Raymond,
> 
> 405 is not a CORS problem, those are displayed as error in the browser as not 
> authorized (or something similar) and the real GET, POST or PUT request is 
> never issued to the app. The preflight usually issue a OPTION request to get 
> the headers.
> 
> You should begin by identifying the exact request that return the 405. If you 
> enable web inspector in your browser, you should see the request and response 
> in the Network pane. Check the request url, method and header sent.
> 
> Next step if to identify if your app routes handle this request. It would 
> probably be helpful to trace the request with ERRest source code in Eclipse.
> 
> The current ERRest default routes handle the options request by returning the 
> values in the properties. If you added your routes manually, you may need to 
> add one for the OPTIUONS method.
> 
> Regards,
> 
> Samuel
> 
> 
> 
> 
>> Le 22 janv. 2018 à 03:12, Raymond NANEON <rnan...@me.com> a écrit :
>> 
>> Hi,
>> 
>> I want to use my WO app as API for my angular webApp that's means I'm in 
>> CORS situation and server side I add this attributes in properties :
>> 
>> ERXRest.accessControlAllowOrigin=*
>> ERXRest.allowWindowNameCrossDomainTransport=true
>> ERXRest.allowJSONP=true
>> 
>> But When I try GET from my webApp, the preflight send me 405 status
>> 
>> ERROR er.rest.routes.ERXRouteController  - Request failed: - 405
>> 
>> How to avoid this error on preflight?
>> 
>> Thanks a lot for help
>> 
>> 
>> Envoyé depuis iCloud
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
>> 
>> This email sent to sam...@samkar.com
> 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


ER.Rest - 405 Status on preflight

2018-01-22 Thread Raymond NANEON

Hi,

I want to use my WO app as API for my angular webApp that's means I'm in CORS 
situation and server side I add this attributes in properties :

ERXRest.accessControlAllowOrigin=*
ERXRest.allowWindowNameCrossDomainTransport=true
ERXRest.allowJSONP=true

But When I try GET from my webApp, the preflight send me 405 status

ERROR er.rest.routes.ERXRouteController  - Request failed: - 405

How to avoid this error on preflight?

Thanks a lot for help




Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Slack WO channel

2016-09-08 Thread Raymond NANEON
Re,

Please add me too :

rnan...@gmail.com 

Thanks

> Le 7 sept. 2016 à 23:25, Lon Varscsak  a écrit :
> 
> I’d be on the Slack channel :D  Mostly so I could talk about Wicket and 
> Cayenne. ;)
> 
> On Wed, Sep 7, 2016 at 12:24 PM, Tom Termini  > wrote:
> I’d like to be on the WebObjects Slack channel, please.
> 
> 
> Tom Termini  / Bluedog
> tomterm...@gmail.com   | +1-301-649-5000 
> 
> 
> 
> 
> 
>  ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com 
> )
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/lon.varscsak%40gmail.com
>  
> 
> 
> This email sent to lon.varsc...@gmail.com 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
> 
> This email sent to rnan...@me.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

[SOLVED]-Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-27 Thread Raymond NANEON
Hi JF and Samuel,

I solved my issue.
I deleted all AjaxResponse references and component, create a new one and it's 
done.

Thanks a lot

Envoyé de mon iPad

> Le 26 avr. 2016 à 17:26, Raymond NANEON <rnan...@me.com> a écrit :
> 
> Hi Samuel,
> 
> I found the problem.
> Another Dev created a WOCOmponent and called it AjaxResponse. So sometime, 
> er.ajax.Ajaxresponse is called in stead of the component AjaxResponse.
> I go to try to fix and make some tests.
> 
> Thanks
> Envoyé depuis iCloud
> 
>> Le 26 avril 2016 à 14:37, Samuel Pelletier <sam...@samkar.com> a écrit :
>> 
>> Raymond,
>> 
>> I suspect an error in a component definition (in the html or wod) you have a 
>> reference to AjaxResponse.
>> 
>> I would try to do a text search of "AjaxResponse" in your project, you may 
>> have some unexpected results.
>> 
>> Samuel
>> 
>> 
>>> Le 26 avr. 2016 à 03:51, Raymond NANEON <rnan...@me.com> a écrit :
>>> 
>>> Hi Samuel,
>>> 
>>> I changed my classes names to ColAjaxAction extends ERXDirectAction and 
>>> ColAjaxResponse extends myAjaxComponent which extends WOComponent.
>>> 
>>> So no refrences of AjaxFramework classes but I still get the same exception.
>>> 
>>> Here is entire stack : 
>>> 
>>> [code]
>>> avr. 26 09:39:07 Colloque[50889] WARN  NSLog  - 
>>> : Exception while 
>>> handling action named "listeModelesMail" on action class "ColAjaxAction" 
>>> :java.lang.IllegalArgumentException: 
>>>  Class 
>>> 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
>>> java.lang.IllegalArgumentException: 
>>>  Class 
>>> 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
>>> at 
>>> com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
>>> at 
>>> com.webobjects.appserver._private.WOComponentDefinition.componentClass(WOComponentDefinition.java:504)
>>> at 
>>> com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:510)
>>> at 
>>> com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:642)
>>> at 
>>> com.webobjects.appserver._private.WOComponentReference._pushComponentInContext(WOComponentReference.java:88)
>>> at 
>>> com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:134)
>>> at 
>>> com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
>>> at 
>>> com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
>>> at 
>>> com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
>>> at 
>>> com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574)
>>> at 
>>> com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543)
>>> at 
>>> com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1538)
>>> at 
>>> com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:278)
>>> at 
>>> com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
>>> at 
>>> er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:128)
>>> at 
>>> com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
>>> at 
>>> er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2112)
>>> at 
>>> er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2077)
>>> at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
>>> at 
>>> com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
>>> at 
>>> com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
>>> at java.lang.Thread.run(Thread.java:745)
>>> avr. 26 09:39:07 Colloque[50889] ERROR 
>>> er.extensions.appserver.ERXApplication  - Exception caught: 
>>>  Class 
>>> 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
>>> Extra info: {
>>&g

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON

Hi Samuel,

I found the problem.
Another Dev created a WOCOmponent and called it AjaxResponse. So sometime, 
er.ajax.Ajaxresponse is called in stead of the component AjaxResponse.
I go to try to fix and make some tests.



Thanks
Envoyé depuis iCloud

Le 26 avril 2016 à 14:37, Samuel Pelletier <sam...@samkar.com> a écrit :


Raymond,


I suspect an error in a component definition (in the html or wod) you have a 
reference to AjaxResponse.


I would try to do a text search of "AjaxResponse" in your project, you may have 
some unexpected results.


Samuel




Le 26 avr. 2016 à 03:51, Raymond NANEON <rnan...@me.com> a écrit :


Hi Samuel,

I changed my classes names to ColAjaxAction extends ERXDirectAction and 
ColAjaxResponse extends myAjaxComponent which extends WOComponent.

So no refrences of AjaxFramework classes but I still get the same exception.

Here is entire stack :



[code]

avr. 26 09:39:07 Colloque[50889] WARN  NSLog  - : 
Exception while handling action named "listeModelesMail" on action class "ColAjaxAction" 
:java.lang.IllegalArgumentException:  Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
java.lang.IllegalArgumentException: 
 Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
    at 
com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
    at 
com.webobjects.appserver._private.WOComponentDefinition.componentClass(WOComponentDefinition.java:504)
    at 
com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:510)
    at 
com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:642)
    at 
com.webobjects.appserver._private.WOComponentReference._pushComponentInContext(WOComponentReference.java:88)
    at 
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:134)
    at 
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
    at 
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
    at 
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
    at 
com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574)
    at 
com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543)
    at 
com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1538)
    at 
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:278)
    at 
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
    at 
er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:128)
    at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
    at 
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2112)
    at 
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2077)
    at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
    at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
    at 
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
    at java.lang.Thread.run(Thread.java:745)
avr. 26 09:39:07 Colloque[50889] ERROR er.extensions.appserver.ERXApplication  - 
Exception caught:  
Class 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
Extra info: {
    "Session" = "; 0.1.19.0 = 
; } >; 0.1.29.5 = ; } >; 0.1.29.13.15 = ; 0.1.29.1.0 = ; } > requestSignature=null.null>; 2 =  requestSignature=0.0.1.29.5.0.3.1.3.3.15>; 5 = ; 0.1.19.0 = ; } >; 0.1.29.25.3 = ; 0.1.29.1 = 
; 0.1.29.25.9.3 = ; } >; 0.1.29.25.9.3.1.0.1 = ; } >; } >; } > requestSignature=null.null>; 7 = ; 0.1.19.0 = ; } >; 0.1.29.1.2 = ; 0.1.29.5 = ; } > requestSignature=null.null>; } languages=(\"French\", \"French_FR\", \"French\", \"English_US\", \"English\", \"Nonlocalized\") componentState={} currentContextID=9 distributionEnabled=false cookieRendezVousEnabled=true URLRendezVousEnabled=fals 
localizer= messageEncoding= browser=>";
    "CurrentComponent" = 
"fr.univlr.colloque.components.admin.ajax.ListeModelesMailsColloque";
    "PreviousPageList" = (
        "com.webobjects.appserver.WORedirect"
    );
    "Headers" = {
        "referer" = 
"http://mac-naneon.utt.fr:50889/cgi-bin/WebObjects/Colloque.woa/wa/menu?code=3=-19;;
        "accept-encoding" = "gzip, deflate";
        "cookie" = "wosid=2b6IvbG4Xo5PvpvbgHKySw; woinst=-1";
        "user-agent" = 

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON

I want to be a more litlle clear.
My component "ListeModelesMailsColloque" embeds AjaxResponse, it look like :



        Vous devez specifier un utilisateur!
    

...




in .wod



ajaxErrorResponse : AjaxResponse {
    error = true;
}


ajaxResponse : AjaxResponse {
  error = false;
}


I don't why it works sometime when I call it through myAjaxAction in my 
javaScriptFile?

Envoyé depuis iCloud

Le 26 avril 2016 à 09:53, Raymond NANEON <rnan...@me.com> a écrit :


Hi Samuel,

I changed my classes names to ColAjaxAction extends ERXDirectAction and 
ColAjaxResponse extends myAjaxComponent which extends WOComponent.

So no refrences of AjaxFramework classes but I still get the same exception.

Here is entire stack :



[code]

avr. 26 09:39:07 Colloque[50889] WARN  NSLog  - : 
Exception while handling action named "listeModelesMail" on action class "ColAjaxAction" 
:java.lang.IllegalArgumentException:  Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
java.lang.IllegalArgumentException: 
 Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
    at 
com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
    at 
com.webobjects.appserver._private.WOComponentDefinition.componentClass(WOComponentDefinition.java:504)
    at 
com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:510)
    at 
com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:642)
    at 
com.webobjects.appserver._private.WOComponentReference._pushComponentInContext(WOComponentReference.java:88)
    at 
com.webobjects.appserver._private.WOComponentReference.appendToResponse(WOComponentReference.java:134)
    at 
com.webobjects.appserver._private.WODynamicGroup.appendChildrenToResponse(WODynamicGroup.java:126)
    at 
com.webobjects.appserver._private.WODynamicGroup.appendToResponse(WODynamicGroup.java:136)
    at 
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:1122)
    at 
com.webobjects.appserver.WOComponent._appendPageToResponse(WOComponent.java:1574)
    at 
com.webobjects.appserver.WOComponent._generateResponseInContext(WOComponent.java:1543)
    at 
com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:1538)
    at 
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:278)
    at 
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158)
    at 
er.extensions.appserver.ERXDirectActionRequestHandler.handleRequest(ERXDirectActionRequestHandler.java:128)
    at 
com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
    at 
er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2112)
    at 
er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2077)
    at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
    at 
com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144)
    at 
com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226)
    at java.lang.Thread.run(Thread.java:745)
avr. 26 09:39:07 Colloque[50889] ERROR er.extensions.appserver.ERXApplication  - 
Exception caught:  
Class 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
Extra info: {
    "Session" = "; 0.1.19.0 = 
; } >; 0.1.29.5 = ; } >; 0.1.29.13.15 = ; 0.1.29.1.0 = ; } > requestSignature=null.null>; 2 =  requestSignature=0.0.1.29.5.0.3.1.3.3.15>; 5 = ; 0.1.19.0 = ; } >; 0.1.29.25.3 = ; 0.1.29.1 = 
; 0.1.29.25.9.3 = ; } >; 0.1.29.25.9.3.1.0.1 = ; } >; } >; } > requestSignature=null.null>; 7 = ; 0.1.19.0 = ; } >; 0.1.29.1.2 = ; 0.1.29.5 = ; } > requestSignature=null.null>; } languages=(\"French\", \"French_FR\", \"French\", \"English_US\", \"English\", \"Nonlocalized\") componentState={} currentContextID=9 distributionEnabled=false cookieRendezVousEnabled=true URLRendezVousEnabled=fals 
localizer= messageEncoding= browser=>";
    "CurrentComponent" = 
"fr.univlr.colloque.components.admin.ajax.ListeModelesMailsColloque";
    "PreviousPageList" = (
        "com.webobjects.appserver.WORedirect"
    );
    "Headers" = {
        "referer" = 
"http://mac-naneon.utt.fr:50889/cgi-bin/WebObjects/Colloque.woa/wa/menu?code=3=-19;;
        "accept-encoding" = "gzip, deflate";
        "cookie" = "wosid=2b6IvbG4Xo5PvpvbgHKySw; woinst=-1";
        "user-agent" = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) 
Gecko/20100101 Firefox/45.0";
        "x-requested-with" = "XMLHttpRequest&qu

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-26 Thread Raymond NANEON
.0";
        "ERExtensions" = "6.1.2";
        "JavaWebObjects" = "5.4.3";
        "FwkCktlThemes" = "1.0.25.2243fix";
        "ERJars" = "6.0";
        "JavaEOApplication" = "5.4.2";
        "FwkCktlWebApp" = "1.0.25.2243fix";
        "JavaJDBCAdaptor" = "5.4.3";
        "JavaEOAccess" = "5.4.3";
        "WOOgnl" = "6.0";
        "FwkCktlDroitsUtils" = "1.0.25.2243fix";
        "JavaEOControl" = "5.4.2";
        "JavaXML" = "5.4.2";
        "JavaWOExtensions" = "6.0";
        "JavaFoundation" = "5.4.3";
        "FwkCktlAjaxWebExt" = "1.0.25.2243fix";
        "Colloque" = "";
        "ERPrototypes" = "6.0";
    };
    "URL" = 
"/cgi-bin/WebObjects/Colloque.woa/wa/ColAjaxAction/listeModelesMail";
}

IllegalArgumentException: 
 Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
  at 
com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
 ... skipped 17 stack elements
  at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
  ... skipped 3 stack elements
_ignoredPackages:: ("com.webobjects", "java.applet", "java.awt", "java.awt.datatransfer", "java.awt.event", "java.awt.image", "java.beans", "java.io", "java.lang", "java.lang.reflect", "java.math", 
"java.net", "java.rmi", "java.rmi.dgc", "java.rmi.registry", "java.rmi.server", "java.security", "java.security.acl", "java.security.interfaces", "java.sql", "java.text", "java.util", 
"java.util.zip")
[/code]



I get this exception because I return a WOComponent in stead of AjaxResponse in 
a call JS/Ajax?

Thanks
Envoyé depuis iCloud

Le 25 avril 2016 à 18:54, Samuel Pelletier <sam...@samkar.com> a écrit :


Hi,


The problem seems to be a class in your code that already exists in the 
AjaxFramework and this confuse WO.


A WOComponent (or EOEntity) name need to match a single class name if the 
entire class path or you will have troubles.


Check for classes with generic names like AjaxAction, AjaxResponse that may 
already exists.


Thierry is few error or strange things in the ajaxResponse() method:


1- AjaxResponse is defined in the AjaxFramework is is not a WOComponent, it's 
parent is ERXResponse. This method is not supposed to compile...


2- ERXDirectAction contain a methodPageWithName(Class componentClass), I 
suggest you use it, it is way more clean.


3- You can use the returned component class as return type, it is constant.




Samuel


Le 25 avr. 2016 à 10:43, Raymond NANEON <rnan...@me.com> a écrit :


Hi JF,



I have a spefic AjaxAction which extends ERXDirectAction uses speficly to call 
some directAction from javascript.

i.e :

in my JsFile  ==>

function modifierModele(idModele){
    //Preparation de la requete

...

var url_requete = 
url_serveur+"/wa/AjaxAction/modifierModeleMail?idModeleMail="+idModele+"="+objet+"=\""+message+"\"";
ajaxRequest({
        type:'GET',
        url: url_requete,
        async: false,
    cache: false,
    mimeType:"text/plain",
    contentType: false,
    processData: false,
        success:function(xml){
            //Si la requete s'est bien produite on raffraichit le modele 
actuellement affiche
            if( $(xml).find('error').length!=0 && 
$(xml).find('error').text()=='false')afficherModele(idModele);
            else ajaxTooltip({html:'ERREUR:'+$(xml).find('msg').text()});
        }
    });
}




In my AjaxAction Class :

public WOActionResults modifierModeleMailAction() {
...

try {
...

if (sess.saveChanges())
                return ajaxResponse(false, "succes");
            return ajaxResponse(true,
                    "Erreur lors de l'enregistrement des donnees");
        } catch (Exception e) {
            return ajaxResponse(true, "Arguments de la requete invalides");
        }
}




    private WOComponent ajaxResponse(boolean error, String message) {
        AjaxResponse response = (AjaxResponse) pageWithName(AjaxResponse.class
                .getName());
        response.setError(error);
        response.setMessage(message);
        return response;
    }


I want say that my AjaxResponse is already a WOComponent ? May be I must Cast 
it as WOComponent ?



Thanks



...

Envoyé depuis iCloud

Le 25 avril 2016 à 15:17, Jean-François Veillette 
<jean_francois_veille...@yahoo.ca> a é

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-25 Thread Raymond NANEON

Hi JF,



I have a spefic AjaxAction which extends ERXDirectAction uses speficly to call 
some directAction from javascript.

i.e :

in my JsFile  ==>

function modifierModele(idModele){
    //Preparation de la requete

...

var url_requete = 
url_serveur+"/wa/AjaxAction/modifierModeleMail?idModeleMail="+idModele+"="+objet+"=\""+message+"\"";
ajaxRequest({
        type:'GET',
        url: url_requete,
        async: false,
    cache: false,
    mimeType:"text/plain",
    contentType: false,
    processData: false,
        success:function(xml){
            //Si la requete s'est bien produite on raffraichit le modele 
actuellement affiche
            if( $(xml).find('error').length!=0 && 
$(xml).find('error').text()=='false')afficherModele(idModele);
            else ajaxTooltip({html:'ERREUR:'+$(xml).find('msg').text()});
        }
    });
}




In my AjaxAction Class :

public WOActionResults modifierModeleMailAction() {
...

try {
...

if (sess.saveChanges())
                return ajaxResponse(false, "succes");
            return ajaxResponse(true,
                    "Erreur lors de l'enregistrement des donnees");
        } catch (Exception e) {
            return ajaxResponse(true, "Arguments de la requete invalides");
        }
}




    private WOComponent ajaxResponse(boolean error, String message) {
        AjaxResponse response = (AjaxResponse) pageWithName(AjaxResponse.class
                .getName());
        response.setError(error);
        response.setMessage(message);
        return response;
    }


I want say that my AjaxResponse is already a WOComponent ? May be I must Cast 
it as WOComponent ?



Thanks



...

Envoyé depuis iCloud

Le 25 avril 2016 à 15:17, Jean-François Veillette 
<jean_francois_veille...@yahoo.ca> a écrit :


Sorry all …
In English …


Hi Raymond,
The stack is missing too many elements.
From what we can see, it seems that your action is executing properly but 
returning result as an AjaxResponse, but the handler is expecting a WOComponent.


Could it be that  
fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe  is returning 
an AjaxResponse but the handler expect a WOComponent?
We need more stack frame to be able to identify where you are in the RRL and 
what could be the cause of this.


jfv




On Apr 25, 2016, at 9:13 AM, Jean-François Veillette 
<jean_francois_veille...@yahoo.ca> wrote:


Bonjour Raymond,


La stack manque plusieurs niveaux.
Selon le peu que l’on a comme information, on en comprend que la requête a bien 
été exécuté, a retourné une AjaxResponse, mais que le « handler » s’attendais à 
recevoir un WOComponent.


fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe retourne une 
AjaxResponse, mais le « handler » s’attend à un « WOComponent » ?
On a besoin de plus d’élément dans la stack pour voir ou ce passe l’exception 
dans la RRL.


jfv


On Apr 25, 2016, at 2:15 AM, Raymond NANEON <rnan...@me.com> wrote:


Hi List,



Nobody has had this kind of exception? I would like to fix it but I don't know 
where I can touch.



Thanks to take a moment to look at it.



Ray

Envoyé depuis iCloud

Le 21 mars 2016 à 11:30, Raymond NANEON <rnan...@me.com> a écrit :


Hi List,

I am trying to call some specifics components using AjaxAction in javascript.
It works sometimes and sometimes not and I don't understand why?

Yes I know the exception tells me ajaxResponse ... but why it works sometimes?


here is stacktrace : 

"CurrentComponent" = 
"fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe";
    "PreviousPageList" = (
        "com.webobjects.appserver.WORedirect"
    );
    };
    "URL" = 
"/cgi-bin/WebObjects/Colloque.woa/1/wa/AjaxAction/listeUtilisateursGroupe?idGroupe=11";
}

IllegalArgumentException: 
 Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
  at 
com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
 ... skipped 17 stack elements
  at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
  ... skipped 3 stack elements
_ignoredPackages:: ()


How can I avoid this problem in the future?



Thanks for help

Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobject

Re: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-04-25 Thread Raymond NANEON

Hi List,



Nobody has had this kind of exception? I would like to fix it but I don't know 
where I can touch.



Thanks to take a moment to look at it.



Ray

Envoyé depuis iCloud

Le 21 mars 2016 à 11:30, Raymond NANEON <rnan...@me.com> a écrit :


Hi List,

I am trying to call some specifics components using AjaxAction in javascript.
It works sometimes and sometimes not and I don't understand why?

Yes I know the exception tells me ajaxResponse ... but why it works sometimes?


here is stacktrace :

"CurrentComponent" = 
"fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe";
    "PreviousPageList" = (
        "com.webobjects.appserver.WORedirect"
    );
    };
    "URL" = 
"/cgi-bin/WebObjects/Colloque.woa/1/wa/AjaxAction/listeUtilisateursGroupe?idGroupe=11";
}

IllegalArgumentException: 
 Class 
'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
  at 
com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
 ... skipped 17 stack elements
  at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
  ... skipped 3 stack elements
_ignoredPackages:: ()


How can I avoid this problem in the future?



Thanks for help

Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

2016-03-21 Thread Raymond NANEON
  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WebObjects docker image

2015-08-30 Thread Raymond NANEON
Hi Alex,

Great job.

I go to try it very soon.

Ray

Envoyé de mon iPad

 Le 30 août 2015 à 22:19, Alexis Tual alexis.t...@gmail.com a écrit :
 
 Hi list,
 
 just sharing a Docker image I made recently to easely test WOAs without 
 having to install adaptor, wotaskd and javamonitor.
 You can view the how-to there : https://hub.docker.com/r/alextu/wofull/
 
 Basically, install Docker, and run :
 
 docker run -ti --rm -p 80:80 -p 56789:56789 -v $HOME/wodocker/apps:/mywoapps 
 -v $HOME/wodocker/conf:/opt/Local/Library/WebObjects/Configuration -v 
 $HOME/wodocker/htdocs:/usr/local/apache2/htdocs/WebObjects -v 
 $HOME/wodocker/logs:/var/log/WebObjects alextu/wofull
 
 You'll then have a fresh JavaMonitor on http://hostip:56789.
 Here's the Dockerfile if you want to tweak and build the image yourself : 
 https://github.com/alextu/wodocker/blob/master/Dockerfile
 
 I would not use this in production, instead I would use one tiny container by 
 woa instance and one nginx container to load balance. I'll try to set a proof 
 of concept to illustrate this, this is rather easy to configure static 
 loadbalancing with docker-compose (however it seems hard but doable to have 
 dynamic load balacing ie add new containers on the fly)
 
 Cheers,
 
 Alex
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Java 8 - Fatal exception - com/webobjects/foundation/NSTimeZone$__NSTZPeriod

2015-05-19 Thread Raymond NANEON

Hi List,

I updated my dev's computer from java 7 to java 8.
When I try to launch my app, I get a fatal error (WARN  NSLog  - A fatal 
exception occurred: com/webobjects/foundation/NSTimeZone$__NSTZPeriod) on 
foundation framework and the app shutdown.

Have I miss a parameter in properties for patching this error ?

Thanks for Help
Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Java 8 - Fatal exception - com/webobjects/foundation/NSTimeZone$__NSTZPeriod - [SOLVED]

2015-05-19 Thread Raymond NANEON

Hi List,

To patch the exception I create a new NSTimeZone class in a package 
com.webobjects.foundation in my app sources and  I patched the java 8 error by 
forcing the classLoader to load __NSTZPeriod earlier.

a method which I call : 
patchForJre18() {
 __NSTZPeriod pourForcerLeClassLoader = new __NSTZPeriod();
}

And then in the new NSTimeZone class put the patch in : 

static {
        try {
                 patchForjre18();
                ...
               }
        ...
}

that's all.

I hope it will help someone else.

Thanks
Envoyé depuis iCloud

Le 19 mai 2015 à 09:44, Raymond NANEON rnan...@me.com a écrit :

Hi List,

I updated my dev's computer from java 7 to java 8.
When I try to launch my app, I get a fatal error (WARN  NSLog  - A fatal 
exception occurred: com/webobjects/foundation/NSTimeZone$__NSTZPeriod) on 
foundation framework and the app shutdown.

Have I miss a parameter in properties for patching this error ?

Thanks for Help
Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com 

This email sent to rnan...@me.com 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Qualifier clause with concatenated fields

2014-12-04 Thread Raymond NANEON

Hi List,

I would like to know if it is possible in EO qualifier to do something like that 
ERXKey_A.concat.ERXKey_B.eq(AB), which is in SQL WHERE A||B=AB ?

Is there exists a way in WO to do this without create a new object, fetch in 
memory and then do a filter and so one ... ?

Thanks for help

Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Qualifier clause with concatenated fields

2014-12-04 Thread Raymond NANEON
Hi jw,Thanks for your help, it works fineEnvoyé depuis iCloudLe 4 déc. 2014 à 12:49, Johann Werner j...@oyosys.de a écrit :derived attributes (see page 39 of https://developer.apple.com/legacy/library/documentation/WebObjects/UsingEOModeler/UsingEOModeler.pdf)jwAm 04.12.2014 um 11:22 schrieb Raymond NANEON rnan...@me.com:Hi List,I would like to know if it is possible in EO qualifier to do something like that ERXKey_A.concat.ERXKey_B.eq(AB), which is in SQL "WHERE A||B=AB" ?Is there exists a way in WO to do this without create a new object, fetch in memory and then do a filter and so one ... ?Thanks for helpEnvoyé depuis iCloud

signature.asc
Description: PGP signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: REST authentication

2014-10-06 Thread Raymond NANEON

Thanks to all.

I am thinking about using SSO CAS Authentication too.

Did you have an example on how to implement it ?

Ray
Envoyé depuis iCloud

Le 6 oct. 2014 à 02:54, Pascal Robert prob...@macti.ca a écrit :

It’s all on wocommunity.org and slideshare.net.

        Hi List,
        
        The answer about REST auth interests me too.
        
        Can I download WOWODC 2012 on iTune?
        
        Thanks.
        
        Envoyé de mon iPad
        
        Le 4 oct. 2014 à 21:57, Pascal Robert prob...@macti.ca   a écrit :
        
                Check my presentations from WOWODC 2012.
                
                Envoyé de mon iPhone
                
                Le 2014-10-04 à 10:02, Gabor Raz gli...@hotmail.com         a écrit :
                
                        Hi Guys,
                        
                        I normally make my own projects with Node.js. Most of them with the MEAN.IO framework. But I also came in touch with WebObjects / Project WOnder during my training. 
                        
                        Now I would like to convert a node application into a wonder application. And here I have a question. How do I create a authentication via REST and make my routes only available for authenticated users? 
                        
                        Thanks in advance 
                        Gabor Raz

                        ___
                        Do not post admin requests to the list. They will be 
ignored.
                        Webobjects-dev mailing list 
(Webobjects-dev@lists.apple.com)
                        Help/Unsubscribe/Update your Subscription:
                        
https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
                        
                        This email sent to prob...@macti.ca

                ___
                Do not post admin requests to the list. They will be ignored.
                Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
                Help/Unsubscribe/Update your Subscription:
                
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
                
                This email sent to rnan...@me.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: REST authentication

2014-10-05 Thread Raymond NANEON
Hi List,

The answer about REST auth interests me too.

Can I download WOWODC 2012 on iTune?

Thanks.

Envoyé de mon iPad

 Le 4 oct. 2014 à 21:57, Pascal Robert prob...@macti.ca a écrit :
 
 Check my presentations from WOWODC 2012.
 
 Envoyé de mon iPhone
 
 Le 2014-10-04 à 10:02, Gabor Raz gli...@hotmail.com a écrit :
 
  Hi Guys,
 
 I normally make my own projects with Node.js. Most of them with the MEAN.IO 
 framework. But I also came in touch with WebObjects / Project WOnder during 
 my training. 
 
 Now I would like to convert a node application into a wonder application. 
 And here I have a question. How do I create a authentication via REST and 
 make my routes only available for authenticated users? 
 
 Thanks in advance 
 Gabor Raz
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
 
 This email sent to prob...@macti.ca
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Re:

2014-09-23 Thread Raymond NANEON

I don't know if it fixed now, but after this mail normally I would receive the 
failed mail error
Envoyé depuis iCloud

Le 23 sept. 2014 à 02:11, Ramsey Gurley rgur...@smarthealth.com a écrit :

D..did I just send a reply to the list without getting this garbage? Is it 
possible that this is really fixed now?

http://i.imgur.com/EqRJH.gif

Crossing my fingers!

On Sep 22, 2014, at 8:19 AM, Klaus Berkling webobje...@berkling.us wrote:


On Sep 22, 2014, at 7:35 AM, Raymond NANEON rnan...@me.com wrote:

Each time I send a message to webobjects-dev list, I get this error bellow 3 
times.

Where it comes from ?

There is a bad address on the list and everyone gets this.  I have a 
server-side rule that deletes these.

Début du message réexpédié :

De : mailer_dae...@email.uscc.net
Date : 22 sept. 2014 à 16:28
À : rnan...@me.com
Objet : 


Message to 2533369...@email.uscc.net failed.

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us

This email sent to webobje...@berkling.us



kib

The trouble with normal is it always gets worse.
Bruce Cockburn

Klaus Berkling
www.berkling.us | @kiberkli | Photography




___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

This email sent to rgur...@smarthealth.com

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Re:

2014-09-23 Thread Raymond NANEON

Here we go, I just received a notification : 
Delivery Status Notification
Il y a 5 minutes 15:46
De 
system-u...@mms.mycricket.com

Your message was not delivered successfully.

 Subject:   Re: Re:
 Sent:  Tue, 23 Sep 2014 13:39:22 + (GMT)

The message could not be delivered to the following recipient:
rgur...@smarthealth.com
Envoyé depuis iCloud

Le 23 sept. 2014 à 15:40, Raymond NANEON rnan...@me.com a écrit :

I don't know if it fixed now, but after this mail normally I would receive the 
failed mail error
Envoyé depuis iCloud

Le 23 sept. 2014 à 02:11, Ramsey Gurley rgur...@smarthealth.com a écrit :

D..did I just send a reply to the list without getting this garbage? Is it 
possible that this is really fixed now?

http://i.imgur.com/EqRJH.gif

Crossing my fingers!

On Sep 22, 2014, at 8:19 AM, Klaus Berkling webobje...@berkling.us wrote:


On Sep 22, 2014, at 7:35 AM, Raymond NANEON rnan...@me.com wrote:

Each time I send a message to webobjects-dev list, I get this error bellow 3 
times.

Where it comes from ?

There is a bad address on the list and everyone gets this.  I have a 
server-side rule that deletes these.

Début du message réexpédié :

De : mailer_dae...@email.uscc.net
Date : 22 sept. 2014 à 16:28
À : rnan...@me.com
Objet : 


Message to 2533369...@email.uscc.net failed.

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us

This email sent to webobje...@berkling.us



kib

The trouble with normal is it always gets worse.
Bruce Cockburn

Klaus Berkling
www.berkling.us | @kiberkli | Photography




___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com

This email sent to rgur...@smarthealth.com

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Wonder JavaMonitor - No statistics for instance

2014-09-22 Thread Raymond NANEON

Hi,

I upgraded my old JavaMonitor by the latest wonder one and every time I go to view a detail of one 
my instances, I always have in red No statistics for appName -A or No statistics 
for appName-B, No statistics for appName-Z.

These messages are due to what? bad settings of the new JavaMonitor ?

Thanks for help
Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Fwd:

2014-09-22 Thread Raymond NANEON

Hi List,

Each time I send a message to webobjects-dev list, I get this error bellow 3 
times.

Where it comes from ?

Thanks
Envoyé depuis iCloud

Début du message réexpédié :

De : mailer_dae...@email.uscc.net
Date : 22 sept. 2014 à 16:28
À : rnan...@me.com
Objet : 


Message to 2533369...@email.uscc.net failed.

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ec.saveChanges in repartition table [RESOLVED]

2014-09-05 Thread Raymond NANEON

Hi List,

Thanks a lot for help.

It works.
Envoyé depuis iCloud

Le 4 sept. 2014 à 14:09, Raymond NANEON rnan...@me.com a écrit :

Hi Ken,

Thanks for your clear explanation.

I check it and try to record some data in the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 14:00, Ken Anderson kenli...@anderhome.com a écrit :

Raymond,

Make sure the relationship is selected in the Outline.
Click on Advanced in the Properties inspector.
There’s a checkbox “Propagates Primary Key”

Ken

On Sep 4, 2014, at 7:57 AM, Raymond NANEON rnan...@me.com wrote:

Hi Paul,

Can I have a screenshot? Sorry but I don't see propagate option here.

Thanks
Envoyé depuis iCloud

Le 4 sept. 2014 à 12:28, Paul Yu p...@mac.com a écrit :

Raymond

Look in entity modeler.  Under the EO tabs in the lower left corner.

Paul

Sent from my iPad

On Sep 4, 2014, at 5:51 AM, Raymond NANEON rnan...@me.com wrote:

I don't know. How I verify if it's a propagate pk in my eomdel?
In my SqlDeveloper, I don't see propagate option or something like that for 
the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 10:14, Alexander Spohr a...@freeport.de a écrit :

Is propagate primary key on in the source key tables?



Am 04.09.2014 um 08:27 schrieb Raymond NANEON rnan...@me.com:

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de

This email sent to a...@freeport.de

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com

This email sent to p...@mac.com
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to kenli...@anderhome.com

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ec.saveChanges in repartition table

2014-09-04 Thread Raymond NANEON

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ec.saveChanges in repartition table

2014-09-04 Thread Raymond NANEON

I don't know. How I verify if it's a propagate pk in my eomdel?
In my SqlDeveloper, I don't see propagate option or something like that for 
the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 10:14, Alexander Spohr a...@freeport.de a écrit :

Is propagate primary key on in the source key tables?



Am 04.09.2014 um 08:27 schrieb Raymond NANEON rnan...@me.com:

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de

This email sent to a...@freeport.de

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ec.saveChanges in repartition table

2014-09-04 Thread Raymond NANEON

Hi Paul,

Can I have a screenshot? Sorry but I don't see propagate option here.

Thanks
Envoyé depuis iCloud

Le 4 sept. 2014 à 12:28, Paul Yu p...@mac.com a écrit :

Raymond

Look in entity modeler.  Under the EO tabs in the lower left corner.

Paul

Sent from my iPad

On Sep 4, 2014, at 5:51 AM, Raymond NANEON rnan...@me.com wrote:

I don't know. How I verify if it's a propagate pk in my eomdel?
In my SqlDeveloper, I don't see propagate option or something like that for 
the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 10:14, Alexander Spohr a...@freeport.de a écrit :

Is propagate primary key on in the source key tables?



Am 04.09.2014 um 08:27 schrieb Raymond NANEON rnan...@me.com:

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de

This email sent to a...@freeport.de

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com

This email sent to p...@mac.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ec.saveChanges in repartition table

2014-09-04 Thread Raymond NANEON

Hi Ken,

Thanks for your clear explanation.

I check it and try to record some data in the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 14:00, Ken Anderson kenli...@anderhome.com a écrit :

Raymond,

Make sure the relationship is selected in the Outline.
Click on Advanced in the Properties inspector.
There’s a checkbox “Propagates Primary Key”

Ken

On Sep 4, 2014, at 7:57 AM, Raymond NANEON rnan...@me.com wrote:

Hi Paul,

Can I have a screenshot? Sorry but I don't see propagate option here.

Thanks
Envoyé depuis iCloud

Le 4 sept. 2014 à 12:28, Paul Yu p...@mac.com a écrit :

Raymond

Look in entity modeler.  Under the EO tabs in the lower left corner.

Paul

Sent from my iPad

On Sep 4, 2014, at 5:51 AM, Raymond NANEON rnan...@me.com wrote:

I don't know. How I verify if it's a propagate pk in my eomdel?
In my SqlDeveloper, I don't see propagate option or something like that for 
the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 10:14, Alexander Spohr a...@freeport.de a écrit :

Is propagate primary key on in the source key tables?



Am 04.09.2014 um 08:27 schrieb Raymond NANEON rnan...@me.com:

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/atze%40freeport.de

This email sent to a...@freeport.de

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com

This email sent to p...@mac.com
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com

This email sent to kenli...@anderhome.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4 and JRebel

2014-08-07 Thread Raymond NANEON
JRebel and Jprofiler is 4.4.0 too after the built.
But if you want to use JRebel of Eclipse market, the version is 5.6.1.

Ray

 Le 7 août 2014 à 23:36, David Holt programming...@mac.com a écrit :
 
 What version of JRebel are you using?
 
 David
 
 
 On Aug 7, 2014, at 2:14 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 anyone have any experience with JRebel.
 
 I was using it in the old version 3.X. however I always had to manually add 
 a line to my launch configuration because the jrebel stuff wasn’t working. 
 Basically, I was manually adding the JRebel agent logging.
 
 First, does anyone know the correct way to add JRebel to a wonder launch 
 configuration, or B, is anyone else using this? and know how to turn it on?
 
 Maybe I could dig through some old files. Where are the run configuration 
 stored? Maybe I can hack through that.
 
 Ted
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Eclipse 4 and JRebel

2014-08-07 Thread Raymond NANEON
I didn’t configure JRebel. To use it, You must to activate it.
WOLips 4.4 needs JRebel for his build, so I Installed it but I don’t use it 
because I haven’t the license.

 Le 8 août 2014 à 00:37, Theodore Petrosky tedp...@yahoo.com a écrit :
 
 I have that version. How are you configuring it?
 
 
 
 On Aug 7, 2014, at 6:32 PM, Raymond NANEON rnan...@me.com wrote:
 
 JRebel and Jprofiler is 4.4.0 too after the built.
 But if you want to use JRebel of Eclipse market, the version is 5.6.1.
 
 Ray
 
 Le 7 août 2014 à 23:36, David Holt programming...@mac.com a écrit :
 
 What version of JRebel are you using?
 
 David
 
 
 On Aug 7, 2014, at 2:14 PM, Theodore Petrosky tedp...@yahoo.com wrote:
 
 anyone have any experience with JRebel.
 
 I was using it in the old version 3.X. however I always had to manually 
 add a line to my launch configuration because the jrebel stuff wasn’t 
 working. Basically, I was manually adding the JRebel agent logging.
 
 First, does anyone know the correct way to add JRebel to a wonder launch 
 configuration, or B, is anyone else using this? and know how to turn it on?
 
 Maybe I could dig through some old files. Where are the run configuration 
 stored? Maybe I can hack through that.
 
 Ted
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 
 This email sent to programming...@mac.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERXThreadStorage memory leak

2014-04-25 Thread Raymond NANEON
Hi Alexis,

Thanks for sharing. 
I go to put the solution in my apps properties.

Chuss

Ray

Envoyé de mon iPad

 Le 25 avr. 2014 à 16:39, Alexis Tual alexis.t...@gmail.com a écrit :
 
 Hello,
 
 just wanted to share this bug with the community, in fact it's a java bug 
 (or misconception) causing memory leaks :
 
 http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6501120
 
 With wonder, if you use ERXThreadStorage and inheritable thread storage (the 
 default), threads created later (even by third party libraries you don't even 
 know) will inherit the threadlocal.
 This can cause huge memory leaks, for example ERXSession.session() is based 
 on ERXThreadStorage... (if you use WOInject with SessionScoped, you're in 
 this case) so you will end up with some sessions not garbabe collected !
 
 Solution : deactivate inheritable thread storage with 
 er.extensions.ERXThreadStorage.useInheritableThreadLocal=false
 ... but then in your own threads you won't be able to retrieve anything from 
 ERXThreadStorage :)
 
 Cheers,
 
 Alex
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder 6.1.1 is out

2014-02-20 Thread Raymond NANEON
Hi Pascal,We was with JavaMonitor of WO 5.3.3, so I don't know about 5.4.3 version.Envoyé depuis iCloudLe 20 févr. 2014 à 12:46, Pascal Robert prob...@macti.ca a écrit :I guess it’s on a Linux box? That problem was there in the Apple version too (at least with 5.4.3). Hi Johann,I have a little thing to add about this new Wonder, specially in wonder JavaMonitor.It's possible to browser directly on server HDD to select app path like old JavaMonitor?If not, can You add it in the next version of Wonder JavaMonitor?i.e :Wonder JavaMonitornew.pngOld WO JavaMonitorold.pngThanks for your helpEnvoyé depuis iCloudLe 10 févr. 2014 à 16:24, Johann Werner j...@oyosys.com a écrit :Hi list,it has been a long time but finally Wonder 6.1.1 is officially out. Point your browser to the release page on github https://github.com/wocommunity/wonder/releases to get everything you need: a changelog and all artifacts you would get from the wocommunity jenkins server.Beginning with this version of the frameworks Wonder applications will log out that version number on startup. This is amongst others to make it easier for getting help from the mailing list as to provide more information on your WO setup. The version number reported on the Wonder Javadoc documentation will reflect that version number too so you can be sure looking at the documentation matching your version.Thanks for all those who contributed!For those using their own jenkins servers:Building the documentation put the Javadocs into a directory "dist/wonder-6.0/Documentation". That path changed to "dist/wonder/Documentation" without the "-6.0" part. You should check the settings of the Javadoc publisher plugin if that path is still matched or update it accordingly.___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.comThis email sent to rnan...@me.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.caThis email sent to prob...@macti.ca ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder 6.1.1 is out

2014-02-20 Thread Raymond NANEON
Hi Johann,thanks but why didn't add '/' in your code by default to show server files automatically? There was a constraint?Envoyé depuis iCloudLe 20 févr. 2014 à 12:48, Johann Werner j...@oyosys.com a écrit :Hi Raymond,  the file browser in JavaMonitor still works. When the listing is displayed the first time the directory to show is undefined though and thus shows no files. If you enter e.g. a '/' in "Jump to:" and click submit you get the correct listing of your root directory.  It could choose automatically the root directory at start though.  jw   Am 20.02.2014 um 11:57 schrieb Raymond NANEON rnan...@me.com: Hi Johann,I have a little thing to add about this new Wonder, specially in wonder JavaMonitor.It's possible to browser directly on server HDD to select app path like old JavaMonitor?If not, can You add it in the next version of Wonder JavaMonitor?i.e :Wonder JavaMonitornew.pngOld WO JavaMonitorold.pngThanks for your helpEnvoyé depuis iCloudLe 10 févr. 2014 à 16:24, Johann Werner j...@oyosys.com a écrit :Hi list,it has been a long time but finally Wonder 6.1.1 is officially out. Point your browser to the release page on github https://github.com/wocommunity/wonder/releases to get everything you need: a changelog and all artifacts you would get from the wocommunity jenkins server.Beginning with this version of the frameworks Wonder applications will log out that version number on startup. This is amongst others to make it easier for getting help from the mailing list as to provide more information on your WO setup. The version number reported on the Wonder Javadoc documentation will reflect that version number too so you can be sure looking at the documentation matching your version.Thanks for all those who contributed!For those using their own jenkins servers:Building the documentation put the Javadocs into a directory "dist/wonder-6.0/Documentation". That path changed to "dist/wonder/Documentation" without the "-6.0" part. You should check the settings of the Javadoc publisher plugin if that path is still matched or update it accordingly.___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.comThis email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Wonder 6.1.1 is out

2014-02-20 Thread Raymond NANEON
I think it would be great to have a path parameter in JavaMonitor porperties with path=/Library/WebObjects and which can Be changedEnvoyé depuis iCloudLe 20 févr. 2014 à 14:36, Pascal Robert prob...@macti.ca a écrit :That explains why it didn't show up anything on Linux since the default would be /opt/Local/Library/WebObjects on UNIX.  - Mail original - De: "Johann Werner" j...@oyosys.com À: "Raymond NANEON" rnan...@me.com Cc: "webobjects-dev@lists.apple.com WebObjects" webobjects-dev@lists.apple.com Envoyé: Jeudi 20 Février 2014 08:34:00 Objet: Re: Wonder 6.1.1 is out  Hi Raymond,  that code was not altered since 2008 it seems. The default directory that is fetched is /Library/WebObjects that probably doesn’t exist on your machine and thus the empty list you get. That behavior will be changed soon on master branch to either use / or a user defined default.  jw   Am 20.02.2014 um 14:24 schrieb Raymond NANEON rnan...@me.com: Hi Johann,thanks but why didn't add '/' in your code by default to show server files automatically? There was a constraint?Envoyé depuis iCloudLe 20 févr. 2014 à 12:48, Johann Werner j...@oyosys.com a écrit :Hi Raymond,the file browser in JavaMonitor still works. When the listing is displayed the first time the directory to show is undefined though and thus shows no files. If you enter e.g. a '/' in "Jump to:" and click submit you get the correct listing of your root directory.It could choose automatically the root directory at start though.jwAm 20.02.2014 um 11:57 schrieb Raymond NANEON rnan...@me.com:Hi Johann,I have a little thing to add about this new Wonder, specially in wonder JavaMonitor.It's possible to browser directly on server HDD to select app path like old JavaMonitor?If not, can You add it in the next version of Wonder JavaMonitor?i.e :Wonder JavaMonitornew.pngOld WO JavaMonitorold.pngThanks for your helpEnvoyé depuis iCloudLe 10 févr. 2014 à 16:24, Johann Werner j...@oyosys.com a écrit :Hi list,it has been a long time but finally Wonder 6.1.1 is officially out. Point your browser to the release page on github https://github.com/wocommunity/wonder/releases to get everything you need: a changelog and all artifacts you would get from the wocommunity jenkins server.Beginning with this version of the frameworks Wonder applications will log out that version number on startup. This is amongst others to make it easier for getting help from the mailing list as to provide more information on your WO setup. The version number reported on the Wonder Javadoc documentation will reflect that version number too so you can be sure looking at the documentation matching your version.Thanks for all those who contributed!For those using their own jenkins servers:Building the documentation put the Javadocs into a directory "dist/wonder-6.0/Documentation". That path changed to "dist/wonder/Documentation" without the "-6.0" part. You should check the settings of the Javadoc publisher plugin if that path is still matched or update it accordingly.___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.comThis email sent to rnan...@me.com  ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca  This email sent to prob...@macti.ca ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: java.lang.IllegalStateException: Trying to check out a session twice in one RR loop

2013-12-09 Thread Raymond NANEON
Hi Samuel,I surrounded the mySession() by "try - catch" because the Exception appear when sess = (Session) session(), so I catch the Exception and create a new session.The problem is not in creating new session but in checking old session.I initialized mySession with session which come from my DirectAction but I get the same Exception : Trying to check out a session twice in one RR loop.I go to override restoreSessionWithID method and not throwing an Exception, to see what will happens.ThanksEnvoyé depuis iCloudLe 6 déc. 2013 à 19:21, Samuel Pelletier sam...@samkar.com a écrit :Hi Raymond,I think the problem come from the "mySession()" method. You are not supposed to create session with new Session(). Why not use the session() method in the DirecAction base class?If the regular session() method throw, there is a problem somewhere else.SamuelLe 2013-12-06 à 03:30, Raymond NANEON rnan...@me.com a écrit :Hi Samuel and Chuck,Here is how the exception is occured.When I use the directAction link generated by my apps to access to a specific page all is fine. Example of my DA :public WOActionResults visaProjectAction() {  directVisa = true;  WOActionResults nextPage = null;  String login = "";  String password = "";  NSDictionary actionParams = getParamsFromRequest(request(), null);  String projetId = (String) actionParams.valueForKey(PROJET_ID_KEY);  String directVisa = (String) actionParams.valueForKey(DIRECTVISA);  NSMutableDictionary params = new NSMutableDictionary();  if (!MyStringCtrl.isEmpty(projetId)) {   params.put(PROJET_ID_KEY, new Integer(projetId));  }  if (!MyStringCtrl.isEmpty(directVisa)) {   if (directVisa.equals("O") || directVisa.equals("OUI")) {params.put(DIRECTVISA, new Boolean(true));params.put(DIRECTVALIDATE, new Boolean(false));   }  }  laSession().setActionParams(params.immutableClone());  if (useCasService()) {   return loginCASPage();  } else {   nextPage = pageWithName(DAVisaMain.class.getName());   return nextPage;  } }And then When I go to my apps Home, I get the Exception :Example myHome method :   public WOActionResults myHome() {  mySession().resetAll();  ERXRedirect redirect = (ERXRedirect) pageWithName(ERXRedirect.class.getName()); //mySession().reset();  redirect.setComponent(mySession().myHome());  return redirect; }public Session mySession() {  if (sess == null) {   try {sess = (Session) session();   } catch (Exception e) {sess = new Session();e.printStackTrace();   }  }  return sess; }The Exception occur when to go my apps Home, my apps re-call the session before display homePage.Important : My app use Wrapper.Before using DirectAction to access to my app I never had this kind of exception.Exception : java.lang.IllegalStateException: Trying to check out a session twice in one RR loop: tjRpYltVknbeqG0Eimzt1M at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2389) at com.webobjects.appserver.WOContext.session(WOContext.java:364) at com.webobjects.appserver.WOComponent.session(WOComponent.java:1324) at utt.rec.projet.server.components.MonComposant.mySession(MonComposant.java:117) at utt.rec.projet.server.components.EnseignantsChercheursView.init(EnseignantsChercheursView.java:52) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640) at com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:544) at com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:642) at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2332) at com.webobjects.appserver.WOComponent.pageWithName(WOComponent.java:1346) at utt.rec.projet.server.Session.myHome(Session.java:4265) at utt.rec.projet.server.components.EditNextProject.annuler(EditNextProject.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324) at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736) at com.webobjects.foundation.NS

Re: java.lang.IllegalStateException: Trying to check out a session twice in one RR loop

2013-12-09 Thread Raymond NANEON
Hi,I always have the Exception, so I rewrote mySession() method. After catching Exception, I don't create a new session but use the same like this : public Session mySession() { if (sess == null) { try { sess = (Session) session(); } catch (Exception e) { sess = (Session) Session.anySession(); sess.awake(); e.printStackTrace(); } } return sess; }If I comment the argument "e.printStackTrace()", the Exception is transparent. Time to resolved the issueWhat do you think?ThanksEnvoyé depuis iCloudLe 9 déc. 2013 à 10:20, Raymond NANEON rnan...@me.com a écrit :Hi Samuel,I surrounded the mySession() by "try - catch" because the Exception appear when sess = (Session) session(), so I catch the Exception and create a new session.The problem is not in creating new session but in checking old session.I initialized mySession with session which come from my DirectAction but I get the same Exception : Trying to check out a session twice in one RR loop.I go to override restoreSessionWithID method and not throwing an Exception, to see what will happens.ThanksEnvoyé depuis iCloudLe 6 déc. 2013 à 19:21, Samuel Pelletier sam...@samkar.com a écrit :Hi Raymond,I think the problem come from the "mySession()" method. You are not supposed to create session with new Session(). Why not use the session() method in the DirecAction base class?If the regular session() method throw, there is a problem somewhere else.SamuelLe 2013-12-06 à 03:30, Raymond NANEON rnan...@me.com a écrit :Hi Samuel and Chuck,Here is how the exception is occured.When I use the directAction link generated by my apps to access to a specific page all is fine. Example of my DA :public WOActionResults visaProjectAction() {  directVisa = true;  WOActionResults nextPage = null;  String login = "";  String password = "";  NSDictionary actionParams = getParamsFromRequest(request(), null);  String projetId = (String) actionParams.valueForKey(PROJET_ID_KEY);  String directVisa = (String) actionParams.valueForKey(DIRECTVISA);  NSMutableDictionary params = new NSMutableDictionary();  if (!MyStringCtrl.isEmpty(projetId)) {   params.put(PROJET_ID_KEY, new Integer(projetId));  }  if (!MyStringCtrl.isEmpty(directVisa)) {   if (directVisa.equals("O") || directVisa.equals("OUI")) {params.put(DIRECTVISA, new Boolean(true));params.put(DIRECTVALIDATE, new Boolean(false));   }  }  laSession().setActionParams(params.immutableClone());  if (useCasService()) {   return loginCASPage();  } else {   nextPage = pageWithName(DAVisaMain.class.getName());   return nextPage;  } }And then When I go to my apps Home, I get the Exception :Example myHome method :   public WOActionResults myHome() {  mySession().resetAll();  ERXRedirect redirect = (ERXRedirect) pageWithName(ERXRedirect.class.getName()); //mySession().reset();  redirect.setComponent(mySession().myHome());  return redirect; }public Session mySession() {  if (sess == null) {   try {sess = (Session) session();   } catch (Exception e) {sess = new Session();e.printStackTrace();   }  }  return sess; }The Exception occur when to go my apps Home, my apps re-call the session before display homePage.Important : My app use Wrapper.Before using DirectAction to access to my app I never had this kind of exception.Exception : java.lang.IllegalStateException: Trying to check out a session twice in one RR loop: tjRpYltVknbeqG0Eimzt1M at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2389) at com.webobjects.appserver.WOContext.session(WOContext.java:364) at com.webobjects.appserver.WOComponent.session(WOComponent.java:1324) at utt.rec.projet.server.components.MonComposant.mySession(MonComposant.java:117) at utt.rec.projet.server.components.EnseignantsChercheursView.init(EnseignantsChercheursView.java:52) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640) at com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:544) at com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition.java:642) at com.webobjects.appserver.WOApplication.pageWithName(WOApplication.java:2332) at com.webobjects.appserver.WOComponent.pageWithName(WOComponent.java:1346) at utt.rec.projet.server.Session.myHome(Session.java:4265) at utt.rec.projet.server.components.EditNextProject.annuler(EditNextProject.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.De

Re: java.lang.IllegalStateException: Trying to check out a session twice in one RR loop

2013-12-09 Thread Raymond NANEON
Hi Chuck,anySession() is a method which come from ERXSession classpublic static WOSession anySession() {  return (WOSession) ERXThreadStorage.valueForKey("session"); }ThanksEnvoyé depuis iCloudLe 9 déc. 2013 à 16:31, Chuck Hill ch...@global-village.net a écrit :\On 2013-12-09 2:37 AM, "Raymond NANEON" wrote:Hi, I always have the Exception, so I rewrote mySession() method. After catching Exception, I don't create a new session but use the same like this :   public Session mySession() {  if (sess == null) {  try {  sess = (Session) session();  } catch (Exception e) {  sess = (Session) Session.anySession();What is anySession()?  sess.awake();  e.printStackTrace();  }  }  return sess;  }  If I comment the argument "e.printStackTrace()", the Exception is transparent. Time to resolved the issue What do you think?  ThanksEnvoyé depuis iCloud Le 9 déc. 2013 à 10:20, Raymond NANEON rnan...@me.com a écrit : Hi Samuel,  I surrounded the mySession() by "try - catch" because the Exception appear when sess = (Session) session(), so I catch the Exception and create a new session. The problem is not in creating new session but in checking old session.  I initialized mySession with session which come from my DirectAction but I get the same Exception : Trying to check out a session twice in one RR loop.  I go to override restoreSessionWithID method and not throwing an Exception, to see what will happens.  ThanksEnvoyé depuis iCloud Le 6 déc. 2013 à 19:21, Samuel Pelletier sam...@samkar.com a écrit : Hi Raymond,I think the problem come from the "mySession()" method. You are not supposed to create session with new Session(). Why not use the session() method in the DirecAction base class?If the regular session() method throw, there is a problem somewhere else.SamuelLe 2013-12-06 à 03:30, Raymond NANEON rnan...@me.com a écrit :Hi Samuel and Chuck,  Here is how the exception is occured. When I use the directAction link generated by my apps to access to a specific page all is fine.   Example of my DA :  public WOActionResults visaProjectAction() {   directVisa = true;   WOActionResults nextPage = null;   String login = "";   String password = "";   NSDictionary actionParams = getParamsFromRequest(request(), null);   String projetId = (String) actionParams.valueForKey(PROJET_ID_KEY);   String directVisa = (String) actionParams.valueForKey(DIRECTVISA);   NSMutableDictionary params = new NSMutableDictionary();   if (!MyStringCtrl.isEmpty(projetId)) {params.put(PROJET_ID_KEY, new Integer(projetId));   }   if (!MyStringCtrl.isEmpty(directVisa)) {if (directVisa.equals("O") || directVisa.equals("OUI")) { params.put(DIRECTVISA, new Boolean(true)); params.put(DIRECTVALIDATE, new Boolean(false));}   }   laSession().setActionParams(params.immutableClone());   if (useCasService()) {return loginCASPage();   } else {nextPage = pageWithName(DAVisaMain.class.getName());return nextPage;   }  }  And then When I go to my apps Home, I get the Exception :  Example myHome method : public WOActionResults myHome() {   mySession().resetAll();   ERXRedirect redirect = (ERXRedirect) pageWithName(ERXRedirect.class .getName());  //mySession().reset();   redirect.setComponent(mySession().myHome());   return redirect;  }  public Session mySession() {   if (sess == null) {try { sess = (Session) session();} catch (Exception e) { sess = new Session(); e.printStackTrace();}   }   return sess;  } The Exception occur when to go my apps Home, my apps re-call the session before display homePage. Important : My app use Wrapper. Before using DirectAction to access to my app I never had this kind of exception.  Exception :  java.lang.IllegalStateException: Trying to check out a session twice in one RR loop: tjRpYltVknbeqG0Eimzt1M  at er.extensions.appserver.ERXApplication.restoreSessionWithID(ERXApplication.java:2389)  at com.webobjects.appserver.WOContext.session(WOContext.java:364)  at com.webobjects.appserver.WOComponent.session(WOComponent.java:1324)  at utt.rec.projet.server.components.MonComposant.mySession(MonComposant.java:117)  at utt.rec.projet.server.components.EnseignantsChercheursView.init(EnseignantsChercheursView.java:52)  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)  at com.webobjects.foundation._NSUtilities.instantiateObject(_NSUtilities.java:640)  at com.webobjects.appserver._private.WOComponentDefinition._componentInstanceInContext(WOComponentDefinition.java:544)  at com.webobjects.appserver._private.WOComponentDefinition.componentInstanceInContext(WOComponentDefinition

Re: java.lang.IllegalStateException: Trying to check out a session twice in one RR loop

2013-12-06 Thread Raymond NANEON
oup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:38) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:86) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:86) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOHTMLURLValuedElement.invokeAction(WOHTMLURLValuedElement.java:149) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079) at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:127) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079) at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357) at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1745) at er.extensions.appserver.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:119) at er.extensions.appserver.ERXApplication.invokeAction(ERXApplication.java:1988) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedPage(ERXComponentRequestHandler.java:157) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedSession(ERXComponentRequestHandler.java:235) at er.extensions.appserver.ERXComponentRequestHandler._dispatchWithPreparedApplication(ERXComponentRequestHandler.java:268) at er.extensions.appserver.ERXComponentRequestHandler._handleRequest(ERXComponentRequestHandler.java:302) at er.extensions.appserver.ERXComponentRequestHandler.handleRequest(ERXComponentRequestHandler.java:375) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2109) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2074) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) at java.lang.Thread.run(Thread.java:695)Thanks for helpEnvoyé depuis iCloudLe 5 déc. 2013 à 21:44, Samuel Pelletier sam...@samkar.com a écrit :Hi,I suggest you put some code and a stack trace, maybe the action method. With the information you provided, it is impossible to help, we only know you have a problem with Session.SamuelLe 2013-12-05 à 04:01, Raymond NANEON rnan...@me.com a écrit :Hi List,I get this Exception "java.lang.IllegalStateException : Trying to check out a session twice in one RR loop " after using a specific method in my DirectAction, then close the page and go to my apps home.I don't understand what going on.Thanks for your helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

java.lang.IllegalStateException: Trying to check out a session twice in one RR loop

2013-12-05 Thread Raymond NANEON
Hi List,I get this Exception "java.lang.IllegalStateException : Trying to check out a session twice in one RR loop " after using a specific method in my DirectAction, then close the page and go to my apps home.I don't understand what going on.Thanks for your helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOBootstrap.jar importance

2013-12-04 Thread Raymond NANEON
Hi Henrique,

My apps who includes WoInject run since few month without WObootstrap. Thanks 
to Alexis with an example of launch script on server side.

Envoyé de mon iPad

 Le 4 déc. 2013 à 01:48, Henrique Prange hpra...@gmail.com a écrit :
 
 Hi Ralf and Alexis,
 
 Thanks for your answers. The command line length doesn’t look like an 
 indispensable advantage (unless you’re deploying on Windows). I’m going to 
 recommend WOInject users to avoid running applications using the 
 WOBootstrap.jar.
 
 Cheers,
 
 Henrique
 
 On 03/12/2013, at 18:12, Alexis Tual alexis.t...@gmail.com wrote:
 
 Hi,
 
 the command line length is the only reason I can think of. ps auxwww | grep 
 java is pretty ugly with this... jps -v is better though.
 For several month of production with woinject, that's the only drawback we 
 faced for the moment :)
 
 Alex
 
 
 
 
 2013/12/2 Ralf Schuchardt r...@gmx.de
 Am 02.12.2013 um 13:58 schrieb Henrique Prange hpra...@gmail.com:
 
  Hey guys,
 
  Silly question: what is the importance/advantage of running WO 
  applications from WOBootstrap.jar?
 
  It looks like WOBootstrap just make things complicated. It uses an 
  alternative class loader and the original classpath is incomplete.
  So, considering this drawbacks, which advantages are provided by this 
  mechanism of WO app initialization compared to the old way (calling the 
  main method directly)?
 
  Cheers,
  Henrique
 
 
 Hi Henrique,
 
 WOBootstrap allows the use of long classpaths esp. on Windows, where the 
 maximum command line length was sometimes limited to only 2047 characters.
 
 Ralf
 
 
  ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com
 
 This email sent to alexis.t...@gmail.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

EOAdaptorDebugEnabled issue in lastest WOLips43 ??

2013-10-24 Thread Raymond NANEON
Hi List,I updated my WOLips37 to WOLips43 since I'm on Kepler and I have an EOAdaptorDebugEnabled problem.In my parameters I turn it to false but nothing isn't applied. I have some SQL expressions in my console.Is there big changes in the new WOLips which create this issue? Or there is another parameter to check?ThanksEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: EOAdaptorDebugEnabled issue in lastest WOLips43 ??

2013-10-24 Thread Raymond NANEON
Hi John,The configuration which I'm running is the same I use on Eclipse Helios and WOLips37 and it works fine with EOAdaptorDebugEnabled to false.Envoyé depuis iCloudLe 24 oct. 2013 à 16:16, John Huss johnth...@gmail.com a écrit :Check your Run configuration in eclipse.On Thu, Oct 24, 2013 at 9:10 AM, Raymond NANEON rnan...@me.com wrote:Hi List,I updated my WOLips37 to WOLips43 since I'm on Kepler and I have an EOAdaptorDebugEnabled problem. In my parameters I turn it to false but nothing isn't applied. I have some SQL expressions in my console.Is there big changes in the new WOLips which create this issue? Or there is another parameter to check? ThanksEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list   (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com  This email sent to johnth...@gmail.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-07 Thread Raymond NANEON
Hi Stravos,Thanks for your help. I try it quickly.RayEnvoyé depuis iCloudLe 07 oct. 2013 à 05:59, Stavros Panidis stavros.pani...@gmail.com a écrit :Hi Raymond,yes, this is what I mean.set1 = new set for fs1set2 = new set for fs2set1 = set1.setbyunioning(set2)StavrosOn 6 Οκτ 2013, at 6:27 μ.μ., Raymond NANEON rnan...@me.com wrote:Hi Stravos,Thanks for example but where "currentResultsSet" come from? from your 1st eofetchspec?example :EOFetchSpecification fs1 = newEOFetchSpecification("ENTITY1", specQualifier1,null);EOFetchSpecification fs2 = newEOFetchSpecification("ENTITY1", specQualifier2,null);specQualifier1 join with another entity.specQualifier2 is a simple qualifier.I want fs1 union fs2.ThanksLe 6 oct. 2013 à 16:58, Stavros Panidis stavros.pani...@gmail.com a écrit :Hi Raymond,like below…EOFetchSpecification fsSpecial = new EOFetchSpecification("Designs", specialQualifier, null);tempArray = ecQuery.objectsWithFetchSpecification(fsSpecial);NSSet specialSet = new NSSet(tempArray);if (intersection) resultsSet = currentResultsSet.setByIntersectingSet(specialSet);elseif(subtraction) resultsSet = currentResultsSet.setBySubtractingSet(specialSet);elseif(union) resultsSet = currentResultsSet.setByUnioningSet(specialSet);I hope it is what you are asking for.StavrosOn 6 Οκτ 2013, at 1:43 π.μ., Raymond NANEON rnan...@me.com wrote:Hi Stravos,You use NSSet? What syntax do you use in the eofetchspecification?ThanksEnvoyé de mon iPadLe 5 oct. 2013 à 16:22, Stavros Panidis stavros.pani...@gmail.com a écrit:On 4 Οκτ 2013, at 5:58 μ.μ.,Raymond NANEON rnan...@me.comwrote:Hi List,I want to use UNION in two EOFetch but I don't know how to do it.Thanks for your help.Envoyé depuis iCloud-- next part --An HTML attachment was scrubbed...URL: http://lists.apple.com/archives/webobjects-dev/attachments/20131004/15b6b9ff/attachment.html--Message: 2Date: Fri, 04 Oct 2013 12:02:11 + (GMT)From: Raymond NANEON rnan...@me.comTo: Raymond NANEON rnan...@me.comCc: "webobjects-dev@lists.apple.com WebObjects"webobjects-dev@lists.apple.comSubject: Re: Using UNION in EOFetchSpecificationMessage-ID: 163144e1-a019-4200-aeaf-cb149c6e0...@me.comContent-Type: text/plain; charset="utf-8"; Format="flowed"The UNION is on the same EOEntity.ThanksEnvoyé depuis iCloudI use NSSet.(If I understood your question!)Stavros Panidis ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification [RESOLVED]

2013-10-07 Thread Raymond NANEON
Hi Stravos,Thanks a lot. I works fine.RayEnvoyé depuis iCloudLe 07 oct. 2013 à 08:39, Raymond NANEON rnan...@me.com a écrit :Hi Stravos,Thanks for your help. I try it quickly.RayEnvoyé depuis iCloudLe 07 oct. 2013 à 05:59, Stavros Panidis stavros.pani...@gmail.com a écrit :Hi Raymond,yes, this is what I mean.set1 = new set for fs1set2 = new set for fs2set1 = set1.setbyunioning(set2)StavrosOn 6 Οκτ 2013, at 6:27 μ.μ., Raymond NANEON rnan...@me.com wrote:Hi Stravos,Thanks for example but where "currentResultsSet" come from? from your 1st eofetchspec?example :EOFetchSpecification fs1 = newEOFetchSpecification("ENTITY1", specQualifier1,null);EOFetchSpecification fs2 = newEOFetchSpecification("ENTITY1", specQualifier2,null);specQualifier1 join with another entity.specQualifier2 is a simple qualifier.I want fs1 union fs2.ThanksLe 6 oct. 2013 à 16:58, Stavros Panidis stavros.pani...@gmail.com a écrit :Hi Raymond,like below…EOFetchSpecification fsSpecial = new EOFetchSpecification("Designs", specialQualifier, null);tempArray = ecQuery.objectsWithFetchSpecification(fsSpecial);NSSet specialSet = new NSSet(tempArray);if (intersection) resultsSet = currentResultsSet.setByIntersectingSet(specialSet);elseif(subtraction) resultsSet = currentResultsSet.setBySubtractingSet(specialSet);elseif(union) resultsSet = currentResultsSet.setByUnioningSet(specialSet);I hope it is what you are asking for.StavrosOn 6 Οκτ 2013, at 1:43 π.μ., Raymond NANEON rnan...@me.com wrote:Hi Stravos,You use NSSet? What syntax do you use in the eofetchspecification?ThanksEnvoyé de mon iPadLe 5 oct. 2013 à 16:22, Stavros Panidis stavros.pani...@gmail.com a écrit:On 4 Οκτ 2013, at 5:58 μ.μ.,Raymond NANEON rnan...@me.comwrote:Hi List,I want to use UNION in two EOFetch but I don't know how to do it.Thanks for your help.Envoyé depuis iCloud-- next part --An HTML attachment was scrubbed...URL: http://lists.apple.com/archives/webobjects-dev/attachments/20131004/15b6b9ff/attachment.html--Message: 2Date: Fri, 04 Oct 2013 12:02:11 + (GMT)From: Raymond NANEON rnan...@me.comTo: Raymond NANEON rnan...@me.comCc: "webobjects-dev@lists.apple.com WebObjects"webobjects-dev@lists.apple.comSubject: Re: Using UNION in EOFetchSpecificationMessage-ID: 163144e1-a019-4200-aeaf-cb149c6e0...@me.comContent-Type: text/plain; charset="utf-8"; Format="flowed"The UNION is on the same EOEntity.ThanksEnvoyé depuis iCloudI use NSSet.(If I understood your question!)Stavros Panidis___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-07 Thread Raymond NANEON
Hi Samuel,

I resolved my issue with NSSet beteewn two eofetchspec. I don't use internal 
procedure or custom SQL querry because it returns a dictionnary not an entity.

Ray

Envoyé de mon iPad

 Le 7 oct. 2013 à 17:51, Samuel Pelletier sam...@samkar.com a écrit :
 
 Hi Raynond,
 
 I do not think it is possible to specify UNION like that and the way the sql 
 are generated probably prohibit it.
 
 If your results are small, the easy way is to merge your results in memory:
 
 NSArray result = firstFetch();
 result.arrayByAddingObjectsFromArray(secondFetchInSameEntity);
 result = ERXArrayUtilities.arrayWithoutDuplicates(result);
 
 If your result are bigger but not huge, you may try to use a Set to merge the 
 results by adding both results in the set and create an array with the 
 resulting set. By definition, Set does not allow duplicates.
 
 If you really need UNION in the database, you will need to use an internal 
 procedure or a custom SQL query.
 
 Samuel
 
 
 Le 2013-10-04 à 08:02, Raymond NANEON rnan...@me.com a écrit :
 
 The UNION is on the same EOEntity. 
 
 Thanks
 Envoyé depuis iCloud
 
 Le 04 oct. 2013 à 14:00, Raymond NANEON rnan...@me.com a écrit :
 
 Hi List,
 
 I want to use UNION in two EOFetch but I don't know how to do it.
 
 Thanks for your help.
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
  
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/samuel%40samkar.com
 
 This email sent to sam...@samkar.com
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-06 Thread Raymond NANEON
Hi Alexander,

by UNION I mean UNION between two SQL.

SELECT a, b, c FROM A, B …
UNION
SELECT a, b, c FROM A.

Le 6 oct. 2013 à 12:15, Alexander Spohr a...@freeport.de a écrit :

 Am 05.10.2013 um 23:43 schrieb Raymond NANEON rnan...@me.com:
 
 I want to use UNION in two EOFetch but I don't know how to do it.
 
 Not sure what you mean by using union. I can only guess :)
 
 Did you try EOFetchSpecification.setUsesDistinct(true)?
 
 
   atze
 
 https://developer.apple.com/legacy/library/documentation/LegacyTechnologies/WebObjects/WebObjects_5/EOControlRef/Java/Classes/EOFetchSpecification.html#//apple_ref/java/instm/EOFetchSpecification/setUsesDistinct


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-06 Thread Raymond NANEON
Hi Stravos,

Thanks for example but where currentResultsSet come from? from your 1st 
eofetchspec?
example : 
EOFetchSpecification fs1 = new EOFetchSpecification(ENTITY1, 
specQualifier1,null);
EOFetchSpecification fs2 = new EOFetchSpecification(ENTITY1, 
specQualifier2,null);

specQualifier1 join with another entity.

specQualifier2 is a simple qualifier.

I want fs1 union fs2.

Thanks

Le 6 oct. 2013 à 16:58, Stavros Panidis stavros.pani...@gmail.com a écrit :

 Hi Raymond,
 
 like below…
 
 EOFetchSpecification fsSpecial = new EOFetchSpecification(Designs, 
 specialQualifier, null);
 tempArray = ecQuery.objectsWithFetchSpecification(fsSpecial);
 NSSet specialSet = new NSSet(tempArray);
 if (intersection) resultsSet = 
 currentResultsSet.setByIntersectingSet(specialSet);
 else if(subtraction) resultsSet = 
 currentResultsSet.setBySubtractingSet(specialSet);
 else if(union) resultsSet = currentResultsSet.setByUnioningSet(specialSet);
 
 I hope it is what you are asking for.
 
 Stavros
 
 
 On 6 Οκτ 2013, at 1:43 π.μ., Raymond NANEON rnan...@me.com wrote:
 
 Hi Stravos,
 
 You use NSSet? What syntax do you use in the eofetchspecification?
 
 Thanks
 
 Envoyé de mon iPad
 
 Le 5 oct. 2013 à 16:22, Stavros Panidis stavros.pani...@gmail.com a écrit :
 
 
 On 4 Οκτ 2013, at 5:58 μ.μ., Raymond NANEON rnan...@me.com wrote:
 
 
 
 Hi List,
 
 I want to use UNION in two EOFetch but I don't know how to do it.
 
 Thanks for your help.
 
 Envoyé depuis iCloud
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.apple.com/archives/webobjects-dev/attachments/20131004/15b6b9ff/attachment.html
 
 --
 
 Message: 2
 Date: Fri, 04 Oct 2013 12:02:11 + (GMT)
 From: Raymond NANEON rnan...@me.com
 To: Raymond NANEON rnan...@me.com
 Cc: webobjects-dev@lists.apple.com WebObjects
webobjects-dev@lists.apple.com
 Subject: Re: Using UNION in EOFetchSpecification
 Message-ID: 163144e1-a019-4200-aeaf-cb149c6e0...@me.com
 Content-Type: text/plain; charset=utf-8; Format=flowed
 
 The UNION is on the same EOEntity.
 
 Thanks
 
 Envoyé depuis iCloud
 
 
 
 I use NSSet.
 
 (If I understood your question!)
 
 Stavros Panidis
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-05 Thread Raymond NANEON
Hi Stravos,

You use NSSet? What syntax do you use in the eofetchspecification?

Thanks

Envoyé de mon iPad

 Le 5 oct. 2013 à 16:22, Stavros Panidis stavros.pani...@gmail.com a écrit :
 
 
 On 4 Οκτ 2013, at 5:58 μ.μ., Raymond NANEON rnan...@me.com wrote:
 
 
 
 Hi List,
 
 I want to use UNION in two EOFetch but I don't know how to do it.
 
 Thanks for your help.
 
 Envoyé depuis iCloud
 -- next part --
 An HTML attachment was scrubbed...
 URL: 
 http://lists.apple.com/archives/webobjects-dev/attachments/20131004/15b6b9ff/attachment.html
 
 --
 
 Message: 2
 Date: Fri, 04 Oct 2013 12:02:11 + (GMT)
 From: Raymond NANEON rnan...@me.com
 To: Raymond NANEON rnan...@me.com
 Cc: webobjects-dev@lists.apple.com WebObjects
  webobjects-dev@lists.apple.com
 Subject: Re: Using UNION in EOFetchSpecification
 Message-ID: 163144e1-a019-4200-aeaf-cb149c6e0...@me.com
 Content-Type: text/plain; charset=utf-8; Format=flowed
 
 The UNION is on the same EOEntity.
 
 Thanks
 
 Envoyé depuis iCloud
 
 
 I use NSSet.
 
 (If I understood your question!)
 
 Stavros Panidis
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Using UNION in EOFetchSpecification

2013-10-04 Thread Raymond NANEON
Hi List,I want to use UNION in two EOFetch but I don't know how to do it.Thanks for your help.Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Using UNION in EOFetchSpecification

2013-10-04 Thread Raymond NANEON
The UNION is on the same EOEntity. ThanksEnvoyé depuis iCloudLe 04 oct. 2013 à 14:00, Raymond NANEON rnan...@me.com a écrit :Hi List,I want to use UNION in two EOFetch but I don't know how to do it.Thanks for your help.Envoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-26 Thread Raymond NANEON
Hi Ted,When I look in to JVM's arguments with VusialVM on my app's instance, I have correct parameters : -Duser.language=fr   -Duser.region=FR   -Duser.timezone=Europe/ParisWhat's wrong?RayEnvoyé depuis iCloudLe 25 jul 2013 à 08:19, Theodore Petrosky tedp...@yahoo.com a écrit :does this help:http://www.minaret.biz/tips/timezone.htmlandhttp://community.jaspersoft.com/wiki/timezones-jasperreports-serverOn Jul 25, 2013, at 11:07 AM, Raymond NANEON rnan...@me.com wrote:according to my reading, java is supposed to ignore the DST. But what about WO.and if you are using a custom jasper framework, what about its handling of the DST issue?In the custom framework, I don't useTimeZone. Only the app who implements the framework, manage the timeZone according the WO spécification and WO Server.On Jul 25, 2013, at 10:33 AM, Theodore Petrosky tedp...@yahoo.com wrote:http://www.worldtimezone.com/time/wtzresult.php?CiID=6409forma=Find%20Timeinteresting that your current timezone is DST +1 but current timezone offset says +2could this have something to do with the DST?On Jul 25, 2013, at 9:56 AM, Raymond NANEON rnan...@me.com wrote:if you are using your own framework, what version of JasperReports are you using? I have my own version of ERJasperReports but only because I want to use 5.1 jasper reports.so everything is beautiful on the development box but the deployment box screws the pooch.server timezoneserver timezone === Europe/Paris datebase timezonedatebase timezone === Europe/Paris WO timezoneWO timezone ===Europe/Paris why is Java confused?where else could this get screwed up?I really don't understandThursday, 25 Jul 2013 03:36 PMStandard Time Zone:GMT/UTC + 01:00 hourDaylight Saving Time:DST in use +1 hourCurrent Time Zone offset:GMT/UTC + 2:00that current timezone offset is interesting.On Jul 25, 2013, at 9:20 AM, Raymond NANEON rnan...@me.com wrote:Hi Theodore,I had lots of problems with the time zone issue. I finally added to my application()public Application() {//some stuff  TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));  NSTimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));}I have the same line in the Application method (Europe/Paris)and things have stabilized.are you using the ERJasperReports? I use this all the time with no problems.I don't use ERJasperReports but a specific framework. I don't think the framework is the problem beacause it works fine on my development computer. The problem is after deploying.TedRayOn Jul 25, 2013, at 8:50 AM, Raymond NANEON rnan...@me.com wrote:Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubs

Re: WOInject failure on deploying app

2013-07-25 Thread Raymond NANEON
Hi Henrique,Good to see you work on the issue. I tried Alexis method by bypassing WOBootstrap, modifing the app launching script and it works fine but I don't have my WebServerResources. So Alexis An idea??Thanks a lot.Envoyé depuis iCloudLe 24 jul 2013 à 18:33, Henrique Prange hpra...@gmail.com a écrit :Hi Raymond,Alexis already sent me a sample project so I can reproduce the problem. I'm probably going to look into this problem carefully during the weekend.I have a new implementation of the WOInject initialization that can probably solve those class loading issues. I'm going to produce a jar with the changes as soon as I can.Cheers,HenriqueSent from my iPhoneOn 24/07/2013, at 16:05, Raymond NANEON rnan...@me.com wrote:Hi List,I use woinject 1.1 into my app but after deploying it on the production server I have a big surprise. I get this exception :Caused by: javassist.NotFoundException:
com.webobjects.foundation._NSUtilities
at javassist.ClassPool.get(ClassPool.java:450)
at com.woinject.WOInject.init(WOInject.java:66)
... 6 moreclasspath is correct but it don’t run.I read Alexis answer on Wonder-Disc by googling, the exception is caused by WOBootstrap.jar.He deployed and run his app without WOBootstrap.jar.So Henrique Prange, what do you think ?I go to try Alexis's method tomorrow at my office.WOBootstrap.jar is still necessary in a deploying WO apps?Thanks ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.comThis email sent to hpra...@gmail.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOInject failure on deploying app

2013-07-25 Thread Raymond NANEON
Sorry Alexis my bad.In my Properties file I had WOFrameworksBaseURL=/WebObjects/RFcct.woa/Frameworks and not WOFrameworksBaseURL=/WebObjects/RFcct.woa/Contents/FrameworksI corrected it and it works fineThanksEnvoyé depuis iCloudLe 25 jul 2013 à 00:49, Raymond NANEON rnan...@me.com a écrit :Hi Henrique,Good to see you work on the issue. I tried Alexis method by bypassing WOBootstrap, modifing the app launching script and it works fine but I don't have my WebServerResources. So Alexis An idea??Thanks a lot.Envoyé depuis iCloudLe 24 jul 2013 à 18:33, Henrique Prange hpra...@gmail.com a écrit :Hi Raymond,Alexis already sent me a sample project so I can reproduce the problem. I'm probably going to look into this problem carefully during the weekend.I have a new implementation of the WOInject initialization that can probably solve those class loading issues. I'm going to produce a jar with the changes as soon as I can.Cheers,HenriqueSent from my iPhoneOn 24/07/2013, at 16:05, Raymond NANEON rnan...@me.com wrote:Hi List,I use woinject 1.1 into my app but after deploying it on the production server I have a big surprise. I get this exception :Caused by: javassist.NotFoundException:
com.webobjects.foundation._NSUtilities
at javassist.ClassPool.get(ClassPool.java:450)
at com.woinject.WOInject.init(WOInject.java:66)
... 6 moreclasspath is correct but it don’t run.I read Alexis answer on Wonder-Disc by googling, the exception is caused by WOBootstrap.jar.He deployed and run his app without WOBootstrap.jar.So Henrique Prange, what do you think ?I go to try Alexis's method tomorrow at my office.WOBootstrap.jar is still necessary in a deploying WO apps?Thanks ___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.comThis email sent to hpra...@gmail.com___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
Hi list,I am having a little issue when using data extraction in my app. On my development machine, the data (especially birthday) are not altered but the server side I lose 1 hour on them.A problem with the server configuration?When I run the command "date", I have correct date : Thu Jul 25 11:54:25 CEST 2013A problem with WO environment configuration?Thank you for your help.Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
Hi Theodore,I had lots of problems with the time zone issue. I finally added to my application()public Application() {//some stuff  TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));  NSTimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));}I have the same line in the Application method (Europe/Paris)and things have stabilized.are you using the ERJasperReports? I use this all the time with no problems.I don't use ERJasperReports but a specific framework. I don't think the framework is the problem beacause it works fine on my development computer. The problem is after deploying.TedRayOn Jul 25, 2013, at 8:50 AM, Raymond NANEON rnan...@me.com wrote:Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
if you are using your own framework, what version of JasperReports are you using? I have my own version of ERJasperReports but only because I want to use 5.1 jasper reports.so everything is beautiful on the development box but the deployment box screws the pooch.server timezoneserver timezone === Europe/Paris datebase timezonedatebase timezone === Europe/Paris WO timezoneWO timezone ===Europe/Paris why is Java confused?where else could this get screwed up?I really don't understandThursday, 25 Jul 2013 03:36 PMStandard Time Zone:GMT/UTC + 01:00 hourDaylight Saving Time:DST in use +1 hourCurrent Time Zone offset:GMT/UTC + 2:00that current timezone offset is interesting.On Jul 25, 2013, at 9:20 AM, Raymond NANEON rnan...@me.com wrote:Hi Theodore,I had lots of problems with the time zone issue. I finally added to my application()public Application() {//some stuff  TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));  NSTimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));}I have the same line in the Application method (Europe/Paris)and things have stabilized.are you using the ERJasperReports? I use this all the time with no problems.I don't use ERJasperReports but a specific framework. I don't think the framework is the problem beacause it works fine on my development computer. The problem is after deploying.TedRayOn Jul 25, 2013, at 8:50 AM, Raymond NANEON rnan...@me.com wrote:Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
if
 you are using your own framework, what version of JasperReports are you
 using? I have my own version of ERJasperReports but only because I want
 to use 5.1 jasper reports.=== JasperReports 4.1.1http://www.worldtimezone.com/time/wtzresult.php?CiID=6409forma=Find%20Timeinteresting that your current timezone is DST +1 but current timezone offset says +2could this have something to do with the DST?I think the problem is offset +2 because before DST, all worked fine. Since DST, I have the problem and I dont know how to manage it server side.On Jul 25, 2013, at 9:56 AM, Raymond NANEON rnan...@me.com wrote:if you are using your own framework, what version of JasperReports are you using? I have my own version of ERJasperReports but only because I want to use 5.1 jasper reports.so everything is beautiful on the development box but the deployment box screws the pooch.server timezoneserver timezone === Europe/Paris datebase timezonedatebase timezone === Europe/Paris WO timezoneWO timezone ===Europe/Paris why is Java confused?where else could this get screwed up?I really don't understandThursday, 25 Jul 2013 03:36 PMStandard Time Zone:GMT/UTC + 01:00 hourDaylight Saving Time:DST in use +1 hourCurrent Time Zone offset:GMT/UTC + 2:00that current timezone offset is interesting.On Jul 25, 2013, at 9:20 AM, Raymond NANEON rnan...@me.com wrote:Hi Theodore,I had lots of problems with the time zone issue. I finally added to my application()public Application() {//some stuff  TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));  NSTimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));}I have the same line in the Application method (Europe/Paris)and things have stabilized.are you using the ERJasperReports? I use this all the time with no problems.I don't use ERJasperReports but a specific framework. I don't think the framework is the problem beacause it works fine on my development computer. The problem is after deploying.TedRayOn Jul 25, 2013, at 8:50 AM, Raymond NANEON rnan...@me.com wrote:Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WO server - loss of an hour in the data extraction

2013-07-25 Thread Raymond NANEON
according to my reading, java is supposed to ignore the DST. But what about WO.and if you are using a custom jasper framework, what about its handling of the DST issue?In the custom framework, I don't useTimeZone. Only the app who implements the framework, manage the timeZone according the WO spécification and WO Server.On Jul 25, 2013, at 10:33 AM, Theodore Petrosky tedp...@yahoo.com wrote:http://www.worldtimezone.com/time/wtzresult.php?CiID=6409forma=Find%20Timeinteresting that your current timezone is DST +1 but current timezone offset says +2could this have something to do with the DST?On Jul 25, 2013, at 9:56 AM, Raymond NANEON rnan...@me.com wrote:if you are using your own framework, what version of JasperReports are you using? I have my own version of ERJasperReports but only because I want to use 5.1 jasper reports.so everything is beautiful on the development box but the deployment box screws the pooch.server timezoneserver timezone === Europe/Paris datebase timezonedatebase timezone === Europe/Paris WO timezoneWO timezone ===Europe/Paris why is Java confused?where else could this get screwed up?I really don't understandThursday, 25 Jul 2013 03:36 PMStandard Time Zone:GMT/UTC + 01:00 hourDaylight Saving Time:DST in use +1 hourCurrent Time Zone offset:GMT/UTC + 2:00that current timezone offset is interesting.On Jul 25, 2013, at 9:20 AM, Raymond NANEON rnan...@me.com wrote:Hi Theodore,I had lots of problems with the time zone issue. I finally added to my application()public Application() {//some stuff  TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));  NSTimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));}I have the same line in the Application method (Europe/Paris)and things have stabilized.are you using the ERJasperReports? I use this all the time with no problems.I don't use ERJasperReports but a specific framework. I don't think the framework is the problem beacause it works fine on my development computer. The problem is after deploying.TedRayOn Jul 25, 2013, at 8:50 AM, Raymond NANEON rnan...@me.com wrote:Hi Jesse,The WO server have CEST and database have Europe/Paris.When I read data from my app ,I have a correct birthday date. But when I use my extraction method from jasper I lose 1 hour. When I run the .jasper from jaspertsoft I always have a correct birthday date.I don't understand what happen when the app send the .csv file from server.ThanksEnvoyé depuis iCloudLe 25 jul 2013 à 04:07, Jesse Tayler jtay...@oeinc.com a écrit :what’s the timezone on your server / database?an hour off from CEST I’m guessing.On Jul 25, 2013, at 6:03 AM, Raymond NANEON rnan...@me.com wrote:Hi list,I am havingalittle issuewhen usingdata extraction in my app.On mydevelopment machine, the data (especiallybirthday)are not alteredbutthe server sideI lose1 hour onthem.Aproblem with the serverconfiguration?When I runthe command "date",I havecorrect date: ThuJul2511:54:25CEST2013AproblemwithWOenvironment configuration?Thank youfor your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.comThis email sent tojtay...@oeinc.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.comThis email sent to tedp...@yahoo.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

WOInject failure on deploying app

2013-07-24 Thread Raymond NANEON
Hi List,

I use woinject 1.1 into my app but after deploying it on the production server 
I have a big surprise. I get this exception :

Caused by: javassist.NotFoundException:
com.webobjects.foundation._NSUtilities
at javassist.ClassPool.get(ClassPool.java:450)
at com.woinject.WOInject.init(WOInject.java:66)
... 6 more

classpath is correct but it don’t run. 

I read Alexis answer on Wonder-Disc by googling, the exception is caused by 
WOBootstrap.jar. 

He deployed and run his app without WOBootstrap.jar.

So Henrique Prange, what do you think ? 

I go to try Alexis's method tomorrow at my office.

WOBootstrap.jar is still necessary in a deploying WO apps?

Thanks ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Guice configuration error: No implementation was bound

2013-07-23 Thread Raymond NANEON
Hi List,I try to use WOInject and Guice in my Apps and FWK but they cause a fail. Alexis gave me an example how to do but I don't understand the module I create is not added, the interface's injection create an Exception.My FWK module codepublic class RfcctModule extends AbstractModule { /* (non-Javadoc) * @see com.google.inject.AbstractModule#configure() */ @Override protected void configure() {  // TODO Auto-generated method stub  bind(RechercheCompetenceService.class).to(RechercheCompetenceServiceImpl.class); }}FwkUttCompetences classpublic class FwkUttCompetences extends ERXFrameworkPrincipal {  static { setUpFrameworkPrincipalClass(FwkUttCompetences.class); } /* (non-Javadoc) * @see er.extensions.ERXFrameworkPrincipal#finishInitialization() */ @Override public void finishInitialization() {  // TODO Auto-generated method stub ModuleRegister moduleRegister = CktlWebApplication.application().getModuleRegister(); moduleRegister.addModule(new RfcctModule()); }injection interface implementationpublic class Accueil extends BaseComponent {...@Inject private RechercheCompetenceService rechercheCompetenceService;//EXCEPTION}Exception :juil. 23 16:35:03 RFcct[8485] ERROR com.webobjects.foundation.InstantiationInterceptor - The instantiation of org.utt.rfcct.serveur.components.Accueil class has failed.CreationException: Guice creation errors:1) No implementation for org.utt.fwkuttcompetences.serveur.modele.rfcct.service.recherche.RechercheCompetenceService was bound. while locating org.utt.fwkuttcompetences.serveur.modele.rfcct.service.recherche.RechercheCompetenceService for field at org.utt.rfcct.serveur.components.Accueil.rechercheCompetenceService(Accueil.java:80) at org.utt.rfcct.serveur.components.Accueil.class(Accueil.java:80)1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435) at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)I put a breakpoint in at the finishInitialization method of the FwkUttCompetences.Class but The Debug mode never break there. I think the FwkUttCompetences.Class is never read and I don't know why.Thanks a lot for help.Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: [RESOLVED] Guice configuration error: No implementation was bound

2013-07-23 Thread Raymond NANEON
Hi Alex,Great view. I haven't set prinpalCalss in the build.properties.Sorry.It works fine.So what about latest FWKS of the association? I began to update the FWKs on my computer using git clone. My apps are based on fullCktl FWK so I haven't choice.ThanksEnvoyé depuis iCloudLe 23 jul 2013 à 08:17, Alexis Tual alexis.t...@gmail.com a écrit :Hi Raymond,have you set the principal class in your build.properties :principalClass=my.package.FwkUttCompetences?2013/7/23 Raymond NANEON rnan...@me.comHi List,I try to use WOInject and Guice in my Apps and FWK but they cause a fail. Alexis gave me an example how to do but I don't understand the module I create is not added, the interface's injection create an Exception. My FWK module codepublic class RfcctModule extends AbstractModule { /* (non-Javadoc) * @see com.google.inject.AbstractModule#configure() */ @Override protected void configure() {   // TODO Auto-generated method stub  bind(RechercheCompetenceService.class).to(RechercheCompetenceServiceImpl.class); }}FwkUttCompetences classpublic class FwkUttCompetences extends ERXFrameworkPrincipal {   static { setUpFrameworkPrincipalClass(FwkUttCompetences.class); } /* (non-Javadoc) * @see er.extensions.ERXFrameworkPrincipal#finishInitialization() */ @Override  public void finishInitialization() {  // TODO Auto-generated method stub ModuleRegister moduleRegister = CktlWebApplication.application().getModuleRegister(); moduleRegister.addModule(new RfcctModule());  }injection interface implementationpublic class Accueil extends BaseComponent {...@Inject private RechercheCompetenceService rechercheCompetenceService;//EXCEPTION} Exception :juil. 23 16:35:03 RFcct[8485] ERROR com.webobjects.foundation.InstantiationInterceptor - The instantiation of org.utt.rfcct.serveur.components.Accueil class has failed.CreationException: Guice creation errors: 1) No implementation for org.utt.fwkuttcompetences.serveur.modele.rfcct.service.recherche.RechercheCompetenceService was bound. while locating org.utt.fwkuttcompetences.serveur.modele.rfcct.service.recherche.RechercheCompetenceService  for field at org.utt.rfcct.serveur.components.Accueil.rechercheCompetenceService(Accueil.java:80) at org.utt.rfcct.serveur.components.Accueil.class(Accueil.java:80)1 error at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)  at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106) at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:217)  at com.google.inject.internal.InjectorImpl.createChildInjector(InjectorImpl.java:224)I put a breakpoint in at the finishInitialization method of the FwkUttCompetences.Class but The Debug mode never break there. I think the FwkUttCompetences.Class is never read and I don't know why. Thanks a lot for help.Envoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list   (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com  This email sent to alexis.t...@gmail.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi List,I don't understand why item is null when I want to dynamically create tabs in AjaxTabbedPanel using WORepetion.What's wrong in my codes?Envoyé depuis iCloudLe 12 jul 2013 à 07:08, Raymond NANEON rnan...@me.com a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html : webobject name = "Tabs" webobject name = "repeatTabbedPanelTab" webobject name = "DynamiqueTab"webobject name = "template" //webobject /webobject /webobjectwod : Tabs : AjaxTabbedPanel { id = tabsId;}repeatTabbedPanelTab : WORepetition { list = competences; item = competenceItem; identifier = dynaTabId;}DynamiqueTab : AjaxTabbedPanelTab { name = libelle; isSelected = false; id = dynaTabId;}template : TemplateCompTierBase { competence = competenceItem; domaine = competenceItem.domaine; editingContext = competenceItem.editingContext;  updateContainerID = TRCompoementId;}In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.Thanks for your helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi Paul,Thanks for your help.Can I have detail of .java ? tabSelection nature? observationsTab ?? where do you use this component?Envoyé depuis iCloudLe 15 jul 2013 à 05:07, Paul Yu p...@mac.com a écrit :RaymondI had better success using CCTabPanel for dynamically creating tabs..htmlwo:CCAjaxTabPanelid="tabs"selectedTab="$tabSelection"tabs="$tabs"tabNameKey="tabLabel"useFormSubmit="$true"!-- wo:str value = "$selectedTabsWOComponent" /--wo:AjaxUpdateContainerid="ccTabContentContainer"  wo:switchWOComponentName="$selectedTabsWOComponent"accessController="$accessController"evaluation="$evaluation"//wo:AjaxUpdateContainer/wo:CCAjaxTabPanel.java private NSArrayNSDictionary _tabs;   public NSArrayNSDictionary tabs() {  if (_tabs == null) {// the evaluation has a method for getting the districtDomainsNSMutableArrayNSDictionary tabs = new NSMutableArrayNSDictionary();  NSMutableDictionaryObject, String myTab1 = new NSMutableDictionaryObject, String("My Tab Title", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here   tabs.add(myTab1);_tabs = tabs.immutableClone();  }   return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON rnan...@me.com wrote:Hi List,I don't understand why item is null when I want to dynamically create tabs in AjaxTabbedPanel using WORepetion.What's wrong in my codes?Envoyé depuis iCloudLe 12 jul 2013 à 07:08, Raymond NANEON rnan...@me.com a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html : webobject name = "Tabs" webobject name = "repeatTabbedPanelTab" webobject name = "DynamiqueTab"webobject name = "template" //webobject /webobject /webobjectwod : Tabs : AjaxTabbedPanel { id = tabsId;}repeatTabbedPanelTab : WORepetition { list = competences; item = competenceItem; identifier = dynaTabId;}DynamiqueTab : AjaxTabbedPanelTab { name = libelle; isSelected = false; id = dynaTabId;}template : TemplateCompTierBase { competence = competenceItem; domaine = competenceItem.domaine; editingContext = competenceItem.editingContext;  updateContainerID = TRCompoementId;}In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.Thanks for your helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi Paul,Your example is great but very confused with all variables. Can I have a clean .java example.Sorry for the mess.Envoyé depuis iCloudLe 15 jul 2013 à 06:19, Paul Yu p...@mac.com a écrit :RaymondobservationsTab ismyTab1. Sorry. Cut and paste and clean, not too good.private NSDictionary _tabSelection;public NSDictionary tabSelection() {return_tabSelection;  }  public void setTabSelection(NSDictionary tabSelection) {_tabSelection = tabSelection;String tabLabelString = (String) _tabSelection.valueForKey("tabLabel");  }   public Object selectedTabsWOComponent() {return _tabSelection.valueForKey("wocomponent");  }On Jul 15, 2013, at 9:09 AM, Raymond NANEON rnan...@me.com wrote:Hi Paul,Thanks for your help.Can I have detail of .java ? tabSelection nature? observationsTab ?? where do you use this component?Envoyé depuis iCloudLe 15 jul 2013 à 05:07, Paul Yu p...@mac.com a écrit :RaymondI had better success using CCTabPanel for dynamically creating tabs..htmlwo:CCAjaxTabPanelid="tabs"selectedTab="$tabSelection"tabs="$tabs"tabNameKey="tabLabel"useFormSubmit="$true"!-- wo:str value = "$selectedTabsWOComponent" /--wo:AjaxUpdateContainerid="ccTabContentContainer"  wo:switchWOComponentName="$selectedTabsWOComponent"accessController="$accessController"evaluation="$evaluation"//wo:AjaxUpdateContainer/wo:CCAjaxTabPanel.java private NSArrayNSDictionary _tabs;   public NSArrayNSDictionary tabs() {  if (_tabs == null) {// the evaluation has a method for getting the districtDomainsNSMutableArrayNSDictionary tabs = new NSMutableArrayNSDictionary();  NSMutableDictionaryObject, String myTab1 = new NSMutableDictionaryObject, String("My Tab Title", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here   tabs.add(myTab1);_tabs = tabs.immutableClone();  }   return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON rnan...@me.com wrote:Hi List,I don't understand why item is null when I want to dynamically create tabs in AjaxTabbedPanel using WORepetion.What's wrong in my codes?Envoyé depuis iCloudLe 12 jul 2013 à 07:08, Raymond NANEON rnan...@me.com a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html : webobject name = "Tabs" webobject name = "repeatTabbedPanelTab" webobject name = "DynamiqueTab"webobject name = "template" //webobject /webobject /webobjectwod : Tabs : AjaxTabbedPanel { id = tabsId;}repeatTabbedPanelTab : WORepetition { list = competences; item = competenceItem; identifier = dynaTabId;}DynamiqueTab : AjaxTabbedPanelTab { name = libelle; isSelected = false; id = dynaTabId;}template : TemplateCompTierBase { competence = competenceItem; domaine = competenceItem.domaine; editingContext = competenceItem.editingContext;  updateContainerID = TRCompoementId;}In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.Thanks for your helpEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

[SOLVED] - Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hi Paul,Thanks a lot.It works fine.Envoyé depuis iCloudLe 15 jul 2013 à 06:43, Paul Yu p...@mac.com a écrit :RaymondThis should be it..java  private NSDictionary _tabSelection; public NSDictionary tabSelection() {return_tabSelection;  }  public void setTabSelection(NSDictionary tabSelection) {_tabSelection = tabSelection;String tabLabelString = (String) _tabSelection.valueForKey("tabLabel");// THIS IS MY DYNAMIC LIST   NSArrayEvaluationDomain temp = EOQualifier.filteredArrayWithQualifier(evaluationDomains(), EvaluationDomain.TAB_LABEL.likeInsensitive(tabLabelString));if ( ! temp.isEmpty()) {  _accessController.setEvaluationDomain((EvaluationDomain) temp.objectAtIndex(0));} else {  _accessController.setEvaluationDomain(null);} }   public Object selectedTabsWOComponent() {return _tabSelection.valueForKey("wocomponent");  }  private NSArrayNSDictionary _tabs;   public NSArrayNSDictionary tabs() {  if (_tabs == null) {// CREATE THE LIST OF NSDictionaries to load into the arrayNSMutableArrayNSDictionary tabs = new NSMutableArrayNSDictionary();  NSMutableDictionaryObject, String observationsTab = new NSMutableDictionaryObject, String("Observations", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");NSMutableDictionaryObject, String recommendationsTab = new NSMutableDictionaryObject, String("Recommendations", "tabLabel");  recommendationsTab.takeValueForKey(EvaluationRecommendations.class.getName(), "wocomponent");  NSMutableDictionaryObject, String teacherResponseTab = new NSMutableDictionaryObject, String("Teacher Response", "tabLabel");  teacherResponseTab.takeValueForKey(EvaluationTeacherResponse.class.getName(), "wocomponent");  NSMutableDictionaryObject, String artifactsTab = new NSMutableDictionaryObject, String("Artifacts", "tabLabel");  artifactsTab.takeValueForKey(EvaluationArtifacts.class.getName(), "wocomponent");// This is the list of Tabs  // Start with Observation  // Then the Domains associated with this Evaluation  // Then the Administrators recommendations and then the Teachers Response  // Finally the Artifactstabs.add(observationsTab);for (EvaluationDomain evaluationDomain : evaluation().evaluationDomainsSortedByDisplaySequenceKey() ) { String tabLabel = evaluationDomain.tabLabel();  NSMutableDictionaryObject, String tab = new NSMutableDictionaryObject, String();  tab.takeValueForKey(tabLabel, "tabLabel");  tab.takeValueForKey(EvaluationDetailDomain.class.getName(), "wocomponent"); tabs.add(tab.immutableClone());   }   tabs.add(recommendationsTab);  tabs.add(teacherResponseTab);   tabs.add(artifactsTab);_tabs = tabs.immutableClone();  }   return _tabs;}On Jul 15, 2013, at 9:36 AM, Raymond NANEON rnan...@me.com wrote:Hi Paul,Your example is great but very confused with all variables. Can I have a clean .java example.Sorry for the mess.Envoyé depuis iCloudLe 15 jul 2013 à 06:19, Paul Yu p...@mac.com a écrit :RaymondobservationsTab ismyTab1. Sorry. Cut and paste and clean, not too good.private NSDictionary _tabSelection;public NSDictionary tabSelection() {return_tabSelection;  }  public void setTabSelection(NSDictionary tabSelection) {_tabSelection = tabSelection;String tabLabelString = (String) _tabSelection.valueForKey("tabLabel");  }   public Object selectedTabsWOComponent() {return _tabSelection.valueForKey("wocomponent");  }On Jul 15, 2013, at 9:09 AM, Raymond NANEON rnan...@me.com wrote:Hi Paul,Thanks for your help.Can I have detail of .java ? tabSelection nature? observationsTab ?? where do you use this component?Envoyé depuis iCloudLe 15 jul 2013 à 05:07, Paul Yu p...@mac.com a écrit :RaymondI had better success using CCTabPanel for dynamically creating tabs..htmlwo:CCAjaxTabPanelid="tabs"selectedTab="$tabSelection"tabs="$tabs"tabNameKey="tabLabel"useFormSubmit="$true"!-- wo:str value = "$selectedTabsWOComponent" /--wo:AjaxUpdateContainerid="ccTabContentContainer"  wo:switchWOComponentName="$selectedTabsWOComponent"accessController="$accessController"evaluation="$evaluation"//wo:AjaxUpdateContainer/wo:CCAjaxTabPanel.java private NSArrayNSDictionary _tabs;   public NSArrayNSDictionary tabs() {  if (_tabs == null) {// the evaluation has a method for getting the districtDomainsNSMutableArrayNSDictionary tabs = new NSMutableArrayNSDictionary();  NSMutableDictionaryObject, String myTab1 = new NSMutableDictionaryObject, String("My Tab Title", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs here   tabs.add(myTa

Re: Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-15 Thread Raymond NANEON
Hey Chuck,AjaxTabbedPanel don't like loop it seems. I tried the method of Paul and I solved my problem.ThanksEnvoyé depuis iCloudLe 15 jul 2013 à 07:21, Chuck Hill ch...@global-village.net a écrit :Yes, AjaxTabbedPanel is going to fight you here.  Chuck  On 2013-07-15, at 5:07 AM, Paul Yu wrote: RaymondI had better success using CCTabPanel for dynamically creating tabs..htmlwo:CCAjaxTabPanel id = "tabs" selectedTab="$tabSelection" tabs = "$tabs" tabNameKey="tabLabel" useFormSubmit="$true"!-- wo:str value = "$selectedTabsWOComponent" / --wo:AjaxUpdateContainer id = "ccTabContentContainer"wo:switch WOComponentName="$selectedTabsWOComponent" accessController="$accessController" evaluation = "$evaluation" //wo:AjaxUpdateContainer/wo:CCAjaxTabPanel.javaprivate NSArrayNSDictionary _tabs;public NSArrayNSDictionary tabs() {if (_tabs == null) {// the evaluation has a method for getting the districtDomainsNSMutableArrayNSDictionary tabs = new NSMutableArrayNSDictionary();NSMutableDictionaryObject, String myTab1 = new NSMutableDictionaryObject, String("My Tab Title", "tabLabel");observationsTab.takeValueForKey(ObservationSubTab.class.getName(), "wocomponent");// More tabs heretabs.add(myTab1);_tabs = tabs.immutableClone();}return _tabs;}PaulOn Jul 15, 2013, at 4:18 AM, Raymond NANEON rnan...@me.com wrote:Hi List,I don't understand why item is null when I want to dynamically create tabs in AjaxTabbedPanel using WORepetion.What's wrong in my codes?Envoyé depuis iCloudLe 12 jul 2013 à 07:08, Raymond NANEON rnan...@me.com a écrit :Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html :webobject name = "Tabs"webobject name = "repeatTabbedPanelTab"webobject name = "DynamiqueTab"webobject name = "template" //webobject/webobject/webobjectwod :Tabs : AjaxTabbedPanel {id = tabsId;}repeatTabbedPanelTab : WORepetition {list = competences;item = competenceItem;identifier = dynaTabId;}DynamiqueTab : AjaxTabbedPanelTab {name = libelle;isSelected = false;id = dynaTabId;}template : TemplateCompTierBase {competence = competenceItem;domaine = competenceItem.domaine;editingContext = competenceItem.editingContext;updateContainerID = TRCompoementId;}In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.Thanks for your helpEnvoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.comThis email sent to rnan...@me.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.comThis email sent to p...@mac.com___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.netThis email sent to ch...@global-village.net --  Chuck Hill  Executive Managing Partner, VP Development and Technical Services  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/gvc/practical_webobjects  Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing Companies in B.C!   Global Village Consulting ranks 44th in 25th annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT Magazine! ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Create dynamic AjaxTabbedPanelTab in AjaxTabbedPanel with WORepetion

2013-07-12 Thread Raymond NANEON
Hi List,I want to create many of AjaxTabbedPanelTab from WORepetition in AjaxTabbedPanel.html : webobject name = "Tabs" webobject name = "repeatTabbedPanelTab" webobject name = "DynamiqueTab"webobject name = "template" //webobject /webobject /webobjectwod : Tabs : AjaxTabbedPanel { id = tabsId;}repeatTabbedPanelTab : WORepetition { list = competences; item = competenceItem; identifier = dynaTabId;}DynamiqueTab : AjaxTabbedPanelTab { name = libelle; isSelected = false; id = dynaTabId;}template : TemplateCompTierBase { competence = competenceItem; domaine = competenceItem.domaine; editingContext = competenceItem.editingContext;  updateContainerID = TRCompoementId;}In this case (WORepetition in AjaxTabbedPanel) in the repetition item is always NULL.So when I put the AjaxTabbedPanel in the WORepetition, it works fine but I have many of AjaxTabbedPanel instead of many tabs.Thanks for your helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC 2014

2013-07-10 Thread Raymond NANEON
+++ for April.
Cabane à sucre. Pas mal

Envoyé de mon iPad

Le 10 juil. 2013 à 20:13, prob...@macti.ca a écrit :

 http://cabaneasucreaupieddecochon.com/index_e.html
 http://www.gallant.qc.ca/monteregie-getaway/inn-282-restaurant-maple-discovery-menu.cfm
 http://www.sucreriedelamontagne.com/eng/index.php
 
 I know you.  You just want the Maple syrup!
 On 2013-07-10, at 10:37 AM, David Holt wrote:
 Any of those dates should work for me. I think I prefer April too.
 David
 On 2013-07-10, at 6:14 AM, prob...@macti.ca wrote:
 Ok guys. So WOWODC 2013 went quite well, no major problems, good Wifi, 
 etc. But we were only 60 guys, 15 less than in 2012 and 2011... I known 
 that some regulars couldn't make it because of the chosen dates so looks 
 like we should return to the first week-end of July or late August like we 
 did in the past.
 We are also looking at doing in April since it might be cheaper for 
 flights and the sleeping rooms (no worry, weather is not that bad in 
 April). So tentative dates are:
 - April 5/6/7 (Easter is two weeks after, so it's not a problem)
 - June 28/29/30
 - August 22/23/24 (yes, it's really Friday, Saturday and Sunday, schools 
 in Quebec usually starts on August 25 or 26, so I can't do it on August 25)
 Before we make a decision, I would like to known if those dates are a 
 problem for many of you, like spring break or if it's a period where a lot 
 of people in your country goes on vacation.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
 This email sent to programming...@mac.com
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 This email sent to ch...@global-village.net
 -- 
 Chuck Hill Executive Managing Partner, VP Development and 
 Technical Services
 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/gvc/practical_webobjects
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! Global Village Consulting ranks 44th in 25th 
 annual PROFIT 500 ranking of Canada’s Fastest-Growing Companies by PROFIT 
 Magazine!
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Rép : Re: ec.SaveChanges and relationship

2013-06-19 Thread Raymond NANEON
Hi Samuel,There are no SQL _expression_, it fails in fetchSpec when it want to read relationship. So I deleted all relationship between differents models. I have activated foreign keys in class description, set foreign keys and the commit in database works fine. foreign keys exists in database so there are no problem.I took the workaround, time to find a real solution.ThanksEnvoyé depuis iCloudLe 18 jun 2013 à 10:09, Raymond NANEON rnan...@me.com a écrit :Yep Samuel in the stack it tries to fetch personnels in EOIndividuUlr but the problem "personnel".setIndividuRelationship(individu) is a new entity so, there is no primary key ?I am not at my office, may be tomorrow for SQL _expression_.ThanksLe 18 juin 2013 à 18:30, Samuel Pelletier sam...@samkar.com a écrit :Strange, it seems EOF failed to create a global id for a result. I think the stack indicate EOF is fetching toMany named "personnels" in the "EOIndividuUlr" entity.I would check the SQL issued by EOF on the console, you may find the row that cause this, check for primary and foreign key problems.SamuelLe 2013-06-18 à 10:59, Raymond NANEON rnan...@me.com a écrit :Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.N

Rép : JodaDateTime and mySQL update.

2013-06-19 Thread Raymond NANEON
Hi James,Unlock date of your entity description in your model (i.e : dateModified) and retry.RayEnvoyé depuis iCloudLe 19 jun 2013 à 07:02, James Cicenia ja...@jimijon.com a écrit :I am getting an error:Caused by: com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in databaseHere is the SQL being generated:UPDATE Device SET lastReportedLatitude = ?, lastReportedLongitude = ?, dateModified = ? WHERE (id = ? AND badge is NULL AND hwid = ? AND lastReportedLatitude = ? AND lastReportedLongitude = ? AND osGatewayID = ? AND ppAppKey = ? AND token = ? AND zoneID is NULL)" withBindings: 1:41.85897038322115(lastReportedLatitude), 2:-87.66461452477394(lastReportedLongitude), 3:2013-06-19T08:52:51.734-05:00(dateModified), 4:2(id), 5:"6C219B57-8184-4537-85CE-B4A33F78F91E"(hwid), 6:41.8588996399584(lastReportedLatitude), 7:-87.6646017842811(lastReportedLongitude), 8:0(osGatewayID), 9:"679DB-17774"(ppAppKey), 10:"63080abb26010101ee4c...34a91d9a62bdaf20440a"(token)Here is it converted to run :This Fails:UPDATE Device SET lastReportedLatitude = 41.85897038322115, lastReportedLongitude = -87.66461452477394, dateModified = 2013-06-19T08:52:51.734-05:00 WHERE (id = 2 AND badge is NULL AND hwid = "6C219B57-8184-4537-85CE-B4A33F78F91E" AND lastReportedLatitude = 41.8588996399584 AND lastReportedLongitude = -87.6646017842811 AND osGatewayID = 0 AND ppAppKey = "679DB-17774" AND token = "63080abb26010101ee4c...34a91d9a62bdaf20440a" AND zoneID is NULL);However if I put quotes around dateModified it does update.Am I missing a setting?___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Hi List,I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation :addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); -When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1.juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)Thanks for your help.Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Hi Maik,I have read and followed all EOF Commandements but I can't fix the issue.an idea?thanksEnvoyé depuis iCloudLe 18 jun 2013 à 02:43, Musall Maik m...@selbstdenker.ag a écrit :Hi Raymond,I have come across those as well some time ago, and it turned out that I didn't strictly obey all the EOF commandments back then.http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-The+EOF+CommandmentsIf you don't follow those, EOF will fight back with all sorts of strange effects, like those NullPointerExceptions, or missing snapshot exceptions and the like. So I suggest you doublecheck those thoroughly.MaikAm 18.06.2013 um 09:44 schrieb Raymond NANEON rnan...@me.com:Hi List,I have a big problem to save my data. When I set the relastionship entity1.setEntity2Relationship(entity2), I get a java NullPointerException at the method who set the relation :addObjectToBothSidesOfRelationshipWithKey(entity2, _Enity1.ENTITY2_KEY); -When I try another way entity1.setEntity2(enity2) I get the same java NullPointerException when I want to save entity1.juin 18 09:34:38 PreProjets[8484] ERROR er.extensions.appserver.ERXApplication - NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) ... skipped 1 stack elements at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) ... skipped 2 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) ... skipped 4 stack elements at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:373) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)Thanks for your help.Envoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.agThis email sent to m...@selbstdenker.ag___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
) at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324) at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:449) at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212) at com.webobjects.foundation.NSKeyValueCodingAdditions$Utility.valueForKeyPath(NSKeyValueCodingAdditions.java:151) at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:217) at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804) at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50) at er.extensions.components.ERXComponentUtilities.valueForBinding(ERXComponentUtilities.java:539) at er.extensions.components.ERXDynamicElement.valueForBinding(ERXDynamicElement.java:161) at er.ajax.AjaxSubmitButton.handleRequest(AjaxSubmitButton.java:328) at er.ajax.AjaxSubmitButton.invokeAction(AjaxSubmitButton.java:319) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at er.extensions.components._private.ERXWOForm.invokeAction(ERXWOForm.java:218) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at er.ajax.AjaxDynamicElement.invokeAction(AjaxDynamicElement.java:50) at er.ajax.AjaxUpdateContainer.invokeAction(AjaxUpdateContainer.java:82) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOComponentContent.invokeAction(WOComponentContent.java:38) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOConditional.invokeAction(WOConditional.java:86) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver._private.WOHTMLURLValuedElement.invokeAction(WOHTMLURLValuedElement.java:149) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079) at com.webobjects.appserver._private.WOComponentReference.invokeAction(WOComponentReference.java:127) at com.webobjects.appserver._private.WODynamicGroup.invokeChildrenAction(WODynamicGroup.java:105) at com.webobjects.appserver._private.WODynamicGroup.invokeAction(WODynamicGroup.java:115) at com.webobjects.appserver.WOComponent.invokeAction(WOComponent.java:1079) at com.webobjects.appserver.WOSession.invokeAction(WOSession.java:1357) at com.webobjects.appserver.WOApplication.invokeAction(WOApplication.java:1745) at er.extensions.appserver.ajax.ERXAjaxApplication.invokeAction(ERXAjaxApplication.java:119) at er.extensions.appserver.ERXApplication.invokeAction(ERXApplication.java:1988) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedPage(WOComponentRequestHandler.java:206) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedSession(WOComponentRequestHandler.java:298) at com.webobjects.appserver._private.WOComponentRequestHandler._dispatchWithPreparedApplication(WOComponentRequestHandler.java:332) at com.webobjects.appserver._private.WOComponentRequestHandler._handleRequest(WOComponentRequestHandler.java:369) at com.webobjects.appserver._private.WOComponentRequestHandler.handleRequest(WOComponentRequestHandler.java:442) at er.ajax.AjaxRequestHandler.handleRequest(AjaxRequestHandler.java:20) at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1687) at er.extensions.appserver.ERXApplication.dispatchRequestImmediately(ERXApplication.java:2109) at er.extensions.appserver.ERXApplication.dispatchRequest(ERXApplication.java:2074) at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:226) at java.lang.Thread.run(Thread.java:680)Envoyé depuis iCloudLe 18 jun 2013 à 03:43, Raymond NANEON rnan...@me.com a écrit :Hi Maik,I have read and followed all EOF Commandements but I can't fix

Rép : Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in differents models.Envoyé depuis iCloudLe 18 jun 2013 à 07:59, Raymond NANEON rnan...@me.com a écrit :Here is the complete stacktrace : juin 18 16:56:00 PreProjets[8484] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionjava.lang.NullPointerException at com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356) at com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401) at com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49) at com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279) at er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378) at com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614) at er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207) at com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634) at com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814) at com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535) at com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326) at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357) at com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179) at com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227) at com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055) at er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68) at com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488) at com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069) at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305) at com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084) at er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50) at com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634) at com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923) at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265) at com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245) at com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77) at com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39) at com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99) at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460) at com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904) at er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223) at utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSSelector._safeInvokeMethod(NSSelector.java:122) at com.webobjects.eocontrol.EOCustomObject.addObjectToPropertyWithKey(EOCustomObject.java:940) at com.webobjects.eocontrol.EOCustomObject.addObjectToBothSidesOfRelationshipWithKey(EOCustomObject.java:1055) at er.extensions.eof.ERXGenericRecord.addObjectToBothSidesOfRelationshipWithKey(ERXGenericRecord.java:582) at utt.rec.projet.server.metier.admrec._EOPersonnel.setIndividuRelationship(_EOPersonnel.java:128) at utt.rec.projet.server.components.controler.NextProjectCtrl.ajoutPerson(NextProjectCtrl.java:796) at utt.rec.projet.server.components.controler.NextProjectCtrl.updatePers(NextProjectCtrl.java:672) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke

Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Yep Samuel in the stack it tries to fetch personnels in EOIndividuUlr but the 
problem personnel.setIndividuRelationship(individu)  is a new entity so, 
there is no primary key ? 
I am not at my office, may be tomorrow for SQL expression.

Thanks

Le 18 juin 2013 à 18:30, Samuel Pelletier sam...@samkar.com a écrit :

 Strange, it seems EOF failed to create a global id for a result. I think the 
 stack indicate EOF is fetching toMany named personnels in the 
 EOIndividuUlr entity.
 
 I would check the SQL issued by EOF on the console, you may find the row that 
 cause this, check for primary and foreign key problems.
 
 Samuel
 
 Le 2013-06-18 à 10:59, Raymond NANEON rnan...@me.com a écrit :
 
 Here is the complete stacktrace : 
 
 juin 18 16:56:00 PreProjets[8484] INFO  er.transaction.adaptor.Exceptions  - 
 Database Exception occured: java.lang.NullPointerException
 java.lang.NullPointerException
 at 
 com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356)
 at 
 com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401)
 at 
 com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
 at 
 com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
 at 
 er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378)
 at 
 com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
 at 
 er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207)
 at 
 com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
 at 
 com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814)
 at 
 com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326)
 at 
 com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439)
 at 
 er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357)
 at 
 com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179)
 at 
 com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227)
 at 
 com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055)
 at 
 er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68)
 at 
 com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
 at 
 com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
 at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305)
 at 
 com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084)
 at 
 er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634)
 at 
 com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923)
 at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265)
 at 
 com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245)
 at 
 com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77)
 at 
 com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39)
 at 
 com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99)
 at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460)
 at 
 com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904)
 at 
 er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223)
 at 
 utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597

Re: ec.SaveChanges and relationship

2013-06-18 Thread Raymond NANEON
Models are on the same database. I have set relationship two entities in the 
same model and there is no problem but with another model it fails.

I use dbConnectServerGLOBAL, dbConnectUserGLOBAL, dbConnectPasswordGLOBAL for 
models and there is no connection problem.

Thanks Chuck

Le 18 juin 2013 à 18:05, Chuck Hill ch...@global-village.net a écrit :

 Are they in the same database?  If so, the connection information for the two 
 models must be absolutely identical.
 
 Chuck
 
 
 On 2013-06-18, at 8:01 AM, Raymond NANEON wrote:
 
 Oupppsss, I forgot something, EOIndividuUlr and EOPersonnel are in 
 differents models.
 Envoyé depuis iCloud
 
 Le 18 jun 2013 à 07:59, Raymond NANEON rnan...@me.com a écrit :
 
 Here is the complete stacktrace : 
 
 juin 18 16:56:00 PreProjets[8484] INFO  er.transaction.adaptor.Exceptions  
 - Database Exception occured: java.lang.NullPointerException
 java.lang.NullPointerException
at 
 com.webobjects.eoaccess.EODatabaseContext._objectFaultWithSnapshotRelationshipEditingContext(EODatabaseContext.java:2356)
at 
 com.webobjects.eoaccess.EODatabaseContext._fireDeferredFaultWithSourceObject(EODatabaseContext.java:2401)
at 
 com.webobjects.eoaccess.EOAccessDeferredFaultHandler.createFaultForDeferredFault(EOAccessDeferredFaultHandler.java:49)
at 
 com.webobjects.eocontrol.EOCustomObject.willReadRelationship(EOCustomObject.java:1279)
at 
 er.extensions.eof.ERXGenericRecord.willReadRelationship(ERXGenericRecord.java:378)
at 
 com.webobjects.eocontrol._EOMutableKnownKeyDictionary$Initializer$_LazyGenericRecordBinding.valueInObject(_EOMutableKnownKeyDictionary.java:614)
at 
 er.extensions.eof.ERXGenericRecord$TouchingBinding.valueInObject(ERXGenericRecord.java:207)
at 
 com.webobjects.eocontrol.EOCustomObject.storedValueForKey(EOCustomObject.java:1634)
at 
 com.webobjects.eoaccess.EODatabaseContext.databaseOperationForObject(EODatabaseContext.java:4814)
at 
 com.webobjects.eoaccess.EODatabaseContext.valuesForKeys(EODatabaseContext.java:6535)
at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.valuesForKeys(EOObjectStoreCoordinator.java:326)
at 
 com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:439)
at 
 er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.schemaBasedQualifierWithRootEntity(ERXExtensions.java:357)
at 
 com.webobjects.eoaccess.EOQualifierSQLGeneration$Support._schemaBasedQualifierWithRootEntity(EOQualifierSQLGeneration.java:179)
at 
 com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecification(EODatabaseChannel.java:227)
at 
 com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:3055)
at 
 er.extensions.eof.ERXDatabaseContext._objectsWithFetchSpecificationEditingContext(ERXDatabaseContext.java:68)
at 
 com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification(EODatabaseContext.java:3195)
at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:488)
at 
 com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:4069)
at er.extensions.eof.ERXEC.objectsWithFetchSpecification(ERXEC.java:1305)
at 
 com.webobjects.eoaccess.EODatabaseContext.objectsForSourceGlobalID(EODatabaseContext.java:4084)
at 
 er.extensions.eof.ERXDatabaseContext.objectsForSourceGlobalID(ERXDatabaseContext.java:50)
at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsForSourceGlobalID(EOObjectStoreCoordinator.java:634)
at 
 com.webobjects.eocontrol.EOEditingContext.objectsForSourceGlobalID(EOEditingContext.java:3923)
at er.extensions.eof.ERXEC.objectsForSourceGlobalID(ERXEC.java:1265)
at 
 com.webobjects.eoaccess.EODatabaseContext._fireArrayFault(EODatabaseContext.java:4245)
at 
 com.webobjects.eoaccess.EOAccessArrayFaultHandler.completeInitializationOfObject(EOAccessArrayFaultHandler.java:77)
at 
 com.webobjects.eocontrol._EOCheapCopyMutableArray.willRead(_EOCheapCopyMutableArray.java:39)
at 
 com.webobjects.eocontrol._EOCheapCopyMutableArray.count(_EOCheapCopyMutableArray.java:99)
at com.webobjects.foundation.NSArray.containsObject(NSArray.java:460)
at 
 com.webobjects.eocontrol.EOCustomObject.includeObjectIntoPropertyWithKey(EOCustomObject.java:904)
at 
 er.extensions.eof.ERXGenericRecord.includeObjectIntoPropertyWithKey(ERXGenericRecord.java:1223)
at 
 utt.rec.projet.server.metier.grhum._EOIndividuUlr.addToPersonnels(_EOIndividuUlr.java:895)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597

ec.saveChanges and update error : updateValuesInRowDescribedByQualifier

2013-06-17 Thread Raymond NANEON
Hi List,I am using context for save, update or delete data in my app. Save and delete work fine but when I want to update a data, I get this erreor :ERROR er.extensions.appserver.ERXApplication - updateValuesInRowDescribedByQualifier -- er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in databaseI searched in values set to data on update but I find nothing.When I execute SQL _expression_ generated by the app directly in sql developper there is no error.Any idea about this issue?Thanks a lotEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Rép : ec.saveChanges and update error : updateValuesInRowDescribedByQualifier [RESOLVED]

2013-06-17 Thread Raymond NANEON
Hi list,sorry for the inconvenience, I had a date locked in my model.Envoyé depuis iCloudLe 17 jun 2013 à 01:36, Raymond NANEON rnan...@me.com a écrit :Hi List,I am using context for save, update or delete data in my app. Save and delete work fine but when I want to update a data, I get this erreor :ERROR er.extensions.appserver.ERXApplication - updateValuesInRowDescribedByQualifier -- er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in databaseI searched in values set to data on update but I find nothing.When I execute SQL _expression_ generated by the app directly in sql developper there is no error.Any idea about this issue?Thanks a lotEnvoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Vertical inheritance bug

2013-05-30 Thread Raymond NANEON
Hey Alex,

You rock dude.
Well done

Envoyé de mon iPad

Le 30 mai 2013 à 16:56, Alexis Tual alexis.t...@gmail.com a écrit :

 And some more generic fix :
 
   for (EOModel model : ERXModelGroup.defaultGroup().models()) {
   for (EOEntity entity : model.entities()) {
   for (EORelationship relationship : entity.relationships()) {
   EOEntity destination = relationship.destinationEntity();
   if (destination != null  destination.parentEntity() 
 != null) {
   relationship.anyInverseRelationship();
   }
   }
   }
   }
 
 Alex
 
 
 2013/5/30 Alexis Tual alexis.t...@gmail.com
 Ok despite my eyes bleeding and my brain melting, I continued to dig and 
 found that at some point that EORelationship#anyInverseRelationship is 
 called to order the changes. This can't find an inverse relationship and 
 creates one in memory then calls EOEntity#setEdited, setting 
 _attributesToSave to null...
 The relationship is between an entity from another model 
 RepartUefEtablissement and the subentity Ue, a quick workaround consists 
 in calling anyInverseRelationship before the saveChanges() :
 EOEntity entity = EOUtilities.entityForClass(ec, 
 EORepartUefEtablissement.class);
 EORelationship relationship = 
 entity.relationshipNamed(EORepartUefEtablissement.COMPOSANT_UE.key());
 relationship.anyInverseRelationship();
 
 Hope it will help someone else
 
 Alex
 
 
 2013/5/30 Alexis Tual alexis.t...@gmail.com
 Hi list,
 
 this one is tedious, in a framework, we have a model with an abstract 
 entity Composant and subentities Ap and Ue mapped with vertical 
 inheritance.
 In one application, this works with no error.
 In another app, we have a SQL error when a instance of Ap and Ue are 
 inserted and saved :
  SQL for AP insertion is OK :
 INSERT INTO SCO_SCOLARITE.COMPOSANT(ID_COMPOSANT, CODE, LL_COMPOSANT...
 INSERT INTO SCO_SCOLARITE.AP(TYPE_AP_ID, SEUIL, NB_GROUPES...
 
  SQL for Ue insertion is not OK :
 INSERT INTO SCO_SCOLARITE.COMPOSANT(ID_UE, CODE, LL_COMPOSANT...
 
 It should be ID_COMPOSANT...
 
 So, I took my jd and digged down EOF, here's my found :
 when generating SQL, ERXEntity#anyAttributeNamed is called in 
 EOSQLExpression#prepareInsertExpressionWithRow.
 In this method, when EOEntity#anyAttributeNamed is called for the attribute 
 'NeededByEOF0' of AP, it returns the right thing :
 
 EOAttribute NeededByEOF0
 name : 'NeededByEOF0'
 definition : 'sco_Composant.id'
 className : 'java.lang.Number'
 externalType : 'NUMBER'
 valueType : 'i'
 precision : '38'
 
 
 whereas for the same attribute of UE, it returns null.. and this explains 
 why the primary key of the subentity is taken instead of the one from the 
 parent...
 So why it returns null ? The responsible is attribute 
 EOEntity#_attributesToSave which is somehow unset...
 
 Lachlan Deck or anyone, any ideas ?
 
 Any help is appreciated, 
 
 Alex
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
 
 This email sent to rnan...@me.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


checking device or platform

2013-05-22 Thread Raymond NANEON
Hi List,I want to check the device or platform on which my app running, to activate or not some options. Does it exist a component which does it well?I try WOConditional and test this example : in Html webobject name = "platform" webobject name = "nav"mobileOption/webobject /webobjectin woDplatform : WOConditional { condition = platform;}in Java :public boolean platform() {  return mySession().browser().isIPad()|| mySession().browser().isIPhone()|| mySession().browser().isUnknownPlatform();}This example don't activate mobileOption when I run my app on my iPhone.Thanks for helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Re: checking device or platform

2013-05-22 Thread Raymond NANEON
Hi Johann,Thanks for your advice but it doesn't resolve my issue.Envoyé depuis iCloudLe 22 mai 2013 à 04:40, Johann Werner j...@oyosys.de a écrit :Instead of mySession().browser() you should preferably use browser() that ERXComponent provides. That's a little bit shorter and works also for sessionless pages.  jw   Am 22.05.2013 um 12:35 schrieb Raymond NANEON rnan...@me.com:   Hi List,I want to check the device or platform on which my app running, to activate or not some options. Does it exist a component which does it well?I try WOConditional and test this example : in Htmlwebobject name = "platform"  webobject name = "nav"mobileOption/webobject  /webobjectin woDplatform : WOConditional {  condition = platform;  }in Java :public boolean platform() {  return mySession().browser().isIPad()  || mySession().browser().isIPhone()  || mySession().browser().isUnknownPlatform();  }This example don't activate mobileOption when I run my app on my iPhone.Thanks for help  Envoyé depuis iCloud   ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


[SOLVED]Rép : Re: checking device or platform

2013-05-22 Thread Raymond NANEON
Thanks to all, problem resolved.Envoyé depuis iCloudLe 22 mai 2013 à 05:19, Johann Werner j...@oyosys.de a écrit : Am 22.05.2013 um 14:05 schrieb Raymond NANEON rnan...@me.com:   Hi Johann,Thanks for your advice but it doesn't resolve my issue.  Uhm, yeah, that happens when the phone rings while writing an email ;-)  So browser().isIPhone() returns false? You should check the values in ERXBrowserFactory.parsePlatform what your iPhone sends as user-agent string and why the browser object is initialized with a different platform. If there is a bug, patches for wonder are welcome :-)  jwEnvoyé depuis iCloudLe 22 mai 2013 à 04:40, Johann Werner j...@oyosys.de a écrit :Instead of mySession().browser() you should preferably use browser() that ERXComponent provides. That's a little bit shorter and works also for sessionless pages.jw  Am 22.05.2013 um 12:35 schrieb Raymond NANEON rnan...@me.com: Hi List,  I want to check the device or platform on which my app running, to activate or not some options. Does it exist a component which does it well?  I try WOConditional and test this example :   in Html  webobject name = "platform"   webobject name = "nav"mobileOption/webobject   /webobject  in woD  platform : WOConditional {   condition = platform;   }  in Java :  public boolean platform() {   return mySession().browser().isIPad()   || mySession().browser().isIPhone()   || mySession().browser().isUnknownPlatform();   }  This example don't activate mobileOption when I run my app on my iPhone.  Thanks for help   Envoyé depuis iCloud  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


ec.saveChanges() and date to update

2013-04-18 Thread Raymond NANEON
Hi List,I have a little problem when I use ec.saveChanges() to update date. When the date in database is null there is no problem :Begin Internal TransactionevaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "UPDATE RFCCT.COMPETENCE SET DATE_MODIF = ? WHERE (COMP_ID = ? AND COMM = ? AND DATE_CREA = ? AND DATE_FIN is NULL AND DATE_MODIF is NULL AND DOM_ID = ? AND MAT_ID = ? AND PERS_ID_CREA = ? AND PERS_ID_MODIF = ? AND TERR_ID = ?)" withBindings: 1:2013-04-18 11:07:35(dateModif), 2:3(compId), 3:"3ième test compétence"(comm), 4:2013-04-10 01:00:00(dateCrea), 5:1(domId), 6:3(matId), 7:25292(persIdCrea), 8:25292(persIdModif), 9:3(terrId)=== Commit Internal TransactionBut when the date exist unable to update it with ec.saveChanges() method : === Begin Internal TransactionevaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "UPDATE RFCCT.COMPETENCE SET DATE_MODIF = ? WHERE (COMP_ID = ? AND COMM = ? AND DATE_CREA = ? AND DATE_FIN is NULL AND DATE_MODIF = ? AND DOM_ID = ? AND MAT_ID = ? AND PERS_ID_CREA = ? AND PERS_ID_MODIF = ? AND TERR_ID = ?)" withBindings: 1:2013-04-18 11:08:43(dateModif), 2:3(compId), 3:"3ième test compétence"(comm), 4:2013-04-10 01:00:00(dateCrea), 5:2013-04-18 01:00:00(dateModif), 6:1(domId), 7:3(matId), 8:25292(persIdCrea), 9:25292(persIdModif), 10:3(terrId)INFO er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in database=== Rollback Internal TransactionWhat I'm doing wrong?Thanks for the helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


[SOLVED] Rép : Re: ec.saveChanges() and date to update

2013-04-18 Thread Raymond NANEON
Hi Pascal,Thanks a lot.It works fine now.Envoyé depuis iCloudLe 18 avr 2013 à 02:15, Pascal Robert prob...@macti.ca a écrit :Don't put locks in the model for date time attributes, most of the them, you will get errors like the one you have.   Hi List,I have a little problem when I use ec.saveChanges() to update date. When the date in database is null there is no problem :Begin Internal Transaction  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "UPDATE RFCCT.COMPETENCE SET DATE_MODIF = ? WHERE (COMP_ID = ? AND COMM = ? AND DATE_CREA = ? AND DATE_FIN is NULL AND DATE_MODIF is NULL AND DOM_ID = ? AND MAT_ID = ? AND PERS_ID_CREA = ? AND PERS_ID_MODIF = ? AND TERR_ID = ?)" withBindings: 1:2013-04-18 11:07:35(dateModif), 2:3(compId), 3:"3ième test compétence"(comm), 4:2013-04-10 01:00:00(dateCrea), 5:1(domId), 6:3(matId), 7:25292(persIdCrea), 8:25292(persIdModif), 9:3(terrId)  === Commit Internal TransactionBut when the date exist unable to update it with ec.saveChanges() method : === Begin Internal Transaction  evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "UPDATE RFCCT.COMPETENCE SET DATE_MODIF = ? WHERE (COMP_ID = ? AND COMM = ? AND DATE_CREA = ? AND DATE_FIN is NULL AND DATE_MODIF = ? AND DOM_ID = ? AND MAT_ID = ? AND PERS_ID_CREA = ? AND PERS_ID_MODIF = ? AND TERR_ID = ?)" withBindings: 1:2013-04-18 11:08:43(dateModif), 2:3(compId), 3:"3ième test compétence"(comm), 4:2013-04-10 01:00:00(dateCrea), 5:2013-04-18 01:00:00(dateModif), 6:1(domId), 7:3(matId), 8:25292(persIdCrea), 9:25292(persIdModif), 10:3(terrId)  INFO er.transaction.adaptor.Exceptions - Database Exception occured: com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- er.extensions.jdbc.ERXJDBCAdaptor$Channel method failed to update row in database  === Rollback Internal TransactionWhat I'm doing wrong?Thanks for the help  Envoyé depuis iCloud  ___  Do not post admin requests to the list. They will be ignored.  Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)  Help/Unsubscribe/Update your Subscription:  https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.caThis email sent to prob...@macti.ca  ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


set a PK to a virtual Entity

2013-04-09 Thread Raymond NANEON
Hi List,I have an entity in my virtual model that can take the indentity (person, company etc...) of any other entity.So I wonder how set primary key of the entity it represents at moment T?I Have all time for the virtual entity pk is null.Thanks for your helpEnvoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: set a PK to a virtual Entity

2013-04-09 Thread Raymond NANEON
Hi Chuck,

I want to create an Interface(virtual) Entity which can be any Entity when I 
set it to the virtual Entity. 
i.e :
VEntity virtualEnt = VEntity.createInstance(ec);
virtualEnt = EOperson;
virtualEnt takes all description classe and pk of EOperson.
If virtualEnt = EOCompany an take all attribute of EOCompany.

Here is what I want to do.

Envoyé de mon iPad

Le 9 avr. 2013 à 18:09, Chuck Hill ch...@global-village.net a écrit :

 Hi Raymond,
 
 I think that we need a more detailed description of what you are trying to 
 do.  It sounds either like you are setting a to-one relationship, or what you 
 want to do is not possible.  Have you looked at the Role Pattern?  That may 
 be a better solution for your problem.
 
 http://hillside.net/plop/plop97/Proceedings/riehle.pdf
 
 Chuck
 
 
 
 On 2013-04-09, at 8:04 AM, Raymond NANEON wrote:
 
 Hi List,
 
 I have an entity in my virtual model that can take the indentity (person, 
 company etc...) of any other entity.
 So I wonder how set primary key of the entity it represents at moment T?
 
 I Have all time for the virtual entity pk is null.
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
 Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: set a PK to a virtual Entity

2013-04-09 Thread Raymond NANEON
Ok Chuck, I go to choose stored procedure to save in database and not 
ec.savChange for my VEntity.
So I have another question, There is no way to set pk to an Entity whitout 
saving it in database?

Ray

Envoyé de mon iPad

Le 9 avr. 2013 à 20:35, Chuck Hill ch...@global-village.net a écrit :

 I don't think that EOF will allow you to do that.
 
 
 Chuck
 
 
 On 2013-04-09, at 10:22 AM, Raymond NANEON wrote:
 
 Hi Chuck,
 
 I want to create an Interface(virtual) Entity which can be any Entity when I 
 set it to the virtual Entity. 
 i.e :
 VEntity virtualEnt = VEntity.createInstance(ec);
 virtualEnt = EOperson;
 virtualEnt takes all description classe and pk of EOperson.
 If virtualEnt = EOCompany an take all attribute of EOCompany.
 
 Here is what I want to do.
 
 Envoyé de mon iPad
 
 Le 9 avr. 2013 à 18:09, Chuck Hill ch...@global-village.net a écrit :
 
 Hi Raymond,
 
 I think that we need a more detailed description of what you are trying to 
 do.  It sounds either like you are setting a to-one relationship, or what 
 you want to do is not possible.  Have you looked at the Role Pattern?  That 
 may be a better solution for your problem.
 
 http://hillside.net/plop/plop97/Proceedings/riehle.pdf
 
 Chuck
 
 
 
 On 2013-04-09, at 8:04 AM, Raymond NANEON wrote:
 
 Hi List,
 
 I have an entity in my virtual model that can take the indentity (person, 
 company etc...) of any other entity.
 So I wonder how set primary key of the entity it represents at moment T?
 
 I Have all time for the virtual entity pk is null.
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
 Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: set a PK to a virtual Entity

2013-04-09 Thread Raymond NANEON
Thanks Chuck. I go for 1st option stored procedure.

Envoyé de mon iPad

Le 9 avr. 2013 à 22:51, Chuck Hill ch...@global-village.net a écrit :

 The PK should NEVER change after the EO is first created.  NEVER.
 
 Chuck
 
 
 On 2013-04-09, at 1:49 PM, Raymond NANEON wrote:
 
 Ok Chuck, I go to choose stored procedure to save in database and not 
 ec.savChange for my VEntity.
 So I have another question, There is no way to set pk to an Entity whitout 
 saving it in database?
 
 Ray
 
 Envoyé de mon iPad
 
 Le 9 avr. 2013 à 20:35, Chuck Hill ch...@global-village.net a écrit :
 
 I don't think that EOF will allow you to do that.
 
 
 Chuck
 
 
 On 2013-04-09, at 10:22 AM, Raymond NANEON wrote:
 
 Hi Chuck,
 
 I want to create an Interface(virtual) Entity which can be any Entity when 
 I set it to the virtual Entity. 
 i.e :
 VEntity virtualEnt = VEntity.createInstance(ec);
 virtualEnt = EOperson;
 virtualEnt takes all description classe and pk of EOperson.
 If virtualEnt = EOCompany an take all attribute of EOCompany.
 
 Here is what I want to do.
 
 Envoyé de mon iPad
 
 Le 9 avr. 2013 à 18:09, Chuck Hill ch...@global-village.net a écrit :
 
 Hi Raymond,
 
 I think that we need a more detailed description of what you are trying 
 to do.  It sounds either like you are setting a to-one relationship, or 
 what you want to do is not possible.  Have you looked at the Role 
 Pattern?  That may be a better solution for your problem.
 
 http://hillside.net/plop/plop97/Proceedings/riehle.pdf
 
 Chuck
 
 
 
 On 2013-04-09, at 8:04 AM, Raymond NANEON wrote:
 
 Hi List,
 
 I have an entity in my virtual model that can take the indentity 
 (person, company etc...) of any other entity.
 So I wonder how set primary key of the entity it represents at moment T?
 
 I Have all time for the virtual entity pk is null.
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 
 
 -- 
 Chuck Hill 
 Executive Managing Partner, VP Development and Technical Services
 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
 Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

[SOLVED]Rép : Re: Relationship many-to-many issue

2013-04-08 Thread Raymond NANEON
Hi List,I deleted many-2-many relationship created by reverse engineering, deleted joined table and recreate relationship and joined table has been created automatically and it works fine.My question is why the relationship one-2-many create by everse engineering works fine and the relationship many-2-many don't work?Thanks a lot for allEnvoyé depuis iCloudLe 05 avr 2013 à 20:31, Ray Kiddy r...@ganymede.org a écrit :On Apr 5, 2013, at 9:04 AM, Raymond NANEON wrote:Hi Markus,Thanks for your advices. i going to try itRayEnvoyé de mon iPadWhenever I bump into this, and annoyingly, it still does happen once in a while, the thing to fix is either:- one of the 4 underlying relationships are marked as a class property, or- one of the underlying relationships into the join table does not have 'owns destination' and 'propagate primary key' set.Either of these can cause it. I do not let eclipse create many-to-many relationships for me anymore. I just do it myself. Maybe I have had enough practice and screwed it up enough times that I now know what to avoid.- rayLe 5 avr. 2013 à 17:43, Markus Ruggiero mailingli...@kataputt.com a écrit:As others already pointed out your many-2-many looks strange.Delete your all relationships from and to your join entity EORepartDomMatiere. Then delete this entity as well.Click once on entity EOMatiere and "create new Relationship". Select in the upcoming dialog on the right side the destination entity EODomaine. Underneath both entities check "to-many". The dialog changes and proposes to create a join entity as well a flattened relationship. Accept things as they are and your model is ok. Do not change anything in the model (visibility of the generated relationships, also do not assign a specific class to the join entity, leave it as EOGenericRecord).In your code do something likeEOMatiere myMatiere = ...EODomaine myDomaine = ...myMatiere.addObjectToBothSidesOfRelationshipWithKey (myDomaine, EOMatiere.DOMAINES_KEY);Let EOF take care of creating the join table record - it works, I can assure you!Have fun,---markus---On 05.04.2013, at 15:55, Raymond NANEON rnan...@me.com wrote:Hi List,I have a table "EORepartDomMatiere" which has like pk foreign key of 2 others tables (EODomaine  EOMatiere). mat1.jpgreparMat1.jpgdom1.jpgreparDom1.jpgSo when I want to save in the many-to-many table whith ec.saveChanges();...repart.setMatiereRelationship(mat);  repart.setDomaineRelationship(dom);  if (ec.hasChanges())   ec.saveChanges();...I got this Exception : java.lang.IllegalStateException: Adaptor er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary keys for entity 'EORepartDomMatiere'at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713) at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)Why the adaptor want to create a new primary key? What's wrong?Thanks for your helpEnvoyé depuis iCloud___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.comThis email sent to mailingli...@kataputt.comMarkus Ruggieromailingli...@kataputt.comCheck out the new book about Project Wonder and WebObjects on http://www.kataputt.com/___Do not post admin requests to the list. They will be ignored.Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)Help/Unsubscribe/Update your Subscription:https://lists.apple.com/mailman/options/webobjects-dev/ray%40ganymede.orgThis email sent to r...@ganymede.org___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: [SOLVED]Rép : Re: Relationship many-to-many issue

2013-04-08 Thread Raymond NANEON
Thanks Chuck to clarify about this problem. 
I know now what to do when we got this kind of issue.

Ray

Envoyé de mon iPad

Le 8 avr. 2013 à 17:33, Chuck Hill ch...@global-village.net a écrit :

 
 On 2013-04-08, at 12:45 AM, Raymond NANEON wrote:
 
 Hi List,
 
 I deleted many-2-many relationship created by reverse engineering, deleted 
 joined table and recreate relationship and joined table has been created 
 automatically and it works fine.
 
 My question is why the relationship one-2-many create by everse engineering 
 works fine and the relationship many-2-many don't work?
 
 Likely your database design is different from what EOF normally uses and it 
 got confused when reverse engineering.  Or the reverse engineering code has a 
 bug.  That code does not get used every day, so bugs are a possibility.
 
 Chuck
 
 
 
 Thanks a lot for all
 Envoyé depuis iCloud
 
 Le 05 avr 2013 à 20:31, Ray Kiddy r...@ganymede.org a écrit :
 
 
 On Apr 5, 2013, at 9:04 AM, Raymond NANEON wrote:
 
 Hi Markus,
 
 Thanks for your advices. i going to try it
 Ray
 
 Envoyé de mon iPad
 
 Whenever I bump into this, and annoyingly, it still does happen once in a 
 while, the thing to fix is either:
 
 - one of the 4 underlying relationships are marked as a class property, or
 
 - one of the underlying relationships into the join table does not have 
 'owns destination' and 'propagate primary key' set.
 
 Either of these can cause it. I do not let eclipse create many-to-many 
 relationships for me anymore. I just do it myself. Maybe I have had enough 
 practice and screwed it up enough times that I now know what to avoid.
 
 - ray
 
 Le 5 avr. 2013 à 17:43, Markus Ruggiero mailingli...@kataputt.com a 
 écrit :
 
 As others already pointed out your many-2-many looks strange.
 
 Delete your all relationships from and to your join entity 
 EORepartDomMatiere. Then delete this entity as well.
 Click once on entity EOMatiere and create new Relationship. Select in 
 the upcoming dialog on the right side the destination entity EODomaine. 
 Underneath both entities check to-many. The dialog changes and proposes 
 to create a join entity as well a flattened relationship. Accept things 
 as they are and your model is ok. Do not change anything in the model 
 (visibility of the generated relationships, also do not assign a specific 
 class to the join entity, leave it as EOGenericRecord).
 
 In your code do something like
 
 EOMatiere myMatiere = ...
 EODomaine myDomaine = ...
 myMatiere.addObjectToBothSidesOfRelationshipWithKey (myDomaine, 
 EOMatiere.DOMAINES_KEY);
 
 Let EOF take care of creating the join table record - it works, I can 
 assure you!
 
 Have fun,
 ---markus---
 
 On 05.04.2013, at 15:55, Raymond NANEON rnan...@me.com wrote:
 
 Hi List,
 
 I have a table EORepartDomMatiere which has like pk foreign key of 2 
 others tables (EODomaine  EOMatiere). 
 mat1.jpg
 reparMat1.jpg
 dom1.jpg
 reparDom1.jpg
 So when I want to save in the many-to-many table whith ec.saveChanges();
 
 ...
 repart.setMatiereRelationship(mat);
repart.setDomaineRelationship(dom);
if (ec.hasChanges())
ec.saveChanges();
 ...
 
 I got this Exception : java.lang.IllegalStateException: Adaptor 
 er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary 
 keys for entity 'EORepartDomMatiere'
 at 
 com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
 com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349)
at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)
 
 Why the adaptor want to create a new primary key? What's wrong?
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
 
 This email sent to mailingli...@kataputt.com
 
 
 
 Markus Ruggiero
 mailingli...@kataputt.com
 
 Check out the new book about Project Wonder and WebObjects on 
 http://www.kataputt.com/
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/ray%40ganymede.org
 
 This email sent to r...@ganymede.org

[SOLVED] - Rép : Re: Re: Relationship issue : java.lang.NullPointerException OR MandatoryToOneRelationshipException; additionalExceptions: ()

2013-04-05 Thread Raymond NANEON
Hi List,All problems solved. Thanks a lotEnvoyé depuis iCloudLe 03 avr 2013 à 07:53, Raymond NANEON rnan...@me.com a écrit :Alex,I created new EC for each Entity instance but I got to messages : relationship Exception :java.lang.RuntimeException: You crossed editing context boundaries attempting to set the 'eoTypeTiers' relationship of org.utt.rfcct.serveur.modele.rfcct.EODomaine pk:"null" (in EC er.extensions.eof.ERXEC@1be3e4c5) to org.utt.rfcct.serveur.modele.rfcct.EOTypeTiers pk:"2" (in EC er.extensions.eof.ERXEC@4dbed348). at er.extensions.eof.ERXGenericRecord.checkMatchingEditingContexts(ERXGenericRecord.java:1316) at er.extensions.eof.ERXGenericRecord.addObjectToBothSidesOfRelationshipWithKey(ERXGenericRecord.java:581) at org.utt.rfcct.serveur.modele.rfcct._EODomaine.setEoTypeTiersRelationship(_EODomaine.java:208) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.validerDomaine(ModuleAdminDomaine.java:90) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.unDomaineEnregistrer(ModuleAdminDomaine.java:248)=== to have the same context bewteen the relationship I used "localInstanceIn"Data save Error : avr. 03 16:45:52 RFcct[8485] DEBUG er.eo.ERXGenericRecord - EditingContextWillSaveChanges: done calling will*avr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Begin Internal Transactionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "SELECT RFCCT.DOMAINE_SEQ.NEXTVAL FROM DUAL" withBindings: avr. 03 16:45:52 RFcct[8485] DEBUG NSLog - 1 row(s) processedavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Commit Internal Transactionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Begin Internal Transactionavr. 03 16:45:52 RFcct[8485] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Rollback Internal Transactioncom.webobjects.eoaccess.EOGeneralAdaptorException at com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504) at com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6216) at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.unDomaineEnregistrer(ModuleAdminDomaine.java:257)===Missing ExternalType in model attributeIt's not is to use EC.saveChanges() :(ThanksEnvoyé depuis iCloudLe 03 avr 2013 à 07:17, Raymond NANEON rnan...@me.com a écrit :Le 03 avr 2013 à 06:58, Alexis Tual alexis.t...@gmail.com a écrit :2013/4/3 Raymond NANEON rnan...@me.comBonjour Alexis,Well come back to cocktail :)So when I want to set the relationship I got this in stacktrace :avr. 03 14:16:48 RFcct[8485] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.isLOBAttribute(OraclePlugIn.java:531) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.shouldUseBindVariableForAttribute(OraclePlugIn.java:547)  at com.webobjects.eoaccess.EOSQLExpression.sqlStringForValue(EOSQLExpression.java:1965) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.sqlStringForKeyValueQualifier(OraclePlugIn.java:651)  at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.sqlStringForSQLExpression(EOQualifierSQLGeneration.java:463) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.sqlStringForSQLExpression(ERXExtensions.java:348)Looks like some attribute in your eomodel doesn't have an External Type set. This is mandatory.issue corrected, thanks a lot.I deleted my build directory and clean everything. it seems the instruction domaine.editingContext().saveChanges(); save all EOEntreprises in the context and not domaine Entity only? Why? I want just to save domaine and not all entities like CAPACITE, MATIERE and so one.An editingContext observes all changes from the eo's it "contains", see it as a sandbox. You can't select specific changes. You could use one EC for your "domaine" changes et one EC for the other changes.So I must create new EC Entity instance ? I try it.RayAlexThanksEnvoyé depuis iCloudLe 03 avr 2013 à 03:17, Alexis Tual alexis.t...@gmail.com a écrit :Bonjour Raymond,What's the NPE stacktrace ?the eomodel looks fine too me as it allows null relationship. It seems you have a refresh pb in your eclipse, try to refresh/clean your projects.Cheers,Alex2013/4/3 Raymond NANEON rnan...@me.comHi List,I have a big problem with my relationship one-to-many.When I set domaine.se

Re: Relationship many-to-many issue

2013-04-05 Thread Raymond NANEON
Hi George,

I go to try it and see what happens.

Thanks

Envoyé de mon iPad

Le 5 avr. 2013 à 16:27, George Domurot masterm...@knuckleheads.net a écrit :

 Have you tried using addObjectToBothSidesOfRelationshipWithKey?
 
 -G
 
 On Apr 5, 2013, at 6:55 AM, Raymond NANEON rnan...@me.com wrote:
 
 Hi List,
 
 I have a table EORepartDomMatiere which has like pk foreign key of 2 
 others tables (EODomaine  EOMatiere). 
 mat1.jpg
 reparMat1.jpg
 dom1.jpg
 reparDom1.jpg
 So when I want to save in the many-to-many table whith ec.saveChanges();
 
 ...
 repart.setMatiereRelationship(mat);
 repart.setDomaineRelationship(dom);
 if (ec.hasChanges())
 ec.saveChanges();
 ...
 
 I got this Exception : java.lang.IllegalStateException: Adaptor 
 er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary 
 keys for entity 'EORepartDomMatiere'
 at 
 com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
 at 
 com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
 at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
 at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)
 
 Why the adaptor want to create a new primary key? What's wrong?
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/mastermind%40knuckleheads.net
 
 This email sent to masterm...@knuckleheads.net
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Relationship many-to-many issue

2013-04-05 Thread Raymond NANEON
Hi Xavier,

I used reverse engineering to create entities and relationship between them 
have been created automatically. I don't think using wizard will change 
something. Why recreate relationship?
Thanks

Envoyé de mon iPad

Le 5 avr. 2013 à 16:31, Dev WO webobje...@anazys.com a écrit : 

 Hi Raymond,
 
 Your many-to-many model looks strange to me.
 You shouldn't have the relationship listed in repartDomMatieres like that.
 Try recreate your many-to-many using EOmodeler create relationship wizard.
 
 Xavier
 
 On 5 avr. 2013, at 15:55, Raymond NANEON rnan...@me.com wrote:
 
 Hi List,
 
 I have a table EORepartDomMatiere which has like pk foreign key of 2 
 others tables (EODomaine  EOMatiere). 
 mat1.jpg
 reparMat1.jpg
 dom1.jpg
 reparDom1.jpg
 So when I want to save in the many-to-many table whith ec.saveChanges();
 
 ...
 repart.setMatiereRelationship(mat);
 repart.setDomaineRelationship(dom);
 if (ec.hasChanges())
 ec.saveChanges();
 ...
 
 I got this Exception : java.lang.IllegalStateException: Adaptor 
 er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary 
 keys for entity 'EORepartDomMatiere'
 at 
 com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
 at 
 com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
 at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
 at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)
 
 Why the adaptor want to create a new primary key? What's wrong?
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
 
 This email sent to webobje...@anazys.com
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Relationship many-to-many issue

2013-04-05 Thread Raymond NANEON
Ok Xavier, I go to delete my many-2-many relationship and recreate it.

Envoyé de mon iPad

Le 5 avr. 2013 à 17:43, Dev WO webobje...@anazys.com a écrit :

 I may be wrong but I think you shouldn't have the relationship you have in 
 your join table.
 You should have only 2 in this table:
 -a to-one to EOMatiere
 -a to-one to EODomaine
 
 your join-table doesn't really look like a join-table with all these 
 relationships.
 
 I would manually recreate every relationship
 
  Xavier
  
 On 5 avr. 2013, at 17:33, Raymond NANEON rnan...@me.com wrote:
 
 Hi Xavier,
 
 I used reverse engineering to create entities and relationship between them 
 have been created automatically. I don't think using wizard will change 
 something. Why recreate relationship?
 Thanks
 
 Envoyé de mon iPad
 
 Le 5 avr. 2013 à 16:31, Dev WO webobje...@anazys.com a écrit : 
 
 Hi Raymond,
 
 Your many-to-many model looks strange to me.
 You shouldn't have the relationship listed in repartDomMatieres like that.
 Try recreate your many-to-many using EOmodeler create relationship wizard.
 
 Xavier
 
 On 5 avr. 2013, at 15:55, Raymond NANEON rnan...@me.com wrote:
 
 Hi List,
 
 I have a table EORepartDomMatiere which has like pk foreign key of 2 
 others tables (EODomaine  EOMatiere). 
 mat1.jpg
 reparMat1.jpg
 dom1.jpg
 reparDom1.jpg
 So when I want to save in the many-to-many table whith ec.saveChanges();
 
 ...
 repart.setMatiereRelationship(mat);
 repart.setDomaineRelationship(dom);
 if (ec.hasChanges())
 ec.saveChanges();
 ...
 
 I got this Exception : java.lang.IllegalStateException: Adaptor 
 er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary 
 keys for entity 'EORepartDomMatiere'
 at 
 com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
 at 
 com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
 at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
 at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)
 
 Why the adaptor want to create a new primary key? What's wrong?
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40anazys.com
 
 This email sent to webobje...@anazys.com
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Relationship many-to-many issue

2013-04-05 Thread Raymond NANEON
Hi Markus,

Thanks for your advices. i going to try it
Ray

Envoyé de mon iPad

Le 5 avr. 2013 à 17:43, Markus Ruggiero mailingli...@kataputt.com a écrit :

 As others already pointed out your many-2-many looks strange.
 
 Delete your all relationships from and to your join entity 
 EORepartDomMatiere. Then delete this entity as well.
 Click once on entity EOMatiere and create new Relationship. Select in the 
 upcoming dialog on the right side the destination entity EODomaine. 
 Underneath both entities check to-many. The dialog changes and proposes to 
 create a join entity as well a flattened relationship. Accept things as they 
 are and your model is ok. Do not change anything in the model (visibility of 
 the generated relationships, also do not assign a specific class to the join 
 entity, leave it as EOGenericRecord).
 
 In your code do something like
 
 EOMatiere myMatiere = ...
 EODomaine myDomaine = ...
 myMatiere.addObjectToBothSidesOfRelationshipWithKey (myDomaine, 
 EOMatiere.DOMAINES_KEY);
 
 Let EOF take care of creating the join table record - it works, I can assure 
 you!
 
 Have fun,
 ---markus---
 
 On 05.04.2013, at 15:55, Raymond NANEON rnan...@me.com wrote:
 
 Hi List,
 
 I have a table EORepartDomMatiere which has like pk foreign key of 2 
 others tables (EODomaine  EOMatiere). 
 mat1.jpg
 reparMat1.jpg
 dom1.jpg
 reparDom1.jpg
 So when I want to save in the many-to-many table whith ec.saveChanges();
 
 ...
 repart.setMatiereRelationship(mat);
 repart.setDomaineRelationship(dom);
 if (ec.hasChanges())
 ec.saveChanges();
 ...
 
 I got this Exception : java.lang.IllegalStateException: Adaptor 
 er.extensions.jdbc.ERXJDBCAdaptor@3e2ad6a0 failed to provide new primary 
 keys for entity 'EORepartDomMatiere'
 at 
 com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
 at 
 com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
 at 
 com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
 at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176)
 at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.rePartDomMat(ModuleAdminDomaine.java:349)
 at 
 org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.uneMatiereEnregistrer(ModuleAdminDomaine.java:314)
 
 Why the adaptor want to create a new primary key? What's wrong?
 
 Thanks for your help
 Envoyé depuis iCloud
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com
 
 This email sent to mailingli...@kataputt.com
 
 
 
 Markus Ruggiero
 mailingli...@kataputt.com
 Check out the new book about Project Wonder and WebObjects on 
 http://www.kataputt.com/
 
 
 
 
 
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Re: Re: Relationship issue : java.lang.NullPointerException OR MandatoryToOneRelationshipException; additionalExceptions: ()

2013-04-03 Thread Raymond NANEON
Le 03 avr 2013 à 06:58, Alexis Tual alexis.t...@gmail.com a écrit :2013/4/3 Raymond NANEON rnan...@me.comBonjour Alexis,Well come back to cocktail :)So when I want to set the relationship I got this in stacktrace :avr. 03 14:16:48 RFcct[8485] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.isLOBAttribute(OraclePlugIn.java:531) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.shouldUseBindVariableForAttribute(OraclePlugIn.java:547)  at com.webobjects.eoaccess.EOSQLExpression.sqlStringForValue(EOSQLExpression.java:1965) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.sqlStringForKeyValueQualifier(OraclePlugIn.java:651)  at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.sqlStringForSQLExpression(EOQualifierSQLGeneration.java:463) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.sqlStringForSQLExpression(ERXExtensions.java:348)Looks like some attribute in your eomodel doesn't have an External Type set. This is mandatory.issue corrected, thanks a lot.I deleted my build directory and clean everything. it seems the instruction domaine.editingContext().saveChanges(); save all EOEntreprises in the context and not domaine Entity only? Why? I want just to save domaine and not all entities like CAPACITE, MATIERE and so one.An editingContext observes all changes from the eo's it "contains", see it as a sandbox. You can't select specific changes. You could use one EC for your "domaine" changes et one EC for the other changes.So I must create new EC Entity instance ? I try it.RayAlexThanksEnvoyé depuis iCloudLe 03 avr 2013 à 03:17, Alexis Tual alexis.t...@gmail.com a écrit :Bonjour Raymond,What's the NPE stacktrace ?the eomodel looks fine too me as it allows null relationship. It seems you have a refresh pb in your eclipse, try to refresh/clean your projects.Cheers,Alex2013/4/3 Raymond NANEON rnan...@me.comHi List,I have a big problem with my relationship one-to-many.When I set domaine.setEoTypeTiersRelationship(ctrl.getSelectedTypeTiers()), I got java.lang.NullPointerException and When I dion't set the relationship I got "er.extensions.validation.ERXValidationException object: org.utt.rfcct.serveur.modele.rfcct.EODomaine pk:"null"; propertyKey: eoTypeTiers; type: MandatoryToOneRelationshipException; additionalExceptions: ()". What I am doing wrong? I try to do domaine.editingContext().saveChanges();Here is How my relationship look like in modeldomaine.jpgtypeTiers.jpgThanks for your advices Envoyé depuis iCloud___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list   (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com  This email sent to alexis.t...@gmail.com Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Re: Re: Relationship issue : java.lang.NullPointerException OR MandatoryToOneRelationshipException; additionalExceptions: ()

2013-04-03 Thread Raymond NANEON
Alex,I created new EC for each Entity instance but I got to messages : relationship Exception :java.lang.RuntimeException: You crossed editing context boundaries attempting to set the 'eoTypeTiers' relationship of org.utt.rfcct.serveur.modele.rfcct.EODomaine pk:"null" (in EC er.extensions.eof.ERXEC@1be3e4c5) to org.utt.rfcct.serveur.modele.rfcct.EOTypeTiers pk:"2" (in EC er.extensions.eof.ERXEC@4dbed348). at er.extensions.eof.ERXGenericRecord.checkMatchingEditingContexts(ERXGenericRecord.java:1316) at er.extensions.eof.ERXGenericRecord.addObjectToBothSidesOfRelationshipWithKey(ERXGenericRecord.java:581) at org.utt.rfcct.serveur.modele.rfcct._EODomaine.setEoTypeTiersRelationship(_EODomaine.java:208) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.validerDomaine(ModuleAdminDomaine.java:90) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.unDomaineEnregistrer(ModuleAdminDomaine.java:248)Data save Error : avr. 03 16:45:52 RFcct[8485] DEBUG er.eo.ERXGenericRecord - EditingContextWillSaveChanges: done calling will*avr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Begin Internal Transactionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - evaluateExpression: com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression: "SELECT RFCCT.DOMAINE_SEQ.NEXTVAL FROM DUAL" withBindings: avr. 03 16:45:52 RFcct[8485] DEBUG NSLog - 1 row(s) processedavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Commit Internal Transactionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Begin Internal Transactionavr. 03 16:45:52 RFcct[8485] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerExceptionavr. 03 16:45:52 RFcct[8485] DEBUG NSLog - === Rollback Internal Transactioncom.webobjects.eoaccess.EOGeneralAdaptorException at com.webobjects.eoaccess.EODatabaseContext._exceptionWithDatabaseContextInformationAdded(EODatabaseContext.java:4504) at com.webobjects.eoaccess.EODatabaseContext.performChanges(EODatabaseContext.java:6216) at com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:376) at com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192) at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1176) at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1099) at org.utt.rfcct.serveur.components.assistants.modules.ModuleAdminDomaine.unDomaineEnregistrer(ModuleAdminDomaine.java:257)It's not is to use EC.saveChanges() :(ThanksEnvoyé depuis iCloudLe 03 avr 2013 à 07:17, Raymond NANEON rnan...@me.com a écrit :Le 03 avr 2013 à 06:58, Alexis Tual alexis.t...@gmail.com a écrit :2013/4/3 Raymond NANEON rnan...@me.comBonjour Alexis,Well come back to cocktail :)So when I want to set the relationship I got this in stacktrace :avr. 03 14:16:48 RFcct[8485] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.NullPointerException java.lang.NullPointerException at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.isLOBAttribute(OraclePlugIn.java:531) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.shouldUseBindVariableForAttribute(OraclePlugIn.java:547)  at com.webobjects.eoaccess.EOSQLExpression.sqlStringForValue(EOSQLExpression.java:1965) at com.webobjects.jdbcadaptor.OraclePlugIn$OracleExpression.sqlStringForKeyValueQualifier(OraclePlugIn.java:651)  at com.webobjects.eoaccess.EOQualifierSQLGeneration$_KeyValueQualifierSupport.sqlStringForSQLExpression(EOQualifierSQLGeneration.java:463) at er.extensions.ERXExtensions$KeyValueQualifierSQLGenerationSupport.sqlStringForSQLExpression(ERXExtensions.java:348)Looks like some attribute in your eomodel doesn't have an External Type set. This is mandatory.issue corrected, thanks a lot.I deleted my build directory and clean everything. it seems the instruction domaine.editingContext().saveChanges(); save all EOEntreprises in the context and not domaine Entity only? Why? I want just to save domaine and not all entities like CAPACITE, MATIERE and so one.An editingContext observes all changes from the eo's it "contains", see it as a sandbox. You can't select specific changes. You could use one EC for your "domaine" changes et one EC for the other changes.So I must create new EC Entity instance ? I try it.RayAlexThanksEnvoyé depuis iCloudLe 03 avr 2013 à 03:17, Alexis Tual alexis.t...@gmail.com a écrit :Bonjour Raymond,What's the NPE stacktrace ?the eomodel looks fine too me as it allows null relationship. It seems you have a refresh pb in your eclipse, try to refresh/clean your projects.Cheers,Alex2013/4/3 Raymond NANEON rnan...@me.comHi List,I have a big problem with my relationship one-to-many.When I set domaine.setEoTypeTiersRelationship(ctrl.getSelectedTypeTiers()), I got java.lang.NullPointerException and When I dion't set the relationship I got "er.extensions.validation.ERXValidationException object: org.utt.rfcct.serveur.modele.rf

AjaxUpdateLink and Downloading File

2013-02-21 Thread Raymond NANEON
Hi,I want to use AjaxUpdateLink to download an xml fileHere is the java methodpublic WOActionResults detailProjetXML(){NSData xmlData = EditionsDetailProjets.detailXmlProjets(bindings, sess);ERXResponse erxResp = new ERXResponse();  if (xmlData != null) {   erxResp.setHeader("maxage=1", "Cache-Control");   erxResp.setHeader("public", "Pragma");   erxResp.setHeader(fileName, "Content-Title");   erxResp.setHeader(CktlDataResponse.MIME_XML, "Content-Type");   erxResp.setHeader(String.valueOf(xmlData.length()), "Content-Length");   erxResp.setHeader("attachement; filename=\"" + fileName + "\"", "Content-Disposition");   erxResp.setContent(xmlData);  } else {   erxResp.setContent("");   erxResp.setHeader("0", "Content-Length");  }  return erxResp;}in wod :ReportingXml : AjaxUpdateLink { action = ""> name = "xml - détaillé"; _onComplete_ = "function() { menu.hideMenu();}";}When I click on reportingXml link, nothing happens. There are no file to download.What I am doing wrong?Thanks for your help.Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


WORepetition, ERXWORepetition and ERXEC RR-Loop issue

2013-02-18 Thread Raymond NANEON
Hi List,I would like to know why when I am using Theses components (WORepetition and ERXWORepetition), I have this warning in my log :WARN  er.extensions.eof.ERXEC  - Unlocking context that wasn't unlocked in RR-Loop!: er.extensions.eof.ERXEC@xxI use try{ec.lock} catch{} finally{ec.unlock} when fetching eos  and theses arguments in my properties file : er.extensions.ERXEC.safeLocking=trueer.extensions.ERXEC.traceOpenLocks=trueer.extensions.ERXEC.useUnlocker=trueer.extensions.ERXEC.markOpenLocks=falseer.extensions.ERXEC.defaultAutomaticLockUnlock=trueer.extensions.ERXEC.useSharedEditingContext=falseer.extensions.ERXEC.defaultCoalesceAutoLocks=false but nothing to do?Thanks for your help Envoyé depuis iCloud ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Ajax Update Link not working on one server

2013-02-07 Thread Raymond NANEON
Hi Jeff,Can I know which component of wonder did you used for our datagrid?Thanks a lotEnvoyé depuis iCloudLe 06 fév 2013 à 05:04, Jeffrey Schmitz j...@netbrackets.com a écrit :Hi all, I'm using the Wonder Ajax constructs and on one of my servers my AjaxUpdateLinks have stopped working. Comparing the same page on two different servers, one that works and one that doesn't. Texamples of working vs not working, can be found at the following links. First, choose 5 Entries per page, and then click the next page button.Doesn't work:http://208.52.189.43/cgi-bin/WebObjects/netBrackets.woa/wa/demoPoolStatusworks:http://24.217.161.112/cgi-bin/WebObjects/netBrackets.woa/wa/demoPoolStatusThe html being generated on each machine is as follows:Doesn't work:a href="" _onclick_="AUL.update('tableBody', {onComplete:function(request) { }}, '3.0.19.13.41.9');" class="right" img src="" width="16" height="16" alt="First Page" /aworks:a href="" _onclick_="AUL.update('tableBody', {onComplete:function(request) { }}, '3.0.19.13.41.9');" class="right" img src="" width="16" height="16" alt="First Page" /aThis is the code being used to generate the above...webobjectname="NextBatch"imgsrc="/Images/TinyTable/next.gif"width="16"height="16"alt="First Page"//webobjectNextBatch:AjaxUpdateLink{action=nextBatch;updateContainerID="tableBody";evalScripts=true;onComplete="function(request) { }";}Note that the below AjaxObserveField construct is still working correctly on both machines.AOF html:div id="perpage"select id="EntriesPerPageID" name="0.19.29.1.1.25"option selected="selected" value="0"5/optionoption value="1"10/optionoption value="2"20/optionoption value="3"50/optionoption value="4"100/option/select   spanEntries Per Page/span/divAOF code:  divid="perpage"   webobjectname="EntriesPerPage"/   webobjectname="EntriesPerPageObserveField"/   spanEntries Per Page/span  /divEntriesPerPage:WOPopUpButton{id="EntriesPerPageID";list=numEntriesList;item=repetitionNumEntries;selection=selectedNumEntries;displayString=repetitionNumEntries;}EntriesPerPageObserveField:AjaxObserveField{observeFieldID="EntriesPerPageID";updateContainerID="tableBody";fullSubmit=false;}Any ideas where I might look to track this down?Thanks,Jeff___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com  This email sent to rnan...@me.com ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Rép : Re: problem of accents on FR data [RESOLVED]

2013-01-28 Thread Raymond NANEON
Hi Stéphan,The new argument works very well.Thanks a lot :)Envoyé depuis iCloudLe 26 jan 2013 à 15:30, Raymond NANEON rnan...@me.com a écrit :Ok Stéphan,  I go to change the init call _expression_. I tell you on monday at my office. Thanks  Envoyé de mon iPad  Le 26 janv. 2013 à 17:03, Stéphan Mertz s.me...@improve.fr a écrit :   Is your class in the application classpath ?  To be sure, could you change the init call with :  ERXJDBCAdaptor.setExpressionClassName(IVOracleExpression.class.getName(), ERXJDBCAdaptor.class.getName());Le 26 janv. 2013 à 16:07, Raymond NANEON rnan...@me.com a écrit :Hello Stéphan,I put breakpoint in my class but the override method never read. Did I forget something?   I go to upgrade to latest wonder (6) on monday and retryEnvoyé de mon iPhoneLe 26 janv. 2013 à 11:02, Stéphan Mertz s.me...@improve.fr a écrit :Hello Raymond,I don't see why the override is not used in your code.  Did you put a breakpoint in the override method ?Le 24 janv. 2013 à 11:06, Raymond NANEON rnan...@me.com a écrit :My package is etudiants.utt.fr.util.IVOracleExpression and I the this ERXJDBCAdaptor.setExpressionClassName("etudiants.utt.fr.util.IVOracleExpression", "er.extensions.jdbc.ERXJDBCAdaptor"); _expression_ in my init off Application.classRay  Envoyé depuis iCloudLe 23 jan 2013 à 09:32, Chuck Hill ch...@global-village.net a écrit :  On 2013-01-23, at 5:49 AM, Raymond NANEON wrote:Hi All,Can I have help on my problem? I stuck on it since 3 weeks.Thanks  Envoyé depuis iCloudLe 07 jan 2013 à 02:20, Raymond NANEON rnan...@me.com a écrit :Hi Stephan,I added the _expression_ ERXJDBCAdaptor.setExpressionClassName("com.resurgences.utils.IVOracleExpression"Is that really the package name and class that you put your code in?  Chuck  , "er.extensions.jdbc.ERXJDBCAdaptor"); in my Application class init method and I used these qualifiers "EOQualifier quaPrenom = EOQualifier.qualifierWithQualifierFormat(PRENOM_KEY+" LIKE %@", new NSArray(prenom));" or "PRENOM.like(prenom)" to get sqlStringForCaseInsensitiveLike method in the SQL _expression_ but I have allways the sqlStringForCaseInsensitiveLike method of EOSQLExpression class in my SQL. Have I forget something?Thanks  Envoyé depuis iCloudLe 21 déc 2012 à 01:07, Raymond NANEON rnan...@me.com a écrit :Hi Stéphan,  Thanks a lot. I am in holydays. I go to try it when I will go back at office.  Have nice dayEnvoyé de mon iPhoneLe 20 déc. 2012 à 16:25, Stéphan Mertz s.me...@improve.fr a écrit :And add this in the Application init to replace the original OracleExpression (you must change the IVOracleExpression class name and package with yours):  ERXJDBCAdaptor.setExpressionClassName("com.resurgences.utils.IVOracleExpression", "er.extensions.jdbc.ERXJDBCAdaptor");  Le 20 déc. 2012 à 15:37, Raymond NANEON rnan...@me.com a écrit :Hi Stéphan,Thanks for your help and I want to know if it returns rawrowSql or EOEntity data?   How can I use this class in my EOQualifier _expression_? An example I meanRayEnvoyé depuis iCloudLe 20 déc. 2012 à 15:31, Stéphan Mertz s.me...@improve.fr a écrit :Hi,I subclass OracleExpression like this :public class IVOracleExpression extends OracleExpression {public IVOracleExpression(EOEntity in_entity) {  super(in_entity);  }public String sqlStringForCaseInsensitiveLike(String in_s, String in_s1) {  String l_str = _NSStringUtilities.concat("CONVERT(upper(", in_s1, "), 'US7ASCII') LIKE CONVERT(upper(", in_s, "), 'US7ASCII')");return l_str;  }  }Le 14 déc. 2012 à 11:20, Raymond NANEON rnan...@me.com a écrit :Hi List,I have a little data fetching problem. In our data base we have names with accent and other do not. So when we do a SQL request in our WHERE CLAUSE we surround the instruction with the function func_enleve_accent which removes accents.i.e   SELECT nom, prenom WHERE upper(fonc_enleve_accents(i.prenom)) like upper(fonc_enleve_accents('severine')) )With this request we have all names with accents or not (sévérine or severine)In WO I try to reproduce the same thing but it does not work properly. When I have a name with accent like 'séverine' it works (we all names) but with 'severine' we have only name without accent.Here my qualifier// CLAUSE WHERE "PRENOM LIKE ..."  private static EOQualifier qualForPrenomLike(String prenom) {  String prenom_a = StringCtrl.chaineSansAccents(prenom, "?");  return PRENOM.like(prenom).or(PRENOM.like(prenom_a));  }How can I modify my qualifier to have the same result like SQL request?Thanks for you help  Envoyé depuis iCloud  ___  Do not post admin requests to the list. They will be ignored.  Webobjects-dev mailing list 

  1   2   3   >