This content has been marked as final.
Show 8 replies
-
1. Re: customise input components skins
lmk May 9, 2008 11:36 AM (in response to lmk)Hi;
Im strugling to use my own style for input button, when I remove rich faces skinning control, it works.
thanks! -
2. Re: customise input components skins
sergeysmirnov May 9, 2008 11:45 AM (in response to lmk)What does it mean " remove rich faces skinning control"?
-
3. Re: customise input components skins
lmk May 9, 2008 11:49 AM (in response to lmk)"SergeySmirnov" wrote:
What does it mean " remove rich faces skinning control"?
remove context parameter org.richfaces.CONTROL_SKINNING=enable -
4. Re: customise input components skins
sergeysmirnov May 9, 2008 12:31 PM (in response to lmk)so, why it is not a solution? If you do not want to have standard form control skinned, you set this parameter to false.
-
5. Re: customise input components skins
lmk May 9, 2008 6:17 PM (in response to lmk)"SergeySmirnov" wrote:
so, why it is not a solution? If you do not want to have standard form control skinned, you set this parameter to false.
Iwant to keep standar control skinned, butn Id like to control myself some buttons styles..
Or use skinnig for all input components except buttons..
it is possible?? -
6. Re: customise input components skins
lmk May 12, 2008 5:31 PM (in response to lmk)hello,
should I use a custom xss file?? there exist any solution to use special styles for buttons instrad of default one? -
7. Re: customise input components skins
sergeysmirnov May 12, 2008 5:56 PM (in response to lmk)No, there is no different between css and xcss from this point of view.
The main problem is that RichFaces skins button using:input[type="submit"] {}
This has a priority over the general class which you use. So, even your declaration is coming last, it does not override the one comes from input[type="submit"].
Try to use more specific rule selector.
For example,input.menu_link {} or input[type="submit"].menu_link {}
instead of just.menu_link {}
-
8. Re: customise input components skins
lmk May 13, 2008 4:54 AM (in response to lmk)thanks a lot sergey!
regards!