I just checked the sample of the

CiviCrmDateTimePicker (in dojo)

that explains the code ;)

I don't like that widget, just my 2 cent

On 3/8/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
can't you combine them ?
a date/time picker ?

seams odd to me, if no :-)

On 3/8/07, Werner Punz <[EMAIL PROTECTED]> wrote:
> Also here is the code for the time picker
>
> :-)
>
>
> <ui:composition>
>         <t:dojoInitializer require="dojo.widget.DropdownTimePicker" />
>         <t:inputText value="#{entity[fieldName]}" id="#{id}" forceId="true" >
>                 <s:convertDateTime pattern="HH:mm" />
>         </t:inputText>
>         <script type="text/javascript">
>                 var #{id}_value = dojo.byId("#{id}").value;
>                 if(!#{id}_value)
>                 #{id}_value = "";
>
> dojo.widget.createWidget("DropdownTimePicker",{widgetId:
> "#{id}_dojoWidget", inputId: "#{id}", inputName: "#{id}",
> timeFormat:"%H:%M" },dojo.byId('#{id}'));
>                                         
dojo.widget.byId("#{id}_dojoWidget").inputNode.value = #{id}_value;
>         </script>
> </ui:composition>
>
>


--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com



--
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to