struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitar Vlasev" <vlase...@gmail.com>
Subject Re: Dojo datetimepicker problem
Date Wed, 03 Dec 2008 08:53:31 GMT
Thank you Timothy, I've suspected something like that. Of course
anyone can read Date from String but the question was is this behavior
a bug or a feature.


Musachy:
<s:datetimepicker> has attribute "displayFormat" but not "format". Of
course it's not user friendly format thus I can't really use it in
application, however I run a test with the format defined in RFC3339
and I hit the same rock again (the automated conversion didn't
happen).

here is what's being generated from the <s:datetimepicker>
-----------------------------------------------------------------
<span style="white-space: nowrap;" id="blah_fetchDate_aDate">
    <input type="hidden" dojoattachpoint="valueNode"
value="2008-12-03" name="dojo.aDate"/>
    <input type="text" autocomplete="off" dojoattachpoint="inputNode"
style="vertical-align: middle; width: 7em;" value="" name="aDate"/>
    <img style="vertical-align: middle; cursor: pointer;"
dojoattachpoint="buttonNode" dojoattachevent="onclick: onIconClick"
alt="Select a date"
src="/eye/struts/dojo/src/widget/templates/images/dateIcon.gif"/>
</span>

<div class="dojoPopupContainer" style="display: none; position:
absolute; z-index: 10;" dojoattachpoint="containerNode">
  <div class="datePickerContainer"
dojoattachpoint="datePickerContainerNode" style="">
.................................


Thank you guys, I appreciate your help.

Regards,
Dimitar Vlasev

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message