Skip to Content
avatar image
Former Member

How to Handle Popup Window (DatePicker)

Hi there,

is there a sure way to build a popup window (here: for date picking purposes)?

I've realized two ways:

a) wdComponentAPI.getWindowManager.createWindow(...)

b) wdComponentAPI.getWindowManager.createExternalWindow(...)

The way (a) builds up a modal popup. The problems I have got with this is especially connected to the size of the pop up. In my case, if I set the windows size, this has no effect; the window is a bit too small and this is really disturbing when moving through the months.

The way (b) builds up a non-modal popup, where an WD-application is referred (and so has to be defined before) as the window URL. Setting size and position works, but no question, a non-modal popup window has it's own disadvantages (if the base view is changed by the user and after this, the user cares about the popup).

Any hints how to implement this well? Any standard way known for this question (I think it's a standard task)?

The best would be, to get the modal popup appear just beneath the input field for the date.

Thanks in advance


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 23, 2004 at 08:30 AM


    why do you want to build a date picker by yourself? An InputField that is bound to a context attribute of type Date provides a date picker automatically.

    Regards, Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Armin,

      to be precise, it's not the datepicker itself but the input field which throws the messages.

      Application Language has been set to german, messages thrown are in english.

      Would be great to hear if you have detemined the source of the proble.

      Thanks in advance