Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 27035 invoked from network); 5 Jun 2007 15:26:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jun 2007 15:26:33 -0000 Received: (qmail 89188 invoked by uid 500); 5 Jun 2007 15:26:28 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88684 invoked by uid 500); 5 Jun 2007 15:26:26 -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 88673 invoked by uid 99); 5 Jun 2007 15:26:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 08:26:26 -0700 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=DRUG_DOSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [64.233.162.225] (HELO nz-out-0506.google.com) (64.233.162.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jun 2007 08:26:20 -0700 Received: by nz-out-0506.google.com with SMTP id m7so1231871nzf for ; Tue, 05 Jun 2007 08:25:58 -0700 (PDT) Received: by 10.114.13.1 with SMTP id 1mr5893884wam.1181057157114; Tue, 05 Jun 2007 08:25:57 -0700 (PDT) Received: from ?192.168.0.134? ( [76.25.19.80]) by mx.google.com with ESMTP id m27sm3085489wag.2007.06.05.08.25.55; Tue, 05 Jun 2007 08:25:56 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <47fb31e00706050717v1aee1012hab98990cf46ac3e9@mail.gmail.com> References: <47fb31e00706050717v1aee1012hab98990cf46ac3e9@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <745A4319-0575-4D30-B51B-FE047F43DC6E@lo-fi.net> Content-Transfer-Encoding: 7bit From: Eric Rank Subject: Re: [S2] How do I disable
tags generated by ? Date: Tue, 5 Jun 2007 09:25:53 -0600 To: "Struts Users Mailing List" X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Hi Vincent, The table layout is default for forms using the xhtml theme. You have a couple options if you don't want to use that. Try the css_xhtml theme or the simple theme. 1. Specify a different default theme globally with the 'struts.ui.theme' property in your struts.xml file. For example, this line would do it for you: .... 2. You can specify it inline when you use the tag. For example, ... Although, I'm not sure if this theme designation cascades down through the child elements. It might take some experimenting. 3. Create your own theme by extending an existing one http://struts.apache.org/2.0.6/docs/extending-themes.html Eric Rank On Jun 5, 2007, at 8:17 AM, Vincent Lin wrote: > Hi! > > I've done several projects with struts1 and planned to use struts2 > in my new > project. > I am amazed the the code is so concise in struts2. > > But I have quetsion about the tag. > When I use and , the , and
> tags are > generated in html page. > > Can I disable this feature? > Because it might interfere my page layout. > > Thanks! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org