Skip to Content
avatar image
Former Member

Pop up Iview

Hello,

How would i go about to create an pop-up iview in an DynPage? I want to use it for picking values and filling an inputfield.

Thanks,

MAx

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Nov 13, 2003 at 09:20 AM

    you can add normal javascript to your hmlb control onClick:

    window.open("file.htm","window1","width=310,height=400,left=0,top=0");

    but this is not a htmlb feature.

    htmlb like is to have 2 iviews on one page. One for selection one for diplay or 2 controls in one iview.

    Communictaion between 2 iviews via request handling in the server or ep client framework.

    There are detailled tutorials in PDK.

    BR,

    OLiver

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi oliver,

      assuming the approach you suggested, is it possible to dynamically hide the iview on a page or display as and when required? an example would be a generic search iview.

      KR

      erick

  • avatar image
    Former Member
    Nov 25, 2003 at 05:00 PM

    Hi,

    I use pop-up's for filling an inputfield (search help) by creating with the URLGenerator  the url of an portal component that implements the search help funcionality, and then I put this url as a parameter of an window.open('<<url>>' , ...)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jaume,

      Can u send me some code for this. In my case I am trying to instantiate a popup when the user clicks on a image next to a company code input field. The popup contains the company codes and when the user selects a value it gets populated in the input field.

      Thanks,

      Sunil