Re: [MEET] WO-NoVA NEXT TUESDAY 2/16

2010-02-18 Thread Glenn Sequeira
On Tue, Feb 16, 2010 at 5:25 PM, Pascal Robert wrote: > > Le 10-02-16 à 08:33, Mike Schrag a écrit : >> >> so we'll plan to do a remote presentation -- i'll be showing the new >> ERRouteRestExample app and Dave asked if I could do an informal demo of >> ERProfiling. > > Since it's a remote present

Quoting hell, anybody a solution?

2010-02-18 Thread Johan Henselmans
I am trying to call a webobjects string in an a href; First i tried this: ') "; onMouseOver = "ShowContent(''); return true;" onMouseOut = "HideContent(''); return true;"> Of course, that gave errors about the quoting. It said: 'The character '<' must be escaped'. Expected behavior, too ma

Re: Q about locked ec

2010-02-18 Thread Philippe Rabier
Thanks Kieran, Ricardo, Anjo, Jon. Kieran, I follow your lead actually. I don't have too many threads/classes (just 3 classes) so I just modified my editingContext() in the classes like that: protected EOEditingContext editingContext() { if (editingContext == nu

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Henrique Gomes
On Feb 18, 2010, at 8:45 AM, Johan Henselmans wrote: > I am trying to call a webobjects string in an a href; > > First i tried this: > > ') "; > onMouseOver = "ShowContent(' value="[mySess.selectedPerformance.primaryKey]"/>'); return true;" > onMouseOut = "HideContent(' ="[mySess.selectedPer

RE: Quoting hell, anybody a solution?

2010-02-18 Thread Weide, Björn
Could work something like that? : href = "javascript:ShowContent(this.id);" onMouseOver = "ShowContent(this.id); return true;" onMouseOut = "HideContent(this.id); return true;"> Ciao, Bjoern _ From: webobjects-dev-bounces+bw=condat...@lists.apple.com [mailto:webobjects-dev-bounces

Re: Q about locked ec

2010-02-18 Thread Kieran Kelleher
Philippe, This isn't the same thing. Between the line that creates and the line that sets autolock to false below, another thread could call a method that triggers an autolock. If you can find the old discussion on this, you will see that I was actually doing sth like you have shown here and I

Re: Preview of new content on wocommunity.org

2010-02-18 Thread Amedeo Mantica
good :) On 18/feb/2010, at 03.48, Pascal Robert wrote: > Work on the organization and individual profiles is almost complete, same > case for the job (you will be able to add a new job posting yourself) and > project pages. > > You can preview the pages : > > Individual profile : http:/

Re: session timeout trouble

2010-02-18 Thread Amedeo Mantica
unfortunately at the moment i don't know jdb but can i try setting breakpoints Amedeo On 18/feb/2010, at 00.25, Mark Ritchie wrote: > Hey! > > On 17/Feb/2010, at 1:53 PM, Mark Wardle wrote: >> Might be worth checking it is the session you think it is? > > This is certainly something to consid

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Gordon Belray
HI Johan, I've got this to work by creating the bindings in the wod file PerformancePrimaryKey: WOString { value = mySess.selectedPerfromance.primaryKey; } and then in the html onMouseOver = "ShowContent('name=PerformancePrimaryKey>>'); return true;" onMouseOut = "HideContent('name=Pe

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Johan Henselmans
On 18 feb 2010, at 12:11, Henrique Gomes wrote: > > On Feb 18, 2010, at 8:45 AM, Johan Henselmans wrote: > >> I am trying to call a webobjects string in an a href; >> >> First i tried this: >> >> ') "; >> onMouseOver = "ShowContent('> value="[mySess.selectedPerformance.primaryKey]"/>'); retu

De Framing an Application

2010-02-18 Thread Jeffrey Simpson
I am working on removing Frames from an Application. Their are 2 frames, A Left Navigation (LeftNav) Frame and a Right Content(Content) Frame. There are 7 LeftNavs and 302 Content pages. The LeftNav and Content page are instance variables of a page called LowerFrameset. Any action on a Left

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Anjo Krank
> Thanks for the suggestion, but I wanted to make it a little bit more > variable: ie, changing the contents of the wod or wo/html file without having > to recompile the application. If you are running in debug mode, you can simply change the code? Or do you mean in deployment? Srzly?!? Chee

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Johan Henselmans
On 18 feb 2010, at 17:05, Anjo Krank wrote: > >> Thanks for the suggestion, but I wanted to make it a little bit more >> variable: ie, changing the contents of the wod or wo/html file without >> having to recompile the application. > > If you are running in debug mode, you can simply change

Re: Probleme re-executing adaptor operations

2010-02-18 Thread Jean-Francois Veillette
For no obvious reason, eof tries to save operations twice to the bd, all within the same 'saveChanges'. hand-crafted log reduction for simplicity (full log at the end) ... "ReclRepresentantLegal"@13255337 expression took 3 ms: INSERT INTO recl_representant_legal(pk) VALUES ( ?) withBindings:

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Mike Schrag
you can just have a method that returns "javascript:ShowContent('Image" + id + ")')" and use WOGenericContainer/Element for the div and WOHyperlink for the link On Feb 18, 2010, at 11:11 AM, Johan Henselmans wrote: > > On 18 feb 2010, at 17:05, Anjo Krank wrote: > >> >>> Thanks for the sugge

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Mike Schrag
also ognl btw YourLink : WOHyperlink { href = ~'javascript:ShowContent("Image' + sess.selectedPerformance.primaryKey + '")'; } one of the few uses of ognl in templates that doesn't disgust me. ms On Feb 18, 2010, at 11:23 AM, Mike Schrag wrote: > you can just have a method that return

Re: Quoting hell, anybody a solution?

2010-02-18 Thread David LeBer
On 2010-02-18, at 11:23 AM, Mike Schrag wrote: > you can just have a method that returns "javascript:ShowContent('Image" + id > + ")')" and use WOGenericContainer/Element for the div and WOHyperlink for > the link Yes, this is what I try and do: Keep as much html/wod/css as such and just pick

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Mike Schrag
>> you can just have a method that returns "javascript:ShowContent('Image" + id >> + ")')" and use WOGenericContainer/Element for the div and WOHyperlink for >> the link > > Yes, this is what I try and do: Keep as much html/wod/css as such and just > pick out the specific things I need to be co

Re: Problem re-executing adaptor operations

2010-02-18 Thread Chuck Hill
On Feb 18, 2010, at 8:20 AM, Jean-Francois Veillette wrote: For no obvious reason, eof tries to save operations twice to the bd, all within the same 'saveChanges'. hand-crafted log reduction for simplicity (full log at the end) ... "ReclRepresentantLegal"@13255337 expression took 3 ms: INSER

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Anjo Krank
Why not simply > YourLink : WOHyperlink { > href = ~'javascript:ShowContent(' + sess.selectedPerformance.primaryKey > + ')'; > } And handle the "Image" + pk in the JS method? Also, you could: > YourLink : WOHyperlink { > href = ~'javascript:ShowContent(this)'; imageID = se

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Mike Schrag
>> YourLink : WOHyperlink { >> href = ~'javascript:ShowContent(' + sess.selectedPerformance.primaryKey >> + ')'; >> } > And handle the "Image" + pk in the JS method? Also, you could: Whoops -- typo, though that's an option, too. >> YourLink : WOHyperlink { >> href = ~'javascript:ShowCon

Re: De Framing an Application

2010-02-18 Thread Chuck Hill
On Feb 18, 2010, at 7:59 AM, Jeffrey Simpson wrote: I am working on removing Frames from an Application. Their are 2 frames, A Left Navigation (LeftNav) Frame and a Right Content(Content) Frame. There are 7 LeftNavs and 302 Content pages. The LeftNav and Content page are instance varia

Re: Quoting hell, anybody a solution?

2010-02-18 Thread Anjo Krank
The nicest would the to move the JS to a behaviour, based on an attribute: >>> YourLink : WOHyperlink { >>> imageID = sess.selectedPerformance.primaryKey; >>> } { "LI.images A": function(e) { e.onmouseup = function()... } } Cheers, Anjo Am 18.02.2010 um 20:18 schrieb Mike

WSDL is not complaint to WS-I

2010-02-18 Thread Kalpana Vaka
Hi Group, Does WebObjects support document/literal or wrapped style webservices? With RPC style, the WSDL generated by WebObjects is not WS-I complaint because of soapenc:ArrayType. Is there a way to make the WSDL complaint to WS-I? Any help? Thanks & Regards, Kalpana. _

Re: Q about locked ec

2010-02-18 Thread Steve Peery
Does this apply to ERXLongResponse pages? I have a report that I moved to an ERXLongResponse page and now the app hangs occasionally. Could this be a locking issue? Thanks, Steve On Feb 17, 2010, at 5:21 PM, Anjo Krank wrote: > You *can* pass EOs between threads. You just really, wanna make s

Re: Q about locked ec

2010-02-18 Thread Pascal Robert
I demand a WOWODC session about locking, this is one thing that popup every week in the lists :-) Does this apply to ERXLongResponse pages? I have a report that I moved to an ERXLongResponse page and now the app hangs occasionally. Could this be a locking issue? Thanks, Steve On Feb 17,

Re: Q about locked ec

2010-02-18 Thread Anjo Krank
A long response most of the time locks in start and unlocks on end. If you use the session EC for... well, you figure it out. Cheers, Anjo Am 18.02.2010 um 22:09 schrieb Steve Peery: > Does this apply to ERXLongResponse pages? I have a report that I moved to an > ERXLongResponse page and now

Re: Q about locked ec

2010-02-18 Thread Steve Peery
That could explain a few things. Thanks, Steve On Feb 18, 2010, at 4:20 PM, Anjo Krank wrote: > A long response most of the time locks in start and unlocks on end. If you > use the session EC for... well, you figure it out. > > Cheers, Anjo > > > > Am 18.02.2010 um 22:09 schrieb Steve Peery

PK-type

2010-02-18 Thread Fredrik Lindgren
Does anyone have a nice way of reverting a database of BYTE 24 primary keys to Integers? /Fredrik Lindgren ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscri

JSON/ dygraph / Ajax help

2010-02-18 Thread James Cicenia
Hello - I am starting on my first real AJAX WebObject JSON app. I am testing it with dygraph (http://danvk.org/dygraphs/) I have created a DirectAction to return all the data. Now I don't know where to begin. I would like the data to load upon the window loading. Then I want to do periodic updat