How to open a JClient Form from another JClient Form in different project?

Sir,
In my application, there are two model projects Ma and Mb, and two view projects Va and Vb. There two forms Fa and Fb in Va and Vb respectively.
Now I like to open form Fb within form Fa. How can I do that?
Please give me some code so that I can fully understand. Thanks a lot.
Regards
Stephen

Here is how I got it working
1. open the projects and make sure the Dependencies are checked for the other project
2. open the JClient client project that contains the calling form
3. select the databinding.cpx file and you see that one datacontrol is used
4. To add the other datacontrol (the other BC project) select an attribute from it in the data control palette and drop it to the calling JClient panel.
5. Delete the create item because all that we care for is to get the the second data control registered in the project's cpx file
6. Open the databinding.cpx file of the second (the called JClient project) and copy everything between the <containee> elements into the clipboard. Note that you can have one or more of them
For my example, the databinding.cpx content of the second JClient project contained the following binding reference
<Containee
id="FormUIModel"
ObjectType="BindingContainerReference"
FullName="mypackage3.FormUIModel" >
</Containee>
7. Open the databinding.cpx file of the calling project in a text editor and paste the content of the clipboard to it. Save the file.
8. Add the following code to a button that calls the JClient form in the other project (in my example the called form has a name of "Form" and is in a packe mypackage3 that I imported
Form frm = new Form();
frm.setBindingContext(panelBinding.getBindingContext());
frm.setVisible(true);
The reason you have to do all this is because the binding context is passed from one form to the other, which means that its databinding.cpx file need to contain all the binding information.
You could make your life a lot simpler if you don't use two model projects. But this is your design decision and i can only tell you how to get it working.
Frank

Similar Messages

  • How to open Adobe Reader file from another native IOS application?

    There is an existing thread, but I want to re-open it because I think this is an important feature that we need badly.  I was wondering if there is any plan to add this feature so we can open PDFs directly into Adobe from the web / other apps.
    How to open Adobe Reader file from another native IOS application?
    Basically, we just want to use a custom URL scheme to open a specific document in the App.  Currently, this only opens the app but does not load the file.
    APB

    Not to hijack the conversation but I can explain why this would be useful for both the above case and another.
    What I believe Pavel is talking about is setting up a "URL Scheme" for the Adobe Acrobat iOS application so that you can easily open a PDF specifically in Adobe Acrobat iOS from other native applications and even from web applications opened within Safari. This is particularly useful if your application requires some of the specific features in Adobe Reader iOS to grant them the best experience possible and you want to encourage this.
    Another case: If you're using Adobe Livecycle's document security modules (that encrypts PDF files so that Adobe Acrobat must "phone home" to decrypt and view the document), these PDF's can only be viewed inside the Adobe Acrobat application and appear as blank in most other PDF readers. Having a URL scheme allows your application utilising this functionality to have a 1 click step to view the PDF rather than the current non-user friendly process:
    - Within Safari, touch the PDF link (appears as blank in the default Safari PDF reader, which in itself is confusing)
      - Touch "Open in..."
      - Touch "Adobe Acrobat"
    We have an immediate need for this functionality for the example above. I can resubmit it in a separate post if necessary.

  • Calling application form from another application form

    hi
    I am working on application forms in SAP-ISU. I wanted to call one application form from another application form. Please help me.
    Regards,
    suresh
    [email protected]

    Hi,
    Suppose there r 2 applications X and Y.  There will be 1 programe associated with each applications.
    We have to change the programe of 1 application and call 2nd programe in the 1st programe using SUBMIT keyword.
    Reward points if useful.
    Regards
    (YUGANDHAR.P)

  • How to call a swing form from another swing form by clicking a button

    i created a swing frame , this frame have a form and an internal form. in this form have 3 buttons OK , CANCEL , NEW. i created some other forms i.e OKFORM, CForm,NForm. i want to invoke the OkForm when i click OK Button, Similar implimentation for other buttons too. i want the button logic to invoke other form. please send reply ASAP.

    A great resource that has helped me and will probably help you is an article entitled [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] . It will tell you how to formulate your questions so that the folks here will be better able to answer them.
    For instance, just what is a form?
    I notice that you've posted twice before and that both posts stimulated responses like mine, responses that asked for clarification, and that you never replied in either of the previous threads. Again, I urge you to read the link above ASAP, else you will find fewer and fewer people interested in helping you.
    Good luck.

  • How to derive a variable value from another variable of a different IO?

    Hi Gurus,
    I am aware that using BEx variables and Customer Exit you are able to derive a variable value from another variable of the same infoobject (for example, Fiscal Year/Period (0FISCPER) and Calendar Day (0CALDAY)).
    However, is is possible, using the same approach to derive a variable value from another variable that is in a different InfoObject? (for example, Input Fiscal Year/Period (0FISCPER) but derive Output of Required Start Date (0REQSTDAT))?
    There are 2 BEx variables involved,
    1) A user entry variable that is restricted in 0FISCPER
    2) A customer exit variable that is restricted in ZREQSTDAT
    In CMOD under EXIT_SAPLRRS0_001, Include ZXRSRU01, the code (I assume, correct me if I'm wrong) should perform 3 functions in I_STEP = 2,
    1) After the pop up, capture user entry of Fiscal Year/Period
    2) Identify or convert Fiscal Year/Period to Calendar Day range (unsure on how to code this portion)
    3) Use the Calendar Day to lookup on matching Required Start Date and display all Required Start Date that matches. (unsure on how to code on this portion)
    Hope to hear your thoughts soon.
    Regards,
    Eric

    Hi Shanthi,
    I've made the necessary adjustments. The only difference in my code is,
    Instead of,
    If I_VNAM = 'ZREQSTDAT'
    I use,
    CASE I_VNAM.
    Instead of,
    PARAMETERS: ZFISCPER TYPE /BI0/OIFISCPER.
    ZYEAR = ZFISCPER(4).
    ZMM = ZFISCPER+4(3).
    I use ,
    This is the Customer Exit Variable in ZREQSTDAT
    WHEN 'ZRSD_CX'.
    The loop I use for the User Entry Variable in 0FISCPER-ZFYP_IN
      LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
          WHERE VNAM = 'ZFYP_IN'.
        IF SY-SUBRC = 0.
            CLEAR L_S_RANGE.
    ZYEAR = LOC_VAR_RANGE(4).
    ZMM = LOC_VAR_RANGE+4(3).
    The codes were checked with no errors.
    However, when I input the Fiscal Year/Periods and hit 'Execute'. The report went blank, not sure what is the cause. I've tried it several times. No error message appeared.
    Regards,
    Eric

  • How to open or call Excel from an Oracle Form in Apps11i

    I have a custom form in Apps 11i from which I need to be able to open an Excel spreadsheet. I'm aware that it is possible to a spreadsheet that is available on the local drive from a form, but can it be done from Applications ?

    If you do by yourself, you may call report in excel format, as of editing and saving back to database, you may need think other ways.
    webutil may be hhepful.

  • Calling custom form from another custom form giving problem

    Hi
    my requirement is when i am populating value in one form field from LOV ,
    i wrote when-validate-item trgger
    this trigger calls in turn another form for approval
    so i use the following command in trigger
    DECLARE
    -- variable added by deepak on 16-05-2006 starts here
         --to make PROF_description enterable
         L_PROF_TERM_WARNING_AMNT NUMBER;
         L_PROF_TERM_AMNT NUMBER;
         L_PROF_DEPOSIT_PAID NUMBER;
         L_AUTORIZATION VARCHAR2(1);
         --variable added by deepak on 16-05-2006 ends here
         --code added by deepak on 16-05-2006 starts here
         BEGIN      
                        BEGIN
                             SELECT PROF_TERM_WARNING_AMNT ,PROF_TERM_AMNT ,PROF_DEPOSIT_PAID ,AUTORIZATION
                             INTO L_PROF_TERM_WARNING_AMNT,L_PROF_TERM_AMNT,L_PROF_DEPOSIT_PAID,L_AUTORIZATION
                             FROM XXPOS_CUSTOMER_PROFILES_GTB XCP
                             WHERE XCP.PROF_DESCRIPTION = :POSTPAID_DET.PROF_DESCRIPTION;
                        END;
                        BEGIN
                        IF L_AUTORIZATION ='Y' THEN
                             :GLOBAL.auth_user_id := NULL;
                             FND_FUNCTION.EXECUTE( FUNCTION_NAME=>'XXAUTHSC',
    OPEN_FLAG=>'Y',
    SESSION_FLAG=>'NO_SESSION',
    OTHER_PARAMS=>NULL,
    ACTIVATE_FLAG=>'ACTIVATE',
    BROWSER_TARGET=>NULL);
                        IF :GLOBAL.auth_user_id is not null THEN
                             :POSTPAID_DET.PROF_TERM_WARNING_AMNT := L_PROF_TERM_WARNING_AMNT ;
                        :POSTPAID_DET.PROF_TERM_AMNT := L_PROF_TERM_AMNT ;
                        :POSTPAID_DET.PROF_DEPOSIT_PAID := L_PROF_DEPOSIT_PAID ;
                        ELSE
                             RAISE Form_Trigger_Failure;
                        END IF;
                        ELSE
                        :POSTPAID_DET.PROF_TERM_WARNING_AMNT := L_PROF_TERM_WARNING_AMNT ;
                        :POSTPAID_DET.PROF_TERM_AMNT := L_PROF_TERM_AMNT ;
                        :POSTPAID_DET.PROF_DEPOSIT_PAID := L_PROF_DEPOSIT_PAID ;
                        END IF;
                        END;
              END;
    but while running it is giving error:
    it is not popup the desired second window and displaying following error
    Illegalrestricted procedure OPEN_FORM in when-validate-item trigger
    IF anyone has any idea on this, it will bw highly appreciated.
    regards
    deepak

    You can use a timer in your when-validate-item trigger. In the when-timer-expire trigger you can call the procedure open_form

  • How to call a Jclient form from another project?

    In my workspace, there are three projects. One is for business components. The other two are Jclient forms applications. Can I open a Jclient form from another Jclient form in another project?
    I used to create multi_form accounting application using Oracle Form Builder in which I can call a form from another form.

    Just set one project to be dependant on another in the project settings dialog of the former. This should work.

  • When clicked on an icon in the infopath form, it will open another infopath form from another file. How do?

    When clicked on an icon in the infopath 2013 form, it will open another infopath 2013 form from another
    file. How do?

    Hello Eugene Astafiev!
    I need the following scenario: 
    I have a Sharepoint library with items created by Infopath (form A). 
    I developed another form (form B) that will query items created by form A. 
    The form B will be in a static "webpart" page navigation (Sharepoint). One of these fields returned by the query library that manages the items created is the URL responsible to load the item data . I would like to parameterize the URL into form B.
    So that when the user clicks on it, the form A with their respective data in a modal is returned (which may be a native modal Sharepoint)

  • Frm-92101 happens when I open a form from another form and close it.

    Frm-92101 happens when I open a form from another form, check something, show a message to the user and exit the form to the previous form.
    Forms version: 10.1.2.0.2. Java: 1.6.0_23. Browser: IE6
    When I put before the "EXIT_FORM" two messages, everything is fine and the second form is closed and I repeat to the first form just as I wanted.
    In forms 9.0 it didn't happen.
    Does it have a connection with the fact I use JRE instead of JInitiator?
    Thank you.

    >
    There are numerous causes of the FRM-92101 error. I recommend you start your investigation by tracing your Forms session so you can see what your form is doing when the error occurs. Check out My Oracle Support document How to Use Forms Trace with Forms [ID 209372.1] for information on how to enable the trace. Also, take a look at My Oracle Support document Known Causes of FRM-92101 Error In Forms [ID 604633.1].
    Hope this helps,
    Craig
    >
    I have just found that there is a "Synchronize" command in one of the main attached libraries, and when I comment that command the application works well. But I don't want to comment it because it's a great library and I assume it has a part in the system.
    I have discovered that in the new Forms' help, the fact that the System.Current_Item mustn't be null so the command "Synchronize" will work, is mentioned. In the old Forms' help, that fact is not mentioned.
    So I tried to put it inside a condition that checks if the current item is not null, but the compiler doesn't recognize the "current_item". I don't know why. Because it's a library? So how can I check this? I can sent it as a parameter, but I don't want. Do you know something about it? Thank you.

  • How to call Oracle form .from another application like VB 6.0

    Dear ALL,
    I want to call oracle(Developer) form ,from another application (VB 6.0).I want to call the form in such
    a way that user dont need to enter login and password.I will hard code the username and password
    in my VB 6.0 application.User only press a button on Visual Basic 6.0 form and and that button will
    open required Orcale form.How can I DO this.PLEASE HELP............
    Regards

    You have the command in VB 6.0 to run any exe files right (I think it is the system command). Next to that command place the following code to run your forms application
    ifrun60.EXE <forms.fmx with complete path> userid=<username>/<password>@<connection string>.
    Regards,
    Senthil .A. Perumal.

  • Open the form from another form...

    How can I open the form from another form with the PL/SQL code???
    The my form are create from OracleDesigner and developed with OracleBuilder.
    Regards
    Basilisco Giorgio

    You can read "About calling reports, displays, and other forms from generated forms" topic in the Designer on-line help. By the way in Forms there are CALL_FORM,OPEN_FORM and NEW_FORM built-ins.
    Helena

  • How to open a JSP page from a form ??? plz help

    hi ..
    i want to know how to open a jsp page from a oracle apps form using a button .
    the requirement is that whenever we click on the button created on the form, it opens a jsp page.
    plz help me ..its urgent !! :-(

    In portlet project, to navigate between pages, you should not use the URL property to link to a page. Instead, portlets use navigation via action handling. You use the Page Navigation editor to set up links to pages; that is, the navigation editor sets the action property.
    Here is an example to hyperlink ans button to open a new page:
    # From within the IDE, create a new portlet project. This action creates the project and one page, PortletPage1.jsp.
    # Create a second portlet page, called PortletPage2.jsp, for the project.
    # Drop a Hyperlink component onto the first portlet page, PortletPage1. (You can drop the Hyperlink on the page in the Design window or on the PortletPage1 node in the Outline window.) Change the Hyperlink's text property to Next Page.
    # Drop a Button component (found in the Basic section of the Palette) onto the second portlet page, PortletPage2.
    # Open the Page Navigation Editor. It displays the two pages (PortletPage1.jsp and PortletPage2.jsp) of the application.
    # Click the PortletPage1.jsp icon in the Navigation window to expand it, and then drag a connector from hyperlink1 to PortletPage2.jsp. Change the name of the connector from case1 to Page2.
    # Click the PortletPage2.jsp icon in the Navigation window to expand it, and then drag a connector from button1 to PortletPage1.jsp. Change the name of the connector from case1 to Page1.
    # Run and deploy the portlet. The browser displays PortletPage1 and you should see the Next Page hyperlink. When you click the Next Page hyperlink, the Apache Pluto Portal server displays PortletPage2. Click the Page2 button to return to PortletPage1.
    Sherry
    Creator Team

  • How to refer the trigger written in one form from another form ?

    How to refer the trigger written in one form from another form ?
    Thanks,
    Ravi Shankar

    Try to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
    and then attach that PLL in your forms.
    Note that all Forms objects should be referenced indirectly, for example,
    you have to rewrite
    :B1.DEPT_CODE := :B2.DEPT_CODE;
    :B3.TOTAL_AMOUNT := 100;
    ==>
    copy('B2.DEPT_NO','B1.DEPT_NO');
    copy('100','B3.TOTAL_AMOUNT');
    This is the best way to share PL/SQL code among Oracle Forms.

  • HOW TO CALL A FORM FROM ANOTHER FORM

    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]

    Balraj wrote:
    HOW TO CALL A FORM FROM ANOTHER FORM [local machine]The way you asked question is this bit of request or order?
    Secondly, you used capital latters which are being treated as Shouting Language. So, always try to switch off the Capslock of your keyboard.
    Thirdly, you are very lazy to serach on forum or google for your problem instead of waiting someone to anwer your question.
    Your should seriously have a look at FAQ.
    http://wikis.sun.com/display/Forums/Forums+FAQ
    Also here.
    http://www.catb.org/~esr/faqs/smart-questions.html
    Please read documentation for the initial questions.
    -Ammad

Maybe you are looking for

  • How I can fix my music pics?

    I tried to transfer a movie from my ipad to pc and it didn't work but instead something happen My songs cover , I mean the pictures of singers is not there music still in library but  I like to have the pics of The singers someone help me please. Tha

  • LaCie external hard drive keeps losing connection to Windows 8.1 computer

    Hello all, My LaCie external hard drive (Rugged version) seems like it keeps losing connection to my brand new Windows 8.1 laptop. The laptop is an HP Pavillion 15-p 133cl TouchSmart Notebook which I just got today. Basically, every few minutes, or i

  • Can i use my 1st Generation Ipad to sync music to and update my Iphone 5, even though the Ios is different?

    Im looking to get rid of my Dell laptop as all i use it for is updating my Ios and syncing music, pictures and such to to Iphone 5, rather than buying a newer laptop i was wondering if its possible to use my old 1st gen Ipad to sync these things to a

  • Detail report

    Dear SAP Friends, Is there any Standard report which shows Daily customer requirement,daily production confirmation & daily sales on one screen? If not then how we can get that? Where we can put the data manually or from where system may pick up data

  • Return vendor material

    Hi, I have 2 questions. 1) Return material to vendor: I receive consigned material. We transfer this material from vendor consigned stock to own stock using 411K. Now we wish to return this material to vendor. Can I send material back directly from o