如何在struts2中更改日期时间选择器的颜色 [英] how to change the color of date time picker in struts2
问题描述
<sx:datetimepicker name="birthDate" required="true"
value="%{employee.birthDate}"
displayFormat="%{#application.dateFormat}"/>
这是我在 jsp 中使用的struts 2中的日期时间选择器标签
默认情况下它具有蓝色
谁能帮我改变日期和时间选择器的颜色
我用过cssStyle { Background:red }
可以改变文本框的颜色
This is my date time picker tag in struts 2 used in jsp
by default it has blue color
can any one help me to change the color of date and time picker
i have used cssStyle { Background:red }
which changes the color of textfield
推荐答案
您正在使用<sx:datetimepicker>
标记,这意味着您正在使用dojo
插件.您可以通过使用不同的dojo
主题或覆盖与datetimepicker
相关联的CSS样式来更改datetimepicker
的样式.
You are using <sx:datetimepicker>
tag it means that you are using dojo
plugin. You can change style of datetimepicker
by using different dojo
theme or overriding css styles associated with datetimepicker
.
这篇关于如何在struts2中更改日期时间选择器的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!