Re: [Stripes-users] Mapped property ignored if value is empty??

2009-03-30 Thread Héctor López
What are you trying to do? Do you want Stripes to raise a validation error because you have a �...@validate(required=true)”? Or do you want Stripes to insert an empty string in that map because “” is a valid value? _ De: Phil Sladen [mailto:phil.sla...@yahoo.co.uk] Enviado el: lunes,

[Stripes-users] Mapped property ignored if value is empty??

2009-03-30 Thread Phil Sladen
I have an actionbean property HashMapString,String tagMap that is used to gather dynamically generated form values from input fields named like tagMap[propName]. Works fine as long as the value in the form field is not empty. But if it is empty, it appears that

[Stripes-users] Best way to validate

2009-03-30 Thread dth
Hi, I'm looking for the best way to validate a form field that may or may not be shown in the form. This means that if the field is shown a number is required, if it is not nothing is required. How do I express that - must be null or a valid number? Thanks,

Re: [Stripes-users] Best way to validate

2009-03-30 Thread Mike McNally
Well if it's a numeric type in the bean, and it's not required, won't that be all you need? If there's a non-empty value then the type converter will insist that it be valid. -- Turtle, turtle, on the ground, Pink and shiny, turn around.

Re: [Stripes-users] Best way to validate

2009-03-30 Thread Ben Gunter
The @Wizard annotation might work for you. With wizard beans, validation only applies to fields that were actually rendered in the form that is submitted. This normally serves to allow for the inputs to be presented across several pages, but it might also work for your case. If that doesn't work,

[Stripes-users] web.xml URL pattern help

2009-03-30 Thread Danny C
team, i have stripes working like a pro with my app, so this is not a basic setup question. i currently have the standard servlet-mapping servlet-nameDispatcherServlet/servlet-name url-pattern*.action/url-pattern /servlet-mapping which works

Re: [Stripes-users] web.xml URL pattern help

2009-03-30 Thread Gregg Bolinger
Danny, I responded this question already. Here it is again in case you missed it. You could use the DynamicMappingFilter defined like this in your web.xml filter filter-nameDynamicMappingFilter/filter-name filter-classnet.sourceforge.stripes.controller.DynamicMappingFilter/filter-class

Re: [Stripes-users] Newbie Email Verification Questions

2009-03-30 Thread AK
Laura Ferguson allend...@... writes: Note: I am a desktop application developer trying to learn web development -- so any help with these questions would be really appreciated. Many thanks!! I am working on email verification and I was trying to determine the best approach to the following

Re: [Stripes-users] custom url mapping (web.xml?)

2009-03-30 Thread Danny C
yes! that's exactly what i had in mind (just didn't know it yet) many thanks friend. Gregg Bolinger-7 wrote: You could use the DynamicMappingFilter defined like this in your web.xml -- View this message in context:

[Stripes-users] Plus in Links

2009-03-30 Thread samyem
Hello all, I am fairly new to stripes. I am getting an issue where: stripes:link beanclass=${actionBean.class} stripes:param name=param value=${var}/ Link /stripes:link if ${var} returns a string with space, it adds a + for the strings. Is there a way not to add

[Stripes-users] Stripes Security now what question

2009-03-30 Thread Danny C
Looking for a few quick pointers here : I've added the stripe stuff security package to my app without a problem and set the SecurityManager to org.stripesstuff.plugin.security.J2EESecurityManager. The thing bootstraps without a problem. So - now what :) Searching for servlet 2.4 J2EE

[Stripes-users] Problems with commons-fileupload

2009-03-30 Thread CN Yee
Hi, Something funny happened after I included commons-fileupload-1.2.1.jar. Tomcat seems to go haywire, it would go through infinite loop of class loading until it run out of memory: Mar 31, 2009 12:13:50 PM org.apache.catalina.loader.WebappClassLoader modified INFO: Additional JARs have

Re: [Stripes-users] Newbie Email Verification Questions

2009-03-30 Thread azizi yazit
Hi Laura, If u want to use any value from other jsp, I have two opinion.. first if u using ForwardResolution to other jsp, it will automatically give the value in stripes tags that call it. Second, why dont u use Session..stored the value to session. Fyi, I am newbie too. However in my