Another workaround, maybe cleaner :

<span class="genericForm">
        #bodytag(Form ...)
        #tag(TextField ...)
        #tag(Submit ..)
</span>

and declares any styles:

.genericForm table {padding:1px; ...}
.genericForm input {color:black; border: ...}

...

Cheers.

Richard HALLIER
Chef de projet
[EMAIL PROTECTED]
01.40.12.41.52
www.uniclick.org
UNICLICK


-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de
Daniel Pfeifer
Envoyé : lundi 1 décembre 2003 12:12
À : '[EMAIL PROTECTED]'
Objet : RE: [OS-webwork] WebWork and CSS.


I asked for exactly the same just some weeks ago, unfortunately no one
responded. A workaround is to create several .vm templates (which implement
class="input1") and use them when you want to have a textfield on your page.
I.e. <ww:textfield template="text50px.vm" ... />

/Daniel

-----Original Message-----
From: Sergiy Barlabanov [mailto:[EMAIL PROTECTED]
Sent: den 1 december 2003 12:08
To: [EMAIL PROTECTED]
Subject: [OS-webwork] WebWork and CSS.


Hi,
How can I apply css classes to WW tags? In the resulting HTML I want to have
something like this
<input type="text" name="email" value="xx" class="input1" />
but i have no idea how i can manage this with webwork:input tag.

Regards,
Sergey

-----Original Message-----
From: Robert Nicholson [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 8:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] XDoclet and XWork validators


Validators are tied to their action when defined in
ActionName-Validation.xml files right?

So, why not generate these files from javadoc comments in the code?

I'm only familiar with them as they are defined/explained in the JOSP
book.

If I'm not mistake XDoclet already supports struts validators which I
assume work the same way as webwork?

I haven't see any cases were you'd define multiple validators for the
same property of the same action and use each in a different context.

On Nov 30, 2003, at 6:46 PM, Hani Suleiman wrote:

> I'm missing something here....
>
> so you want external validators, specified in an external xml
> configuration file...and you want to generate this file by adding
> javadoc comments to the source file that needs the validation, thus
> putting in validation code right alongside the code that needs it,
> without the benefits of type safety and suchlike?
>
> On Nov 30, 2003, at 7:41 PM, Robert Nicholson wrote:
>
>> Can XDoclet currently generate these from javadoc comments in your
>> action?
>>
>> I don't see any references to doing this in the JOSP book.
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: SF.net Giveback Program.
>> Does SourceForge.net help you be more productive?  Does it
>> help you create better code?  SHARE THE LOVE, and help us help
>> YOU!  Click Here: http://sourceforge.net/donate/
>> _______________________________________________
>> Opensymphony-webwork mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?  SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to