Re: FormElement and getOrigValue
"Diez B. Roggisch" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, > In the definition of FormElement there is a getOrigVal() but no > "getOrigValues()". Is there any special reason except "oops, we > forgot" that such a method dos not exist? (i.e a method to retrieve > all the *original* values for a given form element, like getVals(0 > retrieves the parsed values). You will get an array of values, if there was one. The OrigVal will be the exact value the HttpServleRequest has associated with that name. So you'll get an String-array if you had multiple values. A few month ago, we orthogonalized the Value-getters. But I'm not sure why we didn't do that on orig-val. Regards, Diez