APEX 2.2.1 removing characters in html rendering??

Hi, I am developping on APEX 2.2.1 because our client is running that version. Now here is one strange issue : with FireFox 2,3 or IE 6,7 when I run a certain page some characters in the javascript that was in my HTML HEADER are removed, so it creates a javascript error. This is very strange, when I go in edition for example, i will see this code:
myFunction('p1','p2','p3');
But when I run it, and I look at the page source I will see:
myFunction('p1''p2','p3');
In this case, it was the comma, but some times it's a couple of characters. I thought maybe it was a certain overflow, but I had less than 4000 characters in my html header.
Also, I had a similar thing with a process. I created a process and it compiled fine. When I ran the page everything was working, but when I went to edit the process, some characters were missing, so obviously when I applied the changes there was an error.
Now, I don't know if it's a database problem or an APEX problem. My db is 10G release 2 and my APEX version is : 2.2.1.00.04. Maybe there is some patch missing I don,t know, but I hope some of you came across something similar. Thanks
Reginald

By looking at the questions I asked in my profile, I noticed that I didn't give any follow up to this one. Well, I don't have the problem anymore. All I know is that my dba applied a patch and it fixed the problem. Thanks for your time.

Similar Messages

  • Removing characters

    I need some help on removing characters from a string. The problem I am having is due to the fact the portion of the string I need to keep varies. A few examples are:
    1298-1011-1-842-10-0
    1298-1011-1-842-103-0
    1298-1011-1-842-1034-0
    1298-1011-1-842-10345-0
    I need only the fifth set of numbers (10,103,1034,10345) out of these id numbers. I guess I need a way to remove everything with a "-" from both the right and left of the fifth set of numbers. The left function works to remove the trailing two digits ("-0") off of each string. I am just having a problem figuring out how to strip out the rest when it varies. Any help would be appreciated.

    If you are using 10g you could use REGEXP_REPLACE. For example...
    create table test1 (col1 varchar2(50));
    insert into test1 values ('1298-1011-1-842-10-0');
    insert into test1 values ('1298-1011-1-842-103-0');
    insert into test1 values ('1298-1011-1-842-1034-0');
    insert into test1 values ('1298-1011-1-842-10345-0');
    create table test2 (c1 number, c2 varchar2(10));
    insert into test2 values (10, 'a');
    insert into test2 values (103, 'b');
    insert into test2 values (1034, 'c');
    insert into test2 values (10345, 'd');
    SQL> select regexp_replace(col1, '.*-.*-.*-.*-(.*)-.*', '\1') col5 from test1;
    COL5
    10
    103
    1034
    10345
    SQL> select t1.*, t2.* from test1 t1, test2 t2
      2  where regexp_replace(t1.col1, '.*-.*-.*-.*-(.*)-.*', '\1') = t2.c1;
    COL1                                                       C1 C2
    1298-1011-1-842-10-0                                       10 a
    1298-1011-1-842-103-0                                     103 b
    1298-1011-1-842-1034-0                                   1034 c
    1298-1011-1-842-10345-0                                 10345 d
    SQL> JR

  • Remove characters in a string

    wondering.. anyone knows how to remove characters in a string
    e.g.
    string: applepie
    after removing last 3 chars become "apple"
    thanks...

    That of course will only work for this example. Better solution is to use indexOf() to locate the position of the string you wish to remove. If the string you wish to remove is in the middle, then you will have to do a bit of extra work and concat two substrings.

  • HTML Rendering for PDF

    <div><font face="Arial" size="2"><span class="493345917-06032007">We viewed a demo on webElements and have a question about something that was mentioned in that demo, i.e. "You can create a PDF report, but you have to do some tricks."  </span></font><font face="Arial" size="2"><span class="493345917-06032007">We need to know what those tricks are! <hr /></span></font></div><div><span class="493345917-06032007"><font face="Arial"><font size="2">The background on our particular situation is this:</font></font></span></div><ul><li><font face="Arial" size="2"><span class="493345917-06032007">We want to incorporate a text editor, similar to this one, in various forms to allow formatting of text in long text fields.</span></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">The HTML output will be stored in / retrieved from a<span class="981485618-06032007"> SQL</span> database.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">We need to be able to use/modify existing reports generated through Crystal to create PDF output.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007">The HTML formatting functionality built into Crystal XI report items does not appear to be adequate, since it does not handle several HTML tags that we need - bulleted/ordered lists, perhaps tables.</span> </font></font></li><li><font face="Arial"><font size="2"><span class="493345917-06032007"> We are using java on WebSphere application servers, with embedded Crystal reports. We do have Business Objects Enterprise available, but it is not configured for HTML pass-through, or webElements yet.</span> </font></font></li><li><font face="Arial" size="2"><span class="493345917-06032007">We want to use Enterprise, but if it doesn&#39;t solve our immediate problem (creating PDFs with embedded HTML, rendered properly) we will work on getting that set up later.</span></font></li></ul><div><font face="Arial" size="2"><span class="493345917-06032007"><hr />Bottom line question --  Can we expect that the PDF generation from HTML data fields in webElements/Enterprise is better than that which exists in Crystal standalone?</span></font></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><span class="981485618-06032007">And/o</span>r - do you have "tricks" that you can share that will help?<span class="981485618-06032007"> </span></font></font></span></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><br /><span class="981485618-06032007">Thanks for any help you can offer,</span></font></font></span></div><div><span class="493345917-06032007"><font face="Arial"><font size="2"><span class="981485618-06032007">Fran </span></font></font></span></div>

    <p>hello,</p><p>the webelements library uses a feature of pass-through html available in xi & xir2. activating pass through html allows the report developer to embed html into a report so one can create custom html that would not work by formatting a field or text object to display as html.</p><p>pass-through html will not render controls on pdf exports and will show up as regular text in pdf.</p><p>you might have miscronstrued a portion of the demo where it was mentioned that one could get around pass-through html showing up as text in pdf...the workaround is to hide this text and does not render the actual web controls.</p><p>jw</p>

  • Fonts used in HTML rendered components not displayed

    Hi all,
    I have a problem using fonts in components with text that is being rendered by the HTML renderer.
    It's the exact same problem as described in this topic;
    http://forum.java.sun.com/thread.jspa?forumID=257&threadID=222691
    but no solution found...
    When I do this, my font isn't displayed (only the default SansSerif font is used at this point);
    JLabel label = new JLabel("<html>a text</html>");
    InputStream fontStream = getClass().getResourceAsStream("SystemVIO.ttf");
    Font font = Font.createFont(Font.TRUETYPE_FONT, fontStream);
    label.setFont(font.deriveFont((float)12));SystemVIO is placed in a JAR-file (loaded in my classpath).
    And when I do this, it is displayed correctly;
    InputStream fontStream = getClass().getResourceAsStream("SystemVIO.ttf");
    Font font = Font.createFont(Font.TRUETYPE_FONT, fontStream);
    JLabel label = new JLabel("<html>a text</html>");
    label.setFont(font.deriveFont((float)12));But the real problem here is, if one component is made with a HTML renderer, none of the other components can use a font if it's loaded after the FIRST component with HTML renderering is constructed.
    So, for some reason, the fonts aren't reloaded in the HTML renderer (is the html renderer native?) whenever I use createFont().

    Hi Sundar,
    if I understand your post properly, what your are doing in your BSP is executing a procedure to create an Adobe document, and then placing that document into the HTTP response.
    If you have built this code by following some of the blogs in SDN, you probably do something like...
    response->set_header_field( name  = 'content-type'
                                value = 'application/pdf' ).
    l_pdf_len = XSTRLEN( l_pdf_xstring ).
    response->set_data( data   = l_pdf_xstring
                        length = l_pdf_len ).
    navigation->response_complete( ).
    What this code does is change the type of the HTTP response to 'application/pdf', set the content of the HTTP repsonse to the PDF data stream, and finally signal the HTTP runtime that processing has completed.
    Once processing has been completed control is returned to the HTTP runtime. This means any further 'down-stream' code in your BSP will not be executed. This includes the Layout section of your BSP.
    It is not possible to send two responses, PDF data and HTML data, to a single HTTP request. If you want to show both on the same web page you need to embed the Adobe document into the HTML page using frames or some other method.
    Cheers
    Graham Robbo

  • Change report manager HTML rendering view %

    Hi All,
    I can change the default HTML Zoom % in report server reports accessed via URL. Add "&rc:Zoom=75 " to the URL and it works. However I cannot change the zoom for report manager reports. Is there any workaround to this? or better idea to change
    HTML rendering?
    Thanks

    Hi sonnyA,
    According to your description, you want to set the default zoom level when accessing reports in Report Manager. Right?
    In Reporting Services, the Zoom is already a deprecated property in HTML Device Information Settings. Change the <Zoom> tab in rsreportserver.config will not work. In this scenario, we can embed javascript in Report.aspx page to get the zoom
    selection box object and set the zoom level. Please follow the steps below:
    1. Go to Report.aspx, this file locates at C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportManager\Pages,
    embed the code below:
    <script>
    function pageLoad() {
            var cuInternalViewer = $find('ctl32_ctl03');
                cuInternalViewer.set_zoomLevel(75);
    </script>
    2. The result looks like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Bookmarks.html Renders Very Differently in FireFox 4

    For years, I have been using and loving Firefox (including 4.0).
    For years, I have also exported my bookmarks out of Firefox and use the resulting bookmarks.html file as my home page.
    Now Firefox 4 renders the bookmarks.html file very differently from previous versions of Firefox and also differently from other browsers (eg, IE).
    The indentations have disappeared when viewing bookmarks.html in Firefox 4. Unfortunately, it's not really easy to show you this inside this forum text box, but I will try.
    Firefox 4 shows something like this:
    '''Bookmarks Menu'''
    '''General Interest'''
    Markham Weather Forecast - Environment Canada
    The Weather Network - Markham
    The Weather Channel - Markham
    AccuWeather.com - Canadian Forecast Center
    ... etc
    Firefox 3.6, IE, and other browsers show something like this (note the indentations which greatly improve readability):
    '''Bookmarks Menu'''
    '''General Interest'''
    Markham Weather Forecast - Environment Canada
    The Weather Network - Markham
    The Weather Channel - Markham
    AccuWeather.com - Canadian Forecast Center
    ... etc
    Is this a bug in Firefox 4?? I would really like to see bookmarks.html rendered with the indentations.
    Am I missing something?
    Thanks.

    '''Cor-el''' - is there a way that can be added to the bookmarks.html file, instead of having to click on a bookmarklet each time the page is opened?

  • Is there a html renderer in flex 4?

    hey guys, i was wondering if there was a html renderer in flex 4 without using iframes? i just need to display a html page in my flex application...

    Hi,
    Flex has basic html rendering capabilities but not for webpages, there are tricks you can do with i-frames but then you end up with compatibility issues over various browsers, AIR on the other hand has a web rendering engine built in, but thats not really the solution for what you are working on.
    David.

  • HTML Renderer - Links that do not open a new window

    Hi All,
    I have links which navigates users to an area within the page, however all anchor tags (<a></a>) which are not http://com.sap.cm in html rendered by the html collection renderer are opened in a new window (target=_blank).  Even if I specify target=_self, it changes to target=_blank automatically.
    Is there anyway to implement <a target="_self" href="#aLocationInPage">link</a>?
    Cheers,
    Vic

    Hi there,
    we had the same issue - I opened an OSS and got following reply :
    <i>
    <b>08.03.2007 - 12:45:49 CET    SAP    Reply</b>
    I have checked from my development colleague and confirmed that
    this parameter is not supported currently and development has recently
    no plans to support this feature.
    I apologize for the inconvenience caused here.
    Thank you for your cooperation.
    Best Regards
    </i>
    Can you believe this ? I don't, as this parameter has been around since SP12 or so and still there is no official note regarding this issue.
    > Please reward points :o) <

  • Anyone know of a free html renderer java bean

    the subject pretty much says it all
    does anyone know where i can download a html renderer for free (editorpane just doesnt seem to cut it as it doesnt seem to handle css2 very well)
    ive seen a few commercial ones but theyre like $1000! bit too much for my pocket
    thanks

    or does anyone at least know how to get the jeditorpane to work properly with css2?

  • HTML Rendering works on UIX-JSP but not UIX-XML or BC4J-JSP

    I built a "custom" renderer following the HOW TO document for HTML rendering. I made a "Drop Down" list that works in a test UIX-JSP application. When I try to attach the DynamicListInputField class to a project created under UIX-XML or BC4-JSP the rendereing does not take affect. No errors, the application runs fine, just no rendereing.
    I made all three projects from the same VO's and the same DynamicListInputField.java. The three projects were Wizard Based and created with:
    "Business Componets UIX XML Application" from the UIX XML Category
    "Business Componets JSP Application" from the UIX JSP Category
    "Business Componets JSP Application" from the BC4J JSP Category
    What is wrong?
    TIA,
    Ed.

    What error you are getting...please provide error details.
    It is working fine for me.
    Rgds
    Bala Murali

  • Java HTML Renderer

    Hi all,
    I wonder if any one could help me.
    I have recently decided to undertake the writing of an HTML browser for a project, I have been researching the idea and come to a pretty deadish sort of end.
    My research has taken me to various other browsers in java - Warrior, XBrowser etc. All have an HTML rendering engine create specifically for them (which I would like to do myself) however when I take a look at them, they are very in depth (to in depth - I just want HTML rendering).
    So my question is: Does anyone know of some simple renderer frameworks which I could take a peek at to get a point in the right direction or some books which would give me idea how to get started writing a renderer?
    Cheers,
    Reacz

    Thanks guys.
    I really want to give it a go on my own, it doesn't neccesarily have to be 100% perfect (in fact it doesn't even have to render them well at all).
    So, any ideas where else I could learn more about Renderers and how they are created for Java apps?
    As I said I have looked at Warrior and a couple of others and they abide by the DOM (Document Object Model) but they are very complicated, I wanted something more simple (if thats possible).
    Any books, or anything else anyone knows which may help me?
    Regards & Thanks,
    Reacz. :)

  • Simple HTML Renderer Kit

    Hi ,
    Is there any simple html renderer kit without javascript and advanced css ? I want to use it for mobile browsers eventually . Most of the open source and commercial do use javascript and mobile browsers have limitations .
    Thanks.

    Thanks for the response. I always thought Ericsson or Nokia ( i think they have too ) will always support only those companies phones. Isnt that true ? Will Ericsson support most of the other phones/browsers ?
    Thanks.

  • HTML Rendering for printer

    From an HTML document, how do I render it and send it to the printer?
    Swing JTextPane has the capability of HTML rendering, but it does not fully support CSS, so I need something like that but with full support for CSS.

    how does it works, it's free?
    Is it fully embedded in java or is architecture
    dependent?Is google broken on your computer?

  • Capture HTML rendered by a JSP

    hi
    can anyone tell me how we can capture the HTML rendered by a JSP into a String or StringBuffer and then store it to make HTML files/send as e-mail?

    Download the JSTL 1.0 Spec from http://jcp.org/aboutJava/communityprocess/final/jsr052/ and look at Section 7.7.2.
    <%-- Export the content of the URL resource as a String --%>
    <c:import url="http://acme.com/exec/customers.jsp?country=USA" var="customers"/>So now, ${customers} will give you access to the HTML. Mind you, I haven't actually tried this; but, theoretically...
    Disclaimer: I'm assming (dangerous, I know) we are talking about one JSP to capture and mail/whatever the HTML produced by a different URL(JSP).

Maybe you are looking for

  • Camera Raw filter software patch/update

    Hi! I downloaded the software patch for Photoshop CS6 for camera raw filters, but I get an error while installing: Updates could not be applied. The error log file may help you in identifying the problem. Then, try updating again. If the problems per

  • Presentation of my website as a portfolio

    I have just begun with Dreamweaver and have created my first website. I don't plan to have this site up on the internet yet but instead I want to burn it to a CD and show it as a portfolio piece to go along with my resume. My quesiton is this: Is it

  • Default lookup of resource bundle is wrong ?

    Hi, i have defined resource bundle files for localizing purpose, which i define:   localization.properties   localization_da.properties (danish language)   localization_sv.properties (swedish language) By default for all other languages than danish &

  • Connect to home wireless using wep 128

    can't connect to Comacast home network, netgear modem, 128 wep security.  I have passphrase and webkey. 

  • Screen Sharing With Windows XP

    I'm having a bit of trouble getting the screen of a Windows XP computer to show up on my Mac, using OS X's Screen Sharing feature. First I launch the Screen Sharing app, found at: Macintosh HD > System > Library > CoreServices > Screen Sharing.app A