You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Michał Letyński <ml...@consol.pl> on 2007/05/15 12:17:00 UTC

s:checkbox and generate

Hi.
I put s:checkbox UI tah to my jsp:
<s:checkbox  label="Label" name="some name" value="some value here" />

in my generated html i get:

	<td valign="top" align="right">
    </td>
    <td valign="top" align="left">
...
...
How to disable this generated code ? i just only want those two inputs without td's,tr's



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


Re: s:checkbox and generate

Posted by Struts2 Fan <st...@gmail.com>.
use theme="simple" it only puts the controls. 
-- 
View this message in context: http://www.nabble.com/s%3Acheckbox-and-generate-%3Ctd%3E%3Ctr%3E-tf3757613.html#a10620254
Sent from the Struts - User mailing list archive at Nabble.com.


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


RE s:checkbox and generate

Posted by me...@investorservicing.natixis.fr.
Depuis le 21 décembre 2006, Natexis Investor Servicing s'appelle Natixis Investor Servicing. Les adresses mails des collaborateurs ayant changé, veillez à la mise à jour de votre carnet d'adresses.


the struts struts.ui.theme constant is set to xhtml by default in the 
struts.properties file.
This cause the generation of html code(td,table,tr ...) whenever you call 
struts ui tags.
You can override this value in your struts.xml file just like below. 
<constant name="struts.ui.theme" value="simple" />
This will disable code generation
in all your tags calls.
You can also set the theme value to "simple" in each tag call.

Meissa

 



Michał Letyński <ml...@consol.pl> 
15/05/2007 12:17
Veuillez répondre à
"Struts Users Mailing List" <us...@struts.apache.org>


A
user@struts.apache.org
cc

Objet
s:checkbox and generate <td><tr>






Hi.
I put s:checkbox UI tah to my jsp:
<s:checkbox  label="Label" name="some name" value="some value here" />

in my generated html i get:

                 <td valign="top" align="right">
    </td>
    <td valign="top" align="left">
...
...
How to disable this generated code ? i just only want those two inputs 
without td's,tr's



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




L'integrite de ce message n'etant pas assuree sur internet, Natixis ne peut etre tenu responsable de son contenu. Toute utilisation ou diffusion non autorisee est interdite. Si vous n'etes pas destinataire de ce message, merci de le detruire et d'avertir l'expediteur.
Ensemble, faisons un geste pour l'environnement : n'imprimons nos mails que si necessaire

The integrity of this message cannot be guaranteed on the Internet. Natixis can not therefore be considered responsible for the contents. Any unauthorized use or dissemination is prohibited. If you are not the intended recipient of this message, then please delete it and notify the sender.
Let us mind the environment : let's print our mails only when necessary.