Re: Short question (legacy usage?)

2008-01-30 Thread Gavin Eadie
That's a good guess as to what it might be supposed to do, but it's clearly no longer required (WOLips builds don't generate it), and, by my experience, it may actually be harmful now. Does anyone have an app running correctly in WO 5.4 and an Infp.plist that contains this key? I've solve

Re: Short question (legacy usage?)

2008-01-30 Thread Jake MacMullin
As I understand it (and I could well be wrong) this key specifies that a bundle (.framework or .jar) contains WebObjects components (ie. .wo bundles). Cheers, Jake On 31/01/2008, at 3:28 PM, Gavin Eadie wrote: I'm bringing some ancient code forward to WOLips and, in the course of that, d

Short question (legacy usage?)

2008-01-30 Thread Gavin Eadie
I'm bringing some ancient code forward to WOLips and, in the course of that, discovered a problem in my application's Info.plist: Has_WOComponents Does anyone know what this does? Is it an old usage? I ask because it seems to get 5.4 WOBootstrap seriously grumpy -- as far as I can

Re: Partial Form Submit

2008-01-30 Thread Ricardo Parada
Or actually wasSubmitted(String elementName) is probably better name for the method I'd like to see in WORequest. Since sometimes the element names is an elementID and sometimes it's an arbitrary string. Anyways, I'm sure you guys get what I'm saying. :-) Ricardo J. Parada On Jan 30,

Re: Partial Form Submit

2008-01-30 Thread Ricardo Parada
If I understand correctly, the check box is not included by the browser in the form key/value pairs when unchecked. I guess that's how browsers submit the value for a checkbox and there's nothing you can do to change that. However, in my application, when I do a partial submit the javasc

Re: Partial Form Submit

2008-01-30 Thread Mike Schrag
Yeah, you have to wrap all of the WO input components and manually make them ignore takeValuesFromRequest if its key is not in the request. The problem here is that WOCheckBox has to work this way, so it will never work quite right for checkboxes without doing a bunch of trickery. You cou

Re: Partial Form Submit

2008-01-30 Thread Mike Schrag
I actually have avoided putting this in Wonder because I'm really not sure what the side-effects might be in the general case. I've always felt like the current behavior is wrong, but I feared changing it in case it introduced some subtle bugs somewhere, or in case people depended on that

Re: Partial Form Submit

2008-01-30 Thread Mr. Pierre Frisch
Hi Mike, Is this something we could fix for a future version of WO? Can you think of any side effects? I know of the WOCheckBox one that is pretty nasty, but for other inputs? Pierre -- Pierre Frisch [EMAIL PROTECTED] On Jan 30, 2008, at 15:20, Mike Schrag wrote: It would be nice for exa

Re: Partial Form Submit

2008-01-30 Thread Ricardo Parada
On Jan 30, 2008, at 4:20 PM, Mike Schrag wrote: It would be nice for example, if the WOTextField did not attempt to set its value to null when it notices that its elementID is not included in the form keys submitted in the request. Then this partial form submit would just work. IIRC, Mi

Re: App stuck on executeStoredProcedure()

2008-01-30 Thread Chuck Hill
Can you do a call from that tool? On Jan 30, 2008, at 3:39 PM, David Avendasora wrote: Here's what run, and get back in Aqua Data Studio: DECLARE @1 char(11), @2 char(255), @3 int EXEC [10.10.10.8].TEST.dbo.ott_spInventoryAdjustment @BatchID = '31041', @ItemNumber = '020711', @QTY =

Re: App stuck on executeStoredProcedure()

2008-01-30 Thread David Avendasora
Here's what run, and get back in Aqua Data Studio: DECLARE @1 char(11), @2 char(255), @3 int EXEC [10.10.10.8].TEST.dbo.ott_spInventoryAdjustment @BatchID = '31041', @ItemNumber = '020711', @QTY = 286.00, @SiteID = 'WAREHOUSE', @Classification = 'Production', @outIVDocNum = @1 OUTPUT

Re: App stuck on executeStoredProcedure()

2008-01-30 Thread David Avendasora
Yep, it runs fine. In the log it says "call" instead of "EXEC" or "EXECUTE" but I don't know if the log is supposed to reflect the exact SQL sent to the server or not. Dave On Jan 30, 2008, at 6:03 PM, Chuck Hill wrote: Does the SP run outside of WO (e.g. from one of the MS tools)? Can y

Re: Partial Form Submit

2008-01-30 Thread Mike Schrag
It would be nice for example, if the WOTextField did not attempt to set its value to null when it notices that its elementID is not included in the form keys submitted in the request. Then this partial form submit would just work. IIRC, Mike said that he had problems with partial submits i

Re: Partial Form Submit

2008-01-30 Thread Chuck Hill
On Jan 30, 2008, at 1:36 PM, Ricardo Parada wrote: Hi All, I'm doing some Ajax stuff. I can't use the wonder ajax frameworks so I'm writing my own. So bear with me. :-) One problem I have is, when a certain input element changes, I send in a request into the application with only the

Re: App stuck on executeStoredProcedure()

2008-01-30 Thread Chuck Hill
Does the SP run outside of WO (e.g. from one of the MS tools)? Can you get any information out of the MS tools? Does it get to the database? Does it complete? Chuck On Jan 30, 2008, at 2:31 PM, David Avendasora wrote: Hi all, I'm still having a problem with calling a Stored Procedure o

Re: App stuck on executeStoredProcedure()

2008-01-30 Thread David Avendasora
Hi all, I'm still having a problem with calling a Stored Procedure on a MS SQL DB. I have some additional information since I turned on SQL Logging. It just freezes after calling the Stored Procedure. No errors. Here's the method: public void sendToInventoryManagement() {

Re: xml serializing

2008-01-30 Thread Simon McLean
Jeff - Have you tried WOXMLCoder instead ? it's output is much simpler and easier to control. If you JUST want to dump entity attributes out to XML and then XSLT that into something more useful it's the best tool out the two in my opinion. Castor (http://www.castor.org/) is also worth a l

Partial Form Submit

2008-01-30 Thread Ricardo Parada
Hi All, I'm doing some Ajax stuff. I can't use the wonder ajax frameworks so I'm writing my own. So bear with me. :-) One problem I have is, when a certain input element changes, I send in a request into the application with only the form key/value for the input element that changed.

Re: xml serializing

2008-01-30 Thread Jeff Schmitz
I don't know if you'd call it "on top". I downloaded the libraries to a different place, and then updated the WOLips config (actually I just used the woswitch script that popped up on the message list, but I think that's pretty much what it did). I did have xalan and xercesImpl in the web

Re: Answer not readable

2008-01-30 Thread Neil MacLennan
+1 I wrote to the list manager on this a few weeks ago, but got no reply. And looking at a post from Pierre in the latest digest, no fix either. Anyone know who the list manager (webobjects-dev- [EMAIL PROTECTED]) is? .neilmac Dear Pierre, as I am glad to see you so active on the mailin

Re: Internal Inconsistency in K2Sort

2008-01-30 Thread arosenzweig
Thank you Alan and James, "Anyone know of a clever way to get null values to appear at the end of an ascending sorted list?" You gave a good tip. I've discovered that the only thing custom going on is in the Application constructor with the line: EOSortOrdering.ComparisonSupport.setSupportForC

Re: Changing domain on the fly, Design Advise...

2008-01-30 Thread Chuck Hill
On Jan 30, 2008, at 6:39 AM, Shravan Kumar.M wrote: Hello Group, Could an please advise a solution on the following requirement in our WebObjects: - We have a WebObjects application running on an application server, and two webservers, all are connected to a LAN. - The applicatio

Re: xml serializing

2008-01-30 Thread Chuck Hill
Did you install that on top of 5.4? Is there anything in /Library/ Java/Extensions or /Library/WebObjects/Extensions that might have a newer version of XML "stuff"? Chuck On Jan 30, 2008, at 11:19 AM, Jeff Schmitz wrote: I'm seeing this using WO 5.3 on Leopard. I haven't tried it yet de

Re: xml serializing

2008-01-30 Thread Jeff Schmitz
I'm seeing this using WO 5.3 on Leopard. I haven't tried it yet deployed on Tiger/5.3. On Jan 30, 2008, at 1:11 PM, Chuck Hill wrote: On Jan 30, 2008, at 9:06 AM, Jeff Schmitz wrote: Using the NSXmlOutputStream class as described in Practical Webobjects and passing in a key value, e.g.

Re: xml serializing

2008-01-30 Thread Chuck Hill
On Jan 30, 2008, at 9:06 AM, Jeff Schmitz wrote: Using the NSXmlOutputStream class as described in Practical Webobjects and passing in a key value, e.g. xml_stream.writeObject(first(), "first") I'm getting output with a structure that doesn't match what is shown in the book. For ex

xml serializing

2008-01-30 Thread Jeff Schmitz
Using the NSXmlOutputStream class as described in Practical Webobjects and passing in a key value, e.g. xml_stream.writeObject(first(), "first") I'm getting output with a structure that doesn't match what is shown in the book. For example, here is a snippet of my output: jef

Re: UTF-8

2008-01-30 Thread Mr. Pierre Frisch
Just one word of advice on the encoding name. The naming of encoding has changed in Java, it used to be encoding it is now character name. The interesting thing is that the names have changed there used to be no "-" and now there is one: Charset Description US-ASCII Seven-bit ASCII, a.k.a.

Changing domain on the fly, Design Advise...

2008-01-30 Thread Shravan Kumar.M
Hello Group, Could an please advise a solution on the following requirement in our WebObjects: - We have a WebObjects application running on an application server, and two webservers, all are connected to a LAN. - The application can be accessed from two webservers. - We always log

Answer not readable

2008-01-30 Thread Susanne Schneider
Dear Pierre, as I am glad to see you so active on the mailing list I regret that I am not able to read some of your contributions (see below). So I think I speak not only for myself but for more people getting the list-digest, would it be possible for you to write in simple text? With regards