Problem with formatting taglib

I am trying to use the JSTL formatting taglib using JBoss 402 and am having a problem with the <fmt:message tag. Every reference to a message resource, such as <fmt:message key="xyz" /> is not resolved, and instead the value '???xyz???' is always displayed.
I have made sure that my 'messages.properties' file is in /WEB-INF/classes so that it is in the classpath, and have included the tags below, but these have not changed a thing. Anyone have any ideas or suggestions as to what the problem might be?
<fmt:setLocale value="${locale}" />
<fmt:bundle basename = "messages" />

There are a couple of JSTL tags that deal with bundles.
The bundle tag you are using here needs the <fmt:message> tag nested inside it:
<fmt:setLocale value="${locale}" />
<fmt:bundle basename = "messages">
  <fmt:message key="xyz"/>
</fmt:bundle>alternatively use the <fmt:setBundle> tag
<fmt:setBundle basename="messages"/>
<fmt:message key="xyz"/>Cheers,
evnafets

Similar Messages

  • Application Express 3.1 + BI-Publisher + problem with formating numbers

    Hello together!
    I use the Oracle BI Publisher Template Builder for Word (10.1.3.4) to generate RTF-Templates. I upload these templates in Oracle Apex (Advanced support-->BI-Publisher/OC4J as print service).
    It works well, but I have a problem with formating numbers.
    In Template Builder I define following number formats, for example: #.##0 for numbers like 1.454.234 and #.##0,00 for numbers like 54,80
    In Template-Builder Preview it looks well.
    But whatever I do, in use with Oracle Apex dots and comma are allready interchances in the printout.
    That means,
    1.454.234 become 1,454,234 in PDF-Report
    54,80 become 54.80 in PDF-Report
    Other than that, the layout is exactly the same like in Template Builder defined.
    What's wrong?
    Do I have to change any country parameter?
    Juliane

    I also had the same problem. I tried with normal formating of 99g99g999d99 instead of ##,##,##0.00 and it has resulted correct way.

  • SQL Developer 3 EA2 - Problem with formating plsql source code

    I'm using sql developer 3 ea2. I have played with source code formating.
    I have 2 issues with formating in source code editor.
    I have a plsql string like the following extending over several lines.
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The result after apply "format" to my sourcecode ist:
    s VARCHAR2(2000) := 'SELECT
    col1, col2, col3
    FROM table
    WHERE col4 = :var';The second is that sql developer ist camelizing the previous line if I type a whitespace in plsql sourcecode.
    How to switch that off??
    The last issue is realy annoying!
    Christian

    I am having exactly the same problem. Every time you use Format Ctrl/F7 it adds new line feeds. Code starts off as:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    First Format Ctrl/F7 get an extra blank line:
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    Then second Format Ctrl/F7, get THREE extra lines!!! It goes exponential!!
    command := '
    select account_status, default_tablespace, temporary_tablespace,
    to_char(created,"YYYY-MON-DD HH24:MI:SS"), profile
    from Dba_Users@@
    where username=:1' ;
    So far I've only really encountered the problem with dynamic SQL, which ignores the extra line feeds.
    i am pretty sure this is a long standing SqlDeveloper Format problem, going back to V2.

  • Problem with formatting date with JSTL ans swedish locale

    Hi,
    I have a strange problem with JSTL fmt:formatDate -tag and swedish locale.
    -------------------------- Extract from the JSP ------------------------------
    <jsp:useBean id="date" class="java.util.Date" />
    <fmt:formatDate value="${date}" pattern="dd.MM.yyyy HH:mm" />
    With en_US and fi_FI locales date is printed just the way I want: 29.04.2005 13:28 but in se_SE locale it is printed: Fri Apr 29 13:30:09 EEST 2005
    Has anyone had this problem before?
    Thanks in advance!

    Hi
    Try using "sv_SE" locale.

  • Problem with formatting text in textobjects with right aligned tabulators

    Post Author: Jens Kluesener
    CA Forum: General
    HiI want to print out some values in a line. So I put a Textobject in the Report with some right aligned tabulators (left aligned tabulators working fine). Then I insert a formula. In this formula i do this:"1"chr(9)"2"chr(9)"3"chr(9)"4"chr(9)"5"chr(9)"6"chr(9)"7"Look:            Many ThanksJens

    I think i found why.
    There was no problem with TextField.
    There was a problem with Array. "CityArea"
    So each time I executed script it added new string in Array. And that is because i got like:
    TextField
    City 1
    City 2
    City 1
    City 2
    Running this script is Ok:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    But outside of this for loop there is another for loop for adding Cities in CityArray.
    I fixed it by adding empty array at the start of function
    function myFunc():void
    CityArea = [ ]; // Empty array fixed this issue
    // LOOP FOR ADDING SHOPS IN CITY AREA
    for (var j:int = 0; j < _Shops; j++)
    CityArea.push(_Shop);
    // FOR LOOP TO ADDING SHOPS IN STRING
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    Thank you for your help kglad

  • Problem with format displayed in output while using Pivot table

    Hi All,
    I am using Pivot table in 10.1.3.4.1 version for displaying dynamic type data. Data is coming fine but it is coming in very strange format. I have following two tables in my RTF Template.
    Table1 using Pivot table
    !http://farm3.static.flickr.com/2570/4092137243_924cca92ca.jpg!
    Table 2 - A normal table
    !http://img5.imageshack.us/img5/6651/table3p.jpg!
    In the output PDF, “Table 2” shows data fine but “Table 1” shows very strange kind of behaviour if the columns exceed more than 5 in “Table 1” . If columns in Pivot table output are more than 5[at present according to my Table1 size] then columns more than 5 are shown on next page after Table 2 instead of displaying inside outer table “Table1“. Anyone has any idea what is the reason behind this strange behavior and how can I avoid it ?
    Thanks
    -Sookie

    Hi All,
    I tried including following piece of code in RTF as mentioned here: [http://winrichman.blogspot.com/2009/05/cross-tab-by-limiting-number-of-colums.html] but as a result it showed blank page in report. Nothing else.
    <?variable:G11;count(xdoxslt:distinct_values(/CUST_SUMMARY/LIST_CLIENT/CLIENT/LIST_OVERALL_ASSET_ALLOC/OVERALL_ASSET_ALLOC/ASSET_LIAB_DESC))?> <?variable:numcol;5?>
    <?template:table1?><?param:cellvalue;1?><?param:maxcolvalue;5?>
    <?choose:?>
    <?when:$cellvalue < $maxcolvalue?>
    !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    <?call@inlines:table1?><?with-param:cellvalue;(number($cellvalue) + $numcol)?><?with-param:maxcolvalue;$maxcolvalue?><?end call?>
    <?end when?>
    <?end choose?>
    <?end template?>
    Also modified RTf as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H
    G <?for-each@column:$c594//C1?><?if@column:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    ASSET_LIAB_DESC <?./H?>
    E <?end if?><?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?><?if@cell:position() > $cellvalue and position() <= ($cellvalue + $numcol) ?>
    99.00% <?./M1?>
    E <?end if?><?end for-each?>
    E <?end for-each?>I have this as my xml
    <?xml version="1.0" encoding="UTF-8"?>
    <CUST_SUMMARY>
    <CLIENTID>1034</CLIENTID>
    <LIST_CLIENT>
    <CLIENT>
    <CLIENT_ID>1034</CLIENT_ID>
    <LIST_OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID>1110</PORTFOLIO_ID>
    <PORTFOLIO_NAME>RM Managed</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>3.91466115811489974032104849667369505831E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>8.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Aggregate Portfolio</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Alternatives</ASSET_LIAB_DESC>
    <PERCENT>2.93117485730770817994482449012020516681E-03</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Collectables</ASSET_LIAB_DESC>
    <PERCENT>1.28354604277895431879689156620000563094E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>-3.6085338841885100259678951503326304942E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>2.71946226825880885538778864840827563226E-01</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Others</ASSET_LIAB_DESC>
    <PERCENT>7.3140526307872865690096910040315224715E-02</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Deviation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Debt</ASSET_LIAB_DESC>
    <PERCENT>.4</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Equity</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    <OVERALL_ASSET_ALLOC>
    <PORTFOLIO_ID/>
    <PORTFOLIO_NAME>Recommended Allocation</PORTFOLIO_NAME>
    <ASSET_LIAB_DESC>Cash</ASSET_LIAB_DESC>
    <PERCENT>.3</PERCENT>
    </OVERALL_ASSET_ALLOC>
    </LIST_OVERALL_ASSET_ALLOC>
    </CLIENT>
    </LIST_CLIENT>
    </CUST_SUMMARY>and Original RTF looks like !http://farm3.static.flickr.com/2508/4104410643_f540c1d5a3_m.jpg!
    with code as
    C <?crosstab:c594;"//OVERALL_ASSET_ALLOC";"PORTFOLIO_NAME{,o=a,t=t}";"ASSET_LIAB_DESC{,o=a,t=t}";"PERCENT";"sum"?>
    H <?horizontal-break-table:1?>
    G <?for-each@column:$c594//C1?>
    ASSET_LIAB_DESC <?./H?>
    E <?end for-each?>
    G <?for-each:$c594//R1?>
    PORTFOLIO_NAME <?./H?>
    G <?for-each@cell:.//R1C1?>
    99.00% <?./M1?>
    E <?end for-each?>
    E <?end for-each?>Anyone can now tell my mistake? What wrong I am doing? Why it is showing blank page in output? How to solve this page breaking problem?
    Thanks
    -Sookie

  • Send Smart Forms within emails (html) Problems with format

    Dear all,
    the ABAP report SF_XSF_DEMO1 is a demo report which converts a certain smart form into HTML and then sends it as an email in html format.
    Sending the email is possible without any problems but I am wondering about the email format.
    <a href="http://www.imgbox.de/show/img/e4QvgzsS4L.jpg" title="Bilder hochladen">This screenshot shows how the email looks like.</a>
    I am not happy with the email layout as the Smart Form "SF_XSF_DEMO1" is designed in a different way.
    What do I have to adapt within the report in order to send an email that really looks like the Smart Form? Or is it a customizing issue?
    (I would like to avoid having to send the Smart Form as PDF attachment...)
    Thanks for you help!
    Kristian Kindler

    Hi Kristian,
    When ever you send a smartform output as an HTML email, the system generates automatic style sheets which are not supported in many email clients such as Outlook 2007, hence you will face a formatting issue. We faced the same issue and had do it it like this:
    Build a BSP page similar to the output which you want to send as an email. Now you can use the BSP URL to send the html email using cl_bcs class.
    I have documented this in my article below-
    http://divulgesap.com/blog.php?p=NDA=
    Hope it helps.
    Regards,
    Ravikiran

  • Binary file open .. problem with formatting

    dear all,
    probably it is too much time I am not using any more Labview, but I have a problem in opening the attached data file.
     it is supposed to be a matrix of 1000x316, with integer values up to 16 bit (65k levels).
    In matlab i open it with fopen command, and assigning the format as "uint16"..
    now I want to create a quick viewer in labview, but I can not go beyond the classic binary string... 
    may you help me with this stupid problem?
    regards,
    Edo
    Solved!
    Go to Solution.
    Attachments:
    image_P10.0_slit_P2.00.zip ‏261 KB

    Is this what you need?  It results in a 1000x316 array of U16s.
    Message Edited by jcarmody on 01-08-2009 12:07 PM
    Message Edited by jcarmody on 01-08-2009 12:08 PM
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    binfile.vi ‏8 KB
    binfile.gif ‏3 KB

  • Problem with formatting with Java in UNIX: URGENT

    Hi,
    I have a java program that writes lines into a file. The lines are formatted and should have whitespaces within. When I run the program in WIN2000 the formatting is preserved but when I run it in Sun Solaris each line gets compacted and no whitespaces are preserved. I need advise on how to preserve whitespaces in Sun Solaris.
    I am using "FileWriter" class's "write" method to write to the file. Pseudo example of creating one of the line is given below.
    FileWriter writer = new FileWriter (outFile);
    StringBuffer outputString01 = new StringBuffer(200);
    outputString01.setLength(200);
    writer.write(outputString01.toString().trim()+"\r\n");
    write.flush();
    write.close();
    I need to resolve this asap. Please advise.
    Thx
    Ayan

    Interesting. As far as I know, when you create a StringBuffer of a given length, it is not filled with default values. So it is the behaviour on windows which I find puzzling. Concerning your problem, why don't you simply use StringBuffer#append?
    StringBuffer outputString01 = new StringBuffer(200);
    outputString01.append("Blah".trim()).append(' ');
    outputString01.append("Blah1".trim()).append(' ');
    outputString01.append("Blah3".trim());If you need more whitespace you can insert more. If you somehow need the inserts, I'd suggest you first fill the StringBuffer, i.e.StringBuffer outputString01 = new StringBuffer(200);
    int l = 200;
    outputString01.setLength(l);
    for ( int i = 0; i < l; i++ )
      outputString01.append(' ');
    outputString01.insert(0, ("Blah").trim());
    outputString01.insert(32, ("Blah1").trim());
    outputString01.insert(53, ("Blah3").trim());Cheers, HJK

  • Problem with Formatting MacBook Pro

    Hey guys!
    I have a MacBook Pro (realeased in 2010) and I want to format it. It originally had the OS X Lion, then installed Mountain Lion and then OS X Mavericks.
    I restarted and holded Control button until I get the options Maverics and Recovery and then chose Recovery etc. When I had the four options for the format process I chose the Disk Utility where I erased my hard drive as OS X Extended (Journaled) (Note that I also have a partition on and it will not erase for some reason). After when I closed the Disk Utility window and I was back to the four options I chose the Reinstall OS X Mavericks option and when I pressed continue it wouldn't do anything.
    Anybody knows what the problem might be and how can I resolve it?
    At first I thought it was something to do with the BootCamp Partition but I couldn't start-up the computer to try and resolve it as I have already erased all the Macintosh partition data.
    If there is anyone that can help me on this I would be grateful guys!
    Thanks!

    Are you saying your problems on this thread are not resolved?
    https://discussions.apple.com/message/25537846#25537846
    I'll reply about GUID in a moment.

  • Problems with custom taglib (PD4ML)

    I'm tying to convert html to pdf with PD4ML taglb in a
    portal. But I get a NullpointerException when I try to
    use the taglib.
    I'm running 6.20 SP2
    Configuration as follows:
    PORTAL-INF/Pagelet/
    convert.jsp  (see below)
    PORTAL-INF/lib
    pd4ml_demo.jar (included in the .classpath)
    pd4ml_tl_demo.jar
    PORTAL-INF/taglib/
    pd4ml.tld
    In the portalapp.xml
    <application>
      <application-config>
        <property name="SharingReference" value="knowledgemanagement,htmlb,com.sap.km.bs.ui.wdf,com.sap.km.cm.ui.flex,com.sap.portal.usermanagement,com.sap.portal.useragent,com.sap.portal.pagebuilder,org.zefer.pd4ml"/>
        <property name="ServicesReference" value="com.sap.netweaver.coll.appl.room"/>
        <property name="releasable" value="false"/>
        <property name="startup" value="true"/>
        <property name="ClassLoadingPolicy" value="CoreAccessInAPI,transitive"/>
        <property name="DeploymentPolicy" value="5.0"/>
        <property name="SharingReference" value="knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal,pd4ml"/>
    </application-config>
    <component name="pd4ml">
      <component-config>
       <property name="ComponentType" value="jspnative"/>
       <property name="JSP" value="pagelet/convert.jsp"/>
       <property name="SecurityZone" value="com.tetrapak.neworbis.dist.PORTAL-INF/low_safety"/>
      </component-config>
      <component-profile>
        <property name="pd4ml" value="../taglib/pd4ml.tld"/>
      </component-profile>
    </component>
    convert.jsp
    <%@ taglib uri="../taglib/pd4ml.tld" prefix="pd4ml"%><%@page
    contentType="text/html; charset=ISO8859_1"%><pd4ml:transform
          screenWidth="400"
          pageFormat="A5"
          pageOrientation="landscape"
          pageInsets="100,100,100,100,points"
          enableImageSplit="false">
      <html>
          <head>
               <title>pd4ml test</title>
                <style type="text/css">
                      body
                </style>
          </head>
          <body>
               <img src="images/logos.gif" width="125" height="74">
                <p>
                Hello, World!
    <pd4ml:page_break/>
                <table width="100%" style="background-color: #f4f4f4; color: #000000">
                <tr>
                     <td>
                      Hello, New Page!
                     </td>
                </tr>
                </table>
          </body>
      </html>
    </pd4ml:transform>
    Exception from system log (pd4ml in debug mode)
    Exception ID:01:04_13/06/05_0003
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : com.tetrapak.neworbis.pd4ml
    Component class : pagelet._sapportalsjsp_convert
    User : SELOFBERGM
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:853)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:311)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
         at pagelet._sapportalsjsp_convert.doContent(_sapportalsjsp_convert.java:105)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    Caused by: java.lang.NullPointerException
         at org.zefer.pd4ml.taglib.PD4MLTransformerTag.doStartTag(PD4MLTransformerTag.java:87)
         at pagelet._sapportalsjsp_convert.doContent(_sapportalsjsp_convert.java:47)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:580)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.inqmy.services.servlets_jsp.server.RunServlet.runSerlvet(RunServlet.java:149)
         at com.inqmy.services.servlets_jsp.server.ServletsAndJspImpl.startServlet(ServletsAndJspImpl.java:833)
         at com.inqmy.services.httpserver.server.RequestAnalizer.checkFilename(RequestAnalizer.java:672)
         at com.inqmy.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:314)
         at com.inqmy.services.httpserver.server.Response.handle(Response.java:173)
         at com.inqmy.services.httpserver.server.HttpServerFrame.request(HttpServerFrame.java:1288)
         at com.inqmy.core.service.context.container.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:36)
         at com.inqmy.core.cluster.impl5.ParserRunner.run(ParserRunner.java:55)
         at com.inqmy.core.thread.impl0.ActionObject.run(ActionObject.java:46)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.inqmy.core.thread.impl0.SingleThread.run(SingleThread.java:148)
    [email protected]a4 #
    Any ideas or suggestions to solve this problem would be much appreciated.
    Tanks
    M.Lofberg

    Hi Karsten,
    as I have just written in detail within the OSS message mentioned in this thread earlier, I'm really estonished about SAP's perception of what role specifications and standards play within the J2EE world. And as is seen within this thread as well as in many others (or what you can learn when talking to J2EE developers, getting in touch with SAP), this perception is not something which raises SAP's standing among these (in my opinion: important, also for SAP) people.
    > it's not a bug but intended
    Being generous, I would call it an "intended bug"...
    > (for whatever reason)
    If at least there would be someone giving a real reason, one could start discussing if this reason is so unalterable that we developers can say "OK, it's not nice, but that's a reason I can acknowledge".
    The problem arises when someone states "it's intended - for whatever reason". It's not personally, Karsten. But that's the same attitude I got yesterday with the OSS message. Someone closes the message, saying "it works that way". Period. No reason. Nothing. And that's really poor! (I don't expect you to give me the reasons, and it's not your task to do, especially not within some nonsignificant SDN thread. But people closing an OSS message, which reports a violation of the JSP specification should! Anyhow, this combination "not a bug ... intended ... for whatever reason" stands for a special SAP attitude I experience the whole two years I'm working now in this area, and I can say: This is no fun.)
    To be not only criticising: On a first glance
    public ServletResponse getResponse() {
      return componentRequest.getServletResponse(false);
    could do it, maybe. <i>Maybe</i> there is some possible problem arising, but nobody told so far...
    For the reponse object, it seems that this parameter <i>answering</i> (and the logic behind it) could be considered as a problem. Looking at the exampe given - why shouldn't the taglib write something into the (original) response (without the runtime skipping all further content processing)? Maybe this could be the point where the discussion could start (mainly, among SAP development!).
    Best regards,
    and no hard feelings
    Detlev

  • Problem With Formatted Search.

    Hi to all,
    I have linked a formatted search to a UDF that lies at row level in AP Invoice. This field is used to display the Sales  Order Price. The requirement is that from SO we create a purchase order and subsequently create a goods receipt and AP invoice.. Now in invoice it is showin perfectly fine whether it is copied from goods receipt or purchase order.. But in the purchase order and goods receipt screen this query will not work. And the same query used in AP invoice is being linked to these documents. Is there any work around for this?? Is it possible to run queries based on the form numbers?? If so ho do i pull the form number in the formatted search query??
    Please Help!!!!
    Regards
    Aris

    I recommend creating separate queries for each document.
    ie
    1 formatted search to lookup price on sales order from AP Invoice
    1 formatted search to lookup price on sales order from GRPO
    1 formatted search to lookup price on sales order from PO
    then change the lookup to pull fields from the document that you are using as a reference.
    when you are building the formatted searhes start by returning the values that are you are using as a reference. That way you are sure that you are pulling the correct information.
    Then layer in the lookup to the sales order.
    If you get stuck I recommend that you copy and paste the formatted search in SQL Server management studio and replace the variables refereces with real values.
    In my experience troubleshooting queries is more effective when using SQL Server management studio. (the error reporting is better).

  • Problem with formatting the saved text to hard disk

    I use a modified code from Macromedia for saving the content of a text filed on hard disk. See code at the end.
    The code works fine and a text file is saved in the given location on the hard disk.
    The problem is that all of the content of the text field appears in a very long single line.
    The line breaks in the text field does not appear at all in the saved text file.
    for example:
    if the following is the the content of the text filed on the stage:
    abcdef
    jhijklm
    nopqrst
    uvxwyz 
    then the saved file is like: abcdefjhijklmnopqrstuvxwyz 
    No line break happens! How can this be fixed?
    Thanks for any suggestions.
    HR
    ******************* Here is the code *************************
    --this handler saves the contents of the field into a text file called 'output.txt'
    --it over writes anything that is in the 'output.txt' file.
    global myFile
    on mouseUp
      if objectP(myFile) then set myFile = 0  --Delete the instance if it already exists
      myFile = new(xtra "fileio")    -- Create an instance of FileIO
      openFile (myFile, the moviePath &"output.txt",0)--Open the file with R/W access
      delete(myFile) --deletes the file
      createFile (myFile, the moviePath &"output.txt) --creates the file again
      openFile(myFile,the moviePath &"output.txt,0) --Open the file with R/W access
      mySaveString = member("input").text --puts the contents of the field 'input' into the variable mySaveString
      writeString(myFile,mySaveString) --writes text to the file
      closeFile(myFile) -- Close the file
      myFile = 0 -- Dispose of the instance
    end

    You need to replace the carriage returns (that aren't followed by a line feed) with the CRLF combination. Feel free to place the following JavaScript handler into a movie script and call it prior to writing your string to disk:
    function jsStringToDOS (str) {
      return str.replace(/(\x0D)(?!\x0A)/g, "\x0D\x0A");
    global myFile
    on mouseUp
      if objectP(myFile) then set myFile = 0  --Delete the instance if it already exists
      myFile = new(xtra "fileio")    -- Create an instance of FileIO
      openFile (myFile, the moviePath &"output.txt",0)--Open the file with R/W access
      delete(myFile) --deletes the file
      createFile(myFile, the moviePath &"output.txt") --creates the file again
      openFile(myFile,the moviePath &"output.txt",0) --Open the file with R/W access
      mySaveString = member("input").text --puts the contents of the field 'input' into the variable mySaveString
      mySaveString = jsStringToDOS(mySaveString) -- convert to Windows CRLF characters
      writeString(myFile,mySaveString) --writes text to the file
      closeFile(myFile) -- Close the file
      myFile = 0 -- Dispose of the instance
    end

  • Problem with format mask and currency

    Hi,
    I am trying to apply a format mask to a report column.
    I want my format to be: 4500 ==> $4,500.00
    I have tried to apply: FML999G999G999G999G990D00, and i get #4,500.00
    Do i have to set a currency parameter somewhere for this format mask to work?
    I have done a select * from nls_database_parameters:
    NLS_LANGUAGE AMERICAN
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET US7ASCII
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    Thanks in advance,
    Immanuel

    Immanuel,
    Here's what I believe is going on:
    1) Your database character set is US7ASCII. US7ASCII cannot store a '£' character.
    2) Although the real NLS_CURRENCY symbol for NLS_TERRITORY UNITED KINGDOM is '£', it's displaying a converted character of '#', due to the above reason.
    3) The currency symbol from the format mask is determined by your NLS_TERRITORY (and hence, your NLS_CURRENCY) settings for the session.
    4) Your application is most likely setup to run with an application primary language of English United Kingdom. Thus, your application will always set NLS_TERRITORY to UNITED KINGDOM.
    To get your desired result, either:
    1) Change your application primary language to en-us
    or simpler yet
    2) Hard-code the $ sign in your format mask.
    Joel

  • Problems with formatting negative numbers in Reports PDF web output.

    Hi,
    I have a problem where all the values in a column are right-aligned. The values are all numbers. If a value is negative, then the value is placed a character to the left, putting it out of alignment with the non-negative values. I can't figure out why this would be.
    The problem doesn't appear in Reports Builder, or when the Report is generated to a PDF: File > Generate to file > PDF.
    The problem only appears when the Report is called through the web application we've created for our client. It is output to a .pdf in a web browser- Internet Explorer 6.
    I am running Oracle 10g.
    Any ideas on solving this?
    Regards,
    James Sharman.

    Just some clarification-
    in Reports Builder, the values look like this:
    100.50
    100.00
    -100.00
    100.00
    but when running from the web application, they go wierd and look like this:
    100.50
    100.00
    -100.00
    100.00
    Regards,
    James Sharman.

Maybe you are looking for

  • Replacing places.sqlite with older file is not working, please help I need my bookmarks

    My hard drive was recently crashed so I had to reinstall windows 7 operating system. I recovered the deleted places.sqlite file from before the crash. I replaced the old file with new places.sqlite file but is not restoring any of the bookmarks Pleas

  • Function Module  for FB01 Vendor line items postings in 3.1 Version

    Hello all, Is there any Function Module  for FB01 Vendor line items postings in 3.1 Version. I do not want to go for BDC. Please suggest. Thanks, Subba

  • Satellite L300-055 - VGA output doesn't work on external TV

    First I will give you my Laptop Specs: Toshiba Satellite L300-055 series laptop bought January 2009- 2GB RAM upgrade- Intel 4 Series Chipset Family Okay, I recently purchased a wire/connector like Link: [This One|http://www.vista24.biz/ebay/tpschc/v2

  • Connect to hdmi splitter

    I hooked up my apple tv to my tv using a hdmi splitter.  All my devices worked via this.  I then registered device and downloaded new software as it told me.  Now I cannot get anything to work.  My tv is on and does all the set up and such but no pic

  • User Mode in ARD

    I am trying to figure out how to limit the access of ARD on an admin user mac account. I have a user that logs into his computer as an admin user. He needs access to only a few other computers on the network (to access applications - ie. download ema