Re: ModalWindow and jQuery mousedown binding

2014-04-03 Thread neilbennett
Hi Martin, You are exactly right. The other Wicket.Event.stop(event) does need to be commented out. I've found that while this does allow pop-up's to be closed, it also stops fields taking focus. I will submit a JIRA issue with a quickstart though. Thanks, Neil -- View this message in context:

Re: ModalWindow and jQuery mousedown binding

2014-04-02 Thread neilbennett
Hello again. Thanks for your help, I've found what occurs. When removing onmousedown=Wicket.Event.stop(event); from the w_content_1 div, the event then propagates. However, the mouseDownHandler function is called in the Drag class in wicket-ajax-jquery.js this returns false which then stops

Re: ModalWindow and jQuery mousedown binding

2014-03-11 Thread neilbennett
Thanks for the reply. I actually removed that binding from the html output but I don't see any noticeable changes in behavior. Clicks on the modalwindow still do not trigger the mousedown binding on the datetime component unless it is outside of the modal window. I have limited javascript

ModalWindow and jQuery mousedown binding

2014-03-07 Thread neilbennett
Hi, I am experiencing an issue very similar to Andrew Geery here, http://apache-wicket.1842946.n4.nabble.com/weird-interaction-between-ModalWindow-and-jQuery-mousedown-binding-td4473055.html I have a ModalWindow open with a datetimepicker (http://www.malot.fr/bootstrap-datetimepicker/)

Modifying components parent css

2013-06-18 Thread neilbennett
Hi, I have a number of RequiredTextField components on a form. I am using Twitter Bootstrap for CSS. On the form it switches between view and edit modes. In order to display a required border on the field I need to have: But in view mode I need: However I can't find how to modify the parent