|
|
|
Проблема с тегом 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&fpage=719&tid=2148978]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
52ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 219ms |
| total: | 337ms |

| 0 / 0 |
