RE: java.util.ConcurrentModificationException at org.apache.struts.action.ActionMessages.add(ActionMessages.java:185)

2003-06-22 Thread Johan Kumps
I think there is a thread on your backend writing to the ArrayList at the same time your action class is reading the sam ArrayList instance. I also had this problem and I fixed it by synchronizing the Arraylist during the write(add) process. synchronized (this.myArrayList) {

htm:checkbox default value

2003-03-13 Thread Johan Kumps
Hi all, I would like to use a checkbox on one of my pages. Default it should be checked. Please consider following : ActionForm : ... private boolean addToMailingList = true; ... public boolean isAddToMailingList() { return addToMailingList; } public

java.lang.IllegalArgumentException: No bean specified

2003-03-09 Thread Johan Kumps
Hi all, I have following problem : java.lang.IllegalArgumentException: No bean specified at org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUti ls.java:816) at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:846) at

Validation problem

2003-02-20 Thread Johan Kumps
Hi all, I have a problem displaying error messages. Why is my message not displayed? Am I doing somthing wrong? Please help me, I'm loosing time with this one... Please consider following code : struts-config.xml : ... form-bean name='someForm' type='SomeForm' / ... action path='/something'

RE: Validation problem

2003-02-20 Thread Johan Kumps
. If you switch to ActionErrors.GLOBAL_ERROR it will display all of them with just html:errors/ - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:02 PM Subject: Validation problem Hi all, I have

RE: Validation problem

2003-02-20 Thread Johan Kumps
independent messages not loaded -- contact administrator for assistance. /font /logic:notPresent - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:25 PM Subject: RE: Validation problem Thanks

RE: Validation problem

2003-02-20 Thread Johan Kumps
loaded? - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:51 PM Subject: RE: Validation problem I implemented your second option. -Oorspronkelijk bericht- Van: Ian Hunter [mailto:[EMAIL

Email validation example (Struts newbie)

2003-02-19 Thread Johan Kumps
Hi all, I'm having problems with validation of an field. Can you give me an example of how to use html:errors/? Please give me a code snippet of the form, the action, jsp, properties file and struts-config. Thanks in advance, Johan --- This mail is certified Virus Free. Checked by AVG

RE: HELP! get request parameter from a custom tag

2003-02-14 Thread Johan Kumps
This code snippet should do the job. String value = pageContext.getRequest().getParameter(paramname); Kind regards -Oorspronkelijk bericht- Van: Kevin Williams [mailto:[EMAIL PROTECTED]] Verzonden: zaterdag 15 februari 2003 0:23 Aan: [EMAIL PROTECTED] Onderwerp: HELP! get request

Tag question

2003-02-12 Thread Johan Kumps
Title: Gletsjer Hi all, I'm using the jakarta mailer taglib. But I have a problem with specifiying the path to the file to be attached to the e-mail I send. Please consider following code : %String path ="data/myapp" + "/myFile.txt";% mt:mail to="you@mydomain.be" from="me@mydomain.be"

html:multibox no selection (Struts 1.1b2)

2003-01-31 Thread Johan Kumps
Hi all, It seems that my setXxx method in my form bean is not called when I do not check any checkboxes in the multibox. Please consider following code : ... html:multibox name='configForm' property='myHandlers' bean:write name='handler'/ /html:multibox bean:write name='handler'/ ... ...

RE: html:multibox no selection (Struts 1.1b2)

2003-01-31 Thread Johan Kumps
PROTECTED] Onderwerp: RE: html:multibox no selection (Struts 1.1b2) In reset method of your ActionForm, set default value of checkbox. Regards, PQ This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Johan Kumps [mailto:[EMAIL PROTECTED]] Sent

RE: html:multibox no selection (Struts 1.1b2)

2003-01-31 Thread Johan Kumps
This Guy Thinks He Knows Everything This Guy Thinks He Knows What He Is Doing -Original Message- From: Johan Kumps [mailto:[EMAIL PROTECTED]] Sent: January 31, 2003 4:53 PM To: Struts Users Mailing List Subject: RE: html:multibox no selection (Struts 1.1b2) I do not have a default value

RE: html:multibox no selection (Struts 1.1b2)

2003-01-31 Thread Johan Kumps
-Original Message- From: Johan Kumps [mailto:[EMAIL PROTECTED]] Sent: January 31, 2003 4:58 PM To: Struts Users Mailing List Subject: RE: html:multibox no selection (Struts 1.1b2) Sorry, Can you give an example? Johan -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL

DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi all, Can somebody please trow a light on error handling using a DispatchAction. The class org.apache.struts.actions.DispatchAction in Struts 1.1b2 is catching an InvocationTargetException. So when the 'dispatchMethod' invokes a method that throws an exception, it's catched here. How can I

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Hi, No I'm using beta 2 of Struts. I'll try to use beta 3 I keep you in touch. Kind regards, -Oorspronkelijk bericht- Van: Rick Reumann [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:27 Aan: Struts Users Mailing List Onderwerp: Re: DispatchAction error handling how to?

RE: DispatchAction error handling how to?

2003-01-26 Thread Johan Kumps
Could you please help me with an example of error handling using a dispatchAction using the declarative exception handling? Many thanks in advance, Kind regards -Oorspronkelijk bericht- Van: Johan Kumps [mailto:[EMAIL PROTECTED]] Verzonden: zondag 26 januari 2003 22:29 Aan: Struts Users

Exception handling - DispatchAction

2003-01-23 Thread Johan Kumps
Hi all, I have following problem. In my Action class I'm calling a bussiness method that can throws a checked exception. I want to display this exception to the user on a user friendly page without the stacktrace. Because I have many action classes I don't want to code try catch blocks in all