Owa_util.mime_header in select_list_value (or whole ajax) problem

Hi,
I'm using Ajax in "select multiple items". After few problems (I had to turn off session state protection) - I had to organise the same process on the popup.
I open new page of my application in javascript using window.open function. The problem is that when I'm trying to update or insert something on popup I got that kind of message:
"problem with parsing XML file - didn't understand char after document element" - something like that (with additional about my adres and wwv_flow.accept)
source of error page looks similar to that:
<body><desc>this XML genericly sets multiple items</desc><item id="name">test</item></body>Content-type: text/xml; charset=UTF-8
Cache-Control: no-cachePragma: no-cache
<body><desc>this XML genericly sets multiple items</desc><item id="kli">test2</item></body>Content-type: text/xml; charset=UTF-8
Cache-Control: no-cachePragma: no-cache
<select><option value="1">- choose person -</option></select>ERR-1777: Page 2 provided no page to branch to.  Please report this error to your application administrator.<br /><br /><a href="f?p=104">Restart Application</a>I use 3 times: - 2 times I put some values into 5-6 textfields and once I'm put some options into select list
OWA_UTIL.mime_header ('text/xml', FALSE);
HTP.p ('Cache-Control: no-cache');
HTP.p ('Pragma: no-cache');
OWA_UTIL.http_header_close;can any one know where is problem? I have the same construction on the static page (not popup) and there everything is ok.
thanks for any help

I have to add, that I understand that error :) it's easy to understand when it's raising - but why there is a problem with owa_util.mime_header - why it adds "content type" line...?
why it was working fine before going to popup...
sorry for English mistakes

Similar Messages

  • ORA-06502/ORA-06512 at execution owa_util.mime_header

    Hi, APEX gurus!
    I try to write a procedure to display bfile contention /images/ into APEX page.
    I have a table :
    -TEMP_FLAGS (ID NUMBER(3) NOT NULL, NAME BFILE)
    - procedure display_country_flags_bfile
    display_country_flags_bfile (p_id NUMBER) is
    CURSOR c_flags(p_flag NUMBER) IS
    SELECT name
    FROM temp_flags_bfile
    WHERE id = p_flag;
    r_flags c_flags%ROWTYPE;
    v_bfile bfile;
    lgh_file number;
    v_dir_alias varchar2(256);
    v_filename varchar2(256);
    v_mime varchar2(255);
    begin
    open c_flags(p_id);
    fetch c_flags INTO r_flags;
    CLOSE c_flags;
    v_bfile := r_flags.name;
    dbms_lob.filegetname(v_bfile, v_dir_alias, v_filename);
    lgh_file := dbms_lob.getlength(v_bfile);
    Dbms_Lob.Fileopen(v_bfile, Dbms_Lob.File_Readonly);
    owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
    htp.p('Content-length: '||lgh_file);
    htp.p('Content-Disposition: attachment; filename="'||v_filename||'"');
    owa_util.http_header_close;
    wpg_docload.download_file(v_bfile);
    Dbms_Lob.Fileclose(v_bfile);
    end display_country_flags_bfile;
    If i execute directly in Toad i get error below:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 354
    ORA-06512: at "SYS.OWA_UTIL", line 413
    ORA-06512: at "STAT.DISPLAY_COUNTRY_FLAGS_BFILE", line 20
    ORA-06512: at line 1
    In Report attributes of APEX page, i use HTML expression to populate column value as call this procedure with appropriate parameter but image just not showing.
    I appreciate any help and opinion.
    P.S. I'm a newbie in APEX and have minimal experience.
    P.S.2 I forgot - Oracle 10g XE and APEX 2.1 built-in
    Thanks, Rado
    Edited by: user7637288 on 16-Dec-2008 05:12

    Thanks, rafix.
    But i'm using Oracle XE with storage limit /1GB/ and i don't want store any images in database. I prefer to use bfile type with link to files on OS level.
    By the way , just for tests, i try to use blobs on my own table with simular procedure, which throws the same error - with owa_util.mime_header. And think that the problem is related to owa_util package.
    My APEX version is 2.1 - built-in in Oracle XE, not 3.1

  • Ajax problem in IE7 - get.get() is empty

    I am testing Ajax under Mozilla Firefox and IE7. Under Firefox is everything fine but IE7 gives me errors.
    My process is the following:
    declare
    l_counter number;
    l_o_name varchar2(2000);
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    htp.prn('<option value="x">x</option>');
    htp.prn('</select>');
    debug.add('ok');
    end;
    debug_add('ok') adds text 'ok' into debugging table. I can see that this info is being inserted into the table, so the process runs through.
    My JavaScript is in ApEx page attributes "HTML header" section and is like the following:
    <script type="text/javascript">
    function get_AJAX_SELECT_XML(pThis,pSelect){
         var l_Return = null;
         var l_Select = html_GetElement(pSelect);
         var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=my_proc',0);
         get.add('GTEST',pThis.value);
    alert(get.get());
         gReturn = get.get('XML');
         if(gReturn && l_Select){
    alert('Never here in IE7');
              var l_Count = gReturn.getElementsByTagName("option").length;
              l_Select.length = 0;
              for(var i=0;i<l_Count;i++){
                   var l_Opt_Xml = gReturn.getElementsByTagName("option");
                   appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
         get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
         if(document.all){/* why is ie different ask bill */
              pSelect.options.add(l_Opt);
              l_Opt.innerText = pContent;
         }else{
              l_Opt.appendChild(document.createTextNode(pContent));
              pSelect.appendChild(l_Opt);
    </script>
    alert(get.get()); gives me popup with text "undefined" in IE.
    So "if(gReturn && l_Select)" will never become true.
    I call it in an item:
    onchange="get_AJAX_SELECT_XML(this,'P3201_XXX')"
    In Mozilla 2.0.0.7 everything works, i can get correct answer from get.get() and the list is being filled with "x".

    Hi,
    I'm having a sporatic problem.
    Where do you put the encoding?
    Content-type: text/xml; charset=UTF-8
    Cache-Control: no-cache
    Pragma: no-cache
    <?xml version="1.0" encoding="UTF-8"?>
    I have the following in my ODP function
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    then I start my select list:
         htp.prn('<select>');
         htp.prn(ls_default);
    and a loop to build the option code

  • Owa_util.mime_header on OWAS 3

    I finally decided to switch fromNT to Linux and have some
    code that no longer works... It seems that any time I try to
    set a MIME type to anything other than "text/html" I get an
    error: "The server returned and invalid or unrecognized
    response."
    Anyone else working with MIME headers?
    Code snippet is:
    BEGIN
    owa_util.mime_header('audio/x-mpegurl',FALSE);
    -- owa_util.mime_header('text/html',FALSE);
    cookie_userid := owa_cookie.get('userid');
    n_userid := cookie_userid.vals(1);
    owa_util.http_header_close;
    -- For testing
    -- n_userid := 101;
    OPEN c_songs;
    LOOP
    FETCH c_songs INTO v_song_file;
    EXIT WHEN c_songs%NOTFOUND;
    htp.p('http://gandalf/music/'

    I have to add, that I understand that error :) it's easy to understand when it's raising - but why there is a problem with owa_util.mime_header - why it adds "content type" line...?
    why it was working fine before going to popup...
    sorry for English mistakes

  • Error while setting Owa_Util.Mime_Header

    Hi.....
    I have to make code to download BLOB file from my custom table Oracle APEX.
    I am setting MIME Header using the following statement.
    owa_util.mime_header(nvl( v_mime,'application/octet'), FALSE );
    htp.p('Content-type: ' || v_mime);
    htp.p('Content-length: ' || v_length);
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    owa_util.http_header_close;
    I am using this code to download BLOB file from table.
    But i am getting following error:
    Error report:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "SYS.OWA_UTIL", line 354
    ORA-06512: at "SYS.OWA_UTIL", line 413
    ORA-06512: at line 10
    06502. 00000 - "PL/SQL: numeric or value error%s"
    Can anyone tell me how to come out of this error.
    I am not able to understand this error.
    Thanks in advance.
    Edited by: user639262 on Sep 4, 2008 11:06 AM

    tward wrote:
    I'm trying to use:
    owa_util.mime_header('application/vnd.ms-excel', FALSE)
    htp.p('Content-Disposition: filename="test.xls"');
    owa_util.http_header_close;
    htp.htmlopen;
    htp.bodyopen;
    htp.tableopen(cattributes=>'border="1" width="100%" align="CENTER"');
    htp.tablerowopen;--(cattributes => 'align="LEFT", bgcolor="LIGHTGRAY"');
    htp.tableheader(cattributes=>'width="10%"', cvalue => 'Header 1');
    htp.tableheader(cattributes=>'width="15%"', cvalue => 'Header 2');
    htp.tableheader(cattributes=>'width="20%"', cvalue => 'Header 3');
    htp.tableheader(cattributes=>'width="10%"', cvalue => 'Header 4');
    htp.tableheader(cattributes=>'width="20%"', cvalue => 'Header 5');
    htp.tableheader(cattributes=>'width="25%"', cvalue => 'Header 6');
    htp.tablerowclose;
    htp.tableclose;
    htp.bodyclose;
    htp.htmlclose;
    My understanding is that this will open the window to Open/Save/Cancel the output in Excel.....
    But for some reason, it simply displays in a browser window.....
    The first line in the windows is:
    Content-type: application/vnd.ms-excel Content-Disposition: filename="test.xls"
    followed by the HTML Table....
    Why will it not open in Excel for me?Something is not getting recognized properly.
    Try hard-coding the functionality you want into a static HTML document. Then work on using owa_util.mime_header or Like MichaelS suggested htp.p surrounded by any needed tags w/options to duplicate the working static document's functionality.

  • Owa_util.mime_header not working like it should

    I have written a PL/SQL procedure that functions as a report using htp and htf tags. I wish to give the user the option to display the report in MS Excel. In the procedure, I have the following line:
    OWA_UTIL.MIME_HEADER('application/vnd.ms-excel');
    This has worked fine for me on several previous occasions, but at this particular client all I get is an output of
    Content-type: application/vnd.ms-excel
    in the browser, without Excel being opened.
    Is there a server/DB/Portal setting that may be restricting Portal from sending this report to Excel? I'm using portal 9.0.2.6.18 on a Sun/Unix platform.

    I've been struggling with this too. I've ceated a test procedure which includes:
    htp.init;
    owa_util.mime_header('application/excel');
    htp.p('ID;ORACLE;N;E');
    htp.p('line 1 col 1');
    htp.p('line 1 col 2');
    htp.p('line 1 col 1');
    htp.p('line 2 col 2');
    but when I open it in Excel I get:
    "Error reading record 5"
    Can anyone suggest what I'm doing wrong?

  • Owa_util.mime_header, Excel, and style sheets

    Does anyone know of a way to pass styles from Cascading Style Sheets to an Excel file? I'm using owa_util.mime_header('application/excel') to open the spreadsheet from a PL/SQL procedure formatted for html using htp and htf tags. I can put the <font> tags back into the code if I have to, but I'd rather not...
    Thanks,
    Dave

    tward wrote:
    I'm trying to use:
    owa_util.mime_header('application/vnd.ms-excel', FALSE)
    htp.p('Content-Disposition: filename="test.xls"');
    owa_util.http_header_close;
    htp.htmlopen;
    htp.bodyopen;
    htp.tableopen(cattributes=>'border="1" width="100%" align="CENTER"');
    htp.tablerowopen;--(cattributes => 'align="LEFT", bgcolor="LIGHTGRAY"');
    htp.tableheader(cattributes=>'width="10%"', cvalue => 'Header 1');
    htp.tableheader(cattributes=>'width="15%"', cvalue => 'Header 2');
    htp.tableheader(cattributes=>'width="20%"', cvalue => 'Header 3');
    htp.tableheader(cattributes=>'width="10%"', cvalue => 'Header 4');
    htp.tableheader(cattributes=>'width="20%"', cvalue => 'Header 5');
    htp.tableheader(cattributes=>'width="25%"', cvalue => 'Header 6');
    htp.tablerowclose;
    htp.tableclose;
    htp.bodyclose;
    htp.htmlclose;
    My understanding is that this will open the window to Open/Save/Cancel the output in Excel.....
    But for some reason, it simply displays in a browser window.....
    The first line in the windows is:
    Content-type: application/vnd.ms-excel Content-Disposition: filename="test.xls"
    followed by the HTML Table....
    Why will it not open in Excel for me?Something is not getting recognized properly.
    Try hard-coding the functionality you want into a static HTML document. Then work on using owa_util.mime_header or Like MichaelS suggested htp.p surrounded by any needed tags w/options to duplicate the working static document's functionality.

  • AJAX problem

    Hi All,
    Please help me on this. I am getting this exception when i tried to run my jsp using AJAX.
    org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:850)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
         org.apache.jsp.WEB_002dINF.jspf.sucess_jsp._jspService(sucess_jsp.java:191)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.NoClassDefFoundError: org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager
         org.ajaxtags.tags.AjaxSelectTag.doStartTag(AjaxSelectTag.java:167)
         org.apache.jsp.WEB_002dINF.jspf.sucess_jsp._jspx_meth_ajax_005fselect_005f0(sucess_jsp.java:623)
         org.apache.jsp.WEB_002dINF.jspf.sucess_jsp._jspService(sucess_jsp.java:168)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
         org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    and in my .jsp i have coded like this
    <body>
    <html:form action="/sucessAction.do">
    Make:
    <html:select property="make" styleId="make">
    <html:option value="">Select make</html:option>
    <html:option value="0">Zero</html:option>
    <html:option value="">One</html:option>
    <html:option value="">Two</html:option>
    </html:select>
    Model:
    <html:select property="model" styleId="model" disabled="true">
    <html:option value="">Select make</html:option>
    </html:select>
    Year:
    <html:select property="year" styleId="year" disabled="true">
    <html:option value="">Select model</html:option>
    </html:select>
    </html:form>
    <script type="text/javascript">
    function initProgress() {
    Element.show('progressMsg');
    function resetProgress() {
         Effect.Fade('progressMsg');
    function reportError() {
    if ($('model').options.length == 0) {
    $('errorMsg').innerHTML = "Dropdown busted!";
    Element.show('errorMsg');
    setTimeout("Effect.DropOut('errorMsg')", 2500);
    </script>
    <ajax:select baseUrl="${contextPath}/Test/ajaxAction.do"
    source="make"
    target="model"
    parameters="make={make}"
    preFunction="initProgress"
    postFunction="resetProgress"
    errorFunction="reportError"
    parser="new ResponseXmlParser()">
    </ajax:select>

    java.lang.NoClassDefFoundError means that a class can't be found. The class that can't be found is:
    org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager
    So what do you think is the problem?

  • How to solve Ajax problem in Tomcat server

    we are using Tomcat 5.0.27 server and my sql server. we using AJAX Techniques in my projects. but its some times working fine but sometimes not working the code sample is given by
    var req;
    var names;
    function initRequest(url) {
    if (window.XMLHttpRequest)
         req = new XMLHttpRequest();
    else if (window.ActiveXObject)
    isIE = true;
    req = new ActiveXObject("Microsoft.XMLHTTP");
    if (req==null)
              alert("Your browser does not support XMLHTTP.")
    function loadPurchase(startLetter)
         var mon=document.getElementById('month').value;
    var yea=document.getElementById('year').value;
    var url = "../inventory?actionS=INVPurchase&month="+escape(mon)+"&year="+escape(yea)+"&id="+escape(startLetter);;
         initRequest(url);
         req.onreadystatechange = PurchaseRequest;
         req.open("GET", url, true);
         req.send(null);
    function PurchaseRequest() {
              0 (Uninitialized) The object has been created, but not initialized (the open method has not been called).
              1 (Open) The object has been created, but the send method has not been called.
              2 (Sent) The send method has been called, but the status and headers are not yet available.
              3 (Receiving) Some data has been received.
              4 (Loaded) All the data has been received, and is available
    alert(re.readyState)
         if(req.readyState == 4)
    alert("Inside Ready State");
    document.getElementById('Edit').disabled=true;
    document.getElementById('Delete').disabled=true;
    if (req.status == 200)
    PurchaseMessages();
         else
              alert("Problem retrieving XML data")
    function PurchaseMessages()
    var batchs = req.responseXML.getElementsByTagName("purchases")[0];
    var str="";
    for(loop = 0; loop < batchs.childNodes.length; loop++)
    var batch = batchs.childNodes[loop];
    var Refid = batch.getElementsByTagName("Refid")[0];
    str = str +Refid .childNodes[0].nodeValue;
    var tb=document.getElementById('PurchaseTable');
    tb.innerHTML=str ;
    the alert coding( req.readyState) is always 1
    how to solve for that
    please any one help me

    Sorry, I've never done this. I went to the Tomcat site and pulled down the CGI docs, which you might have seen:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html
    No other help available from me. Sorry.

  • AJAX problems

    I have a global select list (self submit) on page #0 in my application. I have a bulk update form on page #2. This bulk update form on page #2 has editable fields and a link also. This link on the bulk update form is programmed to show a AJAX report. This AJAX report is pulled from page #3 onto page #2 using Carl's example. Here are some of the problems that I'm having, any help is really appreciated.
    Problem # 1
    When I click on the url link in page #2, the AJAX report is pulled properly from page #3, but the pagination on the AJAX report does not work, the error message is "undefined"
    Problem #2
    When the AJAX report is displayed and I try to change select list (self submit) on page #0 to refresh the bulk update form on page #2, the ajax report generates the following error.
    Error      Item ID (1958808806097753) is not an item defined on the current page.
    Problem # 3
    I'm trying to set "Display as Text" field from the same link in bulk update form. I have set the target to "URL" in the report attributes and called the javascript. It sets the value in session, but does not show the latest value on the screen for the field. The same javascript code works "onChange" for a select field to set the field, but not for a link the report, any ideas are appreciated.
    thanks,
    Surya

    Hello,
    Yeah see you had two separate issues.
    first issue:
    When I try to change the pagination, it gives "undefined error";The problem with this is that the pagination is using page 8 when the report is from page 9. We are going to be enhancing this in 4.0 so this won't be a problem. You have a couple solutions.
    1. Disable Pagination and just return all the rows.
    2. Rewrite the javascript function that does the pagination so that it points at page 9 , include this in your page. This will break the pagination for any other reports on this page but will enable it for the report that you are pulling from page 9.
    function $a_report(pId,pMin,pMax,pFetched,pSort){
       lThis = $u_js_temp_drop();
       var lOld = $x('report_'+pId+'_catch');
       lOld.id = 'report_'+pId+'_catch_old';
           old code
           var l_URL = 'p='+$v('pFlowId')+':'+$v('pFlowStepId')+':'+$v('pInstance')+':FLOW_PPR_OUTPUT_R'+pId+'_';
        var l_URL = 'p='+$v('pFlowId')+':9:'+$v('pInstance')+':FLOW_PPR_OUTPUT_R'+pId+'_';
       if(!!pSort){l_URL += pSort+'::RP&fsp_region_id='+pId;}
       else{l_URL += 'pg_R_'+pId+':NO&pg_max_rows='+pMax+'&pg_min_row='+pMin+'&pg_rows_fetched='+pFetched;}
       var ajax = new htmldb_Get(null,null,null,null,null,'f',l_URL);
       var gReturn = ajax.get();
       lThis.innerHTML = gReturn;
       lOld.innerHTML = $x('report_'+pId+'_catch').innerHTML;
       lOld.id = 'report_'+pId+'_catch';
       lThis.innerHTML = '';
       return;
    Second issue:
    when change the global select list at the top and the error is "Error Item ID (4571613207429374406) is not an item defined on the current page."This problem was because you were pulling a hidden form item in with your report content from for page 9 "P9_JOB Hidden and Protected", this will always break your page. You should either use an Application Level item or make sure to strip the form item out. I fixed your page by moving the Form Item to a new region and moving that region to region position one. Since that content gets clipped out your fine and it doesn't break.
    >
    >
    Finally when pulling reports from another page you want to make sure that the highlighting options are turned off because it's trying to run javascript that is not in the page and throws errors.
    I've made all three of these fixes in your application so you can see them running.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Apex 4.0 Cascading Select List: ajax problem with german umlaute

    Hi everybody,
    Apex 4.0
    Dad PlsqlNLSLanguage: GERMAN_GERMANY.WE8MSWIN1252
    I have problems with german umlaute and ajax cascading select lists (Cascading LOV Parent Item).
    The data is populated without a page refresh in the select list when the parent select list changes but special signs like german umlaute are shown as weird characters.
    Seems like there is some charset problem with ajax.
    This is the only part of the application where special signs like umlaute are messed up. Everything else is fine.
    I allready tried to figure out if I can escape the umlaute in the javascript (file apex_widget_4_0.js) but no success here.
    Can anybody help me with this issue?
    Thanks in advance,
    Markus

    Hi Markus,
    your specified character set in your DAD is wrong. As mentioned in the installation instructions at http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/otn_install.htm#CHDHCBGI , Oracle APEX always requires AL32UTF8.
    >
    3. Locate the line containing PlsqlNLSLanguage.
    The PlsqlNLSLanguage setting determines the language setting of the DAD. The character set portion of the PlsqlNLSLanguage value must be set to AL32UTF8,
    regardless of whether or not the database character set is AL32UTF8. For example:Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • XML News / AJAX problem

    Hi,
    We are using AJAX to call one portal component by sending some parameters to create the link for the news, which we create with xml form builder.
    We have modified the .xsl file of xml template and embedd the code to call the portal component.
    We are idenfying the news which is created by xml template and creating the link for that news in some other KM folder.
    After creating or updating the news with xml template all news will be displayed after compliting the process. But this is happening for first time only. If I try again to create/update the news the news item is creating/updating but browse is stuckup and popup message "Your request is being processed".
    Please let me know what might be the problem
    Thanks

    Solved my self

  • Ajax + problem with Firefox

    Dear All;
    I am new to Ajax world. I have following lines of code that works fine on IE and Eclipse internal Browser but when i tried testing on Firefox it did not work.
    I have pin pointed the exact location. Please help me out to solve it.
    Code:
    var xmldoc=req.responseXML.documentElement;
    var xrows=xmldoc.getElementsByTagName('entry');
    var mytable = document.getElementsByTagName("table")[2];
    var mytablebody = mytable.getElementsByTagName("tbody")[0];
    for(i=0;i<xrows.length;i++)
    alert('inside for loop');
    var num=xrows.childNodes[0].firstChild.nodeValue;
    alert("num:="+num);/////////////// This line has problem
    var site=xrows[i].childNodes[1].firstChild.nodeValue;
    alert("site"+site);
    In IE (////////////This line has problem) is showing proper output but this is not working with forefox.
    Please help me out.
    Thanks and Regards;
    Vikash Anand.

    HI Vikash,
    Yes, there a some problems between the browsers that causes every developer pain. A good site to help identifying browsers quirks is http://www.quirksmode.org.
    I believe you need an array designation where the xrows element is defined, which looks like your root element. For example:
    var xrows=xmldoc.getElementsByTagName('entry')[0];
    If this isn't your root element, then you may want to try starting at the root element, then using it's childNodes property, extract the "entry" items.
    This is assuming that you are you getting a valid xml document back in your response that has the entry item in it.
    The error console of firefox may also help you find the problem. For advanced debugging, firebug is great and is located at https://addons.mozilla.org/firefox/1843/
    Hope this helps - Thanks - Mark
    Message was edited by:
    markbasler

  • Printing Whole page problem

    I know this is probably VERY easy once you know how but how
    do you use AS2 to let the user simply print the view of the whole
    of the page (stage) they are seeing?

    Rick - Check the PrintJob object in AS2.0. Basically you have
    to make your
    page/stage a movieClip, then print the MC.
    -Marc Lee
    "Rick_Cope" <[email protected]> wrote in
    message
    news:g972i6$m6f$[email protected]..
    > I know this is probably VERY easy once you know how but
    how do you use AS2
    to let the user simply print the view of the whole of the
    page (stage) they
    are seeing?

  • JSF AJAX problem

    Hi every body I am using ajax for jsf for form submit .I can use this.form.submit() , but I want to use the ajax type form submission .It is working fine in the fire fox , but when I am running my application on IE it is not working .
    Is there any limitation in ajax for JSF in IE ?
    thanks ,
    SB

    Hi every body I am using ajax for jsf for form submit .I can use this.form.submit() , but I want to use the ajax type form submission .It is working fine in the fire fox , but when I am running my application on IE it is not working .
    Is there any limitation in ajax for JSF in IE ?
    thanks ,
    SB

Maybe you are looking for

  • Is there a way to use the built in camera with msn

    I don't have any friends with a mac so hard to use Ichat. But with my pc i could use webcam and mic but with a mac they don't work at all is there a way to work. I have a Yahoo account and it works there the cam at least not mic. Or do all my friends

  • Multiple scopes and multiple VLANS

    What am I missing her, probably a lot?  Goal: Create 3 scopes within WS 2012R2. 1. Default network (192.168.1.0-Range .100-.254) 2. Network for IP Camera system (192.168.2.0-Range .100-.254) 3. Guest Network (192.168.3.0-Range .100-.254).  Scopes are

  • Rotate movie AVI in iPhoto

    How do I rotate an imported movie in iPhoto? If it is shot in vertical, it shows up in Events as horizontal, and I have to rotate my laptop to play it.

  • Quicktime screen w/question mark

    I've downloaded the newest quicktime, 7.0.3 no problems installing or downloading, but everytime I go to play a quicktime movie, the "Q" icon shows up with a question mark in front of it. Any idea why that is? Also, the quicktime won't work for my iT

  • ACS stops working following alerts

    We have ACS 4 and we use a 4404 wireless lan controller. In the past month we've been experiencing outages for our wireless clients. We get alert messages from ACS like "Auth server down: Could not change Password" or "Test Timed out for service: CSR