URGENT: Opening JInternalFrame upon click of a button

Hi can somebody help me, Im a newbie in JDeveloper IDE and have no proper training.
Im using Oracle Jdeveloper 10.1.3.3.0. My project is an ADF Swing Application.
Let me explain what I'm trying to do..
I like to open another JinternalFrame upon click of a button.
When I click the button. Im passing two parameters(bind variables) to filter the view object
of the class and displlay its result in JinternalFrame.
I have a ClassA that extends JinternalFrame, it contains components such as textbox, combo box etc. and a button labeled (Show ClassB).
I also have ClassB that extends JinternalFrame, its view object required two bind variables.
In ClassA, it has table and i will select one row and click on a button.
I will pass the value in the table to the bind variable of the view object of ClassB and open and display the result in JInternalFrame.
Im getting the parameters, but i cant pass it on the bind attribute of the view object.
How can I do this in my java class with the relation of its pagedef.
Im comfused..
Please help.
Thanks.

Hi,
independent of whether this is a internal frame or a
panel, you can use
OperationBinding oper = (OperationBinding)
panelBinding.get("ExecuteWithParams");
per.getParameterMap().put("ArgumentName1",argument1);
oper.getParameterMap().put("ArgumentName2",argument2);
oper.execute();>
assuming that the bind variables are exposed in th
epageDev file as a ExecuteWithParams operation
Hi Frank,
I have this code for the button
         private void jButton4_actionPerformed(ActionEvent e) {
              if (jTableLeft.getValueAt(jTableLeft.getSelectedRow(),0) != null) {
                   System.out.println("quot trans no" + 
                   jTableLeft.getValueAt(jTableLeft.getSelectedRow(),0).toString());
                  quotTransNo = new
                       Integer(jTableLeft.getValueAt(jTableLeft.getSelectedRow(),0).toString());
             PanelQuotations pq = new PanelQuotations();
             JUPanelBinding quotbinding = pq.getPanelBinding();
             System.out.println(quotbinding.getName());
             OperationBinding oper =
                      (OperationBinding)quotbinding.get("ExecuteWithParams");
             oper.getParamsMap().put("param_quotTransNo",quotTransNo);
             System.out.println("Bago na to");
             oper.execute();
            openQuotation();//opens new JInternalFrame          
    }When I testes it, it gave me a "Null Pointer Exception" in this line
oper.getParamsMap().put("param_quotTransNo",quotTransNo);
Why am I getting such error? I dont know why?
Thanks.

Similar Messages

  • Execute PL/SQL upon click of a button

    I am using APEX 4.0 in Oracle 11g Express edition.
    I want to execute some PL/SQL code upon click of a button, I read in other threads that I can edit the button's action to 'Defined by Dynamic Action'. However, when I create a button, I do not get 'Defined By Dynamic Action' as an action choice.
    Is this only valid for APEX 4.1? If so, is there a way I can do this?

    Hello,
    After clicking the button, do you want to submit the page and execute PL/SQL or you want to execute with submitting the page?
    With Submit:
    Create page process -
    Type - PL/SQL anonymous block
    Process Point - On Submit - After Computations and Validations
    Conditions - When Button Pressed (Process After Submit When this Button is Pressed) select your button.
    Without Submit:
    Create a Advanced Dynamic Action
              Event - Click
              Selection Type - jQuery Selector
              jQuery Selector - <Selector to select your button> (for e.g. #BUTTON_123 where BUTTON_123 is ID of your button)
              Next >>
              Action - Execute PL/SQL
              PL/SQL Code - Put your PL/SQL Code here
              Page Items to Submit - Typically List of pages items you want to access in PL/SQL code
    Hope it helps.
    Regards,
    Hari

  • Refreshing  the  list  output   upon clicking  a  push button

    Hi All,
       How  do i  refresh the <b>list  output(not ALV)</b>  already  displayed  upon  clicking  a  push -button  under  AT  USER-COMMAND ,if  at   all   it  is  feasible ?
        Any  pointers will be rewarded with points.......
    Regards
    jaman
    Message was edited by:
            ABAP Techie
    Message was edited by:
            ABAP Techie
    Message was edited by:
            ABAP Techie
    Message was edited by:
            ABAP Techie

    Hi,
    Try with the method "refresh_table_display". 
    It has the syntax very similar to creating the table. It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)
    Regards,
    Bhaskar

  • Disable Or Remove Extensions in Safari Open Safari. Click the Safari button, and then click Preferences. Under Preferences, click Extensions, and then do one of the following: To disable ALL extensions, click the toggle switch from ON to OFF. To disable a

    I FINALLY FOUND A WAY TO UNINSTALL "COUPON-DROP-DOWN" ANNOYING POP-UPS.
    Disable Or Remove Extensions in Safari
    Open Safari.
    Click the Safari button, and then click Preferences.
    Under Preferences, click Extensions, and then do one of the following:
    To disable ALL extensions, click the toggle switch from ON to OFF.
    To disable a single extension, click it, and then uncheck the Enable box.
    To remove a single extension, click it, and then click the Uninstall button.
    Click the X in the top right.

    Hello Wontsey & Welcome
    On 6-4-06 I installed Norton Internet Security 3.0.1 for Mac. I thought maybe my problem was related to the firewall part so I unistalled it and turned the Apple firewall that came with the computer back on.
    This did not help. In fact, when I try to open “Help” from the desktop menu the program opens and then immediately closes so I can’t access it.
    I hate to have to tell you this Norton is the problem, looking into uninstalling it, the uninstallers that came with it are not effective so no matter you do not have the CD/DVD go to their site to get the Uninstaller
    UseCocktail or OnyXto find the invisable files. Just follow Macjacks directive.
    This is covered in this Topic thread,abandoning Norton Internet Security see the files Macjack speaks of in the topic thread. If you have questions post in the same forum a new topic this thread is archive, click on the link and then click"back to topic list". This is why i first came to Apple discussions, to get help with the mess Norton can make on Panther and found help as you will. It is not a Safari issue per say, rather a Norton problem.
    Best of luck.
    Regards; )
    Eme~

  • How to open another Swing Screen from a click on a button

    hi All
    i want to open a screen on a click on a button also tell me what is the correct way does i write the internal frame and add all gul components in constructor or call some other function by creating it object in actionperformed method of button
    PLZ Help

    If you want to use JInternalFrame then you have
    JDesktopPane. you add all the internal frames in JDesktopPane.
    while JDesktopPane is added in the main JFrame.
    something like this
    JFrame mainFrame=new JFrame("main Frame");
    JDektopPane desktopPane=new JDesktopPane();
    mainFrame.getContentPane().add(desktopPane);
    JInternalFrame iFrame=new JInternalFrame();
    /....your logic and iFrame settings.
    desktopPane.add(iFrame);--
    As per buttons, I think those buttons are the buttons added in JToolbar

  • I purchased the Adobe Creative Complete Plan for Annual Prepaid, and the Check Out just wouldn't proceed. It is still loading after click the confirm button. Dear adobe staff, please assist urgently.

    I purchased the Adobe Creative Complete Plan for Annual Prepaid, and the Check Out just wouldn't proceed. It is still loading after click the confirm button. Dear adobe staff, please assist urgently.

    I am having a similar problem. I am using Chrome and tried on Mac and on PC but the same. Its not completing my order and on PC saying:
    We were unable to process your payment please contact our customer support.......... etc
    But strangely its giving a confirmation button again. It gave me this error upon reconfirmation:
    PMT_000011 : adbehme, en_IE, There is money to authorize, But no Aurthorize delegated were applicable, 12834289525

  • I get a tab opening that says that I have won and to click on the button to get my prize, I am unable to close that and therefore uninstalled Firefox... What is that all about? It appears to be malware.

    The tab that opens does so in a second tab after the home page tab has opened, but it does not allow access to the home page tab, and it will not allow closing of the tab. It says that you have "WON", and you need to click on the button to collect your prize. It is clearly malicious software, but what, why and how to avoid it is not at all clear. It does not corrupt Internet Explorer.

    Click the Firefox button, go to Options | Options | Advanced and in the General tab, remove the checkmark from "'''Warn me when websites try to redirect or reload the page'''".
    You won't get that dropdown banner anymore afterwards.

  • When I click the home button, it takes me to my home page AND opens a blank tab. How can I get it to stop opening the new tab!

    I have igoogle as my hompage. When I click the home button, it will open my igoogle page but also open up a blank tab as well. Firefox didn't always do this, it just started. Maybe when I upgraded to the 5.0. I've tried looking in the options and I can't find something there and there doesn't seem to be a solution on the web. How do I get it to stop doing that?

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Restore the default home page
    * https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_restore-the-default-home-page
    Check and tell if its working.

  • When I open firefox 4 beta the webpage does not load and i am unable to click on any buttons or access menus

    This has only started happening today. When I start firefox 4 beta it opens and begins to load my homepage (google.co.uk) but the page never fully loads and firefox freezes. I am unable to click on any buttons on the navigation bar or access menus. Keyboard shortcuts are also unresponsive.
    All that I am able to do on the browser is to use the three window buttons in the top right of the screen (minimise, maximise and close).
    After closing the window if I try to open it again I get a message saying that Firefox is already running, but not responding. Once going into task manager and stopping firefox under the processes tab and then restarting firefox the window again freezes as soon as it opens.
    I have tried restarting my computer and reinstalling the beta but with no success. I am still able to use firefox 3.6.13 as well as chrome with no problems.
    Any help would be much appreciated

    I had this too. Starting firefox in safe-mode and disabling all add-ons solved the problem. After re-enabling all add-ons did not bring back the problem.

  • When I left-click the home button, how can it open my home page in a new tab?

    I thought it used to do that. I had to do a clean install of Windows, I believe I was only on FF 22 or 23 when this happened. Now I'm on FF 26 and obviously all my settings are gone.
    I'm 99% sure that when I left-clicked on my home button, it opened my home page in a new tab. I know I can middle-click to get that affect, but it used to be left-click and I do that automatically now. But I don't want to lose the current window I have up, so something's wrong.
    Anyone know how to fix this? Or an add-on to do this?

    If you hold down the Ctrl key while left clicking the Home button then the home page opens in a new tab.<br />
    You can also middle-click the home button like you can with any other link

  • How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn- the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign.

    How can I turn-off the apps which I have opened once in ISO 7.0.2. In previous version of ISO it was easy to turn-off the opened apps by double clicking on home button and then click and hold on respective apps then click on cross sign but in this version I could not do so and my iPad appears slower.

    Close inactive apps
    1. Double tap the home button to bring up the multi-tasking view
    2. Swipe the app's windows upwards to close
    3. The app will fly off the screen

  • Everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Stores and sifnout and sign back in
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • How to open a window on click of a button?

    Hi,
    I want to open a window(a new browser page) on the click of a button.Can anyone please tell me what i should write in the onAction of the button?
    Regards,
    Padmalatha.K

    hi,
    1.Declare the following in the implementaion of the component controller
    //@@begin others
      IWDWindow modalWindow;
      //@@end
    2.First create a method in the component controller :
    public void createExternalWindow( )
        //@@begin createExternalWindow()
        // create external window
        IWDWindow externalWin = wdComponentAPI.getWindowManager().createNonModalExternalWindow
                                                            ("http://www.google.co.in/", "External");
        //Define window position and dimensions according to acreen parameters
        externalWin.setTitle("Google");
        externalWin.setWindowPosition(WDWindowPos.CENTER);
        externalWin.setWindowSize(1280,850);
        externalWin.show();
        //@@end
    3.Create a button in the view, create an action. assign this action to the button . Now call the method in the view controller.
    public void onActionexternal(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionexternal(ServerEvent)
        wdThis.wdGetPopUpCompController().createExternalWindow();
        //@@end
    Now to create a modal window
    1.Declare the following in the implementaion of the component controller
    //@@begin others
      IWDWindow modalWindow;
      //@@end
    2.Create a new window "NewPopWindow".Declare the following in the implementaion of the component controller.
    public void createModalWindow( )
        //@@begin createModalWindow()
        //creating the window
        IWDWindowInfo winInfo = wdComponentAPI.getComponentInfo().findInWindows("NewPopWindow");
           modalWindow = wdComponentAPI.getWindowManager().createModalWindow(winInfo);
        //display window in centre
        modalWindow.setWindowPosition(WDWindowPos.CENTER);
        modalWindow.setTitle("Modal Window");
        modalWindow.setWindowSize(400,100);
        //opening the window
        modalWindow.show();
        //@@end
    3. destroy the window
    public void destroyModalWindow( )
        //@@begin destroyModalWindow()
        modalWindow.destroyInstance();
        //@@end
    4.Create a button in the view, create an action. assign this action to the button . Now call the method in the view controller.
    public void onActionmodal(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionmodal(ServerEvent)
       wdThis.wdGetPopUpCompController().createModalWindow();
        //@@end
    regards,
    pinki
    Edited by: pinki goswami on Apr 17, 2008 11:42 AM

  • Open new window on click of a button

    Dear All,
    We are using VC for development of Dashboards.
    I have created the related i views.
    First page of dashboard shows all the high level graphs.
    I intoduced a button on the chart to go into details (another Iview)
    I was able to navigate to the next layer on click of button in tool bar and comeback to the first layer again.
    I want to open a new window when I click on the button on the tool bar of chart..
    Is it Possible in VC? Please help us in this regard.
    Points assured in full.
    I have already posted this issue in the forum VC 7.1. But I couldn't get the answer.
    Please Help us.
    Thank You All and Regards
    Joga Srinivasa

    Dear All,
    Sorry for getting back late.
    Thanks for your inputs. Problem is solved using pushbutton. I gave the URL of the second Iview in the hyperlink of the pushbutton system action.
    The problem with the Popup window is that it wont allow you to to go back and choose or analyze other parts of dashboard. so we adopted the pushbutton approach which takes you to another window allowing full access to the main window.
    Once again, Thank you all.
    Points assigned as promised.
    Regards
    Joga

  • Adobe reader opens "save as" box when clicking on save button rather than saving in the same file

    Hi everybody,
    I have a fillable PDF form designed in Livecycle designer and it is reader extended. When I fill that form on MAC it let me fill and save the form as many times as I like. Everytime I make any change I just click the save button it saves changes in the same form. BUT is is behaving differently on Windows. After filling the form out when I click on save button it opens up "Save as " dialogue box to save a new copy with those changes. I have Adobe reader XI and Adobe Acrobat XI installed on windows. I know I can do that with Acrobat but I want that in reader for users who dont have acrobat.
    Please help me.....
    Thanks

    What are you filling out the form with on the MAC?

Maybe you are looking for

  • Stretching image to snap to preestablished paths or guides.

    Hi, everyone. I have an important task at hand and don't know how to do it in Photoshop. I hope my explanation will make sense. Here is my situation: I have an existing image that I must stretch (using whatever tools are best for this) so that this i

  • Dust marks on the 'inside' of display

    I have had my 24" iMac for just under a year. 3 months ago, I noticed strange dust-like marks on the inside of my display. They are definitely on the inside because i tried cleaning the display and they did not go away. This suggests that the iMac is

  • Please help-----Error in logon page

    Hi Experts, The version is OBIEE11.1.1.6.5. I did following this URL for Usage Tracking. [http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/ut/ut.html|http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi1116/ut/ut

  • Sql server 2012 reports

    If i develope reports using SQL server 2012 reporting services, can i upload the reports on SQL server 2005 report server and SQL server 2008 Report server ?? h2007

  • Editing chart Axis label

    Hi. I have a report where one chart repeats one time, and in Preview, I am able to click on the Axis label and find an option to Edit the label, where I define 1 - 12 as Jan - Dec. However, another chart repeats for 80 or so pages, thus I can't use P