Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 55242 invoked from network); 25 Sep 2006 21:08:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 21:08:27 -0000 Received: (qmail 98872 invoked by uid 500); 25 Sep 2006 21:08:18 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 98848 invoked by uid 500); 25 Sep 2006 21:08:18 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 98837 invoked by uid 99); 25 Sep 2006 21:08:18 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 14:08:18 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=heidyguti@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=heidyguti@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.162.207 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.162.207] ([64.233.162.207:2111] helo=nz-out-0102.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9C/B1-13750-C3548154 for ; Mon, 25 Sep 2006 14:08:13 -0700 Received: by nz-out-0102.google.com with SMTP id f1so713673nzc for ; Mon, 25 Sep 2006 14:07:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=tXY4ov9Ru/1tQ12jRpNT5v0Fs/pjEk4kXP8eC9rwnQGhSExpEr0f3D4nZb1ESwlkcLtjHlx7bQOGO1pdsql8K8q4BcJ8yB31u7RCpJrE8vT0075A1F1DOsiT/qxRN1rJnnISk5kgiKhKYRED5kKojfT4bUVHDFCRYN15Y4tNO1k= Received: by 10.65.38.13 with SMTP id q13mr1831343qbj; Mon, 25 Sep 2006 14:07:55 -0700 (PDT) Received: by 10.65.206.18 with HTTP; Mon, 25 Sep 2006 14:07:55 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2006 14:07:55 -0700 From: "=?ISO-8859-1?Q?Heidy_Guti=E9rrez_Guzm=E1n?=" To: "Struts Users Mailing List" Subject: Validate an hmt:select with validator framework MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18921_2028870.1159218475810" X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_18921_2028870.1159218475810 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi I need to validate an html:select with validator framework This is the code that i have --- I need have a default value that is " ---" , but i need validate that this value does'nt selected. The code in the Validator form is private Long categoria; I tried to use the required validation, but that does'nt work, i think because the html:select have the "---" default value ------=_Part_18921_2028870.1159218475810--