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

Display XML forms in a single window-URGENT!!!!!!!

Hi,

I created a project with XML forms Builder. It is working but the thing is that now i just want to display all the forms in the same window. Means that when i want to edit a new item instead of a new window i want to work in the same browser.

Is that possible by configuring a resource renderer(NewsRenderer for example)?

Otherwise do u know another solution?

Please i need help.

I found a topic in the forum (thread below) https://forums.sdn.sap.com/thread.jspa?threadID=46122&messageID=466382

But i didn't understand all the points.

So if someone know something please answer.

Thx in advance.

MJ

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2006 at 10:09 AM

    Hi MJ,

    as described by Detlev in the thread you mentioned you can either modify the SAP code for generating the XSL or you edit manually the XSL of your project.

    The easier option would be the second one, but you have to keep in mind, that you have to do this steps after every new generation of your XML Forms project.

    What you need to is, to go to the XML project folder (/etc/xmlforms/YOUR_PROJECT) and download the file YOUR_PROJECT_NewsRenderListItem.xsl. Search and replace "_blank" by the target type you like (see MS-link in the other thread), for instance "_top", "_parent", or "_self". Afterwards replace the existing file by uploading the changed one.

    Hope this helps,

    Robert

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Robert,

      I did as u said: I downloaded the file <u>YOUR_PROJECT_NewsRenderListItem.xsl</u> but i didn't find any <b>_blank</b> in the text. Let's say i have exactly the same problem than in the previous thread, i don't know where to add the URL and where to replace _blank.

      I don't know where to find the method <u>CreateXSLDocument</u>(Detlev thread) and what is its interest?

      Can u please explain where i can find "xinfo=window.open(url,'_blank',params)"? It should be (according to Detlev) in <u>com.sapportals.wcm.app.xfbuilder.server.generator.xsldocs.CreateXSLDocument</u> but i really don't know how to reach this address.

      Thx a lot!!!

      best regards

      MJ