Skip to Content
avatar image
Former Member

New JSP in workarea

HI ALL,

I have a new jsp created,and a new link in the header next to "Catalog" link,

how can I make the new jsp to open in the workarea frame and not opening a new page?

Thanks!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Apr 10, 2010 at 04:09 AM

    Little bit of HTML frames refresher and the B2B frame layout.

    You can get the refresher from [HTML Frames - Targets|http://www.htmlcodetutorial.com/linking/_A_TARGET.html]

    In your case, the scenario is a frame with a specific name.

    Now, if you have not seen or read the Extension Guide and the Tutorial, it is time to get the documents now. You have several threads pointing to those documents. If you quickly refer to page 11 of the Tutorial document, you will find this lovely picture of the Frames in the B2B application.

    The target you are looking for is probably the isaTop.work_history.form_input.

    You can add more elegance to your code by "copying" how the standard B2B application JSPs send the HTML t the frame targets.

    See the JS file /b2b/jscript/frames.js and the JSP file /b2b/refresh_basket.jsp

    Easwar Ram

    http://www.parxlns.com

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      tried calling the function in frames.js,

      code :

      Form_input().location.href = ' z_getCuentaCorriente.do"/>'

      and I get error : *'location' is null or not an object *

      thanks