Return-Path: Delivered-To: apmail-beehive-user-archive@www.apache.org Received: (qmail 21395 invoked from network); 7 Feb 2007 16:39:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 16:39:17 -0000 Received: (qmail 71135 invoked by uid 500); 7 Feb 2007 16:39:23 -0000 Delivered-To: apmail-beehive-user-archive@beehive.apache.org Received: (qmail 71122 invoked by uid 500); 7 Feb 2007 16:39:23 -0000 Mailing-List: contact user-help@beehive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Beehive Users" Delivered-To: mailing list user@beehive.apache.org Received: (qmail 71111 invoked by uid 99); 7 Feb 2007 16:39:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 08:39:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of carlin.rogers@gmail.com designates 64.233.162.229 as permitted sender) Received: from [64.233.162.229] (HELO nz-out-0506.google.com) (64.233.162.229) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 08:39:14 -0800 Received: by nz-out-0506.google.com with SMTP id l1so256029nzf for ; Wed, 07 Feb 2007 08:38:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DvLIn/nSNeVl+Qtasaa+D1gsp9bS/0PXJKSg5RZpcd//ek2M/i2QKclkLPLJyJtNNCfOLoYcaWFjM2GeIGKup1SRKItO3Lfa6JSB6+TxdD/q2ryRzKdP3iBKzEbBPp4HLgTlp9OB71ImIcOdbBnixyJFKxeJ62pST20QDcNp+Xc= Received: by 10.115.23.12 with SMTP id a12mr2032304waj.1170866333613; Wed, 07 Feb 2007 08:38:53 -0800 (PST) Received: by 10.115.94.19 with HTTP; Wed, 7 Feb 2007 08:38:53 -0800 (PST) Message-ID: Date: Wed, 7 Feb 2007 09:38:53 -0700 From: "Carlin Rogers" To: "Beehive Users" Subject: Re: Adding dojo attributes to netui tags? In-Reply-To: <8842656.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8842656.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Niels, NetUI has an attribute tag that allows you to adds an attribute to the parent NetUI tag. You could write something like... See... http://beehive.apache.org/docs/1.0.2/netui/apidocs/taglib/beehive.apache.org/netui/tags-html-1.0/attribute.html Kind regards, Carlin On 2/7/07, Niels Harremoes wrote: > > In a few places in our web app, we would like to add some > http://dojotoolkit.org dojo functionality. For example, we would like to > add some of the validation functionality demonstrated here: > http://archive.dojotoolkit.org/nightly/tests/widget/test_validate.html > http://archive.dojotoolkit.org/nightly/tests/widget/test_validate.html > > > This require generating html like: > > <input type="text" name="phone" > value="someTestString" > dojoType="RegexpTextbox" > regexp="^[\w]+$" required="true" invalidMessage="Invalid Non-Space > Text." /> > > (for now, we don't need to interface with the netui validation framework) > > > How can we generate the extra attributes required by dojo (dojoType, regexp, > required, invalidMessage? Do we have to make our own DojoNetui tags that > extands the standard tags, or is there a simpler method? > > -- > View this message in context: http://www.nabble.com/Adding-dojo-attributes-to-netui-tags--tf3185948.html#a8842656 > Sent from the Beehive - User mailing list archive at Nabble.com. >