如何在struts2中更改日期时间选择器的颜色 [英] how to change the color of date time picker in struts2

查看:47
本文介绍了如何在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆