New JSP in workarea
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?
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