Previous page in error page

Hi
How do I know the the page that throw exception in the error page?
I used request.getHeader("Referer") but returns null.
I there any other solution?
Best regards
Lu�s Matos

Sorry, I just tested it and you are right (weird enough, the URL in the address bar remains the same as the requested URL, which means that there is no new request invoked and that's why I suggested you to use the request.getRequestURI()).
After a little research I found out that you can use errorData for this.${pageContext.errorData.requestURI}Source: [http://www.onjava.com/pub/a/onjava/2003/12/03/JSP2part2.html]

Similar Messages

  • JSF page as error-page location (WSAD 5.1)

    I know that in the Core Java Server Faces book, there is an example of how to do this. They do it with f:subview with a note that the RI is buggy and f:view does not work.
    In WSAD 5.1, neither subview or view works. Is anybody doing this with WSAD 5.1?
    My current workaround is to have a servlet as the location, the servlet then forwards to the faces page, but this is less than ideal.

    Here is a workaround for Error Handling with an Error Page.
    http://www.jroller.com/page/mert?entry=handling_errors_with_an_errror

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render.
    The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
    Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
    When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
    If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
    To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
    I found in one of the weblogic forum as no solution for this issue. Ref.
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
    Please provide me any solution to resolve the problem.

    Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.

  • How to handle error pages in JSF

    Hii,
    I am facing problem in JSF handling server side errors like faces exception.
    For Ex; if i have a JSF screen,if i enter invalid data it will show error in the same page if i use messages tag,but i need to display errors in another page like error pages.
    i tried to do as we do in JSP,but facesServlet is not supporting.
    i am very thankful if anyone can help.

    How about asking in the JSF forum where the experts are?

  • Problem displaying error page of web.xml when using JSF, Ajax4jsf

    Hi,
    My application is using MyFaces, RichFaces and Ajax4jsf. When i try to display error page configured in web.xml, i am getting exception "Error while processing error page".
    my web.xml contents are as follows:
    <?xml version="1.0"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>faces</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-class>
    org.apache.myfaces.webapp.filter.ExtensionsFilter
    </filter-class>
    <init-param>
    <description>
    set the size limit for uploaded files. Format: 10 - 10 bytes 10k
    - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadMaxFileSize</param-name>
    <param-value>100m</param-value>
    </init-param>
    <init-param>
    <description>
    Set the threshold size - files below this limit are stored in
    memory, files above this limit are stored on disk.
    Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
    </description>
    <param-name>uploadThresholdSize</param-name>
    <param-value>100k</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>Seam Redirect Filter</filter-name>
    <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
    </filter>
    <filter>
    <filter-name>KTServletFilter</filter-name>
    <filter-class>com.kenexa.core.system.KTServletFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>extensionsFilter</filter-name>
    <url-pattern>/faces/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>Seam Redirect Filter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>KTServletFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- seam Listeners -->
    <listener>
    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
    </listener>
    <listener>
    <listener-class>com.kenexa.kr.web.KRServletListener</listener-class>
    </listener>
    <servlet>
    <servlet-name>faces</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>faces</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsf</location>
    </error-page>
    </web-app>
    As per the configuration, when exception is thrown out of the application, container tries to display systemError.jsp page. If we want to include the JSF tags in systemError.jsp page, the request should pass through FacesServlet, so in the <error-page> <location> tag systemError page is specified with the extention systemError.jsf though it's actual extention is .jsp
    When exception is thrown from the application container invoke the error page but, while rendering systemError.jsf page exception is thrown saying "Exception processing error page "systemError.jsp" "
    To solve this problem i've gone through several forums, materials.
    In one forum a guy said, JSF1.1 spec has some problem in displaying error pages. To solve this don't write <f:view> tags in the error page, use <f:subview> intstead. By reading this, i again changed the contents of systemError.jsp page replacing <f:view> by <f:subview>. But the error is still repeating.
    Finally what i found is, when we use Ajax4jsf in the application, its AjaxViewRender class is throwing exception while rendering error pages configured through web.xml.
    So what i did is i changed error page extention from .jsf to .jsp in the <location> tag. Now jsf won't come in the picture and remove JSF related tags from the systemError.jsp page.
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>/rc/systemError.jsp</location>
    </error-page>
    Any comments are welcome----------------------------------------------------------------

    I too iam facing the same problem could you advise if you have found any solutions
              -Ram

  • J_security_check - custom error page

    Hi all,
    I've successfully run jazndemo - callerInfo sample from
    Oracle 9iAS and OC4J - version 9.0.3
    I then modified web.xml to use FORM-based auth,
    instead of BASIC auth.
    I utilize j_security_check for this purpose.
    FYI:
    - I use JAZNUserManager with XML (jazn-data.xml)
    - My browser is IE ver 5.0
    - I use OC4J 9.0.3.0.0
    This is the excerpt of my web.xml:
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>login.html</form-login-page>
    <form-error-page>error.html</form-error-page>
    </form-login-config>
    </login-config>
    It does run properly when I supplied correct userId and
    correct password, BUT if I supplied wrong UserId and/or
    password, OC4J ALWAYS display generic 403 (Forbidden) page !!
    Is it a bug?? It should display error.html instead.
    Please give me a hand on this, this thing really
    frustrate me..
    Any pointer would be a great help,
    Thanks in advance,
    --fadly

    After I re-read the post to make some sense out of it I have to add
    I have already added the drop down but how can I retrieve what is being selected after user presses login button

  • Error Page

    Hi,
    When I click on a responsibility it is showning an error page.
    Error Page
    You have encountered an unexpected error. Please contact the System Administrator for assistance.
    Can anyone plz help me?
    Neeraj.

    No I dont get an error for all responsibilities.
    I have turned the FND:Diagnostics to YES and got a lot of things ... butt i dunno wat to look for exactly.
    Here is what I got when I searched for "exception"
    java.sql.SQLException: ORA-20001: HXC_NO_HIER_FOR_DATE ORA-06512: at "APPS.HR_UTILITY", line 709 ORA-06512: at "APPS.HXC_PREFERENCE_EVALUATION", line 1220 ORA-06512: at "APPS.HXC_TIMECARD_PROPERTIES", line 354 ORA-06512: at line 2 at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:589) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1972) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch
    Please Help.
    Neeraj

  • Unable to show custom jsf error page !

    Hi all,
    I have a major problem displaying my custom errorpages. That is, they do not show at all!
    I also tried this in a simple project where I have only 1 jsf page, but the behaviour is the same.
    However, If I use a plain jsp page as erropage, then the error page is displayed as expected.
    My web.xml:
    <error-page>
    <error-code>404</error-code>
    <location>/jspErrorPage.jsp</location>
    </error-page>
    <!--error-page>
    <error-code>404</error-code>
    <location>/errorPage.jspx</location>
    </error-page-->
    If I remove all jsf and adf components from the adf-faces error page it does work correctly.
    For some reason the adf and jsf components can not be used in an error page.
    If I try this in the FOD demo application the behaviour is exactly the same !
    No errorpage is shown unless I remove all jsf and adf components.
    Luc
    Edited by: lucbors on Mar 6, 2009 11:28 AM

    hi Johan
    It looks like the filter-mapping/dispatcher element in web.xml is relevant here.
    Default the "adfFaces" filter seems to be mapped like this ...
    <filter-mapping>
      <filter-name>adfFaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>REQUEST</dispatcher>
    </filter-mapping>If I also add a dispatcher element with ERROR value like ...
      <dispatcher>ERROR</dispatcher>... the behaviour of my application starts to change.
    With such a dispatcher element configured, I can get an error-page configuration like this to "work":
         <error-page>
              <error-code>500</error-code>
              <location>/faces/internalServerErrorFaces.jspx</location>
         </error-page>Using JDeveloper 10.1.3.4.0 I created an example application for this,
    see http://verveja.footsteps.be/~verveja/files/oracle/FacesErrorPageApp-v0.01.zip
    The screenshots in FacesErrorPageApp.png show the page with the buttons that cause exceptions and the error page I get.
    The thing is, this seems to work only te first time (for the first session). So, navigating back and clicking another button only shows the same page again and not the error page.
    If I try something similar in a web-module that does not use ADF Faces, things seem to be OK.
    (The example application has a ViewControllerNoADFFaces project with an errorButtonPageNoADFFaces.jspx page with buttons that will cause an exception and show the internalServerErrorNoADFFaces.jspx page. From that error page I can navigate back an click a different button to cause a different exception to end up on the error page again.)
    Given that this at least looks like an ADF Faces issue, I think a reply from someone from Oracle in this forum thread could be useful. (And you could always create a service request on metalink.oracle.com for this.)
    regards
    Jan Vervecken

  • FORM based login form-error-page

    Hi,
    I have activated FORM based login for EM (oracle 9iAS on Solaris). So, in web.xml for EMD, I have
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/jsp/login.jsp</form-login-page>
    <form-error-page>/error/oc4j_error.html</form-error-page>
    </form-login-config>
    </login-config>
    When I login as ias_admin, everything seems fine. However, when I login as any other user (not in ias_admin role), the browser redirects to /emd/console/ias/applicationServer...
    Why is the container not redirecting to /emd/error/oc4j_error.html ?
    Any input will be truly appreciated. Hopefully I am doing something wrong.
    Thanks,
    Krishnendu

    Hi Frank,
    Thanks for your reply. If I have a error page in the FORM login, then the container (according to j2ee specs) should redirect to /emd/oc4j_error.html if I authenticate as a user without administrator privileges.
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/jsp/login.jsp</form-login-page>
    <form-error-page>/oc4j_error.html</form-error-page>
    </form-login-config>
    </login-config>
    For all other containers (WAS, WebLogic and Sun Application server, Tomcat), it seems to work fine.
    Thanks,
    Krishnendu

  • How to display exception on error page raised from custom login module?

    Hi All,
    I've created my own login module and I am using form authentication mechanism.
    Here is how my login and error pages defined in web.xml:
        <login-config>
          <auth-method>FORM</auth-method>
          <form-login-config>
            <form-login-page>/logon.jsp</form-login-page>
            <form-error-page>/error.jsp</form-error-page>
          </form-login-config>
        </login-config>
    But when my login module throws an exception (LoginException) the following code in <i>error.jsp</i> returns null:
    <%=request.getAttribute("javax.servlet.error.message")%>
    though this code works good on Weblogic.
    Declaring the <i>error.jsp</i> also in the <error-page> tag didn't help.
    So what did I miss to configure?
    Or maybe NetWeaver doesn't allow to get the exception from the <form-error-page> at all?

    If I understand your question correctly, you can use the CQ.Notification JavaScript object for this. See documentation here: http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.Notification

  • Custom error Page when Run time Occurs in SharePoint

    Hi Guys In my SharePoint application in case if any Run time error occurs in my code, It should not come Server error \ ..instead it needs to redirect to Custom error Page But its not working Can you plz help out? I made changes in web.Config file but its
    not working..Can you guys plz help me out how to redirect to custom error Page if any run time error occurs in Sharepoint??
       <customErrors mode="RemoteOnly" defaultRedirect="~/GeneralError.htm" redirectMode="ResponseRedirect"></customErrors>
     [[ Web.config file in Virtual Directory C:/inetpub/wwwroot/vd/port/web.config
    Is there any changes in addition to this web.config file??
    Reddy

    Hi Reddy,
    Here you go. pls follow the tutorials
    http://www.fixthisbug.com/post/creating-a-custom-error-page-for-sharepoint-2010-web-application
    http://blog.incworx.com/blog/sharepoint-tips-and-tricks/implementing-sharepoint-2010-custom-error-pages-v3
    http://www.spdeveloper.co.in/articles/pages/custom-error-pages-for-sharepoint2010-sites.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Getting Page Load Error while opening a Opportunity in new window

    Hi All,
    outbound SSO is enabled.
    when i try to punch-in to my application from CRM through opportunity web link with Web Link Target as "open in custom tab" its working properly, but when i have Web Link Target as "open in new window" i am getting page load error. previously with out Outbounf SSO it is working properly.
    Do i need enable any settings in CRM
    thanks

    when the web link target is "open in new window" or "open in current window" the request send to third party application from CRM ONDemand is HTTPS request as SSL is not enabled it is giving "page load error"(In the web link we are specifying http only) (User athentication type is "username & password/ SSO")
    Is there any setting in CRM Ondemand to send Http request only instead of HTTPS?

  • Error with master page "insert current page number" when exporting book

    Using InDesign CS 5.5 for Windows
    Recently upgraded from InDesign CS (the really old one from 2003). I did save a copy of all my old version files and kept the old ID installed just in case (after reading all the horror stories on here).
    In my old version of ID, I created a book made up of about 70 documents. Some of these documents are one page, others have multiple pages. In the multiple page documents, I used the "insert ... current page number" character (or whatever the command was in the old version) on a master page, and formatted it to read, for example: Page 1 of 17, Page 2 of 17, Page 3 of 17, etc. When I exported my book to a pdf, it worked fine. (I do not want/have consecutive page numbers throughout the book, only in individual documents. By this I mean my entire book is about 280 pages, but not all of these 280 pages are numbered, just the groups of pages from these multi-page documents. It doesn't read page 1 through 280.)
    Got my upgrade to 5.5 a few months ago, added some documents to the book, and (if i remember right) when I saved the book it asked to convert every old version document to the new version, which I said okay. When I exported the book to a pdf, some documents that are longer than 2 pages are now numbered wrong; the numbers are now going like this: Page 1 of 17, Page 2 of 17, Page 2 of 17 (supposed to be page 3), Page 2 of 17 (supposed to be page 4), etc. Every page but page 1 is now page 2 of whatever.
    If I open the individual document and export it to pdf, the page numbers work fine. It's only when the document is exported with the book that the page numbers mess up. And it's not all the documents in my book; this error starts at a particular document and continues from that point throughout the rest of the book, affecting any document longer than 2 pages. Multi-page documents before this point in the book export with the correct page numbers.
    I create new documents by doing a "save as" with a previously created document and cut and paste as needed, so I'm not having to reformat or set up page numbers on each new document. I don't use layers or styles (I'm sure there's a better way to do what I need, but I've only had time learn the basics, just enough to be functional.)
    My attempts to fix this so far (using version 5.5), testing with the first document where the error appears: (1) I've removed the document from the book, deleted the insert current page number character, re-entered the insert current page number character, saved, exported the individual document to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (2) I took the document out of the book again, exported the document to .idml, saved as new .indd with new name, exported to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (3) I started up my old ID version, opened the old version of this document, exported to .inx, closed, opened .inx in ID 5.5, saved as new .indd with new name, exported to pdf and it worked fine. Put it back in the book, save, export, and it's wrong. (4) I moved the document up in the book order, putting it above a document that has correctly numbered pages, saved, exported to pdf, and this document was still wrong, but the one that has been numbered correctly all along is still correct. (5) I've compared settings for this document to others that number correctly and cannot find any difference.
    It's like the page numbers get hung on "2" when I export the book, but only in the last two-thirds of the book. Sorry it's so lengthy, but I hope this description of my problem is understandable. Any advice, other than going back to my old version documents and starting over?
    Thanks for your time and for all the awesome information this forum provides!
    alice

    Mr. Spier
    Right after I posted my question, I saw a post from last year where somebody had similar problems. (I cringed because I spent almost 3 days researching this problem and never ran across that post; thanks for not scolding me for posting a semi re-run.) I decided to try one of the easier solutions: I opened the problem document from the book panel, went to the master page and deleted the text box containing the page number, copied the page number box from a document that worked correctly, and pasted it into the problem document. Saved that doc, closed, saved book, exported to pdf, and it worked!! The page number problem was fixed. I went back and did the same thing for the other problem documents and they all number correctly now. 
    Probably not the best way, but for now this will fix it; I may have to do it again next time I add to the book. Although I didn't follow your instructions, I'll mark this as answered since it's working now. If it keeps giving me problems, I'll try the .inx export/new book route.
    thanks for your time
    alice

  • Very Urgent!!!Calling custom OAF vent reg page from JTT page gives error.

    1. We have a need to customize Oracle Marketing Online Event registration page (Oracle standard JTT page: amsEventRegistrantsEntryMain.jsp - available via function AMS_EVENT_REG_ENTRY) .
    2. We have created a new custom OAF page for the event registration and modified the function definition Web HTML property from "amsEventRegistrantsEntryMain.jsp" to "jtfcrmchrome.jsp?
    page=/oracle/apps/xxamw/xxams/event/webui/XXAmsEventRegScheduleCrePG&akRegionApplicationId=540&jttoijappn=OKL" (tried also with OA.jsp call)
    3. Now when we click on the Register link from the base (This Oracle standard Register link calls AMS_EVENT_REG_ENTRY and since AMS_EVENT_REG_ENTRY is modified we expect OAF page to render) page it throws "You have insufficient privileges for the current operation. Please contact your System Administrator." error. The function is not accessible.
    4. Navigation: Oracle Marketing Super User -> Marketing Online -> Event -> Registration Stb menu -> Search for a "Event Schedule Name" -> Click Go -> Click on Register link (We expect our custom OAF page when register link is
    clicked)
    Please note this design was tested successfully in an instance but when we migrated this to a new instance it fails. We cannot compare two instances since the previous instance no longer exists. Seems some issue with JTT menu straucture since we are using Oracle standard JTT function. This is a very urgent issue and any quick help or pointer will be great.
    Thanks/ Santanu

    Hi,
    R u still facing the issue?
    If So can you please tell me:
    Have u added your called function to the current user? That means by navigating to the responsibility you can access the same page directly, with out doing any transaction? If so then create your custom function with your required URL and attach to a menu ; then check if you are able to view that page from the menu navigation?If these thing is not working then I think you need to create a custom page that will extend the std region , that time hopefully it will work.
    Please post your result/thought!!
    Regards
    Apurba K Saha

  • My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is ident

    My bookmarks suddenly are not accessible. Each time I try to use a bookmark, the following message comes up on the error page: The requested URL /exec/obidos/subst/home/home.html/103-3592028-6560639 was not found on this server. The page error is identified as "ERROR 404" I tried a clean install of the latest version; no luck. looked at plug-ins & add-ons; no luck
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

Maybe you are looking for

  • Java.lang.UnsupportedClassVersionError with ADF and Websphere

    I'm trying to get an app running with ADF/Tomahawk/MyFaces/Facelets going on Websphere 6.0. However Websphere is running with a 1.4.2 JVM instead of 1.5 so I get an error when it comes to the ADF NavigationHandlerImpl which has been built with Java 1

  • Distribution of Cost in Months

    Dear colleagues, I would like to hear your opinions about this case. Suppose that you receive a year-long consultation from a vendor at a cost of 12.000 EUR starting from 01.01.2011 till 31.12.2011. PO is raised against this transaction at a total co

  • Where is the update to 4.1?

    Hello I'm owner of a license of ACS, but my current version is 4.0.3. I read at November/2010 about the new 4.1 version but never was notified about the update by means of my Adobe profile or in acs4 operator account in my domain. In my downloads the

  • Awesome menu not working?

    Hey! I installed Awesome, > sudo pacman -S awesome and then went about trying to get some sort of launcher up and working, in this case the built-in "awesome-menu", by following these steps. > mkdir .awesome > cd .awesome > touch menu > nano menu The

  • To display line item data at header level

    Dear Techis , The requirment is that i am havin three line items for a particular document. I need to shw amount of all dese line item at Header level , it means of thr line item i will jus pick Amount and will shw it in one single row with in three