From: "Dakota Jack" <[EMAIL PROTECTED]>
I think there is some way that LazyValidatorForm is wedded to the
struts framework that I don't understand.  I will have to check it
out.  For the moment, I cannot use it with my Actions.  Is there some
special way we are suppposed to get the values from the form with
LazyValidatorForm?

How are you trying to get the values out of the form? It depends on the type of the property-- String, Mapped or Indexed. Some variation of:
get(String propName), get(String propName), String key, or get(String propName, int index) should work. (And they all return Object.)


I just flipped through the code, and there's nothing special in there _except_ that it all depends on JavaBeans. That means that if your naming doesn't conform, it can fail in interesting ways. One of your first posts about this was someObject.method not working-- and then you seem to have switched to -*- and @ in the names, which I doubt BeanUtils is going to be happy with.

All of these classes are *very* verbose, set them to DEBUG, and the log files should tell you exactly what is going on. (If that doesn't work, run it in a debugger like JSwat.) Are you getting NPE's? Is the form bean not getting populated at all, or are only some of the properties not coming through?

--
Wendy Smoak



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to