Re: File Upload

2010-04-28 Thread David LeBer
On 2010-04-28, at 11:26 PM, Mike Schrag wrote:

> One thing that would be nice is a javascript function to start the upload and 
> a callback on completion ... This would potentially allow a solution to file 
> uploads in ajax forms -- you could have a "submit button" that when clicked, 
> grayed out the submit ("sending..."), starts the upload in the form, and on 
> completion, it could then actually perform the ajax submit of the rest of the 
> form.

Yeah, I think I can implement that without much trouble, and I can see that 
being a nice way to handle uploads in forms.

> 
> ms
> 
> On Apr 28, 2010, at 11:23 PM, Mike Schrag wrote:
> 
>> i dig it ... i've never been happy with how AjaxFileUpload worked and the 
>> funky limitations it had.
>> 
>> On Apr 28, 2010, at 11:17 PM, David LeBer wrote:
>> 
>>> Hey all,
>>> 
>>> Because of the way inline edit pages work in ERModernLook all of the 
>>> standard file upload components don't.
>>> 
>>> So I've been working on one that will. I've got to say it's a pig of a 
>>> problem. Mike had already done some heavy lifting on AjaxUpload but it 
>>> required it's own form. Andrew Valums AjaxUpload.js 
>>>  helps work around that. But getting the 
>>> behaviour just right is tough. Widespread adoption of HTML5's file object 
>>> cannot get here fast enough for me.
>>> 
>>> Anyway, here is a sample movie of what I've been working on, I'd love 
>>> feedback on whether the UI behaviour makes sense.
>>> 
>>> 

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.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: File Upload

2010-04-28 Thread Mike Schrag
One thing that would be nice is a javascript function to start the upload and a 
callback on completion ... This would potentially allow a solution to file 
uploads in ajax forms -- you could have a "submit button" that when clicked, 
grayed out the submit ("sending..."), starts the upload in the form, and on 
completion, it could then actually perform the ajax submit of the rest of the 
form.

ms
 
On Apr 28, 2010, at 11:23 PM, Mike Schrag wrote:

> i dig it ... i've never been happy with how AjaxFileUpload worked and the 
> funky limitations it had.
> 
> On Apr 28, 2010, at 11:17 PM, David LeBer wrote:
> 
>> Hey all,
>> 
>> Because of the way inline edit pages work in ERModernLook all of the 
>> standard file upload components don't.
>> 
>> So I've been working on one that will. I've got to say it's a pig of a 
>> problem. Mike had already done some heavy lifting on AjaxUpload but it 
>> required it's own form. Andrew Valums AjaxUpload.js 
>>  helps work around that. But getting the 
>> behaviour just right is tough. Widespread adoption of HTML5's file object 
>> cannot get here fast enough for me.
>> 
>> Anyway, here is a sample movie of what I've been working on, I'd love 
>> feedback on whether the UI behaviour makes sense.
>> 
>> 
>> 
>> ;david
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 'co-def-er-ous' adj. Literally 'code-bearing'
>> site:http://codeferous.com
>> blog:http://davidleber.net
>> profile: http://www.linkedin.com/in/davidleber
>> twitter: http://twitter.com/rebeld
>> --
>> Toronto Area Cocoa / WebObjects developers group:
>> http://tacow.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/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/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: File Upload

2010-04-28 Thread Mike Schrag
i dig it ... i've never been happy with how AjaxFileUpload worked and the funky 
limitations it had.

On Apr 28, 2010, at 11:17 PM, David LeBer wrote:

> Hey all,
> 
> Because of the way inline edit pages work in ERModernLook all of the standard 
> file upload components don't.
> 
> So I've been working on one that will. I've got to say it's a pig of a 
> problem. Mike had already done some heavy lifting on AjaxUpload but it 
> required it's own form. Andrew Valums AjaxUpload.js 
>  helps work around that. But getting the 
> behaviour just right is tough. Widespread adoption of HTML5's file object 
> cannot get here fast enough for me.
> 
> Anyway, here is a sample movie of what I've been working on, I'd love 
> feedback on whether the UI behaviour makes sense.
> 
> 
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile:  http://www.linkedin.com/in/davidleber
> twitter:  http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.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/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


File Upload

2010-04-28 Thread David LeBer
Hey all,

Because of the way inline edit pages work in ERModernLook all of the standard 
file upload components don't.

So I've been working on one that will. I've got to say it's a pig of a problem. 
Mike had already done some heavy lifting on AjaxUpload but it required it's own 
form. Andrew Valums AjaxUpload.js  helps work 
around that. But getting the behaviour just right is tough. Widespread adoption 
of HTML5's file object cannot get here fast enough for me.

Anyway, here is a sample movie of what I've been working on, I'd love feedback 
on whether the UI behaviour makes sense.



;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.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: Ajax Sortable List

2010-04-28 Thread Jim Murry
Thank you, I had figured that to be the case.  I was just hoping that  
I was overlooking something.


Jim

On Apr 28, 2010, at 4:10 PM, Mike Schrag wrote:

the containment flag is not supported ... i don't think there's  
currently an easy way to make this work. i looked at it a few years  
ago and didn't have the energy to fit all the pieces together. if  
you have to support this, i would recommend just doing it by  
tracking the ids in a non-automagic way.


ms

On Apr 28, 2010, at 6:53 PM, Jim Murry wrote:

I am trying to create two ajax sortable lists like the example in  
Wonder, but I need to be able to drag the items between the two  
lists.  More specifically I want listA to be a list of available  
processes that can be dragged to listB to populate listB without  
depopulating listA.  When I change the option "containment", so  
that I am able to drag between the two, I get an  
"ArrayIndexOutOfBounds" error or throw new  
NoSuchElementException("There was no item that matched the ID '" +  
itemID + "' in " + list + ".");  If I use ajax without Wonder, my  
sortable lists behave like normal, but I do not get the value back  
into WO easily nor can I populate the lists easily.  I must be  
forgetting to set an option.


Thank you
Jim
___
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: [OT] ≈ plug-in available for Mac OS X

2010-04-28 Thread Chuck Hill


On Apr 28, 2010, at 2:45 PM, Paul Hoadley wrote:


On 29/04/2010, at 6:52 AM, Chuck Hill wrote:

No help, but this happened to me to.  Now neither this nor  
Jadclipse will work.


Great.  I used the standalone JD-GUI for the problem I had at the  
time, but it's a shame the Eclipse plug-in won't work.


That is what I resorted to as well, I just have not found the energy  
to dig into it again.



--
Chuck Hill Senior Consultant / VP Development

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/products/practical_webobjects







___
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: Ajax Sortable List

2010-04-28 Thread Mike Schrag
the containment flag is not supported ... i don't think there's currently an 
easy way to make this work. i looked at it a few years ago and didn't have the 
energy to fit all the pieces together. if you have to support this, i would 
recommend just doing it by tracking the ids in a non-automagic way.

ms

On Apr 28, 2010, at 6:53 PM, Jim Murry wrote:

> I am trying to create two ajax sortable lists like the example in Wonder, but 
> I need to be able to drag the items between the two lists.  More specifically 
> I want listA to be a list of available processes that can be dragged to listB 
> to populate listB without depopulating listA.  When I change the option 
> "containment", so that I am able to drag between the two, I get an 
> "ArrayIndexOutOfBounds" error or throw new NoSuchElementException("There was 
> no item that matched the ID '" + itemID + "' in " + list + ".");  If I use 
> ajax without Wonder, my sortable lists behave like normal, but I do not get 
> the value back into WO easily nor can I populate the lists easily.  I must be 
> forgetting to set an option.
> 
> Thank you
> Jim
> ___
> 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

Ajax Sortable List

2010-04-28 Thread Jim Murry
I am trying to create two ajax sortable lists like the example in  
Wonder, but I need to be able to drag the items between the two  
lists.  More specifically I want listA to be a list of available  
processes that can be dragged to listB to populate listB without  
depopulating listA.  When I change the option "containment", so that I  
am able to drag between the two, I get an "ArrayIndexOutOfBounds"  
error or throw new NoSuchElementException("There was no item that  
matched the ID '" + itemID + "' in " + list + ".");  If I use ajax  
without Wonder, my sortable lists behave like normal, but I do not get  
the value back into WO easily nor can I populate the lists easily.  I  
must be forgetting to set an option.


Thank you
Jim
 ___
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: [OT] JD-Eclipse plug-in available for Mac OS X

2010-04-28 Thread Paul Hoadley
On 29/04/2010, at 6:52 AM, Chuck Hill wrote:

> No help, but this happened to me to.  Now neither this nor Jadclipse will 
> work.

Great.  I used the standalone JD-GUI for the problem I had at the time, but 
it's a shame the Eclipse plug-in won't work.


-- 
Paul.

http://logicsquad.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/archive%40mail-archive.com

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


Re: [OT] JD-Eclipse plug-in available for Mac OS X

2010-04-28 Thread Chuck Hill
No help, but this happened to me to.  Now neither this nor Jadclipse  
will work.


On Apr 28, 2010, at 1:02 AM, Paul Hoadley wrote:


On 16/05/2009, at 11:45 AM, Kieran Kelleher wrote:

Thanks for letting us know. Works great. Very clean decompile. It  
is cool how it puts  /*  */ the the left of  
every code line too.


On May 15, 2009, at 2:16 PM, Henrique Prange wrote:


Hi list,

Just to inform the Java Decompiler [1] plug-in for Eclipse is now  
available for Mac OS X. I have tried and it seems pretty good.


[1]http://java.decompiler.free.fr/


I'm using Eclipse 3.4.1.  I just followed the instructions here:

http://java.decompiler.free.fr/?q=jdeclipse

The steps headed "Installation of Equinox/p2 plug-in" failed—Eclipse  
told me it was already installed.  So I pressed on and completed  
"Installation of JD-Eclipse plug-in".  I take it the next step is to  
associate "*.class" with the class decompiler, but I don't see that  
listed as an option in the "Internal editors" list.  Have I missed  
something here?



--
Paul.

http://logicsquad.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/chill%40global-village.net

This email sent to ch...@global-village.net


--
Chuck Hill Senior Consultant / VP Development

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/products/practical_webobjects







___
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


[OT] - WWDC10

2010-04-28 Thread Dev WO
Hello womates,

just in case there are some of you with a "still working" ADC Premium with an 
e-ticket for WWDC2010 and they won't attend, maybe those tickets can be of help 
for some of us:)
Basically it could be a list of "everyone who are going to attend" and "the 
number of available tickets". We could put that all together and see how much 
we need to add to get tickets for all the attendee.
If there's only a couple of e-tickets available I vote for giving it to the 
"oversea" active person on the list like Anjo for exemple.

I think we need to move fast, tickets sold out really quickly last year.

Xavier
 ___
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: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-28 Thread David LeBer

On 2010-04-28, at 9:02 AM, Pascal Robert wrote:

> 
> Le 10-04-27 à 16:23, Chuck Hill a écrit :
> 
>> 
>> On Apr 27, 2010, at 1:20 PM, David LeBer wrote:
>> 
>>> 
>>> On 2010-04-27, at 4:17 PM, Chuck Hill wrote:
>>> 
 
 On Apr 27, 2010, at 1:15 PM, Mark Ritchie wrote:
 
> On 27/Apr/2010, at 1:14 PM, Chuck Hill wrote:
>> Still sounds like a fine academic theory dashed on the sharp, jagged 
>> rocks of reality to me.  :-P
> 
> Drop by the Chieftan and we can take in the view! ;-)
 
 
 I may be around at WWDC, it would be a pleasure.
>>> 
>>> And when would that be exactly? :-(
>> 
>> 
>> Some Monday to Friday, almost certainly sometime in 2010, likely after June, 
>> but who knows really.
>> 
>> ;-)
>> 
>> With my luck it will coincide with WOWODC.
> 
> Well, we can breath now. WWDC is June 7-11, almost two months before WOWODC.

But just a little over 5 weeks from today. Let the mad scramble to make 
preparations begin.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.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: Instance gets down after approx 500 hits; Database backup; Connection pooling with Single Database Context

2010-04-28 Thread Pascal Robert


Le 10-04-27 à 16:23, Chuck Hill a écrit :



On Apr 27, 2010, at 1:20 PM, David LeBer wrote:



On 2010-04-27, at 4:17 PM, Chuck Hill wrote:



On Apr 27, 2010, at 1:15 PM, Mark Ritchie wrote:


On 27/Apr/2010, at 1:14 PM, Chuck Hill wrote:
Still sounds like a fine academic theory dashed on the sharp,  
jagged rocks of reality to me.  :-P


Drop by the Chieftan and we can take in the view! ;-)



I may be around at WWDC, it would be a pleasure.


And when would that be exactly? :-(



Some Monday to Friday, almost certainly sometime in 2010, likely  
after June, but who knows really.


;-)

With my luck it will coincide with WOWODC.


Well, we can breath now. WWDC is June 7-11, almost two months before  
WOWODC. ___

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: need help with datepicker.....

2010-04-28 Thread David Avendasora
Ahg! I got my hopes up that you were referring to the coveted "do what I mean, 
not what I say" patch.

Turns out that this just fixes AjaxModalContainer.

Sigh. It's nice an all, but...

On Apr 27, 2010, at 5:16 PM, Ramsey Gurley wrote:

> There's a patch for that...
> 
> http://issues.objectstyle.org/jira/browse/WONDER-418
> 
> (^_^)
> 
> Ramsey
> 
> On Apr 27, 2010, at 5:02 PM, Theodore Petrosky wrote:
> 
>> this is what I get for speaking too fast
>> 
>> I am now using the AMD. what didn't work was the AjaxModalContainer...
>> 
>> when I reread your mail I realized my mistake in the conversation
>> 
>> I respectfully request your forgiveness and indulgence for my inaptitude...
>> 
>> putting the datepicker in an AjaxModalDialog is working fine.
>> 
>> Ted
>> 
>> 
>> --- On Tue, 4/27/10, Chuck Hill  wrote:
>> 
>>> From: Chuck Hill 
>>> Subject: Re: need help with datepicker.
>>> To: "Theodore Petrosky" 
>>> Cc: webobjects-dev@lists.apple.com
>>> Date: Tuesday, April 27, 2010, 3:35 PM
>>> 
>>> On Apr 27, 2010, at 12:24 PM, Theodore Petrosky wrote:
>>> 
 Yes there is a css file do I need to do something
>>> special do
 I need to wrap anything in a div???
>>> 
>>> Details, please.
>>> 
>>> You are using these bindings?
>>> 
>>>  * @binding calendarCSS name of CSS resource with
>>> classed for
>>> calendar, defaults to "calendar.css"
>>>  * @binding calendarCSSFramework name of framework
>>> (null for
>>> application) containing calendarCSS resource, defaults to
>>> "Ajax"
>>> 
>>> What happens if you don't use them (e.g. use the default
>>> CSS)?
>>> 
>>> 
>>> Chuck
>>> 
 I tried this on both Safari (4.0.5 and .4  and
>>> Firefox)
 
 Ted
 
 --- On Tue, 4/27/10, Chuck Hill 
>>> wrote:
 
> Are you using a custom CSS file for
> it?  Which browser?
> 
> Chuck
> 
> 
> On Apr 27, 2010, at 10:24 AM, Theodore Petrosky
>>> wrote:
> 
>> I made sure I did a fresh download of
>>> wonder... I got
> that from:
>> 
>> http://webobjects.mdimension.com/wonder/
>> 
>> and I downloaded the 54 frameworks (as I am on
>>> 5.4.3)
>> 
>> I relaunched eclipse and rebuilt my app...
>>> same
> behavior ... the datepicker dialog box appears
>>> under the AMD
> and in grey (I also tried it with inline bindings
>>> and wod
> bindings).
>> 
>> Ted
>> 
>> 
>>> I use it in the AMD and am not having
> problems.  I fixed some issues a
>>> while back, so make sure you are not using
>>> an
> older Wonder.
>> 
>>> Theodore,
>>> 
>>> We had trouble with the ADP styling when
>>> used from
> within an AMD.
>>> It became very wide.  If I remember
>>> correctly
> it was either the
>>> width of the block enclosing the AMD or it
>>> started
> in the correct
>>> top left position and stretched to the
>>> edge of
> that block to the
>>> right.
>>> 
>>> When I get in the office I'll see if we
>>> figured
> out a solution.
>>> 
>>> Jon
>>> 
>>> On 4/27/10 7:20 AM, Theodore Petrosky
>>> wrote:
 I am usually good at figuring out the
>>> Ajax
> examples and using them
 in my projects.. but I don't
>>> understand the
> mechanism behind the
 ajaxdatepicker example...
 
 I have an AjaxDatePicker on an
> AjaxModalDialog when I click the
 textField, the datepicker pops up
>>> behind the
> modaldialog..
 
 Am I doing something obviously wrong?
>>> I would
> like to use the
 modaldialog but maybe there is another
>>> way...
 
>> 
>> 
>> 
> 
> --Chuck Hill
>Senior Consultant / VP Development
> 
> 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/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 
> 
 
 
 
>>> 
>>> -- 
>>> Chuck Hill
>>>   Senior Consultant / VP Development
>>> 
>>> 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/products/practical_webobjects
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> 
>> ___
>> 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/ramsey%40xeotech.com
>> 
>> This email sent to ram...@xeotech.com
>> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/U

Re: [OT] JD-Eclipse plug-in available for Mac OS X

2010-04-28 Thread Paul Hoadley
On 16/05/2009, at 11:45 AM, Kieran Kelleher wrote:

> Thanks for letting us know. Works great. Very clean decompile. It is cool how 
> it puts  /*  */ the the left of every code line too.
> 
> On May 15, 2009, at 2:16 PM, Henrique Prange wrote:
> 
>> Hi list,
>> 
>> Just to inform the Java Decompiler [1] plug-in for Eclipse is now available 
>> for Mac OS X. I have tried and it seems pretty good.
>> 
>> [1]http://java.decompiler.free.fr/

I'm using Eclipse 3.4.1.  I just followed the instructions here:

http://java.decompiler.free.fr/?q=jdeclipse

The steps headed "Installation of Equinox/p2 plug-in" failed—Eclipse told me it 
was already installed.  So I pressed on and completed "Installation of 
JD-Eclipse plug-in".  I take it the next step is to associate "*.class" with 
the class decompiler, but I don't see that listed as an option in the "Internal 
editors" list.  Have I missed something here?


-- 
Paul.

http://logicsquad.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/archive%40mail-archive.com

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


Re: Debugging

2010-04-28 Thread Martin Samm
JadClipse - cheers, will check it out.

Yep - the Fk column was indeed exposed as a class property.

Thanks all,

Martin

On 27 April 2010 23:10, Chuck Hill  wrote:

>
> On Apr 27, 2010, at 1:37 PM, Martin Samm wrote:
>
>  I'm trying to debug this exception in Eclipse:
>>
>> Apr 27 21:33:13 AdTracker[57153] WARN  NSLog  - AdvertManagement:saveAd -
>> exception
>> > ; propertyKey: advertID; type:
>> NullPropertyException; additionalExceptions: ()>
>>
>> > ; propertyKey: advertID; type:
>> NullPropertyException; additionalExceptions: ()>
>>at
>> com.webobjects.eoaccess.EOAttribute.validateValue(EOAttribute.java:2541)
>>at
>> com.webobjects.eoaccess.EOEntityClassDescription.validateValueForKey(EOEntityClassDescription.java:452)
>>at
>> er.extensions.eof.ERXEntityClassDescription.validateValueForKey(ERXEntityClassDescription.java:814)
>>at
>> com.webobjects.eocontrol.EOCustomObject.validateValueForKey(EOCustomObject.java:1311)
>>at
>> er.extensions.eof.ERXGenericRecord.validateValueForKey(ERXGenericRecord.java:1248)
>> ...
>>
>> whilst i have source for ERXEntityClassDescription so i can setup a break
>> point there, i'd like to do so further up the stack but as yet cant find
>> where to get source to do this.
>>
>> Can anyone help?
>>
>> For reference (in case anything is obvious) the exception is cause by
>> adding an object to a relationship (addTo) and then
>> issuing a saveChanges().
>> The advertID is the property (FK column) in the child which references the
>> parent (PK).
>>
>> Thanks
>> Martin Samm
>>
>
>
> Sounds like you have the FK marked as a class property in the model.  That
> will cause problems.  Exposing the PK won't cause problems, though is
> considered naughty by many.
>
> Chuck
>
> --
> Chuck Hill Senior Consultant / VP Development
>
> 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/products/practical_webobjects
>
>
>
>
>
>
>
>


-- 
Martin Samm
Aetopia Ltd
+44 (0) 28 9099 8767

Aetopia Ltd is a limited company registered in Belfast, Northern Ireland,
with registration number NI053321, having its principal place of business
(and postal address) at ECIT Institute, Queens Road, BELFAST BT3 9DT
and registered office at 1, Lanyon Quay, BELFAST BT1 3LG
 ___
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: Linux Apache 2.2 webserver update causing problems

2010-04-28 Thread Aurélien Minet
Hi,

Interesting I'll give a try (actually using mpm-worker)

Aurelien

On 04/28/2010 05:36 AM, D Tim Cummings wrote:
> Hi
> 
> We were getting a couple of segmentation faults each day using
> apache2-mpm-worker on Debian Lenny.  We switched to using
> apache2-mpm-prefork and haven't had a segmentation fault since.
> 
> Tim
> 
> On 28/04/2010, at 1:43 AM, Aurélien Minet wrote:
> 
>> Hi,
>>
>> I have had a some problem with Apache package of Ubuntu 8.04 on
>> x86_32: several Segmentation fault each days
>> causing no response or application/instance not found error.
>> Check apache error_log (not the error logs of vhost) for errors like
>> "child pid 12345 exit signal Segmentation fault (11)".
>>
>> Switching to Gentoo x86_32 with gcc-4.3.4 (hardened with Pie),
>> apache-2.2.15, apr-util-1.3.9, apr-1.3.9, only one apache
>> child got a segmentation fault per week actually (it's not perfect but
>> far better).
>>
>> mod_WebObjects isn't free of bug, there is a double free problem in
>> ac_readConfiguration() but I still haven't found a
>> way to reproduce this problem in order to fix it (but it's a rare
>> problem).
>>
>> Aurelien
>> ___
>> 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/tim%40triptera.com.au
>>
>>
>> This email sent to t...@triptera.com.au
> 

 ___
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