Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 如何改变<;h:commandLink>;选定的样式?_Css_Primefaces - Fatal编程技术网

Css 如何改变<;h:commandLink>;选定的样式?

Css 如何改变<;h:commandLink>;选定的样式?,css,primefaces,Css,Primefaces,我的代码中有两个commandLink <h:commandLink action="#{localeController.switchLocale('en')}" value="English"/> | <h:commandLink action="#{localeController.switchLocale('fr')}" rendered="true" value="French"/> | 我想为所选链接设置一些css样式。我尝试了a:访问了,但不起作用。

我的代码中有两个commandLink

<h:commandLink  action="#{localeController.switchLocale('en')}" value="English"/> |
<h:commandLink  action="#{localeController.switchLocale('fr')}" rendered="true" value="French"/>
|
我想为所选链接设置一些css样式。我尝试了
a:访问了
,但不起作用。如何对所选链接进行一些更改


请建议

你试过“主动”吗?@erdimeola:是的,它不起作用