Primefaces CSS在p:selectOneMenu
和p:calendor
組件中不起作用。 當我給style="width:190px;"
它採取,但是當我使用風格類沒有采取。Primefaces CSS不工作p:selectOneMenu&p:calender
0
A
回答
4
爲p:Calendar
覆蓋以下CSS:
.ui-inputfield, .ui-widget-content .ui-inputfield, .ui-widget-header .ui-inputfield {
background: none repeat scroll 0 0 #FFFFFF;
box-shadow: 0 2px 2px #D3D3D3 inset;
color: #555555;
width: 190px!important;
}
爲p:selectOneMenu
添加下面的CSS:
.dropdownWidth{
width:190px !important;
}
,並添加styleClass="dropdownWidth"
您p:selectOneMenu
組件
0
0
可以使用大小選項來確定輸入元素的寬度。 是這樣的:
<p:calendar id="dateNaissance" value="#{utilisateurController.selected.dateNaissance}"
showOn="button" size="32" />
相關問題
- 1. p:selectonemenu不工作(JSF)
- 2. CSS p:selectOneMenu
- 3. JSF + Primefaces p:ajax on p:selectOneMenu not firing
- 4. primefaces JSF p:selectOneMenu提交空值
- 5. PrimeFaces不工作
- 6. 不工作barChart Primefaces
- 7. PrimeFaces ajax不工作
- 8. InputNumber primefaces不工作
- 9. PrimeFaces TreeTable不工作
- 10. p:ajax監聽程序不能正常工作p:selectOneMenu
- 11. p:selectOneMenu重置不起作用
- 12. PrimeFaces RequestContext.getCurrentInstance()更新()不工作
- 13. commandLink不工作primefaces移動
- 14. Primefaces inputTextArea maxlength不工作
- 15. Primefaces DataGrid - CommandLink不工作
- 16. PrimeFaces 3.2 dataExporter不工作
- 17. WidgetVar InputNumber Primefaces 6.1不工作
- 18. PrimeFaces:阻止UI不工作
- 19. Primefaces p:commandLink不工作在p:datattable
- 20. Primefaces pickList與inputText不工作
- 21. primefaces例如不工作
- 22. primefaces panelgrid colspan不工作
- 23. Primefaces功能clearFilters()不工作
- 24. css不工作
- 25. 在layOut內插入p:selectOneMenu不起作用
- 26. 控制選擇一個p:selectOneMenu從其他p:selectOneMenu在底數
- 27. JQuery&CSS - css()不工作
- 28. Primefaces ViewScoped和commandButton不能正常工作
- 29. primefaces文件上傳不工作
- 30. h:commandButton在PrimeFaces中不工作p:dataTable
是的,它工作得很好,謝謝 – Pravin