This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Sep 7, 2018, 7:33 PM
13 Posts

Xpages - dojo time picker

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: All
  • Role:
  • Tags:
  • Replies: 0

Hi All,

 

I am using dojo time picker in my xpages. It is working fine. But I want to show the time intervals as auto dropdown when cursor is on the field without clicking the time picker icon. How to achieve this.

 

<xp:inputText id="startTime"
                                styleClass="input-group form-control"
                                value="#{sessionScope.starttime}"
                                style="background-color:#FAFAD2" loaded="true">
                                <xp:this.converter>
                                    <xp:convertDateTime type="time"
                                        timeStyle="short">
                                    </xp:convertDateTime>
                                </xp:this.converter>

                                <xp:this.attrs>
                                    <xp:attr name="data-dojo-props"
                                        value="constraints: {min:'T01:00:00',  max:'T23:00:00', timePattern: 'hh:mm a', clickableIncrement: 'T01:00:00',visibleIncrement: 'T01:00:00' }">
                                    </xp:attr>
                                    <xp:attr name="value"
                                        value="T07:00:00">
                                    </xp:attr>

 

                                    
                                    
                                </xp:this.attrs>

 

 


                                
                                <xp:dateTimeHelper></xp:dateTimeHelper>

 

 


                            </xp:inputText>


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal