Thanks for the cool tip!
I'm going to try it tomorrow to see how it goes... right now I feel I'm
using too many inlineStyle properties precisely because of situations like
this.
If you decide to post skinning tips, be sure to tell us where :)
--Francisco
On 6/28/07, Jeanne Waldman <[EMAIL PROT
I can post blogs for skinning with tips like this. Where should I put these?
wiki ?
or create your own blog ;) ?
I moved mine from JRoller to wordpress:
http://matthiaswessendorf.wordpress.com/
A cool tool.
-M
Thanks,
- Jeanne
Simon Lessard wrote:
> H,
>
> What about af|inputText.m
af|inputText.myStyleClass::label should parse in the css file to:
.af_inputText.myStyleClass .af_inputText_label {}
If it doesn't, I think it is a bug.
I'll submit a JIRA issue.
But, there is a simple workaround:
af|inputText.myStyleClass af|inputText::label {}
This is easier on the parser. :
I think, that You want only label of inputText be bold, not inputted
text. I think this is not possible by inline style.
Use only on inputText
components which to have bold label.
Advantage using styleClass - any style changing later are simple and on
one place.
Peter
Francisco Passos wrote
:[EMAIL PROTECTED]
Envoyé : jeudi 14 juin 2007 11:08
À : MyFaces Discussion
Objet : Re: Skinning tr:inputText
Since I wanted my inputTexts to be - by default - not bold, and then some of
them I wanted bold, I ended up using inlineStyle to set font-weight: bold; ...
On 6/13/07, Petr Kotek <[EM
Since I wanted my inputTexts to be - by default - not bold, and then some of
them I wanted bold, I ended up using inlineStyle to set font-weight: bold;
...
On 6/13/07, Petr Kotek <[EMAIL PROTECTED]> wrote:
Hello,
You must use in css:
.myStyleClass label {
font-weight: bold;
}
I check it in
Hello,
You must use in css:
.myStyleClass label {
font-weight: bold;
}
I check it in Firefox only, but I think in IE must be the same.
Eventually refresh page in browser by Ctrl+F5.
Beside class, You may use element ID as:
#inputID label { ...
Best regards,
Peter
Stéphane Molina wrote:
Hi all,
My problem is exactly the same ...
Did you find some solution ?
Francisco Passos wrote:
>
> No luck either. I'm sure there must be a way, though.
>
> On 5/14/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
>>
>> H,
>>
>> What about af|inputText.myStyleClass::label?
>>
>> On 5/14/07,
No luck either. I'm sure there must be a way, though.
On 5/14/07, Simon Lessard <[EMAIL PROTECTED]> wrote:
H,
What about af|inputText.myStyleClass::label?
On 5/14/07, Francisco Passos <[EMAIL PROTECTED] > wrote:
>
> That was it, thank you! Firefox tends to keep the css in cache, so after
H,
What about af|inputText.myStyleClass::label?
On 5/14/07, Francisco Passos <[EMAIL PROTECTED]> wrote:
That was it, thank you! Firefox tends to keep the css in cache, so after
clearing it works fine.
However your previous suggested solution for the initial problem I
presented:
af|inputT
That was it, thank you! Firefox tends to keep the css in cache, so after
clearing it works fine.
However your previous suggested solution for the initial problem I
presented:
af|inputText::label.myStyleClass {
font-weight : bold;
}
does not seem to work, in that the label is not presen
Hello Francisco,
Hmmm it might be a browser cache problem. When working with skin you have to
clear your browser cache often else it will use the cached CSS. I assume
that, in your case, the last change you made either triggered a filename
change or your browser cache expired thus loading the lat
Oddly enough, if I add
@platform windows, linux, solaris
{
/** for ie and gecko on windows, linux and solaris, make the color pink **/
@agent ie, gecko
{
af|inputText::content {background-color:pink}
}
}
to the css, suddenly everything works - the text size, the red background
color, the
Thank you for your hint, I'll try it as soon as I can.
It seems that I'm not quite there yet, I'm two steps behind.
I'm using a skin extending the simple-desktop:
http://myfaces.apache.org/trinidad/skin";>
stp.desktop
stp
org.apache.myfaces.trinidad.desktop
Hello Francisco,
You could try the following:
af|inputText::label.myStyleClass {
font-weight : bold;
}
I think it might work.
Regards,
~ Simon
On 5/11/07, Francisco Passos <[EMAIL PROTECTED]> wrote:
Hello there!
I'd like most of my inputTexts to be rendered as they are by default.
Hello there!
I'd like most of my inputTexts to be rendered as they are by default.
However, I'd like a few of them to have a bold label.
I tried this:
af|inputText::label {
font-weight : bold;
}
But as you know this leads every inputText to have their labels in bold.
Is there any way to r
16 matches
Mail list logo