Re: [beanutils] mavenized website

2004-01-12 Thread Craig R. McClanahan
Quoting robert burrell donkin <[EMAIL PROTECTED]>: > does anyone have any objections to me mavenizing the documentation > build? > > (again, this is probably mostly done but i'll check everything's cool > as i did for digester.) > > - robert > I'm fine with Mavenizing as long as there is st

[beanutils] mavenized website

2004-01-12 Thread robert burrell donkin
does anyone have any objections to me mavenizing the documentation build? (again, this is probably mostly done but i'll check everything's cool as i did for digester.) - robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [commons-pool] Question on whenExhaustedAction setting ?

2004-01-12 Thread Dirk Verbeeck
Actually, when a case is matched inside a switch statement then the code is executed until a break statement. When you enter the switch statement (line 1) with WHEN_EXHAUSTED_FAIL there will be a jump to the case on line 3 and then the code will run to the break on line 7. So for all valid val

RE: Validator: Using stand-alone validation fails

2004-01-12 Thread David Graham
How are you passing it an HttpServletRequest object in a non-web app? Including struts.jar and servlet.jar with a standalone app isn't necessary if you just implement your own validation method. David --- [EMAIL PROTECTED] wrote: > Actually, I have the struts.jar in my path, and within > org.ap

Re: Validator: Using stand-alone validation fails

2004-01-12 Thread Juan Alvarado
Actually, please disregard my last post. Why don't you just use the regular commons-validator package. import org.apache.commons.validator.*; import org.apache.commons.validator.util.*; public boolean isValidEmailAddress(String email){ EmailValidator val = EmailV

RE: Validator: Using stand-alone validation fails

2004-01-12 Thread Eric . Lewis
Actually, I have the struts.jar in my path, and within org.apache.struts.validator I can see the FieldChecks.class. So why shouldn't I be able to use it? (Sorry if that's a dumb question...) Eric -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Montag, 12. Januar 2004

Re: Validator: Using stand-alone validation fails

2004-01-12 Thread Juan Alvarado
Did you make sure that commons-beanutils is in your path??? I'm pretty sure you have to have it. On Jan 12, 2004, at 1:23 PM, [EMAIL PROTECTED] wrote: Hi I'm new to this list, so please forgive any stupid questions :-)) I'm trying to use the Struts Validator for a stand-alone (non-Struts)

Re: Validator: Using stand-alone validation fails

2004-01-12 Thread David Graham
It looks like you're trying to use a Struts class org.apache.struts.validator.FieldChecks to run the validation. You need to implement your own validation method and configure it in xml similar to FieldChecks. David --- [EMAIL PROTECTED] wrote: > Hi > > I'm new to this list, so please forgive

Validator: Using stand-alone validation fails

2004-01-12 Thread Eric . Lewis
Hi I'm new to this list, so please forgive any stupid questions :-)) I'm trying to use the Struts Validator for a stand-alone (non-Struts) class. I used the ValidatorLoader from "Programming Jakarta Struts" (O'Reilly), and it works up to a point. When I try to validate an e-mail address which is

Re: Logging is causing HttpClient to fail

2004-01-12 Thread Michael Becke
Hi Michael, I think Simon is probably right. My guess is that commons-logging is probably on the classpath somewhere else, and is being loaded before the JUnit test is run. Mike On Jan 7, 2004, at 10:30 PM, Michael Czeiszperger wrote: On Jan 7, 2004, at 9:49 PM, Simon Kitching wrote: I beli

RE: [commons-pool] Question on whenExhaustedAction setting ?

2004-01-12 Thread Radhakrishnan J
I was referring to the below mentioned instance. The setter for whenExhaustedAction ignores the WHEN_EXHAUSTED_FAIL case. public synchronized void setWhenExhaustedAction(byte whenExhaustedAction) { switch(whenExhaustedAction) { case WHEN_EXHAUSTED_BLOCK: case WH