Masked HTML tags in substitution strings after upgrade to Apex 2.2

Hello,<br>
<br>
in my application developed with htmldb 2.0 I had the following scenario which worked fine until upgrade to 2.2:<br>
<br>
Requirement: a multiline text should be displayed as entered on a html report page.<br>
My solution:<br>
- a onload page process of the form <br>
select replace(description,chr(10),'&lt;br&gt;') into :P1_DESCRIPTION from mytable where id = :P1_ID;<br>
- and a page template containing <br>
...<br>
<td>&P1_DESCRIPTION.</td><br>
...<br>
<br>
This worked in HTML DB 2.0.<br>
<br>
My problem: After upgrade to Apex 2.2 the report doesn't display the carriage returns anymore. Instead of interpreted BR tags I get masked BR tags printed as text:<br><br>
<br>this is the first line&lt;br&gt;this is the second line<br><br>
It's quite obvious that the substitution mechanism changed in Apex 2.2. Any ideas how to change my app ?

Take a look at this thread:
Computed Region TItles being Escaped in Apex 2.2
You may have to change the type of your P1_DESCRIPTION item.

Similar Messages

  • Integrate html tags in a string and display it in a multiline text area

    Hi ABAPers!!
    First of all let me tell you that I'm working in ACCENTURE Casablanca(Morocco) and this is my first Job in my career.
    I'm working on an ALV OO, the program consists on creating an ALV using OO, In my selection screen there's a parameter of type ddobjname I provide the name of table and it returns the table's fields in another dynpro (screen0100), To do this I used the FM: 'DDIF_FIELDINFO_GET' then I append the internal table returned in another one to add the field CB (CheckBox), and I add a button in the toolbar, the function of this button is to generate a MySQL script To create the table provided by the user in my parameter (Screen 1000), but the fields of this table(MySQL) in the generated script are only the selected ones by cheking the checkbox in the ALV.
    I store my script in a string.
    My problem is that I want to show my script in a text area, but I don't know how to create a multiline text area!!
    And I want to use HTML tags in my string.
    I don't want to my string like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown like  this:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    Thanks in advance
    Regards
    SMAALI Achraf
    Edited by: SMAALI90 on May 11, 2011 7:12 PM

    Hi again!!
    You know what!! let's forget the HTML and focuse on what I want to show.
    As I told you, I've a string which contains my script.
    I don't want that it will be shown as a simple line like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown as follows:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    and finally I want to show it in a multiline text area.
    Plz what shud I do?!!! If possible I need a piece of code.
    PS : I create a HTML Viewer using this code :
    DATA : go_conteneur          TYPE REF TO cl_gui_docking_container,
                 go_controle_html    TYPE REF TO cl_gui_html_viewer.                 
      CREATE OBJECT go_conteneur                     
        EXPORTING                                    
          repid     = sy-repid                       
          dynnr     = '0100'                         
          side      = go_conteneur->dock_at_bottom   
          extension = 1000                           
          name      = 'CONTENEUR'                    
        EXCEPTIONS                                   
          OTHERS    = 1.                             
      CREATE OBJECT go_controle_html                 
        EXPORTING                                    
          parent = go_conteneur                      
        EXCEPTIONS                                   
          OTHERS = 1.
    But when it's shown my ALV disappears!!!

  • How to remove HTML tags from a String ?

    Hello,
    How can I remove all HTML Tags from a String ?
    Would you please to give me a simple example ?
    Best regards,
    Eric

    Here's some code I cooked up. I have created an object that processes code so that it can be incorporated directly into a project. There is some redundancy so that the it can be used in more than one way. Depending on your situation you might have to make the condition statement a little more sophisticated to catch stray ">" tags.
    I have also included a Tester application.
    //This removes Html tags from a String either by submitting the String during construction and then
    // calling getProcessedString() or
    // by simply calling " stringwithoutTags=removeHtmlTags(stringWithTagsSubmission); "
    //Note: This code assumes that all"<" tags are accompanied by a ">" tag in the proper order.
    public class HtmlTagRemover
         private String stringSubmission,processedString,stringBeingProcessed;
         private int indexOfTagStart,indexOfTagEnd;
         public HtmlTagRemover()
         public HtmlTagRemover(String s)
              removeHtmlTags(s);          
         public String removeHtmlTags(String s)
              stringSubmission=s;
              stringBeingProcessed=stringSubmission;
              removeNextTag();
              return processedString;
         private void removeNextTag()
              checkForNextTag();
              while((!(indexOfTagStart==-1||indexOfTagEnd==-1))&<indexOfTagEnd)
                   removeTag();
                   checkForNextTag();
              processedString=stringBeingProcessed;
         private void checkForNextTag()
              indexOfTagStart=stringBeingProcessed.indexOf("<");
              indexOfTagEnd=stringBeingProcessed.indexOf(">");
         private void removeTag()
              StringBuffer sb=new StringBuffer("");
              sb.append(stringBeingProcessed);
              sb.delete(indexOfTagStart,indexOfTagEnd+1);
              stringBeingProcessed=sb.toString();
         public String getProcessedString()
              return processedString;
         public String getLastStringSubmission()
              return stringSubmission;
    public class HtmlRemovalTester
         static void main(String[] args)
              String output;
              HtmlTagRemover h=new HtmlTagRemover();
              output="The processed String: "+h.removeHtmlTags("<Html tag>This is a test<another Html tag> string<yet another Html tag>.");
              output=output+"\n"+" The original string:"+h.getLastStringSubmission();
              System.out.print(output);

  • Stripping HTML Tags from a String

    What's the best way to remove html tags from a string (i.e. user input)?

    Can you give an example? You can do substring, if your passing spaces between pages you can do a trim to the variable. Also look at the indexOf(). Look at methods relating to java.lang.String.

  • HTML tag in Coldfusion string not appearing

    Hey guys I'm wondering what I'm doing wrong when trying to
    store an html tag in a string. Basically I'm dynamically creating a
    list for use in a javascript menu, so when building the menu, I do
    this:
    menu = "< ul id = """ & mainID & """
    ><br>";
    to generate a list (of course thats only part of the list
    code). This line produces < ul id = "mainID" >
    What I need is for the spaces to be removed, so it would
    produce <ul id="mainID">
    But in my Coldfusion function, if I write:
    menu = "<ul id=""" & mainID & """><br>";
    nothing shows up! A space between < and ul works fine, but
    once I delete them, nothing! Any help would be really appreciated,
    thanks.

    actually found the answer elsewhere, I declared a variable
    open = &lt; now instead of using the <, i just write open,
    which generates the list fine.
    but a followup, the list is being generated now, but on the
    page instead of the javascript/css menu catching it and formatting
    it, it just displays the whole list, tags and all. I tried
    htmlEditFormat( ), that only changed all the symbols to their I
    guess ASCI couterparts. Any ideas why its showing the list as text
    rather than creating a menu??
    also I tried it without the menu, which should have shown a
    bulleted list, but that didn't work either...

  • Integration of APEX in OBIEE 11g fails after upgrade to APEX 4.2.1

    I used a document from the german APEX forum to integrate Oracle Business Intelligence 11g (OBIEE) with APEX.
    After login in OBIEE a APEX page will be called without login in APEX.
    The Document is called "APEX in Oracle Business Intelligence (Oracle BI) integrieren"
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/biee-apex/index.html
    In APEX 4.0 this worked great. After login in OBIEE I could call a APEX page without new login.
    But after upgrading to APEX 4.2.1 now the APEX login mask is displayed.
    OBIEE uses this function to create a APEX session and store the APEX session-id and username in the table apex_biee_session:
    -- Function GET_APEX_SESSION_ID
    -- sets up an APEX session for a BIEE user
    FUNCTION get_apex_session_id (p_username IN VARCHAR2,p_days_valid IN NUMBER DEFAULT 1) RETURN VARCHAR2
    IS
    pragma autonomous_transaction;
    l_session_id NUMBER;
    l_valid_to DATE;
    l_count NUMBER;
    l_password VARCHAR2(4000);
    BEGIN
    l_valid_to := SYSDATE + NVL(p_days_valid,1);
    -- Let us delete expired records:
    BEGIN
    DELETE FROM apex_biee_session
    WHERE valid_to < TRUNC(SYSDATE,'DD');
    COMMIT;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    -- get next APEX session id:
    l_session_id := apex_custom_auth.get_next_session_id;
    -- Insert the BIEE user and the APEX session id in table APEX_BIEE_SESSION
    INSERT INTO apex_biee_session (username, sessioN_id, valid_to)
    VALUES (UPPER(p_username),l_session_id,l_valid_to);
    COMMIT;
    -- define an APEX user session:
    apex_custom_auth.define_user_session(
    p_user => UPPER(p_username),
    p_session_id => l_session_id);
    htmldb_application.g_unrecoverable_error := TRUE; -- tell apex engine to quit
    RETURN l_session_id;
    EXCEPTION
    WHEN OTHERS THEN RETURN '-99';
    END get_apex_session_id;
    CREATE TABLE "APEX_BIEE_SESSION"
    (     "USERNAME"     VARCHAR2(60),
         "SESSION_ID"     NUMBER,
         "VALID_TO"     DATE,
         CONSTRAINT "APEX_BIEE_SESSION_PK" PRIMARY KEY ("USERNAME","SESSION_ID")
    In APEX this page sentry function is called:
    -- Function PAGE_SENTRY
    -- used as page sentry function in APEX applications
    FUNCTION page_sentry RETURN BOOLEAN
    IS
    l_current_sid NUMBER;
    l_biee_userid VARCHAR2(255);
    l_cookie owa_cookie.cookie;
    l_c_value VARCHAR2(255) := NULL;
    l_cookie_tom owa_cookie.cookie;
    l_c_value_tom VARCHAR2(255) := NULL;
    l_session_id NUMBER;
    l_biee_auth     VARCHAR2(1) := 'N';
    BEGIN
    BEGIN
    -- If normal APEX user authentication is used, cookie LOGIN_USERNAME_COOKIE will be used
    l_cookie_tom := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    l_c_value_tom := l_cookie_tom.vals(1);
    l_biee_userid := UPPER(l_cookie_tom.vals(1));
    EXCEPTION
    WHEN OTHERS THEN NULL;
    END;
    l_session_id := apex_custom_auth.get_session_id; -- in APEX 4.2.1 this returns NULL
    -- Do we have a record in table APEX_BIEE_SESSION with the current session id
    BEGIN
    SELECT UPPER(username) INTO l_biee_userid
    FROM apex_biee_session
    WHERE session_id = l_session_id AND valid_to > SYSDATE;
    l_biee_auth := 'Y';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN l_biee_userid := 'Failed';
    END;
    IF l_biee_userid = 'Failed' THEN
    IF l_c_value_tom IS NULL THEN
    l_biee_userid := NULL;
    ELSE
    l_biee_userid := UPPER(l_c_value_tom);
    END IF;
    END IF;
    -- If l_biee_userid is NULL we need to call the APEX login page (done by RETURN FALSE)
    IF l_biee_userid IS NULL THEN
    RETURN FALSE;
    END IF;
    IF l_biee_auth = 'N' THEN
    l_current_sid := apex_custom_auth.get_session_id_from_cookie;
    ELSE
    l_current_sid := l_session_id;
    END IF;
    -- This is the built-in part of the session verification
    IF apex_custom_auth.is_session_valid THEN
    wwv_flow.g_instance := l_current_sid;
    IF apex_custom_auth.get_username IS NULL THEN
    apex_custom_auth.define_user_session(
    p_user => UPPER(l_biee_userid),
    p_session_id => l_current_sid);
    RETURN TRUE;
    ELSE
    IF UPPER(l_biee_userid) = UPPER(apex_custom_auth.get_username) THEN
    apex_custom_auth.define_user_session(
    p_user =>UPPER(l_biee_userid),
    p_session_id =>l_current_sid);
    RETURN TRUE;
    ELSE -- username mismatch. Unset the session cookie and redirect back here to take other branch
    apex_custom_auth.logout(
    p_this_app=>v('APP_ID'),
    p_next_app_page_sess=>v('APP_ID')||':'||nvl(v('APP_PAGE_ID'),0)||':'||l_current_sid);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    RETURN FALSE;
    END IF;
    END IF;
    ELSE -- application session cookie not valid; we need a new apex session
    IF l_biee_auth <> 'Y' THEN
    l_session_id := apex_custom_auth.get_next_session_id;
    END IF;
    apex_custom_auth.define_user_session(
    p_user => l_biee_userid,
    p_session_id => l_session_id);
    wwv_flow.g_unrecoverable_error := true; -- tell htmldb engine to quit
    IF owa_util.get_cgi_env('REQUEST_METHOD') = 'GET' THEN
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?'||wwv_flow_utilities.url_decode2(owa_util.get_cgi_env('QUERY_STRING')));
    ELSE
    wwv_flow_custom_auth.remember_deep_link(
    p_url=>'f?p='||
    TO_CHAR(wwv_flow.g_flow_id)||':'||
    TO_CHAR(nvl(wwv_flow.g_flow_step_id,0))||':'||
    TO_CHAR(wwv_flow.g_instance));
    END IF;
    apex_custom_auth.post_login( -- register session in htmldb sessions table, set cookie, redirect back
    p_uname => l_biee_userid,
    p_app_page => wwv_flow.g_flow_id||':'||nvl(wwv_flow.g_flow_step_id,0));
    RETURN FALSE;
    END IF;
    END page_sentry;
    The problem seems to be that in line "l_session_id := apex_custom_auth.get_session_id;" the call of apex_custom_auth.get_session_id is returning NULL in APEX 4.2.1.
    In APEX 4.0 the call of apex_custom_auth.get_session_id returned the APEX session id.
    What can I do to get this working again ?
    Kind Regards,
    Markus
    Edited by: asmodius1 on Jan 10, 2013 2:06 PM

    Hi,
    this integration relies on session fixation, that's an insecure practice which is not allowed anymore since 4.1:
    http://en.wikipedia.org/wiki/Session_fixation
    Since the cookie value for the session id is missing, Apex rejects the session id and sets it to null, before calling the sentry function.
    If you absolutely want to use this kind of integration, you will have to parse the value of owa_util.get_cgi_env('QUERY_STRING') in the sentry function to get the session id. To make it a bit more secure, the row in APEX_BIEE_SESSION should only be valid for a very short time (e.g. 1 sec). A person from Oracle Support contacted me about possible improvements to this authentication a few weeks ago. I replied with the following suggestions:
    I would at least add a Y/N flag (e.g. SESSION_JOINED_BY_APEX) to the
    APEX_BIEE_SESSION table. The page sentry should only accept the session
    without an accompanying cookie if the flag is still N. It has to set it
    to Y afterwards. This way, you ensure that the session joining without
    cookie can only be done once. Maybe there should also be an alternative
    way to log in to APEX, e.g. via page 101. Currently, this authentication
    only accepts session IDs that were generated via OBIEE.
    Users could log out of APEX or the APEX session could expire. Therefore,
    the APEX app should have a post logout procedure that deletes the row in
    the OBIEE session table. On the OBIEE side, APEX_SESSION_ID should
    therefore be initialized on each request. The initialization code should
    also check APEX_WORKSPACE_SESSIONS to make sure the session still
    exists.
    Regards,
    Christian

  • Popup LOV returns not found on this server after upgrading to APEX 3.2

    The Popup Key LOV (Displays description, returns key value) does not work after upgrading to APEX 3.2 from APEX 3.0.
    Don't now if the character set is relevant.
    The database character set on APEX 3.0 was:
    NLS_CHARACTERSET: WE8MSWIN1252
    DAD CHARACTERSET: WINDOWS-1252
    APEX 3.2:
    NLS_CHARACTERSET:     AL32UTF8
    DAD CHARACTERSET:     UTF-8
    When clicking on the popup the message is "The requested URL /pls/apex31mb/wwv_flow_utilities.gen_popup_list was not found on this server.".
    This error applies for both Firefox and IE.

    Can't reproduce the error on apex.oracle.com, the popup works fine.
    The only difference I notice on the environments is the database version (our: 10g, oracle.apex.com: 11g), but I can't see this have any influence.

  • Method to Format a string column containing HTML tags as simple string.

    Hello,
    I am working with formating a string column which holds Html tags.
    I want to remove these tags from the actual data which has to be shown on the BI Publisher report.
    Can you suggest how can we format this in the DataSet designer of BI publisher so that my data is recognised on the Layout designer.
    I have been trying to create an expression using the "Add Element by Expression" option to format this html tag data as normal string without the tags.
    Can you suggest if this is the correct method to do this.
    I found this below code being used in an existing DateSet but i am not able to recreate a similar formating on this kind of data column.
    <![CDATA' || '['|| TO_CLOB(SUCCESS_CRITERIA) || ']' || ']>
    Kindly suggest if you have any idea on the above mentioned issue.
    Thanks,
    Shweta

    And read this:
    Navigate yourself around pitfalls related to the Runtime.exec() method
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Problems with HTML in dynamic reports template after upgrade to 3.1

    Hi, we just upgraded from APEX 2 to 3.1. W ehave an application that has a report template as follows:
    <img src="&P1_LOGO." border="0" alt="Home" />
    <div>
    <table align="LEFT">
    <tr>
    <td align="LEFT" width=500><font size="-2"><P>&P1_FROM_ADDRESS.</P></td>
    <td align="LEFT" width=175><font size="-2"><P>&P1_REMIT_TO.</P></td>
    </tr>
    </table>
    <BR></BR>
    #BOX_BODY#
    The item P1_REMIT_TO is set to an address using a PL/SQL computation. It has HTML tags such as <B> and <BR> in it. In 2.0 this displayed fine. In 3.1 it does not interpret the HTML tags, so it sshows up with the HTML tags in the text.
    Any idea what may have changed and how to fix this?

    Tor,
    You're in Tampa huh? Are you a member of the SOUG?
    Issues like browser alignment are always easiest to figure out with an example. Post an example app on apex.oracle.com and provide some developer credentials with which we can get in "under the hood".
    Regards,
    Dan
    http://danielmcghan.us/
    http://sourceforge.net/projects/tapigen/

  • XLS download of interactive report - error after upgrade to apex 4.1.1

    Hello!
    When trying to download a certain IR with e.g. 10 columns as XLS, I get the following error in the Excel in Apex 4.1.1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    If I change it to two columns it works.
    BI Publisher 11.1.1.5.0
    Apex 4.1.1.00.23
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    In Apex 4.0.2.00.07 the exact same IR works with any number of columns.
    Any ideas?
    BR Paul

    BR Paul,
    I am experiencing the same issue after upgrading to 4.1.1.00.23 and trying to download pdf via bi pub xmlpserver. Seems if i reduce the columns to what fits on an 8.5X11 page then it works without error. Were you able to find a workaround in 4.1.1? Just trying to save some effort if you already found the solution. I wasn't successful in finding many others with this issue, so i appreciate the post but unfortunately don't have an answer to our problem. I'm using the standard csv download option and this works but of course it isn't going through bi pub.
    thanks,
    Jeff

  • Cannot login after upgrading to Apex 3.1.2

    I have installed the oracle-xe-10.2.1-1.0.i386.rpm onto a RedHat server using
    ]# rpm -ivh oracle-xe-10.2.0.1-1.0.i386.rpm
    Then I configure the database
    ]# /etc/init.d/oracle-xe configure
    Then I enable remote access
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS (FALSE);
    This appears to work properly and I can log into the Apex page at http://server:8080/apex/apex_admin
    After this install I'm attempting to upgrade to Apex 3.1.2 and have attempted this several times. Each time, the result is that I can bring up the web page, but cannot authenticate. All that I see is "error on page" at the bottom left of the window. (IE6 or Firefox).
    To complete the upgrade I do the following.
    ]$ sqlplus /nolog
    SQL> @apexins SYSAUX SYSAUX TEMP /i/
    After the install runs the last few lines are
    Upgrade completed successfully no errors encountered.
    -- Upgrade is complete -----------------------------------------
    timing for: Upgrade
    Elapsed: 00:00:34.60
    ...End of install if runtime install
    ...create null.sql
    timing for: Development Installation
    Elapsed: 00:18:18.29
    not spooling currently
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 – Production
    I have then stopped and restarted the oracle-xe
    Then I have logged back in with sqlplus / as sysdba
    and run
    @apxxepwd.sql or @apxchpwd (different attempts at the install)
    After all of this appearing to run successfully, I cannot log into either the basic apex screen or the apex admin screen.
    When it has failed, I have uninstalled the RPM and deleted the remanant folder.
    Then re-installed from scratch.
    I'm new to oracle, and any assistance would be appreciated.

    Thank you for your reply. I get the followin errors while trying your suggestions.
    The password change appears to be successful.
    SQL> @apxldimg.sql /opt/oracle-instdir/apex
    PL/SQL procedure successfully completed.
    old 1: create directory APEX_IMAGES as '&1/apex/images'
    new 1: create directory APEX_IMAGES as '/opt/oracle-instdir/apex/apex/images'
    Directory created.
    declare
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SYS.XMLTYPE", line 287
    ORA-06512: at line 15
    PL/SQL procedure successfully completed.
    Commit complete.
    timing for: Load Images
    Elapsed: 00:00:00.03
    Directory dropped.
    SQL>

  • After upgrade to Apex 4.2.1, login to old workspace results in 404

    I have made an upgrade to Apex 4.2.1 from Apex 4.1 runtime.
    (Upgrade completed successfully no errors encountered.)
    I had an installed app which I cannot use now.
    Login to apex_admin is possible, so I've created developer users in the existing workspace.
    Developer users get
    404 - Not found error when logging in to the workspace, with
    http://mysrv:8080/apex/wwv_flow.acceptin the address line.
    It is apparent in the DB that the existing application has been copied to apex_040200 DB schema.
    Same error is displayed when navigating to the app's login page, say http://mysrv:8080/apex/f?p=123:1
    I use GlassFish Server Open Source Edition 3.1.1.
    After upgrading Apex Listener to 2.0.1 (from 1.1.3), nothing has changed except that
    404 appears in white over a blue background stripe.
    Under / Monitor Activity / Login Attempts, there are only Incorrect Password entries
    However, after creating a new WS, I can log into it.
    Is there a way to use to WS and APP created in the older Apex version 4.1 ?

    Under apex_admin, among all workspace requests, I first had to deselect status = 1,
    then my workspace has appeared in the list with status "-". After clicking on Adjust,
    status "Terminated" appeared, who knows why.
    Since I changed workspace status to Approved, login is working.
    Questions:
    1/ How comes that status "Terminated" was not shown on the existing workspaces list?
    2/ What leads to the Terminated status, while the app was reachable before upgrade to 4.2.1?
    While App builder is appearing nice, my app has lost its design.
    3/ Where are images looked up? Do I need to reference glassfish docroot/i in i.war for Apex Listener 2.0.1? (I referred to apex install dir as indicated in the installation manual)
    4/ My custom login page starts with this error. Even after I log out of the builder. Is this normal?
    Attempt to save item P101_LANGUAGE in session state during show processing.
    Item protection level indicates "Item may be set when accompanied by a &quot;session&quot; checksum.".
    No checksum was passed in or the checksum passed in would be suitable
    for an item with protection level "Item has no protection.".
    Note: End users get a different error message

  • Problem with Collections after Upgrade to Apex 4.02

    Hi,
    We are using oracle 10g with Apex 4.02.
    I installed Jari's application for data import from excel.
    http://dbswh.webhop.net/apex/f?p=BLOG:READ:0::::ARTICLE:126300346812330
    It is working fine in our test environment but in production environment it is showing no data when I press the submit button. Am I missing some user privillege? Any help?
    Thanks,
    Zahid

    I have a HTML page with a browse file item. I select my csv file and press the upload button. The button submits the page and executes the following procedure.
    BEGIN
      DECLARE
        v_blob_data       BLOB;
        v_blob_len        NUMBER;
        v_position        NUMBER;
        v_raw_chunk       RAW(10000);
        v_char            CHAR(1);
        c_chunk_len       number       := 1;
        v_line            VARCHAR2 (32767)        := NULL;
        v_data_array      wwv_flow_global.vc_arr2;
        v_rows            number;
        v_sr_no           number := 1;
        v_rows_loaded     NUMBER;
       BEGIN
       -- Read data from wwv_flow_files</span>
           select blob_content into v_blob_data
           from wwv_flow_files
           where last_updated = (select max(last_updated) from wwv_flow_files where UPDATED_BY = :APP_USER)
           and id = (select max(id) from wwv_flow_files where updated_by = :APP_USER);
           v_blob_len := dbms_lob.getlength(v_blob_data);
           v_position := 1;
       -- Read and convert binary to char</span>
        WHILE ( v_position <= v_blob_len ) LOOP
           v_raw_chunk := dbms_lob.substr(v_blob_data,c_chunk_len,v_position);
           v_char :=  chr(hex_to_decimal(rawtohex(v_raw_chunk)));
           v_line := v_line || v_char;
           v_position := v_position + c_chunk_len;
        -- When a whole line is retrieved </span>
          IF v_char = CHR(10) THEN
        -- Convert comma to : to use wwv_flow_utilities </span>
           v_line := REPLACE (v_line, ',', ':');
        -- Convert each column separated by : into array of data </span>
           v_data_array := wwv_flow_utilities.string_to_table (v_line);
        --DELETE OLD DATA
        -- Insert data into target table </span>
         IF v_sr_no >1 THEN
           EXECUTE IMMEDIATE 'INSERT INTO EMP(EMPNO, ENAME, SAL, COMM, DEPTNO)
           VALUES (:1, :2, :3, :4, :5)'
           USING
          -- v_sr_no,
           v_data_array(1),
           v_data_array(2),
           v_data_array(3),
           v_data_array(4),
           v_data_array(5);
         END IF;
          -- Clear out
           v_line := NULL;
           v_sr_no := v_sr_no + 1;
          END IF;
       END LOOP;
    END;
    COMMIT;
    END;Pressing button gives me "ORA-01403: no data found" error message. This has been working before we upgraded from Apex 3.2 to Apex 4.02.
    I hope that the above detail may give you better idea of the problem.
    Thanks.

  • DB Home no longer available on XE after upgrade to apex 4.1.1

    Hello,
    I've installed XE 11R2 with Apex 4.0 included.
    The upgrade to apex 4.1.1 succeded, the url (http://localhost:8080/apex/f?p=4550:1) is still the same.
    But the DB Home (http://localhost:8080/apex/f?p=4950:1) is no longer available, an error displays :
         Error     ERR-1014 Application not found.
              application=4950 workspace=10          It's seems the workspace and the db home application has been deleted. Does an other way to access the DB Home exist ?
    Thanks a lot,
    Fanny

    Sorry, I've just found an other thread about this issue : After upgrading APEX to 4.1 the application 4950 is not working anymore
    It appears that on XE, apex 4.0 can't be upgraded for now. This is annoying in my case because I need apex other languages, not included in the xe version...
    Maybe can I use the standart apex folders ?

  • Jquery datepicker not popping up after upgrade to Apex 4.x

    Hi,
    We have recently upgraded from Apex 3.x to Apex 4.x. Earlier in Apex 3.x we have used Jquery libraries to display datepicker and it used to work. Now after the apex upgrade to 4.0 I am not getting the datepicker to popup. This is currently working in Mozilla browser but not in internet explorer. We are using IE7. This is an issue when using in Mult row screen. Single record screen is working fine.
    Please advice if any one has faced similar issue.
    Thanks
    Sukarna
    Edited by: user513776 on Feb 14, 2011 8:28 AM
    Edited by: user513776 on Feb 14, 2011 8:29 AM

    Hello,
    Check if SAP note 1384518 helps.
    Regards,
    David

Maybe you are looking for

  • How to get a List of Users Currently Logged into the portal

    Hi, Im trying to get the list of all users logged into the portal to do a web service, but I can't find the way to do this, is there any way to find this info thrugh a java class or some object in the RCU/schema/WCP database? Greetings Mike

  • Error at the time of Production order cancellation.

    Hi PP Gurus, The transactions happened when Sales order costing was activated 1. Sales order created 2. Production order creation, release 3. Production order confirmation and QM lot created 4. QM lot cleared with Result recording and UD has taken 5.

  • Hiding 403 text in KM?

    Hi All, In our portal landing page, we are displaying a sales graph, once we click on sales graph users will be able to see detailed graph. Currently we are in a process of differentiating these graphs between the users, so we are decided to give thi

  • OTL: Additional Input Values on Timekeeper

    Hello team, I have a requirement where I need to have an additional field on Timekeeper form called "Unique Hours". For this I did the following steps: 1. Created this additional input value in the relevant element. 2. Added to element set and ran Ge

  • AP Invoice - No Matching Account Error

    Hi When trying to add an AP invoice using a particular warehouse, we get "No Matching Record found 'G/L Account' (OACT)(ODBC -2028)" Changing this to another warehouse allows the document to be added. Firstly, under the Stock tab of General Settings,