simple modal popup

I have searched but can't find the answer.  I add the following code to Buritto...

Import qnx.display.IowWindow;
  
private function showPopup (): void
{
var popUpopupList = new PopupList();
popUp.title = "wireless networks";
popUp.items is ['Home', 'Work', 'Cottage', 'School'];.
popUp.addButton ("OK");
popUp.addButton ("Cancel");
popUp.dialogSize = DialogSize.SIZE_MEDIUM;
popUp.show (IoWindow.getAirWindow () .group);
}

I get "definition qnx.display:IowWindow is not found." compilation error.

I cannor find a way to add the necessary library.  I'm sure it's something super simple that everyone but me know how to do.

Thank you

Also just like u added the qnx - air.swc have you added the qnx - screen.swc? Located in the bbsdk/frameworks/lib/qnx-screen/qnx-screen.swc

Tags: BlackBerry Developers

Similar Questions

  • Skillbuilders Modal Popup

    I use the Skillbuilders Modal Popup (v 2.0.0) with Apex 4.2.5 plugin and it works great. I am really happy with the overall results and the attention to detail that went into the creation of this plugin. I followed with the video tutorials Skillbuilder and got everything that is a demo would be there to work, almost.

    Here are the details of my use case. I have an Apex form page and there is a small report of related action items on this page. Each proposed measure gives just enough information to let you know what you are looking for, and there is an edit for each link, so you can view/edit full details. The link Edit opens a pop-up form for an element of individual action. The popup form has a button "update", which saves it, closes the form and updates the list small/report on the original page (appellant). Based on the Skillbuilders tutorial, I did it with 2 different dynamic actions and the use of the narrow "modal" technical page they describe.

    As I said, this works very well, except for one small thing. After the modal pop-up window closes and the region of report is updated (via dynamic action) the edit links on each report only ranks no more working time. If I update the original dynamic action calling page that the links will work once again, this is until I click on one of the links Edition, open the popup form, save the changes and return to the calling page. I'm getting so close, but so far, it's a closed loop transaction.

    It is as if there is an error javascript somewhere and I just can't track down. I tried to do a little but debugging but guidance on where and how to fix this would be appreciated. Thank you.

    Earl

    Are the dynamic scope of links event the value static or dynamic?  If they have the static value that they should not work after the update of the report I think.

    Thank you

    Tony Miller
    Los Alamos, NM

  • ID of PK through the report apex using the URL and screen modal popup open

    Hello my dear,

    I use apex 4.2.0.00.27

    I am facing a little problem and I hope that you guys will help me please?

    I have 3 regions. 1 first is view only then 2nd region's interactive report and a 3rd has only 1 column.

    in the report of the region say select id, ename, empno, sal, ' ' edit_link columns for example. region 2 static id is 'Create_Reason'.

    I created DA using code JavaScript as (javascript:openModal('Create_Reason');) for modal and made page region (region 3) so is it opens as a page modal popup.

    I added a url (javascript:openModal('Create_Reason'_) ;) as chosen target is the URL in report item (edit_link).)

    It will open a modal pop-up window average area 3 on the same page and I'm doing what I want to do, but I don't get PK id in session state, so I can't update my chosen rank.

    Because PK ID is not in session state, so I can't use condition where clause and it is not updated my application.

    Any help please?

    Very much appreciated.

    Kind regards

    RI

    I realized it. in fact, I changed the report item (edit_link).  In (link in the column, link attrribute #ID # and the target page in the app and the page # (item1 (hidden) p1_item1 question on the page) and value (#ID #).)

    then I created DA as the loading of the page and run the code JS as javascript:openModal('Create_Reason'); and service area to be displayed and the item added a condition (p_item1 (hidden_item is not null).)

    before has worked, but only he send the page or refresh the screen and load the popup.

    Is anyone has the best solution or higher is good?

    Thank you.

    RI

  • refresh the report after you close the modal popup

    Hello

    I try to call page editing as popup modal as in this example below.

    http://Apex.Oracle.com/pls/Apex/f?p=45420:3:0:no:

    It works fine, but after you change/update a registration and closing of the edit page, is not refresh the main report page (first). How can I change so it refresh the report calling when closed. Please NOTE: I do not want to refresh the whole page, but only the report after you close the page modal popup.

    Apex 4.2

    Thank you in advance... regards

    It worked, now missed me the branching code and the parameter by js... Thank you

  • Skillbuilders Modal Popup doesn't open correctly

    Hello

    I installed skillbuilders modal pop-up, but I can't use it. I went through the online tutorial and forum, but I don't know what I'm doing wrong.

    Opens the modal page, but soon a larger window shows which reduces in size to a more small which does not display any areas or items on the page that I chose to be a modal popup. I've created a demo which has the same effect

    http://Apex.Oracle.com/pls/Apex/f?p=35329:1

    (usr, pwd: modal, modal)

    I do not know what type of page should be used, I tried a white page, the form, the classic report, but all have the same result. I use Apex 4.2.3

    Teo

    Hi, try this.

    Components shared > security attributes > browser security > incorporate in frames.

    This must be on allow or allow same origin.

  • Modal popup using skillbilder page

    Hello
    I got my popup page to display modal way using skill-builder, but now, how can I pass values of page1 as: point p1_customerid of page2 popup: p2_customerid? I used url in java-script before but now I want to pass those values to the modal popup window how to? Thanks in advance...

    Jeiri,

    You don't have to do 10 different entries.

    Add more code under APEX_UTIL PLSQL for each group you want to submit. Then, separated by a comma, list the variables you will be as follows:

    P1_CUSTOMER_NAME, P1_CUSTOMER_ID, P1_CUSTOMER_LASTNAME, etc.

    You will have only 2 entered DA, PLSQL and Skillbuilders Modal

  • Update Parent form after the modal popup

    I have a form that displays information about an estimate/bid on a product. When you click on edit, it displays a modal PopUp window that allows you to change the estimate. How will I know when the PopUp has closed so that I could tell the original/parent form to refresh?

    EDIT: Btw the PopUp is a mx:TitleWindow which I am the opening with the PopUpManager and my estimate by transmitting.

    Here is my code to open the context menu:

    private void showEstimatePopUp(est:Estimate,_title:String):void

    {

    private var win: EstimateForm;

    win = EstimateForm (PopUpManager.createPopUp (this, EstimateForm, true));

    Win.title = title;

    }

    Post edited by: acbarberi -Adding code

    Just listen for the event 'close' on your TitleWindow.

    If you want to have two different answers to your TitleWindow (IE. 'OK' and 'CANCEL'), then you will need to ship custom your TitleWindow events and listen for those.

    Jason

  • Anyway do a MODAL popup window in the APEX, using JavaScript

    Y at - it anyway to make a MODAL popup window in APEX, using JavaScript.

    What I do is, at various stages in an application, I'm coding, the system will display a pop-up window, prompting users to enter their credentials. These credentials are then verified via LDAP.

    Basically I don't want the user to be able to close the window without entering their password or by clicking on the Cancel button.


    Here is the code I use:

    onClick = "javascript:esign();" "(Adding the HTML Form element attributes)


    function esign() {}
    popUp2 ('f? p = & APP_ID.:8: & SESSION.: & DEBUG.:', 450, 200);
    }



    I did a quick search on google and I met some JavaScript libraries that could do what I'm after is to say prototype.js, jquery.js
    but I was wondering if there is a default library that comes standard with APEX.

    Any help gratefully received

    Thanks, Keith

    create a button calling url and url target as the value
    JavaScript:modalWin();

    Place this script in the header

    You can create a button in a modal window to close
    and use this code for the text label of the button

    Closet

  • Modal Popup style

    Hello

    I am trying to open a popup is modal (I think). I want it to gray on the site and focus on the popup. It is to announce the acquisition of a site and then let them pass through.

    I pick up a bouquet and a box of color I tried. The problem I had there with z indexing. It would be behind the image of head of mast or a cursor on a page. The problem I had with z-index is that there is no i-frame or div to anchor it to-it was script only on the host page.

    I also have begun to scrutinize the magnific but finds it difficult to understand how to install and operate the loading of the page with an iframe.

    What I want to show is a single image with two links below. Is there an easier way? If not, can anyone help me to get one of these operational?

    Grateful and discouraged.

    SoC

    I think that if a simple popup dialog box enough Foundation, jQuery, etc. can be a little overkill. I prefer the super simple solutions that load fast in these cases - and it's more fun to solve things by yourself; Pei

    Here's a very simple solution, I came up with which works with a single line of javascript and is cross-browser compatible (including mobile, but you have to add some css to reshape the dialog box for these platforms no doubt). I didn't test in IE8, although - break.

    HTML (add at the bottom of your page!):

    CSS:

    #popup-bg {display: none ;}}

    #popup-{bg:target}

    display: block;

    position: absolute;

    left: 0;

    top: 0;

    right: 0;

    bottom: 0;

    background-color: rgba (0,0,0,0.7);

    z index: 9999;

    }

    #popup - bg:target #popup {}

    display: block;

    text-align: center;

    background-color: white;

    position: absolute;

    Width: 500px;

    height: 400px;

    top: 50%;

    left: 50%;

    margin-top:-200px;

    margin left:-250px;

    }

    {#popup-close-btn}

    position: absolute;

    right: 20px;

    Top: 10px

    }

    That's all! The reason for the setTimeOut is that opera load order prevents the window.location.href to work, and another advantage is that you can set the timer now (1000 equals one second). And even when Javascript is disabled in the browser of the client it can still be made to work by affixing #popup - bg at the end of the page:

    http:www.example.com/index.html#popup-BG - a server redirect magic can be done to have load up like that as well, making it a robust js-less option.

    You can also create a link which shows if any: Open popup. Once again no code javascript required :-)

  • How to pass the PHP variable to menu jQuery Modal popup

    Hello

    Need help to find how to pass a variable in php (which is recovered in a while loop) in a modal window.

    There is a list of users on the page (shown with a while loop), with buttons Remove next to each of them.

    When the administrator clicks the button Delete for that specific user, a modal window appears confirming their action.

    I can't find a simple way to communicate the id of the user to be removed the modal (where the query is performed, once 'Yes to confirm deletion' is clicked).

    I deleted the jQuery, seeing as how this could change how the modal opens and closes.

    This is the modal:

    < div class = "modal" >

    < div class = "modal_wrapper" >

    < div class = "modal_title" > are you sure you want to delete this user? < / div >

    < div class = "modal_content" >

    < div class = "modal_button_no" > n < / div >

    < div class = "modal_button_yes" > Yes, delete it < / div >

    < / div >

    < / div >

    < / div >

    < div class = "delete_btn" > delete user < / div >

    The variable with the user name is:

    $user_id

    Any help would be much appreciated!

    Thank you

    It is a fairly simple procedure. Personally I'm not sure that its worth the effort for a box of administration but good we all have different opinions - there is no wrong or it.

    Suppose that your buttons delete on your page are anchor tags and you have locked down your database of names to create anchor tags. The value of dir below has been inserted via php through loop and is your RegID.

    Delete

    Delete

    Delete

    Delete

    When you click the anchor tag (that class name "delete") opens a lightbox. You also have to collect the value of "dir" at the time the lightbox opens - happening of value to a hidden in the lighbox code entry field.

    The value of the "dir" command is passed to the light table in a hidden form field:

    "You have a delete button in the light table with the class of ' delete_record ':

    Delete the record

    When the user clicks on the button Delete in the light table the value of hidden form field is harvested and forwarded to your page of delete_record.php via the jquery/ajax script below, were also on the same page.

    Your delete_record.php would look like below, assuming that you use mysqli or if you are using mysql then you would follow the same delete procedure as usual.

    <>

    $conn = new mysqli ('localhost', 'root', 'root', 'name');

    {if ($conn-> connect_errno)}

    echo $conn-> connect_error;

    Die (' sorry, can not connect to the moment, try again later ');

    }

    ?>

    <>

    delete the record

    $record_id = $conn-> real_escape_string (stripslashes (trim($_POST['record_id'])));

    $conn-> query ("' DELETE FROM names WHERE record_id = ' $record_id ' '");

    $record_deleted = "true";

    ?>

    An alert box will appear at the end, confirming that the record has been deleted. You do not have to deploy an ugly alert box - you sends the data to the device of light therapy from the delete_record.php page in a few nice melted in

    If you want to be more subtle about it.

  • Modal Popup window skins help pop-up window

    Hello everyone,

    Today, I walked on a question about popup windows.
    I created an application with pop-up windows for editing and inserting new records.
    I left the model element to label "optional with help.
    When I now click on a label of the element help - pop-up window appears, but it is hidden behind the window pop up, I work.

    Y at - it a solution for this.
    Is it possible to change the order of the aid or the modal window popup?

    All advice is appreciated.

    Concerning
    Marc

    There are a lot of options to customize the behavior of the jQuery dialog box. You can set the height as auto, but you must specify a fixed width based on the content.

    $( "#TEST_POPUP" ).dialog({ height: "auto", width:500 });
    

    Default value for height is automatic, you may not specify it.

    See http://docs.jquery.com/UI/Dialog for more information.

    Kind regards
    Hari

  • How can I show several regions as a modal popup?

    Hi all!

    I have a popup that displays a report area. Now I want that it show more of a region, for example a regional report and another report below.

    Here is the code I have right now (and that can popup a region):
    $.fx.speeds._default = 1000;
    
    $( function(){
      $('#ModalForm').dialog(
       {
         modal: true,
         autoOpen: false,
         width: 650,
         height: 450,
         buttons:{ Calculate: function(){calculateTotal();},
                         Close: function(){closeForm();}         
       }
      });
    });
    
    function openForm(pFoodTemplateId, pMealTypeId)
    {
    var getone = new htmldb_Get('shiny',&APP_ID.,"APPLICATION_PROCESS=DUMMY", &APP_PAGE_ID.); // initialize get 
    getone.add('P24_TEMPLATEID', pFoodTemplateId);
    getone.add('P24_MEALID', pMealTypeId);
    gReturn = getone.get();
    getone = null;
    
    $('#ModalForm').dialog('open');
    }
    
    function closeForm()
    {$('#ModalForm').dialog('close');}
    
    $(document).ready(function() 
        {$('a.temppop').click(function() {openForm();});
    });
    The class of the button (or in my case, the link in another region that is not displayed as a popup) is temppop.

    QUESTION:_
    How can I change my existing code, so that it can now display another region?

    The ID of the region, it now displays is ModalPopup. I would add another region, with a different ID off course. Choose any ID, as long as you can explain to me how.

    Hello

    I think that better create a new area of HTML which is popup 'holder '.
    And the value of this region as a region of Parent for the other two regions.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Modals popup of Muse?

    So I'm on a lack of time here if I could help with that.

    I want to have a button at the bottom of my site that when you press on, a modal window appears with contact information and a small form to send an email. Is it possible easily? If so, what plugin or widget can do for me?

    Thanks for your help!

    It is not a 'Modal' as such, but it's the same effect. Use the composition of ToolTip widget in the Muse.

  • modal popup report using a button on a form page.

    Hello
    I had an urgent need to display a modal way report page by clicking a button on a form page. When you click on this button I want to spend 2 parameters (ID Emp and Dept ID) of the report to display values based on these 2 parameters... Thanks in advance.

    The plugin is designed to open the pages/url in iframe inside a modal window so you should to configure enforcement APEX to allow to open the frames/iframes.

    To make this connection in your worksapce:

    Home > Application Builder > Application 53983 > security attributes > incorporate in frames

    Your currently defined on refuse, that's why it does not appear anything. (set it to Aloow or allow same origin)


    • Deny: Cannot display the page in a frame, regardless of the site to try to do.

    • Allow same origin: the page can only be displayed in a frame on the same origin as the page itself.

    • Allow: the page can be displayed in any image.

    And to pass parameters in the modal window using the syntax below

    f?p=&APP_ID.:5:&APP_SESSION.:::5:P5_DNAME:&P95_TEXT.
    
  • Modal window

    I'll try to get a simple modal window works with arbitrary HTML installation in Muse but having problems.

    I tried this one http://www.ericmmartin.com/projects/simplemodal-demos/ and present a http://www.html-form-guide.com/contact-form/simple-modal-popup-contact-form.html without a bit of luck.

    Has anyone else had any success? Is there a chance of a widget for this?

    "Hide it all initially" appears only when you are using the Widget "Lightbox Display" of folder "Compositions". As you can see in the images below, there are two types of viewers; "One in the slideshow" folder and the other in the Compositions ' folder. I hope this helps.

    Dan

Maybe you are looking for

  • I now get [error number: 0 x 80070424] when I try to use windows update.

    I now get [error number: 0 x 80070424] when I try to use windows update. Also I can not update microsoft UAA!

  • Programs open files/applications not found

    Very suddenly, when I click on some icons on my desktop (e.g. Explorer), he asks me what program I want to open it with.  Also, many programs/files say "application not found" (for example, all items in the control panel).  Any suggestions?

  • Problems with check disk etc.

    I am constantly message on start up that I have a problem with NTFS, I do the consistency check, but I can't do it, my system just flicks and that's all! I also have a real problem with sound distortion and cracking more remarkable in games, etc. can

  • A practical Suggestion about the battery of 10 blackBerry covers

    I couldn't find anywhere to send a suggestion, so I decided to post here. I hope that this will fall on the ear right or at least passed accordingly. To start things, I have my BS in mechanical engineering and I did some work with composite materials

  • getLocation() method cannot be called from event thread

    Hello I use a thread that runs an executable object, which gets gps location. This thread is called in the constructor of the form. The first time, it works fine, but then I get the error getLocation. class GetGPSThread extends Thread{GPSRunnable _gp