Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 76719 invoked from network); 1 Jun 2007 03:51:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jun 2007 03:51:20 -0000 Received: (qmail 88129 invoked by uid 500); 1 Jun 2007 03:51:14 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 88101 invoked by uid 500); 1 Jun 2007 03:51:14 -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 88090 invoked by uid 99); 1 Jun 2007 03:51:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 20:51:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of jak-struts-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 20:51:08 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hty9h-0007Yh-HU for user@struts.apache.org; Fri, 01 Jun 2007 05:50:26 +0200 Received: from cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com ([74.99.167.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jun 2007 05:50:25 +0200 Received: from laurie by cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jun 2007 05:50:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@struts.apache.org From: Laurie Harper Subject: Re: [S2] How do I get radio buttons to show vertically Date: Thu, 31 May 2007 23:50:06 -0400 Lines: 102 Message-ID: References: <9303A9A4755F584187871678E54487B6071C3C5B@sbmail.soundbite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpe0016b5ef7ea1-cm0014e88ef4b4.cpe.net.cable.rogers.com User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) In-Reply-To: <9303A9A4755F584187871678E54487B6071C3C5B@sbmail.soundbite.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Then customizing the theme is probably the way to go: http://struts.apache.org/2.x/docs/themes-and-templates.html L. Charbel Abdul-Massih wrote: > Laurie, > That wrapped markup around all the radio buttons, not each of the > button/label combination :( > > > -----Original Message----- > From: news [mailto:news@sea.gmane.org] On Behalf Of Laurie Harper > Sent: Thursday, May 31, 2007 3:06 PM > To: user@struts.apache.org > Subject: Re: [S2] How do I get radio buttons to show vertically > > You could switch to the xhtml or css_xhtml theme, which would give you > additional markup around each radio button / label pair. You would then > have sufficient markup structure to style with CSS. > > Alternatively, create your own custom theme, or just write a custom > template for this specific tag and use the template and/or templateDir > attributes to reference it. > > L. > > Charbel Abdul-Massih wrote: >> Guru, >> >> The HTML that's outputted by struts is like this (with the "simple" >> theme) >> >> > class="radioB"/> >> >> > class="radioB"/> >> >> Using the "display:block" would put my radios on sperate lines, but > also >> put the labels for the radios on separate lines as well...I want the >> radio and label associated with it to stay on the same line...any > other >> suggestions? >> >> Thanks, >> Charbel >> >> -----Original Message----- >> From: Raghupathy, Gurumoorthy >> [mailto:Gurumoorthy.Raghupathy@nielsen.com] >> Sent: Thursday, May 31, 2007 11:11 AM >> To: Struts Users Mailing List >> Subject: RE: [S2] How do I get radio buttons to show vertically >> >> Apply a style sheet class which has "display:block" .... >> http://www.w3schools.com/css/pr_class_display.asp >> >> Google is your best friend :) >> >> Guru >> >> -----Original Message----- >> From: Charbel Abdul-Massih [mailto:cabdulmassih@soundbite.com] >> Sent: 31 May 2007 15:16 >> To: Struts Users Mailing List >> Subject: [S2] How do I get radio buttons to show vertically >> >> I am using the following tag in my jsp >> >> >> >> >> >> >> >> Currently, my map has two entries. The radios are displayed on the > same >> line...I would like them displayed on 2 separate lines...Is there an >> easy way to do this??? >> >> >> >> Thanks, >> >> Charbel >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org