myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: [Trinidad] af|inputText:readOnly::content - Does it work for anyone
Date Wed, 15 Aug 2007 13:37:46 GMT
On 8/15/07, Simon Lessard <simon.lessard.3@gmail.com> wrote:
> Hello Danny,
>
> It works fine for me in Firefox and will work only sometimes in MSIE because
> it doesn't support composite selectors, so it becaome dependant on the

this is IE6 specific, right ?

> selector order of the generated CSS file. You can probably fix it by using
> the following selector:
>
> .p_AFReadOnly af|inputText::content
>
> The generated HTML looks like this:
>  <table id="j_id___jsp_tag_ctru5__xc_"  class="af_inputText p_AFReadOnly"
> cellspacing=" 0" cellpadding="0"  border="0">
>
>   <tbody>
>
>     <tr >
>
>       <td  class="af_inputText_label" nowrap=" "/>
>       < td class="AFContentCell"  valign="top" nowrap="" >
>
>         <div  id="j_id___jsp_tag_ctru5" class="
> af_inputText_content">toto</div>
>        </td>
>     </tr >
>   </tbody>
>  </table>
>
> Regards,
>
> ~ Simon
>
>
> On 8/15/07, Danny Robinson <dannyjrobinson@gmail.com> wrote:
> >
> > Has anyone had any success with the following skin entry?  There doesn't
> seem to be any specific style generated for readOnly inputText's.
> >
> > af|inputText:readOnly::content {
> > background-color: red;
> > }
> >
> > I need this so I can remove the border that is added through my usage of
> >
> > .AFFieldText
> > {
> >   color:        black;
> >   font-family:        arial, sans-serif;
> >   font-size:        9pt;
> >   white-space:        nowrap;
> >   border:        1px solid rgb(120,172,255);
> > }
> >
> >
> > Thanks,
> >
> > Danny
> >
> > --
> > Chordiant Software Inc.
> > www.chordiant.com
>
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org

Mime
View raw message