Skip to Content
author's profile photo Former Member
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

Detlev

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2004 at 08:30 AM

    Detlev,

    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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.