Re: Internet Explorer can't download excel sheet as attachment

2012-01-03 Thread Christoph Wick
Hi,

I can't remember exactly how it worked, but I can remember that I once had a 
similar problem with IE and downloading attachments. 

I solved it by writing a direct action for the download. 

It was because IE  uses two HTTP requests to get the attachment and does not 
like it when the URL changes (or was it the HTTP headers - sorry this may sound 
silly, but I'm on vacation right now and do not have access to my dev machine). 
Just give it a try.

C.U.CW
-- 

Christoph Wick - Diplom Informatiker, Managing Director i4innovation GmbH,
Professor-Neu-Allee 39, 53225 Bonn, Germany

T +49 2 28 28 62 97 93
F +49 2 28 28 62 97 99
M c...@i4innovation.de
W www.i4innovation.de

Geschäftsführer: Thomas Heep, Dr. Duk-Ho Shin, Christoph Wick Sitz der
Gesellschaft: Bonn | Amtsgericht Bonn HRB 18548 | USt-IdNr.: DE276502600



Am 03.01.2012 um 05:58 schrieb pavan.jayam:

 Thanks for the reply Jeremy.
 
 --PJ.
 
 Jérémy DE ROYER [INGENCYS] wrote:
 Welcome to the IE world.
 
 That's why most of the users install chrome or firefox (or safari ?) as soon 
 as Microsoft release a new version of internet explorer with a better 
 security.
 
 No solution found except changing the security settings for me.
 
 Jérémy
 
 Le 8 déc. 2011 à 15:01, pavan.jayam a écrit :
 
   
 
 Hi List,
 
 I am attaching NSData to the WOResponse and returning as an excel page. It 
 works fine with the browsers like Safari,Chrome,Firefox and i am able to 
 download/save the excel file, but when i am trying to do the same in 
 Internet Explorer i am not able to download/save the file. A pop-up window 
 is opening and closing automatically(immediately) with out any options to 
 save or open.
 
 --
   aResponse.setContent(new NSData(data));
   aResponse.setHeader(application/vnd.ms-excel, content-type);
   aResponse.setHeader(inline; filename=\ + filename + \, 
 content-disposition);
   aResponse.setHeader( + data.length, Content-length);
  
 --
 
 If i change my IE browser Downloads option (in the Security settings of 
 Internet Options) which is disabled to enable, i can download/save the 
 attachment.
 
 Changing the IE browser setting is not acceptable from end-user. If there 
 is a solution please let me know.
 
 Help/Feedback on this would be greatly appreciated.
 
 Regards,
 PJ.
 
 ___
 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:
 
 http://lists.apple.com/mailman/options/webobjects-dev/jeremy.deroyer%40ingencys.net
 
 
 This email sent to 
 jeremy.dero...@ingencys.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:
 http://lists.apple.com/mailman/options/webobjects-dev/wicki%40me.com
 
 This email sent to wi...@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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


AjaxModalDialog

2012-01-03 Thread Jérémy DE ROYER [INGENCYS]
Hello,

We used the Ajax framework with webobjects 5.3 and since I updated to version 
5.4 (last month), some AjaxModalDialog doesn't work anymore... those that are 
inserted in a WOForm.

Doesn't work means that a click on the submit button generates the javascript 
error below :

Erreur : form is null
Fichier Source : 
http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
Ligne : 379

I digged into the html code and found that the WOForm inside the 
AjaxModalDialog (code below) is not generated id the modal dialog is already in 
a WOForm... so the AjaxSubmitButton (javascript) can not send the form.

But sometimes (example : opening a wizard inside a component inside a form), 
the modal dialog contained in a component has to be in a form because the 
parent contains a form.

Worked like a charm with wo 5.3 no more with wo 5.4

Any idea ?

Jérémy

--

webobject name = AjaxModalDialog
webobject name = WOForm
pwebobject name = AjaxSubmitButton //p
/webobject
/webobject

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Lon Varscsak
I believe you need to create this AMD outside of the form, and then use an
AjaxModalDialogOpener inside the form to open it.

-Lon

On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
jeremy.dero...@ingencys.net wrote:

 Hello,

 We used the Ajax framework with webobjects 5.3 and since I updated to
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore...
 those that are inserted in a WOForm.

 Doesn't work means that a click on the submit button generates the
 javascript error below :

 Erreur : form is null
 Fichier Source :
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379

 I digged into the html code and found that the WOForm inside the
 AjaxModalDialog (code below) is not generated id the modal dialog is
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send
 the form.

 But sometimes (example : opening a wizard inside a component inside a
 form), the modal dialog contained in a component has to be in a form
 because the parent contains a form.

 Worked like a charm with wo 5.3 no more with wo 5.4

 Any idea ?

 Jérémy

 --

 webobject name = AjaxModalDialog
 webobject name = WOForm
 pwebobject name = AjaxSubmitButton //p
 /webobject
 /webobject


  ___
 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:

 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Jérémy DE ROYER [INGENCYS]
Yep, that's what I did for most of them.

But some are included in components (record form) and those components are 
included in forms (edit pages) ... and that's hard to change.

Jérémy

Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :

 I believe you need to create this AMD outside of the form, and then use an 
 AjaxModalDialogOpener inside the form to open it.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Hello,
 
 We used the Ajax framework with webobjects 5.3 and since I updated to version 
 5.4 (last month), some AjaxModalDialog doesn't work anymore... those that are 
 inserted in a WOForm.
 
 Doesn't work means that a click on the submit button generates the javascript 
 error below :
 
 Erreur : form is null
 Fichier Source : 
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379
 
 I digged into the html code and found that the WOForm inside the 
 AjaxModalDialog (code below) is not generated id the modal dialog is already 
 in a WOForm... so the AjaxSubmitButton (javascript) can not send the form.
 
 But sometimes (example : opening a wizard inside a component inside a form), 
 the modal dialog contained in a component has to be in a form because the 
 parent contains a form.
 
 Worked like a charm with wo 5.3 no more with wo 5.4
 
 Any idea ?
 
 Jérémy
 
 --
 
 webobject name = AjaxModalDialog
   webobject name = WOForm
   pwebobject name = AjaxSubmitButton //p
   /webobject
 /webobject  
 
 
  ___
 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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Lon Varscsak
Ah, yes, I see what you're describing.  I've encountered that before too,
so I remove the form from the enclosed component, and just have to know
that that component requires being wrapped in a WOForm.

-Lon

On Tue, Jan 3, 2012 at 10:31 AM, Jérémy DE ROYER [INGENCYS] 
jeremy.dero...@ingencys.net wrote:

 Yep, that's what I did for most of them.

 But some are included in components (record form) and those components are
 included in forms (edit pages) ... and that's hard to change.

 Jérémy

 Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :

 I believe you need to create this AMD outside of the form, and then use an
 AjaxModalDialogOpener inside the form to open it.

 -Lon

 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:

 Hello,

 We used the Ajax framework with webobjects 5.3 and since I updated to
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore...
 those that are inserted in a WOForm.

 Doesn't work means that a click on the submit button generates the
 javascript error below :

 Erreur : form is null
 Fichier Source :
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379

 I digged into the html code and found that the WOForm inside the
 AjaxModalDialog (code below) is not generated id the modal dialog is
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send
 the form.

 But sometimes (example : opening a wizard inside a component inside a
 form), the modal dialog contained in a component has to be in a form
 because the parent contains a form.

 Worked like a charm with wo 5.3 no more with wo 5.4

 Any idea ?

 Jérémy

 --

 webobject name = AjaxModalDialog
  webobject name = WOForm
  pwebobject name = AjaxSubmitButton //p
  /webobject
 /webobject


  ___
 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:

 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Jérémy DE ROYER [INGENCYS]
After digging, problem was with webobjects 5.4(.3 ?) who, before appending the 
form to the content, was looking if the form was already in a form, that ensure 
a good html code.

Idea is great except for AjaxModalDialog because they are (finally) outside the 
form.

So I made a new component called WOFormForAjaxModalDialog that don't look 
anymore if it is already in a form.

Works perfect... and is html compliant.

Jérémy

Le 3 janv. 2012 à 19:05, Lon Varscsak a écrit :

 Ah, yes, I see what you're describing.  I've encountered that before too, so 
 I remove the form from the enclosed component, and just have to know that 
 that component requires being wrapped in a WOForm.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 10:31 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Yep, that's what I did for most of them.
 
 But some are included in components (record form) and those components are 
 included in forms (edit pages) ... and that's hard to change.
 
 Jérémy
 
 Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :
 
 I believe you need to create this AMD outside of the form, and then use an 
 AjaxModalDialogOpener inside the form to open it.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Hello,
 
 We used the Ajax framework with webobjects 5.3 and since I updated to 
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore... those 
 that are inserted in a WOForm.
 
 Doesn't work means that a click on the submit button generates the 
 javascript error below :
 
 Erreur : form is null
 Fichier Source : 
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379
 
 I digged into the html code and found that the WOForm inside the 
 AjaxModalDialog (code below) is not generated id the modal dialog is already 
 in a WOForm... so the AjaxSubmitButton (javascript) can not send the form.
 
 But sometimes (example : opening a wizard inside a component inside a form), 
 the modal dialog contained in a component has to be in a form because the 
 parent contains a form.
 
 Worked like a charm with wo 5.3 no more with wo 5.4
 
 Any idea ?
 
 Jérémy
 
 --
 
 webobject name = AjaxModalDialog
  webobject name = WOForm
  pwebobject name = AjaxSubmitButton //p
  /webobject
 /webobject 
 
 
  ___
 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:
 http://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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Mike Schrag
I think you can do an ERXWOForm embedded=true to solve that problem, too, IIRC?

On Jan 3, 2012, at 1:13 PM, Jérémy DE ROYER [INGENCYS] wrote:

 After digging, problem was with webobjects 5.4(.3 ?) who, before appending 
 the form to the content, was looking if the form was already in a form, that 
 ensure a good html code.
 
 Idea is great except for AjaxModalDialog because they are (finally) outside 
 the form.
 
 So I made a new component called WOFormForAjaxModalDialog that don't look 
 anymore if it is already in a form.
 
 Works perfect... and is html compliant.
 
 Jérémy
 
 Le 3 janv. 2012 à 19:05, Lon Varscsak a écrit :
 
 Ah, yes, I see what you're describing.  I've encountered that before too, so 
 I remove the form from the enclosed component, and just have to know that 
 that component requires being wrapped in a WOForm.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 10:31 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Yep, that's what I did for most of them.
 
 But some are included in components (record form) and those components are 
 included in forms (edit pages) ... and that's hard to change.
 
 Jérémy
 
 Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :
 
 I believe you need to create this AMD outside of the form, and then use an 
 AjaxModalDialogOpener inside the form to open it.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Hello,
 
 We used the Ajax framework with webobjects 5.3 and since I updated to 
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore... 
 those that are inserted in a WOForm.
 
 Doesn't work means that a click on the submit button generates the 
 javascript error below :
 
 Erreur : form is null
 Fichier Source : 
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379
 
 I digged into the html code and found that the WOForm inside the 
 AjaxModalDialog (code below) is not generated id the modal dialog is 
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send 
 the form.
 
 But sometimes (example : opening a wizard inside a component inside a 
 form), the modal dialog contained in a component has to be in a form 
 because the parent contains a form.
 
 Worked like a charm with wo 5.3 no more with wo 5.4
 
 Any idea ?
 
 Jérémy
 
 --
 
 webobject name = AjaxModalDialog
 webobject name = WOForm
 pwebobject name = AjaxSubmitButton //p
 /webobject
 /webobject
 
 
  ___
 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:
 http://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:
 http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
 
 This email sent to msch...@pobox.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: AjaxModalDialog

2012-01-03 Thread Jérémy DE ROYER [INGENCYS]
You've got it !

Many thanks,

Jérémy

Le 3 janv. 2012 à 19:24, Mike Schrag a écrit :

 I think you can do an ERXWOForm embedded=true to solve that problem, too, 
 IIRC?
 
 On Jan 3, 2012, at 1:13 PM, Jérémy DE ROYER [INGENCYS] wrote:
 
 After digging, problem was with webobjects 5.4(.3 ?) who, before appending 
 the form to the content, was looking if the form was already in a form, that 
 ensure a good html code.
 
 Idea is great except for AjaxModalDialog because they are (finally) outside 
 the form.
 
 So I made a new component called WOFormForAjaxModalDialog that don't look 
 anymore if it is already in a form.
 
 Works perfect... and is html compliant.
 
 Jérémy
 
 Le 3 janv. 2012 à 19:05, Lon Varscsak a écrit :
 
 Ah, yes, I see what you're describing.  I've encountered that before too, 
 so I remove the form from the enclosed component, and just have to know 
 that that component requires being wrapped in a WOForm.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 10:31 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Yep, that's what I did for most of them.
 
 But some are included in components (record form) and those components are 
 included in forms (edit pages) ... and that's hard to change.
 
 Jérémy
 
 Le 3 janv. 2012 à 17:49, Lon Varscsak a écrit :
 
 I believe you need to create this AMD outside of the form, and then use an 
 AjaxModalDialogOpener inside the form to open it.
 
 -Lon
 
 On Tue, Jan 3, 2012 at 6:12 AM, Jérémy DE ROYER [INGENCYS] 
 jeremy.dero...@ingencys.net wrote:
 Hello,
 
 We used the Ajax framework with webobjects 5.3 and since I updated to 
 version 5.4 (last month), some AjaxModalDialog doesn't work anymore... 
 those that are inserted in a WOForm.
 
 Doesn't work means that a click on the submit button generates the 
 javascript error below :
 
 Erreur : form is null
 Fichier Source : 
 http://jeremy.local:51000/cgi-bin/WebObjects/TestIndeXys_v30.woa/1/wr?wodata=file%3A%2FLibrary%2FFrameworks%2FLibraryFrameworksWebObjects54%2FAjax.framework%2FWebServerResources%2Fwonder.js
 Ligne : 379
 
 I digged into the html code and found that the WOForm inside the 
 AjaxModalDialog (code below) is not generated id the modal dialog is 
 already in a WOForm... so the AjaxSubmitButton (javascript) can not send 
 the form.
 
 But sometimes (example : opening a wizard inside a component inside a 
 form), the modal dialog contained in a component has to be in a form 
 because the parent contains a form.
 
 Worked like a charm with wo 5.3 no more with wo 5.4
 
 Any idea ?
 
 Jérémy
 
 --
 
 webobject name = AjaxModalDialog
webobject name = WOForm
pwebobject name = AjaxSubmitButton //p
/webobject
 /webobject   
 
 
  ___
 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:
 http://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:
 http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
 
 This email sent to msch...@pobox.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Probably a silly question

2012-01-03 Thread Travis Britt
This is also a shortcut (usually found in WOComponents) used to route around 
Java being less magically inclined. Thanks to KVC you can declare a public ivar 
like _person and use it from your components (or any API using KVC) like 
person. Later, when you decide you need accessors you can add them without 
changing any calling code.

tb


On Monday, December 19, 2011 at 6:11 AM, Gino Pacitti wrote:

 Thanks Markus...
 
 I thought that but was not sure... It also might have been (I don't 
 recall where I read this) that those variables were overides from the 
 parent class... Anyone verify that?
 
 GIno
 On 19 Dec 2011, at 11:07, Markus Ruggiero wrote:
 
  
  On 19.12.2011, at 11:51, Gino Pacitti wrote:
  
   Hi...
   In the Wonder examples there are variables with underscore...
   
   public NSData _data;
   public AjaxUploadProgress _uploadProgress;
   public AjaxProgress _progress;
   
   Any significance???
  
  Hi Gino,
  
  as far as I know from the old days of WebObjects/Objective-C 
  variables with _ were meant to be private vars (there was no public/ 
  private then). Many folks coming from those days still use this 
  naming convention. It is a visual clue to the human developer and 
  has no technical significance. I haven't looked at those examples 
  but I guess that is it. Weird anyway that the vars are public and 
  visually marked private.
  
  ---markus---
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list (Webobjects-dev@lists.apple.com 
 (mailto:Webobjects-dev@lists.apple.com))
 Help/Unsubscribe/Update your Subscription:
 http://lists.apple.com/mailman/options/webobjects-dev/tbritt%40phigment.org
 
 This email sent to tbr...@phigment.org (mailto:tbr...@phigment.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: class loading issue

2012-01-03 Thread Tim Worman
Maybe I've asked a question here that I should be able to figure out the answer 
to. But, for me, the stack trace does not appear to refer to anything I have 
much control over. The class the error is referring to, TimeEntry is available 
and nothing has changed with regard to it.

Has anyone seen similar types of errors that might be able to give me a hint 
that I can work with?

Tim Worman
UCLA GSEIS

On Jan 2, 2012, at 1:20 PM, Tim Worman wrote:

 A little more information - 
 
 The app launches fine. The issue occurs when executing a login to the app - 
 and would be the only time that the app uses a model for our Open Directory 
 ldap server. However, the app has always used this model. However, I can 
 continue executation of the app and everything works fine.
 
 On Jan 2, 2012, at 12:17 PM, Tim Worman wrote:
 
 WO'ers:
 
 I am recently having a problem running my app in development. It runs fine 
 in deployment. I don't remember exactly when it started because I've been on 
 holiday. The app runs but then has the following runtime problem which opens 
 the debug view in Eclipse. This is the stack trace and I don't really 
 understand why this is occurring. If I allow the execution of the app to 
 continue, it works without problems but I'd really like to stop this hiccup 
 if I can. I just updated to the latest Wonder today.
 
 Thread [WorkerThread12] (Class load: TimeEntry)  
  ClassT.forName0(String, boolean, ClassLoader) line: not available 
 [native method] 
  ClassT.forName(String) line: 169  
  _NSUtilities._classWithPartialName(String, boolean) line: 348   
  _NSUtilities.classWithName(String) line: 335
  ERXModel(EOModel)._setEntityForEntityNameClassName(Object, String, 
 String) line: 1302   
  ERXModel(EOModel)._addFakeEntityWithPropertyList(NSDictionary) line: 
 1340   
  
 ERXModel(EOModel)._initWithTableOfContentsPropertyListPathURL(NSDictionary, 
 URL) line: 1144 
  ERXModel(EOModel).init(URL) line: 841 
  ERXModel.init(URL) line: 251  
  ERXModelGroup.addModelWithPathURL(URL) line: 535
  ERXModelGroup.loadModelsFromLoadedBundles() line: 271   
  ERXExtensions.defaultModelGroup() line: 147 
  NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]  
  NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39  
  DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25  
  Method.invoke(Object, Object...) line: 597  
  NSSelectorT._safeInvokeMethod(Method, Object, Object[]) line: 122 
  _NSDelegate._perform(String, Object[]) line: 223
  _NSDelegate.perform(String) line: 155   
  EOModelGroup.defaultGroup() line: 328   
  
 EOModelGroup.modelGroupForObjectStoreCoordinator(EOObjectStoreCoordinator) 
 line: 797
  EODatabaseContext._cooperatingObjectStoreNeeded(NSNotification) line: 
 1155  
  NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]  
  NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39  
  DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25  
  Method.invoke(Object, Object...) line: 597  
  NSSelectorT._safeInvokeMethod(Method, Object, Object[]) line: 122 
  NSNotificationCenter$_Entry.invokeMethod(NSNotification) line: 588  
  NSNotificationCenter.postNotification(NSNotification) line: 532 
  NSNotificationCenter.postNotification(String, Object, NSDictionary) 
 line: 562   
  EOObjectStoreCoordinator.requestStore(EOGlobalID, EOFetchSpecification, 
 EOEnterpriseObject) line: 223   
  
 EOObjectStoreCoordinator.objectStoreForFetchSpecification(EOFetchSpecification)
  line: 287   
  
 EOObjectStoreCoordinator.objectsWithFetchSpecification(EOFetchSpecification, 
 EOEditingContext) line: 476
  
 ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification, 
 EOEditingContext) line: 4069
  ERXEC.objectsWithFetchSpecification(EOFetchSpecification, 
 EOEditingContext) line: 1215  
  
 ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification) 
 line:   
  _InetOrgPerson.fetchInetOrgPersons(EOEditingContext, EOQualifier, 
 NSArray) line: 328
  _InetOrgPerson.fetchInetOrgPerson(EOEditingContext, EOQualifier) line: 
 337  
  _InetOrgPerson.fetchRequiredInetOrgPerson(EOEditingContext, 
 EOQualifier) line: 357  
  InetOrgPerson.ldapPersonForUsername(String) line: 39
  InetOrgPerson.employeeIdForInetOrgPersonWithUsername(String) line: 57   
  DirectAction.loginAction() line: 297
  NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]  
  NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39  
  DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25  
  Method.invoke(Object, Object...) 

Re: class loading issue

2012-01-03 Thread Ramsey Gurley
I'll take a stab…

Maybe you have two classes named TimeEntry in the classpath?  Did you specify 
the full class name with package in your model?

Ramsey

On Jan 3, 2012, at 7:29 PM, Tim Worman wrote:

 Maybe I've asked a question here that I should be able to figure out the 
 answer to. But, for me, the stack trace does not appear to refer to anything 
 I have much control over. The class the error is referring to, TimeEntry is 
 available and nothing has changed with regard to it.
 
 Has anyone seen similar types of errors that might be able to give me a hint 
 that I can work with?
 
 Tim Worman
 UCLA GSEIS
 
 On Jan 2, 2012, at 1:20 PM, Tim Worman wrote:
 
 A little more information - 
 
 The app launches fine. The issue occurs when executing a login to the app - 
 and would be the only time that the app uses a model for our Open Directory 
 ldap server. However, the app has always used this model. However, I can 
 continue executation of the app and everything works fine.
 
 On Jan 2, 2012, at 12:17 PM, Tim Worman wrote:
 
 WO'ers:
 
 I am recently having a problem running my app in development. It runs fine 
 in deployment. I don't remember exactly when it started because I've been 
 on holiday. The app runs but then has the following runtime problem which 
 opens the debug view in Eclipse. This is the stack trace and I don't really 
 understand why this is occurring. If I allow the execution of the app to 
 continue, it works without problems but I'd really like to stop this hiccup 
 if I can. I just updated to the latest Wonder today.
 
 Thread [WorkerThread12] (Class load: TimeEntry) 
 ClassT.forName0(String, boolean, ClassLoader) line: not available 
 [native method] 
 ClassT.forName(String) line: 169  
 _NSUtilities._classWithPartialName(String, boolean) line: 348   
 _NSUtilities.classWithName(String) line: 335
 ERXModel(EOModel)._setEntityForEntityNameClassName(Object, String, 
 String) line: 1302   
 ERXModel(EOModel)._addFakeEntityWithPropertyList(NSDictionary) line: 
 1340   
 
 ERXModel(EOModel)._initWithTableOfContentsPropertyListPathURL(NSDictionary, 
 URL) line: 1144 
 ERXModel(EOModel).init(URL) line: 841 
 ERXModel.init(URL) line: 251  
 ERXModelGroup.addModelWithPathURL(URL) line: 535
 ERXModelGroup.loadModelsFromLoadedBundles() line: 271   
 ERXExtensions.defaultModelGroup() line: 147 
 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]  
 NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39  
 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25  
 Method.invoke(Object, Object...) line: 597  
 NSSelectorT._safeInvokeMethod(Method, Object, Object[]) line: 122 
 _NSDelegate._perform(String, Object[]) line: 223
 _NSDelegate.perform(String) line: 155   
 EOModelGroup.defaultGroup() line: 328   
 
 EOModelGroup.modelGroupForObjectStoreCoordinator(EOObjectStoreCoordinator) 
 line: 797
 EODatabaseContext._cooperatingObjectStoreNeeded(NSNotification) line: 
 1155  
 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]  
 NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39  
 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25  
 Method.invoke(Object, Object...) line: 597  
 NSSelectorT._safeInvokeMethod(Method, Object, Object[]) line: 122 
 NSNotificationCenter$_Entry.invokeMethod(NSNotification) line: 588  
 NSNotificationCenter.postNotification(NSNotification) line: 532 
 NSNotificationCenter.postNotification(String, Object, NSDictionary) 
 line: 562   
 EOObjectStoreCoordinator.requestStore(EOGlobalID, EOFetchSpecification, 
 EOEnterpriseObject) line: 223   
 
 EOObjectStoreCoordinator.objectStoreForFetchSpecification(EOFetchSpecification)
  line: 287   
 
 EOObjectStoreCoordinator.objectsWithFetchSpecification(EOFetchSpecification,
  EOEditingContext) line: 476
 
 ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification, 
 EOEditingContext) line: 4069
 ERXEC.objectsWithFetchSpecification(EOFetchSpecification, 
 EOEditingContext) line: 1215  
 
 ERXEC(EOEditingContext).objectsWithFetchSpecification(EOFetchSpecification) 
 line:   
 _InetOrgPerson.fetchInetOrgPersons(EOEditingContext, EOQualifier, 
 NSArray) line: 328
 _InetOrgPerson.fetchInetOrgPerson(EOEditingContext, EOQualifier) line: 
 337  
 _InetOrgPerson.fetchRequiredInetOrgPerson(EOEditingContext, 
 EOQualifier) line: 357  
 InetOrgPerson.ldapPersonForUsername(String) line: 39
 InetOrgPerson.employeeIdForInetOrgPersonWithUsername(String) line: 57   
 DirectAction.loginAction() line: 297
 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
 available [native method]