|
|
|
Проблема с тегом inputDate в myfaces!
|
|||
|---|---|---|---|
|
#18+
Когда Я ввожу в поле часов значении 12 оно автоматом преробразовывается в 00. При этом число 11 и 13 не изменяется... Похоже что тег работает с 12 часовым днём. Как с этим справиться?? автор<%@ page session="false" contentType="text/html; charset=windows-1251"%> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/extensions" prefix="x"%> <html> <%@include file="inc/head.inc" %> <body> <h:form id="quantityClientServicedForm" name="quantityClientServicedForm"> <h:outputText value="#{messages['report.start_period']}"/> <x:inputDate id="startDate" value="#{quantityClientServicedForm.startTime}" type="both"/> <h:commandButton id="refresh" action="none" value="#{messages['report.submit']}"> </h:commandButton> </h:form> </body> </html> авторpublic class QuantityClientServicedForm implements Serializable { private Date startTime = new Date(); public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } } ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.06.2006, 13:15 |
|
||
|
|

start [/forum/topic.php?fid=59&msg=33787378&tid=2148978]: |
0ms |
get settings: |
6ms |
get forum list: |
11ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
49ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
20ms |
get tp. blocked users: |
1ms |
| others: | 214ms |
| total: | 314ms |

| 0 / 0 |
