Skip to Content
author's profile photo Former Member
Former Member

JavaScript

Hi All,

I am trying to create a webpage that will contain a form and iframe. The form contains 4 input fields and a button to update the iframe. The iframe will display the results from a JCO Call transaction by passing default values of 4 parameters. I am using a function call in my JavaScript. It passes parameters to an irpt file in iframe that triggers the JCO Call transaction. But my program is not calling the transaction as expected. Could anyone give me an idea about some common mistakes one might make? Thanks in advance.

Regards,

V M.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 01, 2008 at 06:17 PM

    Have you invoked the irpt directly with the four parameters and had success? Can you paste in the javascript that you are using? Are you using an Xacute query to execute the JCo Transaction or using runner? Why are you using an iframe instead of a table? It might simplify your coding.

    What version of xMII are you using? Any other details you think might be of use, please provide.

    Thanks,

    Mike

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 02, 2008 at 03:10 AM

    Hi Venki,

    I hope its better to use Tables than Frames.

    You need to create an Applet which inturn has the Xacute Query (i.e the Query that calls transaction) and then you need to pass parameters for that Query if its necessary from Frontend.

    I have sent you sample Page you can just check.

    Regards,

    Rao

    Edited by: Craig Cmehil on Jul 3, 2008 3:28 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • I completely disagree on your comment against frames, since the use of iFrames can be leveraged very nicely with irpt pages and significantly enhance the user experience. Not only will the pages themselves be much easier to manage than one large complicated page, but they can also be called directly or from other relevant areas within the application.

      Regards,

      Jeremy

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.