Doesn't seem to work, but maybe my description was unclear.

I'm trying to get this:
() OptA () OptB () OptC

to look like this:
() OptA
() OptB
() OptC

theme="simple" prints them all in order
theme="xhtml" prints them inside the same td tag (same row, not each as a
new row).

Using cssClass adds a class attribute to the <input> tags, but isn't being
rendered (tried only color=red;). If I wrap the <s:radio> tag in a <div
class="customClass">, it is rendered - but radio buttons are still displayed
in same row.

-----Original Message-----
From: Martin Gainty [mailto:mgai...@hotmail.com] 
Sent: Sunday, August 30, 2009 3:48 PM
To: Struts Users Mailing List
Subject: RE: Radio options left aligned


either cssStyle or cssClass

cssStyle="valign=&quot;middle&quot; align=&quot;left&quot;"

or you can define a customClass inside stylesheet.css
radio.CustomClass {
    border: 1px solid black;
    background-color: InfoBackground;
    align:left;
    valign:middle
}
then reference the customClass with cssClass attribute
<s:radio cssClass="radio.CustomClass" .....>

<table><tr><td>Content</td></tr></table> assumes row and data tags for table
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.




> From: j...@leeclemens.net
> To: user@struts.apache.org
> Subject: RE: Radio options left aligned
> Date: Sun, 30 Aug 2009 14:59:26 -0400
> 
> If anyone else needs to do this in the future, updating radiomap.ftl
seemed
> to be the only way. Just add <tr> and <td> tags around the input
> tag/attributes.
> 
> -----Original Message-----
> From: Dave Newton [mailto:newton.d...@yahoo.com] 
> Sent: Saturday, August 29, 2009 5:50 PM
> To: Struts Users Mailing List
> Subject: Re: Radio options left aligned
> 
> Lee Clemens wrote:
> > theme 'simple' is horizontally aligned (and my default)
> > theme 'xhtml' puts everything else out of whack 
> > theme 'ajax' puts everything else out of whack
> > 
> > Are you suggesting my own theme, where I put a <br/> or whatever 
>  > between the options?
> 
> If you're not going to do it via CSS I'm not sure what the other options 
> are.
> 
> Dave
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 

_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON
:WL:en-US:SI_SB_online:082009



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to