Thanks, I will give it a try.
On 2/15/08, Jeromy Evans <[EMAIL PROTECTED]> wrote:
>
> I'm not sure if the validators can be applied to collections.
>
> You can validate it yourself:
> - either implement Validateable in your action and check the property
> in the corresponding method; or
> - ch
I'm not sure if the validators can be applied to collections.
You can validate it yourself:
- either implement Validateable in your action and check the property
in the corresponding method; or
- check the collection in your execute method and return "input" if its
invalid
If you action exten
Hello Jeromy,
I do have getters for this property as well.
I am not been able to find a way out on this.
I have to check whether or not the selected list is empty.
I could not get any hints from the mailing list archive too.
On 2/15/08, Jeromy Evans <[EMAIL PROTECTED]> wrote:
>
> Prashant Khanal
Prashant Khanal wrote:
@RequiredFieldValidator(key="sequence.selectedLevelsNotEmpty", message =
"one or more levels must be selected")
public void setSelectedLevels(List selectedLevels) {
this.selectedLevels = selectedLevels;
}
As i have to validate the right select element
Hello all,
I was able to validate simple input elements like textfield but could not
validate optiontransferselect element. Actually i want to show the
validation error when the selected list is empty. the code snippet is shown
below:
The code snippet of the corresponding action class is:
priva
5 matches
Mail list logo