AW: Re: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-16 Thread Krause, Nico
:11 An: users@myfaces.apache.org Betreff: Re: (Validation) required=true should change my css style of inputbox e.g. background:red Yep, that's the simplest solution. If you don't want to emit the style/styleClass value from a backing bean you can also use a variant such as h:inputText

(Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread Krause, Nico
Hello, i was wondering how to change the background of an inputbox by simply changing the css style to e.g. background:red. when a required="true" - validation was set. I was trying several possibilties but no one seems to fit my needs and i am just right nowsome kind of frustrated

Re: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread Christian Bohn
Hi, why don't you simply define two inputfields and render only one like this: ... t:inputText rendered=#{the EL-expression you used in your required-attribute or simply true or false} required=true styleClass=red / t:inputText rendered=#{! the EL-expression you used in your

AW: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread Krause, Nico
Nachricht- Von: Christian Bohn [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 15. März 2006 15:50 An: MyFaces Discussion Betreff: Re: (Validation) required=true should change my css style of inputbox e.g. background:red ooops, sorry, I think, I read your question too fast and misunderstood

RE: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread CONNER, BRENDAN \(SBCSI\)
[mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:46 AM To: MyFaces Discussion Subject: Re: (Validation) required=true should change my css style of inputbox e.g. background:red Hi, why don't you simply define two inputfields and render only one like this: ... t:inputText rendered

Re: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread Gerald Müllan
: Mittwoch, 15. März 2006 15:50 An: MyFaces Discussion Betreff: Re: (Validation) required=true should change my css style of inputbox e.g. background:red ooops, sorry, I think, I read your question too fast and misunderstood it. ... so long -- Gerald Muellan Schelleingasse 2/11 1040 Vienna

RE: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread CONNER, BRENDAN \(SBCSI\)
- From: Christian Bohn [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:46 AM To: MyFaces Discussion Subject: Re: (Validation) required=true should change my css style of inputbox e.g. background:red Hi, why don't you simply define two inputfields and render only one like

Re: (Validation) required=true should change my css style of inputbox e.g. background:red

2006-03-15 Thread Laurie Harper
=#{myBean.myStyle}/ or h:inputText ... style=#{myBean.myStyle}/ - Brendan -Original Message- From: Christian Bohn [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 8:46 AM To: MyFaces Discussion Subject: Re: (Validation) required=true should change my css style of inputbox e.g