Re: Complex Validation with validwhen and large condition

2005-03-01 Thread Todd Nine
((this != null) OR (addressLine1 == null)) > > > > test > ((this != null) OR (addressLine1 == null)) > > > > test > ((this != null) OR (addressLine1 == null)) > > > > test > ((this != null) OR (a

Complex Validation with validwhen and large condition

2005-02-25 Thread Todd Nine
Hi all, I'm having some issues getting validwhen to perform the way I want it to. I would like the following general functionality. 1. The user can input an aseAddress. 2. The address as a whole is nullable, however if they fill in any of the fields, they must filling ALL of the address fie

Re: Construting HTML Email from Struts

2005-02-15 Thread Todd Nine
; > GreetZ > > Nils > > -----Original Message- > From: Todd Nine [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 15, 2005 2:50 PM > To: Struts Users Mailing List > Subject: Construting HTML Email from Struts > > Hi all, >Does anyone know of a way to con

Construting HTML Email from Struts

2005-02-15 Thread Todd Nine
Hi all, Does anyone know of a way to construct an HTML formatted email using a struts jsp and a DynaForm? I want our visual designers to be able to updload an email "template", which is just a Struts jsp with the dynabean properties. We would then upload a mapping (something like hql in nature

Re: ???

2005-02-11 Thread Todd Nine
What if you did something like this? Todd On Fri, 11 Feb 2005 13:03:37 +0200, Andrew Stepanenko <[EMAIL PROTECTED]> wrote: > Thanks for your reply, Nigel! > > I've already tried that previously and but the text field remains empty... > > > Nigel Furber wrote: > > >Andrew > >Try som

Re: Extending Action Mapping

2005-02-09 Thread Todd Nine
2005 15:09:05 -0600, Joe Germuska <[EMAIL PROTECTED]> wrote: > At 3:35 PM -0500 2/8/05, Todd Nine wrote: > >Thanks for the help, given the Java Bean standards of getters and > >setters, is there any way to set a Map or a List from the xml file > >(something like the w

Re: Extending Action Mapping

2005-02-08 Thread Todd Nine
ionMapping" is the coolest action classname I've ever > seen. If there was an award for these things, I think you would win :o) > > -Original Message- > From: Todd Nine [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 08, 2005 3:20 PM > To: Struts Users Mailing L

Extending Action Mapping

2005-02-08 Thread Todd Nine
on Feb 8, 2005 * */ package com.llic.web.action; import java.util.ArrayList; import java.util.List; import org.apache.struts.action.ActionMapping; /** * @author Todd Nine * This implementation allows for multiple keys to be set. * This will allow us to skip validation on certain

Re: Problems with ControllerConfig properties

2005-02-08 Thread Todd Nine
Nevermind, I just realized why its being set. That's what I get for trying to use a WSAD gui! ;-) On Tue, 8 Feb 2005 12:50:59 -0500, Todd Nine <[EMAIL PROTECTED]> wrote: > Hi all, >I am trying to extend RequestProcessor as well as ControllerConfig > and I am runni

Problems with ControllerConfig properties

2005-02-08 Thread Todd Nine
Hi all, I am trying to extend RequestProcessor as well as ControllerConfig and I am running into errors. For instance, when I use the default ControllerConfig, all of the values are initialized to their defaults, and no setters are called. When I extends the processor and the config, setters a

Re: setting beans from a form into a collection.

2005-01-26 Thread Todd Nine
you want to use indexed properties for this. If you used > indexed properties you need to have set/get methods to handle them. In > your case you should removed the indexed stuff and the whole list should > submit and populate for you. > > Todd Nine wrote the following on 1/25/2005 2:52

setting beans from a form into a collection.

2005-01-25 Thread Todd Nine
Hi all, I am having an issue with marshalling a page's collection indexes back into the form object. I have a BillingForm object with multiple BlllingListItem beans. Here is an excerpt of my BillingForm object public class BillingForm extends AnnuityForm { private List billingList; public

validwhen confusion

2005-01-15 Thread Todd Nine
Hi All, I am having trouble getting my mind around the boolean expression semantics of the validwhen validator. Consider the following example. I have a form with two possible input groups depending on the user selection. If the entity is an individual, then I need to require firstName etc.