Does Ajax work in Direct Connect Mode?

2013-09-12 Thread MAI NGUYEN
Hello List, I have to run the WebObjects application in Direct Connect Mode as we use a custom load balancer, and do not want to have Apache involved. Does anyone know if it is possible to use Ajax in Direct Connect Mode? I am using AjaxExpansion, but an "onclick" on the Ajax Request does not sh

Your slides from WOCommunity : Deployment of WebObjects applications on CentOS Linux

2013-07-15 Thread MAI NGUYEN
Hi Pascal, I am reviewing your slides about Deploying WebObjects on Linux (from WOWODC a while ago). I can either install Java JDK (or JRE) 32/64 bit on an Oracle Linux 5.8 machine. According to your slides, it seems like the 32 bit Java version is preferable as it would eat less Memory (if RAM

Using WebLogic as a servlet container?

2013-03-19 Thread MAI NGUYEN
Hello List, I wonder if any of you has had experience moving a WebObjects app (5.4.x) to run as a servlet inside a BEA WebLogic container on Linux? There is not much information aside from Chapter 10 in Practical WebObjects about WebObjects and J2EE, and the wiki has some info deploying a WebO

Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
eriously, they default to US-ASCII on requests and ISO-8859-1 on responses? > WTH man? Response should have a charset anyway, but explicitly setting UTF-8 > just in case." > > It's better than URLConnection, yes. Just don't assume the defaults make any > sense. >

Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
Actually HTTPClient from ApacheCommons looks much less daunting than java.net.HttpURLConnection, so I will give it a try. Thanks for the suggestions. > On Dec 21, 2012, at 2:22 PM, Chuck Hill wrote: > >> It does not sound like you want a direct action. I think you want something >> more like j

Re: Direct Action help?

2012-12-21 Thread Mai Nguyen
PM, John Huss wrote: > A redirect does not have a content body, just a status code and a Location > header. > > > On Fri, Dec 21, 2012 at 3:48 PM, Mai Nguyen wrote: > Hi List, > I have read David LeBer's very good blog about Direct Actions, but I am still > unclear

Direct Action help?

2012-12-21 Thread Mai Nguyen
Hi List, I have read David LeBer's very good blog about Direct Actions, but I am still unclear how to get the http response returned by a DA? Or is it possible? For example, I have the following code, as the redirect is needed to call a DA to do further validation. The DA inside the URL (that I

ERXNSLogLog4jBridge (solved)

2012-05-18 Thread Mai Nguyen
Hello, I was on the wrong track, so I solved this issue already. Thanks for your time. ___ 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 Subscr

ERXNSLogLog4jBridge

2012-05-17 Thread Mai Nguyen
Hello List, I wonder if someone can explain the following property and its usage? er.extensions.ERXNSLogLog4jBridge.ignoreNSLogSettings Whichever value I used (true or false), the NSLog output is not directed to a log4J appender as it should. My application does not use ERXApplication (not a Wonde

Re: Opening multiple database channels

2012-03-23 Thread Mai Nguyen
Hi John, I am just curious: Is it possible to run EOF and Cayenne side by side in the same WO app, or does one have to switch over completely to Cayenne? thanks, mai On Mar 23, 2012, at 10:56 AM, John Huss wrote: > Cayenne supports this kind of concurrency and will utilize multiple > connectio

Re: Ajax framework and prototype.js 1.7

2012-01-06 Thread Mai Nguyen
Hello, Has anyone used Chosen with a WOPopUpButton? The Chosen example shows a simple list with existing values, so I wonder how an example would work with WO Elements, like a popup button when the list data needs to be fetched from the database. thanks for any pointers, -mai On Jan 6, 2012,

Re: AjaxFileUpload UploadProgress binding

2011-11-28 Thread Mai Nguyen
ing on an HTML5 drag and drop multi file upload component. I > can share or try to submit it to WOnder if there is interest. > > Michael Kondratov > Aspire Auctions, Inc. > > On Nov 28, 2011, at 10:39 PM, Mai Nguyen wrote: > >> Hello List, >> >> Does anyo

AjaxFileUpload UploadProgress binding

2011-11-28 Thread Mai Nguyen
Hello List,Does anyone have an example of using an AjaxFileUpload where an actual file is uploaded?I have looked at the Ajax Example in Project Wonder, in particular FileUploadExample, and I used identical bindings in my test, but my upload is stuck after displaying the "Upload Starting... " messag

Re: Apache DocumentRoot setting?

2011-08-30 Thread Mai Nguyen
ll treat both Safari and Firefox the same way. >> >> Another way to say it is you tricked yourself by modifying Apache settings >> *after* viewing the image in Safari then you probably viewed it for the >> first time in Firefox... thus the discrepancy. >> >&g

Apache DocumentRoot setting?

2011-08-26 Thread Mai Nguyen
Dear List, I have searched the list, but did not see much discussion about this topic. Is there a need to set the "DocumentRoot" in Apache httpd.conf to the standard "/Library/WebServer/Documents"? I found that using Safari, the /WebObjects/MyApp.woa/Contents/WebServer/Resources/imagexyz.tiff c

Re: Help from security gurus?

2011-08-15 Thread Mai Nguyen
Hi Chuck, I found the culprit. If by any chance, you have an Ajax type which starts with a

Integrating WO with OSWASP ESAPI

2011-08-13 Thread Mai Nguyen
Hello, This may be a bit OT, because I am currently using WO with OSWASP. A while ago, there were a couple of you who mentioned using OSWASP ESAPI for Java to validate input and do output filtering. I wonder what would be a good filtering method in ESAPI for filtering any scripts (output filter

Help from security gurus?

2011-08-12 Thread Mai Nguyen
Hello, I am really baffled at how someone can insert a link into the following WebObjects page: . [Enter brief description of issue(s)] Show Summary    Show Detail

Re: WebObjects vulnerabilities?

2011-07-11 Thread Mai Nguyen
uld be considered a risk for cross site > scripting, so that's any field editable by a user, or any query parameter, > etc. If you append those strings to response or render them, make > sure to escape HTML or strip HTML. > > ms > > On Jul 11, 2011, at 9:41 PM, Mai Ngu

Re: WebObjects vulnerabilities?

2011-07-11 Thread Mai Nguyen
l tags from strings prior to > rendering, or at the time of entry. > > -G > > On Jul 11, 2011, at 6:01 PM, Mai Nguyen wrote: > >> Hello, >> I have found some good information about WebObjects and security at the >> following wiki link: >> >> ht

WebObjects vulnerabilities?

2011-07-11 Thread Mai Nguyen
Hello, I have found some good information about WebObjects and security at the following wiki link: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Authentication_and_Security However, there is no mention about SQL injections which seems to be an active subject lately. Is W

Re: How to keep the container updated with AjaxUpdateLink?

2011-05-09 Thread Mai Nguyen
Hi Chuck, thanks for the explanation. It is much simpler than I thought. -mai On May 9, 2011, at 3:28 PM, Chuck Hill wrote: > Hi Mai, > > On May 9, 2011, at 1:59 PM, Mai Nguyen wrote: > >> Hello Ajax gurus, >> >> I am using the AjaxUpdateLink to update a

How to keep the container updated with AjaxUpdateLink?

2011-05-09 Thread Mai Nguyen
Hello Ajax gurus, I am using the AjaxUpdateLink to update a table inside a page instead of refreshing the whole page. However, the link only refreshes the Ajax Update Container (which wraps the table) briefly while the user clicks on the link. Can someone point to me how to make sure the contai

Re: AjaxExpansion "expanded" flag binding problem?

2011-04-13 Thread Mai Nguyen
enrique Gomes > > > On Apr 14, 2011, at 12:08 AM, Mai Nguyen wrote: > >> Dear List, >> >> I tried to solve the problem of using the AjaxExpansion per row inside a >> repetition and providing a unique "expanded" flag binding per row. >> Since e

AjaxExpansion "expanded" flag binding problem?

2011-04-13 Thread Mai Nguyen
Dear List, I tried to solve the problem of using the AjaxExpansion per row inside a repetition and providing a unique "expanded" flag binding per row. Since each row matches a particular product, the binding of "expanded" is set to the visible flag of each product in the array by using a setter/

Re: need help with weird application failure?

2011-03-30 Thread Mai Nguyen
Apple address, so I guess the former. > :-) > > I don't know if this is related to your app crashing or not. Nothing in > the log suggests the app crashed. > > > Chuck > > > > > On Mar 30, 2011, at 11:15 AM, Mai Nguyen wrote: > > Hello, > I wonde

need help with weird application failure?

2011-03-30 Thread Mai Nguyen
Hello, I wonder if someone can give me a hint about the error messages below? I recently added ERJars.framework and WOOgnl.framework to my application which is not a full WOnder project.The application also uses Ajax and ERExtensions. It still uses the WebObjects JavaWOExtensions, not the Wonder

Re: AjaxExpansion inside a WORepetition?

2011-03-28 Thread Mai Nguyen
Thanks very much for this useful tip, -mai On Mar 28, 2011, at 1:42 PM, Chuck Hill wrote: > > On Mar 28, 2011, at 1:18 PM, Mai Nguyen wrote: > >> Hi Chuck, >>> Are you binding it to something that is unique for every row? >> >> The binding "expanded

Re: AjaxExpansion inside a WORepetition?

2011-03-28 Thread Mai Nguyen
l rows. I am only updating the contents of a table cell, not adding or removing table cells. The expanded state shows more information vs. the closed state. thanks, mai On Mar 28, 2011, at 12:54 PM, Chuck Hill wrote: > Hi Mai, > > On Mar 28, 2011, at 12:45 PM, Mai Nguyen wrote: > &

AjaxExpansion inside a WORepetition?

2011-03-28 Thread Mai Nguyen
Hi List, I am new to the Wonder Ajax frameworks, and have some trouble using AjaxExpansion inside a WO Repetition. The "Expanded" state is global and not specific to a row in a repetition. If I use the example ToggleDetails in AjaxExample2, it works for one single AjaxExpansion area (one row only

Re: Web Services example projects

2005-11-23 Thread Mai Nguyen
Hello Cara: The /Developer/Documentation/WebObjects directory no longer exists starting with the integration of Xcode/WebObjects (i.e. starting from WO5.3) If you still have an older WO version such as WO5.2.3, you will find the examples in /Developer/Documentation/WebObjects/Web_Services