Eonasdan datetimepicker for bootstrap 3 in xPages

前端 未结 2 1748
故里飘歌
故里飘歌 2020-12-06 08:16

I\'m having a problem with the bootstrap dateTimePicker control in my xpage application and I suspect this is to do with the way xPages generates a control id.

The f

2条回答
  •  心在旅途
    2020-12-06 08:34

    You should never try to hard code the ID that Domino assigns to a particular element. If you need to use the ID to make something work, then this utility by Mark Roden works very well: http://xomino.com/2012/02/02/jquery-selector-function-for-xpages-xidinputtext1/

    Also its dojo version: http://xomino.com/2012/02/28/x-update-for-dojo/

    Just include this is a clientside script library, or reference directly using the script tag.

提交回复
热议问题