SelectOneListbox magic?

Hi there,
I would like to create a selectOneListbox which hold main category stuff like Computer or Consumer Electronic. Then a 2nd selectOneListbox will hold sub category like Desktop and Laptop, which is under Computer category. Hence, when user click on "Computer" in 1st selectOneListbox, 2nd selectOneListbox will come out Desktop, Laptop etc and when user click on "Consumer Electronic" in 1st selectOneListbox, TV, DVD Player etc will come out from 2nd selectOneListbox.
Any idea how to accomplish this? Thanks !

hi
when I execute your code I got error like this
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
     org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:864)
     org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
     org.apache.jsp.stest_jsp._jspService(stest_jsp.java:84)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
root cause
java.lang.IllegalArgumentException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''.
     com.sun.faces.util.Util.getSelectItems(Util.java:642)
     com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:488)
     com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:465)
     com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:430)
     javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
     com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:443)
     com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:233)
     javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
     javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:600)
     javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)
     com.sun.faces.taglib.html_basic.PanelGridTag.doEndTag(PanelGridTag.java:460)
     org.apache.jsp.stest_jsp._jspx_meth_h_panelGrid_0(stest_jsp.java:181)
     org.apache.jsp.stest_jsp._jspx_meth_h_form_0(stest_jsp.java:142)
     org.apache.jsp.stest_jsp._jspx_meth_f_view_0(stest_jsp.java:113)
     org.apache.jsp.stest_jsp._jspService(stest_jsp.java:76)
     org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
     com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:147)
     com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
     com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
     com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
note The full stack trace of the root cause is available in the Tomcat logs.
Can you help me, In which I have make mistake
thanx
inico

Similar Messages

  • Magic Mouse and Employing Pinch to Open and Close Feature

    I have purchased a magic mouse and would like to employ the "pinch to open & close" features (option on multi-touch trackpad) with the magic mouse. This is not the same as zoom (e.g. hold control key with mouse wheel).
    I have tried using bettertouchtool and magicprefs, but it appears that neither accommodates this feature easily. If there were a keyboard shortcut to employ this feature then I think I can assign it to a magic mouse gesture via BTT or Magic Prefs, but I cannot find such a keyboard shortcut.
    Does anyone have any ideas?

    It could be you are approaching it incorrectly.   It can be a tricky little gadget that actually works with minimal pressure.
    Try turning over the mouse so the compartment panel faces you, optical sensor topmost.  Then holding the mouse at each side but not on the panel itself, flick the small, black rectangular panel downwards.   The top of the panel should spring out, though it may require you to manipulate it fully away from the mouse.
    Once you have replaced the batteries, starting at the bottom reverse the procedure then clip into place.   Remember to move the small switch next to the optical sensor upwards which should turn on the green light.   Then click twice to connect.

  • My magic mouse scrolling is stuttering in safari 5.0.5. Can anyone help?

    Hi all,
    This has been a problem for a while now but am finally getting around to do something about it. I've increasingly noticed that when scrolling in Safari 5.0.5 it becomes stuttery/jittery using the magic mouse.
    I've updated everything (OS, updates etc...) to the latest versions, have plenty of space left on my HD.
    Does anyone have suggestions to get it fixed? Smooth scrolling is selected in mouse preferences.
    Kind regards,
    Jack

    Same problem here. As well, every few minutes, the mouse doesn't scroll at all until I've scrolled up and down two or three times. Other forums have posts about this problem, too. Things that didn't help:
    • quitting/restarting Safari
    • restarting
    • resetting PRAM
    • turning off smooth scrolling
    The problem occurs independently of:
    • Flash websites
    • complex pages
    • currently loading pages (active, or background tabs)
    • any other wireless activity

  • Is there a way to open the notification pane using magic mouse?

    Is there a way to open the notification pane using magic mouse? i mean it would be great if i could two finger swipe to the right for the notification pane (two finger swipe left opens dashboard)
    I have Magic Prefs if it helps

    It doesn't seem like this is possible in 10.9.1.  Can someone at Apple confirm or provide a solution?

  • Is it possible that a document (in this case an Appleworks or Movie Magic Screenwriter) can be lost forever, but it's contents somehow remain as other file types elsewhere? I have an old hard drive and I need to locate the contents of these files.

    I have a 20 gig hard drive from a 2001 iBook. When my iBook crashed back in '04, there was a screenplay on there that was not saved anywhere else. It has tremendous sentimental value to me, and I would really like to retrieve it. I've ran some data recovery software that's uncovered a gargantuan amount of data, most of it being completely unreadable to me.
    Additionally, I have found an AppleWorks file that could be the script, but it is ZERO bytes in size, and Pages won't even open it, saying that it is not a valid AppleWorks file.
    So I'm curious...is it possible that the document is lost, but somehow the contents of it are somewhere else on the drive as metadata in other unreadable formats. And if that's the case, how would I go about translating the unreadable data back into something that IS readable? 

    Hello,
    toddisalive wrote:
    Additionally, I have found an AppleWorks file that could be the script, but it is ZERO bytes in size, and Pages won't even open it, saying that it is not a valid AppleWorks file.
    if the size of this file is really ZERO bytes, either the original file contained an empty data fork and a resource fork which was stored elsewhere (*) or the file is too damaged to retrieve anything. Moreover, as AppleWorks never generates file with empty data fork, at least to my knowledge, ....
    Concerning the Movie Magic ScreenWriter files, the application seems to exist for Yosemite http://www.write-bros.com/movie-magic-screenwriter.html ( but it seems "expensive"  and I do not know if it accepts to import old files )....
    (*) maybe in .TOTO or __MACOSX/.TOTO if the filename is TOTO

  • Media Encoder CC  won't render Magic Bullet Denoiser II

    Hello there,
    i've got the following Problem: I am having Premiere CC and used the Red Giant Plug-In Denoiser II on my last project, when i import this project to the Media Encoder and select Quicktime for output, the Media Encoder won't render the clip with this Plug-In. i always get the original files out, without the denoiser. Original footage from in premiere is 2,5k CinemaDNG RAW from the Black Magic Cinema Camera.
    thx

    I feel like there was a recent update to the RG plugins (inside of the last 30 or so days.) Are they up to date?

  • Falta ao Magic Mouse compatibilidade de hardware para o terceiro click! Aplicativo consome muito processamento da CPU. Haveria como a Apple tornar este um gesto padrão?

    Caros,
    Existem diversos programas que utilizam o terceiro click como atalho de comandos, principalmente os de criação e edição em 3D.
    Estes atalhos realmente aumentam a produtividade do trabalho no software: zoom, orbit, pan, etc...
    Entretanto, após adquirir um Apple Magic Mouse tenho de me abster de usar estes atalhos, causando uma grande lentidão na produção.
    Tentei instalar aplicativos que fazem a interpretação de outros gestos no mouse a fim de suportar tais interações.
    Entretanto, há o consumo de quase 10% da carga da CPU nesta tarefa! Não há condições de trabalho com os diversos "soluços"do sistema, além de que estes aplicativos falham na interpretação constantemente, tornando a solução inaceitável.
    Acredito que com uma adoção via hardware do terceiro click, com um gesto nativo do próprio mouse, traria grandes benefícios para todos que utilizam este Magic.
    Alguém sente falta, ou sou apenas o único?!

  • How to come up with a magic number for any table that returns more than 32KB?

    I am in a unique situation where in I am trying to retrieve values from multiple tables and publish them as XML output. The problem is based on the condition a few tables could retrieve data more than 32KB and a few less than 32KB. Less than 32KB is not an issue as XML generation is smooth. The minute it reaches greater than 32KB it generates a run time error. Just wondering if there is any way to ensure that the minute the query's results is greater than 32 kb, it should break say - if the results is 35KB, then I should break that result into 32 KB and 3kb; once done then pass this data to be published as an XML output. This is again not just for one table, but all the tables that are called in the function.
    Is there any way?? I am unable to get any ideas nor have I done anything so complex from production support stand point. Would appreciate if someone can guide me on this.
    The way it is, is as follows:
    I have a table called ctn_pub_cntl
    CREATE TABLE CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id          NUMBER(18)
    ,table_name                  VARCHAR2(50)
    ,last_pub_tms              DATE
    ,queue_name               VARCHAR2(50)
    ,dest_system              VARCHAR2(50)
    ,frequency                  NUMBER(6)
    ,status                      VARCHAR2(8)
    ,record_create_tms          DATE
    ,create_user_id                VARCHAR2(8)
    ,record_update_tms          DATE
    ,update_user_id             VARCHAR2(8)
    ,CONSTRAINT ctn_pub_cntl_id_pk PRIMARY KEY(ctn_pub_cntl_id)
    Data for this is:
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms 
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_SBDVSN'
    ,TO_DATE('10/2/2004 10:17:44PM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.TSZ601.UNP'
    ,'SAP'
    ,15
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms 
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_TRACK_SGMNT_DN'
    ,TO_DATE('02/06/2015 9:50:00AM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.WRKORD.UNP'
    ,'SAP'
    ,30
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms 
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_FXPLA_TRACK_LCTN_DN'
    ,TO_DATE('10/2/2004 10:17:44PM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.YRDPLN.INPUT'
    ,'SAP'
    ,30
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms 
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_FXPLA_TRACK_LCTN2_DN'
    ,TO_DATE('02/06/2015 9:50:00AM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.TSZ601.UNP'
    ,'SAP'
    ,120
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_FXPLA_TRACK_LCTN2_DN'
    ,TO_DATE('04/23/2015 11:50:00PM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.YRDPLN.INPUT'
    ,'SAP'
    ,10
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_FIXED_PLANT_ASSET'
    ,TO_DATE('04/23/2015 11:50:00AM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.WRKORD.UNP'
    ,'SAP'
    ,10
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_OPRLMT'
    ,TO_DATE('03/26/2015 7:50:00AM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.WRKORD.UNP'
    ,'SAP'
    ,30
    INSERT INTO CTNAPP.ctn_pub_cntl
    (ctn_pub_cntl_id   
    ,table_name        
    ,last_pub_tms
    ,queue_name 
    ,dest_system       
    ,frequency         
    VALUES
    (CTNAPP_SQNC.nextval
    ,'TRKFCG_OPRLMT_SGMNT_DN'
    ,TO_DATE('03/28/2015 12:50:00AM','MM/DD/YYYY HH12:MI:SSPM')
    ,'UT.TSD.WRKORD.UNP'
    ,'SAP'
    ,30
    COMMIT;
    Once the above data is inserted and committed, then I created a function in a package:
    CREATE OR REPLACE PACKAGE CTNAPP.CTN_PUB_CNTL_EXTRACT_PUBLISH
    IS
    TYPE tNameTyp IS TABLE OF ctn_pub_cntl.table_name%TYPE INDEX BY BINARY_INTEGER;
    g_tName tNameTyp;
    TYPE tClobTyp IS TABLE OF CLOB INDEX BY BINARY_INTEGER;
    g_tClob tClobTyp;
    FUNCTION GetCtnData(p_nInCtnPubCntlID IN CTN_PUB_CNTL.ctn_pub_cntl_id%TYPE,p_count OUT NUMBER ) RETURN tClobTyp;
    END CTNAPP.CTN_PUB_CNTL_EXTRACT_PUBLISH;
    --Package body
    CREATE OR REPLACE PACKAGE BODY CTNAPP.CTN_PUB_CNTL_EXTRACT_PUBLISH
    IS
         doc           xmldom.DOMDocument;
         main_node     xmldom.DOMNode;
         root_node     xmldom.DOMNode;
         root_elmt     xmldom.DOMElement;
         child_node    xmldom.DOMNode;
         child_elmt    xmldom.DOMElement;
         leaf_node     xmldom.DOMNode;
         elmt_value    xmldom.DOMText;
         tbl_node      xmldom.DOMNode;
         table_data    XMLDOM.DOMDOCUMENTFRAGMENT;
         l_ctx         DBMS_XMLGEN.CTXHANDLE;
         vStrSqlQuery  VARCHAR2(32767);
         l_clob        tClobTyp;
         l_xmltype     XMLTYPE;
    --Local Procedure to build XML header    
    PROCEDURE BuildCPRHeader IS
      BEGIN
        child_elmt := xmldom.createElement(doc, 'PUBLISH_HEADER');
        child_node  := xmldom.appendChild (root_node, xmldom.makeNode (child_elmt));
        child_elmt := xmldom.createElement (doc, 'SOURCE_APLCTN_ID');
        elmt_value := xmldom.createTextNode (doc, 'CTN');
        leaf_node  := xmldom.appendChild (child_node, xmldom.makeNode (child_elmt));
        leaf_node  := xmldom.appendChild (leaf_node, xmldom.makeNode (elmt_value));
        child_elmt := xmldom.createElement (doc, 'SOURCE_PRGRM_ID');
        elmt_value := xmldom.createTextNode (doc, 'VALUE');
        leaf_node  := xmldom.appendChild (child_node, xmldom.makeNode (child_elmt));
        leaf_node  := xmldom.appendChild (leaf_node, xmldom.makeNode (elmt_value));
        child_elmt := xmldom.createElement (doc, 'SOURCE_CMPNT_ID');
        elmt_value := xmldom.createTextNode (doc, 'VALUE');
        leaf_node  := xmldom.appendChild (child_node, xmldom.makeNode (child_elmt));
        leaf_node  := xmldom.appendChild (leaf_node, xmldom.makeNode (elmt_value));
        child_elmt := xmldom.createElement (doc, 'PUBLISH_TMS');
        elmt_value := xmldom.createTextNode (doc, TO_CHAR(SYSDATE, 'YYYY-MM-DD HH24:MI:SS'));
        leaf_node  := xmldom.appendChild (child_node, xmldom.makeNode (child_elmt));
        leaf_node  := xmldom.appendChild (leaf_node, xmldom.makeNode (elmt_value));
    END BuildCPRHeader;
    --Get table data based on table name
    FUNCTION GetCtnData(p_nInCtnPubCntlID IN CTN_PUB_CNTL.ctn_pub_cntl_id%TYPE,p_Count OUT NUMBER) RETURN tClobTyp IS
        vTblName      ctn_pub_cntl.table_name%TYPE;
        vLastPubTms   ctn_pub_cntl.last_pub_tms%TYPE;
    BEGIN
                g_vProcedureName:='GetCtnData';   
                g_vTableName:='CTN_PUB_CNTL';
            SELECT table_name,last_pub_tms
            INTO   vTblName, vLastPubTms
            FROM   CTN_PUB_CNTL
            WHERE  ctn_pub_cntl_id=p_nInCtnPubCntlID;
        -- Start the XML Message generation
            doc := xmldom.newDOMDocument;
            main_node := xmldom.makeNode(doc);
            root_elmt := xmldom.createElement(doc, 'PUBLISH');
            root_node := xmldom.appendChild(main_node, xmldom.makeNode(root_elmt));
          --Append Table Data as Publish Header
            BuildCPRHeader;
          --Append Table Data as Publish Body
           child_elmt := xmldom.createElement(doc, 'PUBLISH_BODY');
           leaf_node  := xmldom.appendChild (root_node, xmldom.makeNode(child_elmt));
           DBMS_SESSION.SET_NLS('NLS_DATE_FORMAT','''YYYY:MM:DD HH24:MI:SS''');
           vStrSqlQuery := 'SELECT * FROM ' || vTblName
                          || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
                        --  ||  ' AND rownum < 16'
          DBMS_OUTPUT.PUT_LINE(vStrSqlQuery);
           l_ctx  := DBMS_XMLGEN.NEWCONTEXT(vStrSqlQuery);
          DBMS_XMLGEN.SETNULLHANDLING(l_ctx, 0);
          DBMS_XMLGEN.SETROWSETTAG(l_ctx, vTblName);
          -- Append Table Data as XML Fragment
          l_clob(1):=DBMS_XMLGEN.GETXML(l_ctx); 
          elmt_value := xmldom.createTextNode (doc, l_clob(1));
         leaf_node  := xmldom.appendChild (leaf_node, xmldom.makeNode (elmt_value));
         xmldom.writeToBuffer (doc, l_clob(1));
         l_clob(1):=REPLACE(l_clob(1),'&lt;?xml version=&quot;1.0&quot;?&gt;', NULL);
         l_clob(1):=REPLACE(l_clob(1),'&lt;', '<');
         l_clob(1):=REPLACE(l_clob(1),'&gt;', '>');
         RETURN l_clob;
         DBMS_OUTPUT.put_line('Answer is' ||l_clob(1));
         EXCEPTION
            WHEN NO_DATA_FOUND THEN
            DBMS_OUTPUT.put_line('There is no data with' || SQLERRM);
            g_vProcedureName:='GetCtnData';
            g_vTableName:='CTN_PUB_CNTL';
            g_vErrorMessage:=SQLERRM|| g_vErrorMessage;
            g_nSqlCd:=SQLCODE;
            ctn_log_error('ERROR',g_vErrorMessage,'SELECT',g_nSqlCd,p_nInCtnPubCntlID,g_vPackageName,g_vProcedureName,g_vTableName);
            WHEN OTHERS THEN
           DBMS_OUTPUT.PUT_LINE('ERROR : ' || SQLERRM);
           ctn_log_error('ERROR',g_vErrorMessage,'OTHERS',g_nSqlCd,p_nInCtnPubCntlID,g_vPackageName,g_vProcedureName,g_vTableName);
    END GetCtnData;
    PROCEDURE printClob (result IN OUT NOCOPY CLOB) IS
        xmlstr   VARCHAR2 (32767);
        line     VARCHAR2 (2000);
    BEGIN
        xmlstr := DBMS_LOB.SUBSTR (result, 32767);
        LOOP
           EXIT WHEN xmlstr IS NULL;
           line := SUBSTR (xmlstr, 1, INSTR (xmlstr, CHR (10)) - 1);
           DBMS_OUTPUT.put_line (line);
           xmlstr := SUBSTR (xmlstr, INSTR (xmlstr, CHR (10)) + 1);
        END LOOP;
    END printClob;
    END CTN_PUB_CNTL_EXTRACT_PUBLISH;
    If you notice my query:
    vStrSqlQuery := 'SELECT * FROM ' || vTblName
                          || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
                         ||  ' AND rownum < 16'
    The minute I comment
    ||  ' AND rownum < 16' ;
    , it throws an error because this query returns around 600 rows and all of those rows need to be published as XML and the tragedy is that there is a C program in between as well i.e. C will call my packged functions and then will do all the processing. Once this is done will pass the results back to C program. So obviously C does not recognise CLOB and somewhere in the process I have to convert the CLOB to VARCHAR or instead of CLOB I have to use VARCHAR array as a return type. This is my challenge.
    Anyone that can help me to find out the required magic number and also a brief know how, I would appreciate that. Many thanks in advance.

    Not sure I understand which part is failing.
    Is it the C program calling your packaged function? Or does the error occur in the PL/SQL code, in which case you should be able to pinpoint where it's wrong?
    A few comments :
    1) Using DOM to build XML out of relational data? What for? Use SQL/XML functions.
    2) Giving sample data is usually great, but it's not useful here since we can't run your code. We're missing the base tables.
    3) This is wrong :
    vStrSqlQuery := 'SELECT * FROM ' || vTblName                     || ' WHERE record_update_tms <= TO_DATE(''' || TO_CHAR(vLastPubTms, 'MM/DD/YYYY HH24:MI:SS') || ''', ''MM/DD/YYYY HH24:MI:SS'') ' ;
    A bind variable should be used here for the date.
    4) This is wrong :
    elmt_value := xmldom.createTextNode (doc, l_clob(1));
    createTextNode does not support CLOB so it will fail as soon as the CLOB you're trying to pass exceeds 32k.
    Maybe that's the problem you're referring to?
    5) This is most wrong :
         l_clob(1):=REPLACE(l_clob(1),'&lt;?xml version=&quot;1.0&quot;?&gt;', NULL); 
         l_clob(1):=REPLACE(l_clob(1),'&lt;', '<'); 
         l_clob(1):=REPLACE(l_clob(1),'&gt;', '>'); 
    I understand what you're trying to do but it's not the correct way.
    You're trying to convert a text() node representing XML in escaped form back to XML content.
    The problem is that there are other things to take care of besides just '&lt;' and '&gt;'.
    If you want to insert an XML node into an existing document, treat that as an XML node, not as a string.
    Anyway,
    Anyone that can help me to find out the required magic number
    That would be a bad idea. Fix what needs to be fixed.
    And please clearly state which part is failing : the C program or the PL/SQL code?
    I'd vote for PL/SQL, as pointed out in [4].

  • Network Magic or Home Network Defender is Blocking Uploads

    I removed my primary hard drive and installed a new, faster larger one.  When I installed Network Magic I have been getting some significant problems:
    1.  Speed test shows 0 Kbps upload speed and the gauge shows nothing uploaded on the Network Magic Speed Test
    2.  I can NOT upload my videos to my external video publishing site - the Vimeo uploader is erroring out and crashing.  When I try the browser tool, I am getting an error that says I can not upload the file.
    I did not have this problem before I reinstalled Network Magic.  My other computers do not have this problem.
    I am using:
    Network Magic Pro Version 5.5.9195.0-pure0
    The OS on this computer is Vista Ultimate Service Pack 2
    The internet connection is CABLE via Atlantic Broadband
    The Router is a Linksys WRT610Nv2  Fireware 2.00.00 B05
    The computer's virus software is NETSAFE Security Suite from Altantic Broadband - Firewall is NOT active. ( this is different than my other computer that is on the network, and it different than my prior installation configuration on my old hard drive - it used McAfee.

    I removed my primary hard drive and installed a new, faster larger one.  When I installed Network Magic I have been getting some significant problems:
    1.  Speed test shows 0 Kbps upload speed and the gauge shows nothing uploaded on the Network Magic Speed Test
    2.  I can NOT upload my videos to my external video publishing site - the Vimeo uploader is erroring out and crashing.  When I try the browser tool, I am getting an error that says I can not upload the file.
    I did not have this problem before I reinstalled Network Magic.  My other computers do not have this problem.
    I am using:
    Network Magic Pro Version 5.5.9195.0-pure0
    The OS on this computer is Vista Ultimate Service Pack 2
    The internet connection is CABLE via Atlantic Broadband
    The Router is a Linksys WRT610Nv2  Fireware 2.00.00 B05
    The computer's virus software is NETSAFE Security Suite from Altantic Broadband - Firewall is NOT active. ( this is different than my other computer that is on the network, and it different than my prior installation configuration on my old hard drive - it used McAfee.

  • Mobile Home problem with Magic Triangle

    So I have been setting up a magic triangle for the past few days with an OSX Lion server.  I believe it is working properly.  The server is running OD and is bound to my AD.  I have made an OD group which contains my AD users, and I have set that OD group to have limited application preferences (one of them is to block the App store).  All my users have MacBook Airs which they will take off-site, so I enabled mobile home folders in the AD bind and in the OD group mobility settings (with confirmation required).
    When I tested it today, with Airs running 10.7.4, here is what happened.
    When the system was on the network, it would log a user in, ask to create the mobile account, and successfully create it.  Once logged in they were limited to the application preferences that I set on the server.  I considered this a complete success.
    When I disconnected them from the network, I had expected that they would still be able to log in and the system would fuction the same way with the exception that they would not sync their changes until they were back on-site.
    Instead...
    When the same user trys to log in it says the AD server is unavailable and then logs them in anyway.  However, once they are at the desktop, none of the permissions are in place.  They can go to the app store, or do anything else they feel like.  Once they are back on the network, all the server based preferences reappear and lock the system down.
    So my questions are:
    1. Should a mobile account based system compain that it cant find the AD domain when offsite?
    2.  Why is it not checking some cached verison of the permissions and locking down the notebook when offsite?  I can tell that it is caching the user name and password (as loging in as a user the air has never seen before will simply give a login error), as it will let them in, but it is not holding any preferences. 
    3.  How can I prevent users from simply disconnecitng from the network to bypass all my server based policies?
    Hope someone can help

    Hi,
    I'm having a similar problem with exactly the same setup, our clients are 10.7.4 wired not wireless the OD server is 10.7.4 and the clients are authenticating via an AD 2008 R2 domain.
    We've had this scenario in the past running 10.5 and 10.6 without any problems but with 10.7.4 the clients' MCX settings are lost when they're not connected to our network. It seems to only lose the settings applied to user groups but not computer groups.
    At this moment in time I don't have an aswer I'm still looking, have you found a solution?
    I know configuration profiles are the way forward and in the future I'll move over to them but they don't seem to work that well with PHD's at the moment.
    If anyone has any thought on this it would be much appreciated.
    Thanks,
    Jay.

  • How do I use the magic mouse with a windows pc

    Is it possible to enable touch features of the magic when using it with a PC running windows 7?

    Hi.
    I've used the iMic myself, and I don't believe it is capable of doing what you are attmepting.
    The iMic is designed to provide a USB input for an external microphone, and  USB output for external speakers for your Mac. It has a mic input port, and a speakers out port.
    Neither port is specified for use with a gaming headset (mic with headset on a single plug).
    You will need to look elsewhere for a USB gaming headset.
    I hope this is helpful.

  • After pairing in Bootcamp, magic trackpad does not work

    after pairing in Bootcamp, magic trackpad a) does not control cursor and b) does not persist after closing Bluetooth devides dialog.
    Summary of Problem:
    Magic Trackpad is found and paired, but does not control the mouse.
    When you shut the Bluetooth devices and reopen (or reboot and reopen), the device is not listed.
    Detials of problem:
    Bootcamp 3.1 (i cannot find a later one) Windows XP all updates, All Apple Software Updates (to bootcamp and mac os x) installed, Magic Trackpad driver download and installed.
    Control Panel, Bluetooth Devices, Add - it detectes the magic track pad (ie track pad blinking, click add) everytime
    - It asks about a pass code, I have tried it without a pass code and with automatically Generate Passcode; does this setting matter?
    In bluetooth devides, the track pad shows with "Auto Generated passkey" when that is the option selected
    Found new hardware comes up, Apple Wireless Trackpad, everything looks fine.
    - In Bluetooth Devices, it shows the trackpad wiht "no passkey", even when I told it to automatically generate one.
    The track pad does not control the cursor.
    Close Bluetooth Devices and reopen it, or reboot and reopen Bluetooth devices, and the track pad is gone.
    Rebooting does not change the outcome of above.
    I have gone to device manager and tried to update the two (apple & microsoft) Bluetooth drivers with the update button, it says I have the most current.
    I do not see how to tell if the Magic Trackpad driver is installed, so I tried installing it again. It does appear to be listed under HID in device manager.
    I have done a lot of googling, wasted a lot of time, if I cannot get it to work, I will return it to the apple store.
    Any ideas?
    Thanks!
    bob

    Bob, cannot help directly but I am having a similar problem on my MacBook Pro with Windows 7 Pro. Pretty much the same symptoms except my trackpad is not always recognized - it seems I have to click it to get Bluetooth to see it. Windows claims to have seen it OK on one occasion and installed the drivers, asked for a reboot etc. but the TrackPad still does not respond.
    Works OK on the Mac side although it is not recognized as a separate Bluetooth trackpad which can be configured differently from the built-in. I wonder if this might be a clue?
    I have installed the patch and tried a bunch of other things. Seems like Apple has some work to do sorting out the bugs on both the Mac and Windows side with this device. Pity because its an excellent piece of kit otherwise!

  • IMovies Do Not Show Up in Magic iDVD

    In the Magic iDVD project creation "dialog box" I clicked on Movies and did not see the 4 iMovie icons that are in my Movies library. I DO see all the iPhoto photos when I click Photos tab and DO see tunes when I click the Audio tab.
    When I tried to drag an iMovie icon from the Finder view into the Drag Movies Here area, it would not work. Thus I just opened up iMovie and transfered 17 clips one at a time into the Drag Movies Here area and proceeded to burn a DVD. All was OK from that point on.
    Any ideas on why Movie icons would not show up?

    I don't use Xmarks, so I don't know whether that is a factor here...
    If you use Ctrl+d on a bookmarked page, does the Edit Bookmark dialog appear?
    Firefox doesn't have a convenient way to determine the location of a bookmark. One workaround is to use the extension [https://addons.mozilla.org/firefox/addon/show-parent-folder/ Show Parent Folder] to add a column in the Library dialog showing the location of a bookmark. Then when you use the search function or Recently Bookmarked query, you should be able to discover the location.
    The extension shows just the folder name by default. If that isn't unique enough, you can change a setting for the extension so it shows the full path down to that folder. To set this, open the Add-ons page, Extensions category, and use the Options button for Show Parent Folder.

  • ANNC: Slide Show Magic

    http://www.projectseven.com/products/galleries/ssm/
    Leaps beyond the ordinary...
    Efficient code and buttery smooth animations make for a truly
    engaging
    user experience. Slide Shows and individual images can be
    bookmarked and
    all images can be viewed - even if JavaScript is disabled.
    Search Engine Friendly
    Unlike many of today's Flash and AJAX applications, Slide
    Show Magic
    markup is always fully visible and indexable by leading
    search engines.
    Auto-Choreographed Animation
    Slide Show Magic detects the size of each incoming full-size
    image. If
    it's the same size as the current image, the system will
    employ a smooth
    cross-fader - simultaneously fading out the current image as
    the new one
    fades in. If the incoming image is a different size than the
    current
    one, the system will fade out the current image, glide the
    image
    container to the size of the incoming image, then fade the
    new image in.
    It's all automatic.
    Staged preloader
    When the slide show is running in automatic mode, the system
    will
    preload the next image as the current one is being shown,
    providing a
    seamless experience in most cases.
    Intuitive toolbar controls
    The on-page toolbar contains conventional media controls:
    First,
    Previous, Play, Pause, Next, and Last buttons. It also
    contains a slider
    bar that allows users to adjust the slide show timing, plus
    buttons to
    toggle visibility of the thumbnail display and navigation
    menu, and an
    image counter.
    Drag-enabled thumbnail panel
    The Thumbnail panel can be dragged about the screen, enabling
    users to
    fine-tune the interface for best viewing of the show.
    Full-Size images can be hyperlinks
    Each full-size image can optionally be set as a hyperlink to
    another
    page, programmed to open in a new window or tab.
    Image descriptions
    Each full-size image can display an optional description,
    which can
    contain any type of valid markup (paragraphs, tables, DIVs,
    lists,
    links, or images).
    Automated image processing with Fireworks...
    Web-ready images are automatically produced from your
    original images,
    which can be located on any drive connected to your computer
    - including
    drives mounted by your digital camera. Slide Show Magic
    handles all
    image processing automatically - preserving your original
    files in their
    original locations in their original and unaltered states.
    Your images
    are scaled, optimized, and neatly organized into folders
    within your
    defined site.
    Import your existing images...
    Point to a folder (or folders) that contain your existing
    full-size and
    thumbnail image and Slide Show Magic will match them up and
    add them to
    your slide show - unaltered and ready to view.
    Organize Images into sets
    Slide Show Magic enables you to define logical image sets and
    organizes
    the thumbnail panel into navigable sets.
    Mix landscape and portrait orientations
    Your images are never distorted in any way. Original aspect
    ratios are
    always preserved. Use both landscape and portrait images in
    the same
    slide show.
    Deploy alone or inside existing layouts
    Slide Show Magic can be inserted on a page by itself or
    inside an
    existing page.
    Select from 6 Themes
    Select a dark toolbar, a light toolbar, shadow boxes (in 3
    sizes), or an
    image rotator interface. Style themes can even be switched
    for existing
    slide shows.
    Manage it all inside a dedicated Dreamweaver Interface
    Add (append) new images
    Delete images or re-order them
    Manage Descriptions, links, and ALT text
    Edit existing full-size or Thumbnail images
    Reprocess all of your slide show's images
    And lots more, including a comprehensive manual and free tech
    support.
    $95
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"

    Al,
    Wow. That's extremely cool. I currently don't have a need for
    a slideshow,
    but in the future if I do, you know where I'm heading to.
    Nice product!
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Back for 2007, close-up magic:
    http://deceptivemagic.com
    Web dev articles, photography, and more:
    http://sourtea.com
    =============================================
    Proud GAWDS member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Al Sparber- PVII" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    http://www.projectseven.com/products/galleries/ssm/
    >
    >
    > Leaps beyond the ordinary...
    >
    > Efficient code and buttery smooth animations make for a
    truly engaging
    > user experience. Slide Shows and individual images can
    be bookmarked and
    > all images can be viewed - even if JavaScript is
    disabled.
    >
    >
    > Search Engine Friendly
    >
    > Unlike many of today's Flash and AJAX applications,
    Slide Show Magic
    > markup is always fully visible and indexable by leading
    search engines.
    >
    >
    > Auto-Choreographed Animation
    >
    > Slide Show Magic detects the size of each incoming
    full-size image. If
    > it's the same size as the current image, the system will
    employ a smooth
    > cross-fader - simultaneously fading out the current
    image as the new one
    > fades in. If the incoming image is a different size than
    the current one,
    > the system will fade out the current image, glide the
    image container to
    > the size of the incoming image, then fade the new image
    in. It's all
    > automatic.
    >
    >
    > Staged preloader
    >
    > When the slide show is running in automatic mode, the
    system will preload
    > the next image as the current one is being shown,
    providing a seamless
    > experience in most cases.
    >
    >
    > Intuitive toolbar controls
    >
    > The on-page toolbar contains conventional media
    controls: First, Previous,
    > Play, Pause, Next, and Last buttons. It also contains a
    slider bar that
    > allows users to adjust the slide show timing, plus
    buttons to toggle
    > visibility of the thumbnail display and navigation menu,
    and an image
    > counter.
    >
    >
    > Drag-enabled thumbnail panel
    >
    > The Thumbnail panel can be dragged about the screen,
    enabling users to
    > fine-tune the interface for best viewing of the show.
    >
    >
    > Full-Size images can be hyperlinks
    >
    > Each full-size image can optionally be set as a
    hyperlink to another page,
    > programmed to open in a new window or tab.
    >
    >
    > Image descriptions
    >
    > Each full-size image can display an optional
    description, which can
    > contain any type of valid markup (paragraphs, tables,
    DIVs, lists, links,
    > or images).
    >
    >
    > Automated image processing with Fireworks...
    >
    > Web-ready images are automatically produced from your
    original images,
    > which can be located on any drive connected to your
    computer - including
    > drives mounted by your digital camera. Slide Show Magic
    handles all image
    > processing automatically - preserving your original
    files in their
    > original locations in their original and unaltered
    states. Your images are
    > scaled, optimized, and neatly organized into folders
    within your defined
    > site.
    >
    >
    > Import your existing images...
    >
    > Point to a folder (or folders) that contain your
    existing full-size and
    > thumbnail image and Slide Show Magic will match them up
    and add them to
    > your slide show - unaltered and ready to view.
    >
    >
    > Organize Images into sets
    >
    > Slide Show Magic enables you to define logical image
    sets and organizes
    > the thumbnail panel into navigable sets.
    >
    >
    > Mix landscape and portrait orientations
    >
    > Your images are never distorted in any way. Original
    aspect ratios are
    > always preserved. Use both landscape and portrait images
    in the same slide
    > show.
    >
    >
    > Deploy alone or inside existing layouts
    >
    > Slide Show Magic can be inserted on a page by itself or
    inside an existing
    > page.
    >
    >
    > Select from 6 Themes
    >
    > Select a dark toolbar, a light toolbar, shadow boxes (in
    3 sizes), or an
    > image rotator interface. Style themes can even be
    switched for existing
    > slide shows.
    >
    >
    > Manage it all inside a dedicated Dreamweaver Interface
    >
    > Add (append) new images
    > Delete images or re-order them
    > Manage Descriptions, links, and ALT text
    > Edit existing full-size or Thumbnail images
    > Reprocess all of your slide show's images
    >
    > And lots more, including a comprehensive manual and free
    tech support.
    > $95
    >
    > --
    > Al Sparber - PVII
    >
    http://www.projectseven.com
    > Extending Dreamweaver - Nav Systems | Galleries |
    Widgets
    > Authors: "42nd Street: Mastering the Art of CSS Design"
    >
    >
    >
    >

  • Dont work the left click of magic mouse

    hi
    when i want open a folder or a file the button left of the magic mouse don't work. the rare thing i can close programs or click on a link.
    please help me

    Take a look in system preferences > mouse and see if your mouse buttons are enabled.

Maybe you are looking for

  • Dealer Excise Invoice-Issue while posting MIRO

    Dear All, Today i was doing Domestic procurement with Dealer for Gas Cylinder. In PO we entered total value which includes Excise amount also (1000+103)& VAT @ 14% (154,42). While doing GR i selected as Only captured excise inv, checked MRP indicator

  • Problem in Time based workflow

    I have written a workflow for mail triggering if a Sustomer complaint remain open for more than a week Workflow Condition: Workflow Rule Condition LookupValue("SR_STATUS", "Open" ) Record Type Complaint Active Trigger Event When new record saved But

  • Help! Bought Adobe Pro but dont have Acrobat 7 Serial Number

    I bought Adobe Pro X  and have a valid serial number now for that and its saying i need to have a serial number for Adobe Acrobat 7 as well...i only had adobe reader 9.0 prior to purchase! HELP *

  • Problem with HR Authorization

    Dear Experts, One of our requirements in HR is that we do not want users to execute standard reports for all infotypes and personnel areas. So we have created roles based on infotypes and personnel areas for auth object P_ORGIN. Authorization level  

  • Face time not working. I am using iPad with iOS 7.

    Hi, I am a regular FT user. I now can't make contact with my daughters, three of them in different locations. The problem began yesterday. They use iOS 7 too.