Re: validate integer with a comma thousands seperator using Validator

2006-08-05 Thread Hubert Rabago
Try a mask validator. mask ^\$?\d+(,\d{3})*(\.\d{2})?$ Hubert On 8/4/06, fea jabi <[EMAIL PROTECTED]> wrote: Thanks, Eric. >From: "Givler, Eric" <[EMAIL PROTECTED]> >Reply-To: "Strut

Re: shale: jndi lookup error

2006-08-05 Thread Craig McClanahan
On 8/5/06, vasiliy.kiryanov <[EMAIL PROTECTED]> wrote: Good afternoon. [http://shale.apache.org/features-jndi-integration.html] link says to me that I can aquire a java.sql.Connection from this data source .. but it constantly return null. from the myfaces BackBean this datasource resolves go

Re: Sending data in the Action class directly to the browser

2006-08-05 Thread Andreas Hartmann
Hi Frank, thanks for your advice. I'm doing something similar. The polling is done by the user and not with a script. But this has the disadvantage, that the user does not directly get information at then end of the process but after the end of a polling cycle or after he manually asked again. An

Re: Browser History by HTTP-REFERER

2006-08-05 Thread Martin Gainty
found this solution which expires the current page at http://forum.java.sun.com/thread.jspa?threadID=641697 // Set to expire far in the past. response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT"); // Set standard HTTP/1.1 no-cache headers. response.setHeader("Cache-Control", "no-store, no

Re: Sending data in the Action class directly to the browser

2006-08-05 Thread Frank W. Zammetti
Hi Andreas, As you describe it, this isn't something you can do... well, *probably*... if you write to the output stream directly in the Action, the browser *might* render the partial response, I'm not actually sure (although I suspect not). Even if that did work though, it would be a pretty

shale: jndi lookup error

2006-08-05 Thread vasiliy.kiryanov
Good afternoon. [http://shale.apache.org/features-jndi-integration.html] link says to me that I can aquire a java.sql.Connection from this data source .. but it constantly return null. from the myfaces BackBean this datasource resolves good. Does anybody have any ideas? I have next entry in th

html:link and collection

2006-08-05 Thread Francisco Exposito Aguilera
Hi, I have a jsp where I show some fields of a search. If I click on every row, I must be redirected to a new page with all info of that row. As I read weeks ago at this mailing list, it should be done with html:link, but I have some problems... The DispatchAction searchUsers which "show" th

Sending data in the Action class directly to the browser

2006-08-05 Thread Andreas Hartmann
Hello, is there a chance to send some data to the browser before the Action class is ready and the jsp-file is processed? Background: I want to send at the beginning of the Action-class the info to the client, that the system is working now and it will take some time to get the output. Thanks f