Re: how to submit javascript variable of array type

2004-03-18 Thread Raphaël di Cicco
You can also create a Hidden form field for each value in the Array. Something like this : for(var i = 0 ; i < theArray.size ; i++) document.writeln(""); - Original Message - From: "as as" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Se

Re: [OT]JSP Debugger

2004-03-12 Thread Raphaël di Cicco
Not really, it works great for me, you can find the incriminated line then correct it - Original Message - From: "Paul-J Woodward" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 10, 2004 5:40 PM Subject: RE: [OT]JSP Debugger > sorry - shou

Re: [Newbie] Is it worth subclassing your own Action and ActionForm classes to attain code re-use?

2004-02-23 Thread Raphaël di Cicco
I use an ActionBaseForm where I put mapped getters/setters for the properties so every sub-Form can use it without coding anything. - Original Message - From: "Mark Jones" <[EMAIL PROTECTED]> To: "Struts User" <[EMAIL PROTECTED]> Sent: Sunday, February 22, 2004 5:40 AM Subject: [Newbie] I

Re: forwards with parameters?

2004-01-22 Thread Raphaël di Cicco
In my opinion this is a bad way to use forwards. Only the client is supposed to enter parameters. You should do request.setAttribute("someparameter",somevalue); in your Action before forwarding. - Original Message - From: "Derek Faulkner" <[EMAIL PROTECTED]> To: "Struts Users Mailing List

DOS attack by making DispatchAction recurse on execute()

2004-01-20 Thread Raphaël di Cicco
See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25649

Re: Database pool full.

2004-01-14 Thread Raphaël di Cicco
I'm backing up what Max said about having a leak somewhere. We used to have a lot of problems with pooling. We have about 50 database utility beans that get a connection, perform action on the database then release the connection. We discovered that the leak came from one single method that didn't

Re: Solution: Subcall and Back in Struts

2004-01-14 Thread Raphaël di Cicco
Seems interesting. I have looked at the code but haven't tested yet. We have precisely this problem in our application : we don't know where we came from to end up at one Action. I'm only wondering why all the methods are static synchronized ? is it because supposebly there might be more than one i

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-12 Thread Raphaël di Cicco
T] Eclipse/Tomcat WebappLoader > If that class never changes just deploy it in a jar... > > < something else>> > -Ted Husted > > -Original Message- > From: Raphaël di Cicco [mailto:[EMAIL PROTECTED] > Sent: Friday, January 09, 2004 5:11 AM > To: Struts Maili

Re: Is it possible to nest Tiles layouts?

2004-01-09 Thread Raphaël di Cicco
I have tried this myself before...couldn't make it work. Nested tiles don't seem to work at all. - Original Message - From: "Domingo A. Rodriguez S." <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 6:49 PM Subject: Re: Is it possible

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Raphaël di Cicco
t; To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, January 09, 2004 3:45 PM Subject: RE: [OT] Eclipse/Tomcat WebappLoader > If that class never changes just deploy it in a jar... > > < something else>> > -Ted Husted > > --

[OT] Eclipse/Tomcat WebappLoader

2004-01-09 Thread Raphaël di Cicco
Hi, I know this is a little off topic but this has to do with J2EE deployment so it might be useful for some people. In my environment, I use Eclipse with Struts 1.1, Tomcat 4.1 and Sun JDK 1.4. Eclipse makes it possible to recompile and redeploy my classes every time I change them. This is ver

Re: forwarding request from select tag

2004-01-08 Thread Raphaël di Cicco
my bad the function should return selectBox.options[i].value; - Original Message - From: "Raphaël di Cicco" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 08, 2004 4:04 PM Subject: Re: forwarding request

Re: forwarding request from select tag

2004-01-08 Thread Raphaël di Cicco
No you can't, you need to use javascript : All Completed In process doSomething will probably do something like this : function doSomething(selectBox) { window.location.href = "MyAction.do?id=" + getSelectedValue(selectBox)); } function getSelectedText(select

Re: How to create pop ups in struts

2004-01-08 Thread Raphaël di Cicco
This has nothing to do with struts but with javascript you have to use window.open - Original Message - From: "Kamal Gupta" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, January 07, 2004 7:19 PM Subject: How to create pop ups in struts > Hi, >

Re: annoying JSP runtime exception message

2003-12-30 Thread Raphaël di Cicco
nday, December 29, 2003 10:05 AM > Subject: Re: annoying JSP runtime exception message > > > > This comes up quite a bit for my Students. > > When using Tiles, the JSP full error does not get displayed, becuase > > tiles blocks it sometimes. > > > > I forward t

Re: annoying JSP runtime exception message

2003-12-29 Thread Raphaël di Cicco
ther actually the proprty is not > null using logic:present > > > -- > > From: Raphaël di Cicco[SMTP:[EMAIL PROTECTED] > > Reply To: Struts Users Mailing List > > Sent: Monday, December 29, 2003 7:56 PM > > To: Struts Mailing List > > Subject: annoying JSP runtime exc

annoying JSP runtime exception message

2003-12-29 Thread Raphaël di Cicco
s to a log file ? Or is is a struts problem ? Any ideas are welcomed ! ____________ Raphaël di Cicco

Re: [OT] Beer

2003-12-12 Thread Raphaël di Cicco
What do you mean recycled ? What's the process ? - Original Message - From: "Chappell, Simon P" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 12, 2003 4:12 PM Subject: RE: [OT] Beer > I still stand by my original assertion: ALL American be

Re: Popular We Hosting....???

2003-12-04 Thread Raphaël di Cicco
Off topic but I love your quotes ! - Original Message - From: "Trieu, Danny" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, December 04, 2003 5:28 PM Subject: RE: Popular We Hosting??? > > "The beginning of knowledge is the discovery of som

Re: Using map backed forms beans

2003-12-01 Thread Raphaël di Cicco
I think you can't... if you want to display name, then you need to have a getName() and setName() - Original Message - From: "Antony Paul" <[EMAIL PROTECTED]> To: "struts" <[EMAIL PROTECTED]> Sent: Monday, December 01, 2003 11:36 AM Subject: Using map backed forms beans > Hi, > When

Re: my version of the Tokens

2003-12-01 Thread Raphaël di Cicco
happens if the user has two browser windows open for two different > datasets which use the same action? He will be prevented from submitting > the second one. > > Adam > > On 12/01/2003 11:30 AM Raphaël di Cicco wrote: > > Hi, > > > > before knowing about token

my version of the Tokens

2003-12-01 Thread Raphaël di Cicco
not be a problem, but at the same time, looking at Struts' implementation of the tokens which is more complicated, I think there might be some issues with my approach. Thanks in advance for the feedback! ________ Raphaël di Cicco

Re: tokens creating a field in my forms

2003-11-21 Thread Raphaël di Cicco
To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, November 21, 2003 10:48 AM Subject: Re: tokens creating a field in my forms > On 11/20/2003 11:44 AM Raphaël di Cicco wrote: > > I understand how tokens work. I'm currently modifying my application to use

tokens creating a field in my forms

2003-11-20 Thread Raphaël di Cicco
ndex 0, so every validation I do is not working anymore since everything is reindexed by 1. I would like the struts form to place the token at the end of the form. Is that possible? ________ Raphaël di Cicco Atos Origin - Ingénieur de réalisation Les Miroirs 2ème étage - s

Re: getting current session in ActionForm

2003-11-07 Thread Raphaël di Cicco
request.getSession(false); - Original Message - From: "Taner Diler" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 6:09 PM Subject: getting current session in ActionForm > Hi, > > I get my default values from ActionForm object.

Re: hide section of form

2003-10-24 Thread Raphaël di Cicco
With javascript you can disabled the questions input forms if someones presses the radio button - Original Message - From: "Jan Kester" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, October 24, 2003 9:58 AM Subject: hide section of form > Hello > >

Re: ArrayIndexOutOfBoundsException after resubmitting form

2003-10-17 Thread Raphaël di Cicco
Here's one thing I do to avoid resubmitting. I put a flag on the user's session to tell whether or not he already has done the transaction : On preparing the form put the flag to "true". When submitting, verify that the flag is at true, if so then do the update in the database and put the flag to f

problem with forwarding to input from the method validate

2003-10-10 Thread Raphaël di Cicco
Hi, I'm working with Struts 1.1 and tiles. It seems like the validate() can't forward to my tiles page when an ActionErrors occurs. Here is my struts-config.xml file : When my method validate on EditDossCEForm fails it returns a non null ActionErrors and this is supposed to forward to the in

Re: [Question] : Close popup after Action has exited...

2003-10-01 Thread Raphaël di Cicco
forward to a second page that self closes - Original Message - From: "khote" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 12:38 PM Subject: Re: [Question] : Close popup after Action has exited... > in your > or document.wind

Re: img tag

2003-07-11 Thread Raphaël di Cicco
>Any solution to this problem with using src ? Sorry read WITHOUT ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

img tag

2003-07-11 Thread Raphaël di Cicco
creating : instead of : Any solution to this problem with using src ? ________ Raphaël di Cicco Atos Origin - Intégration projet AGRIPPA 2ème étage - salle 208 e-mail : [EMAIL PROTECTED] tél : 01-55-91-24-53