ExtJS Grid and Apex

I have been experimenting quite a bit with ExtJS and unfortunately hit a roadblock and thought of getting help from this forum. I followed the directions given in this post Re: oracle apex and extjs grid table and was able to make it work. However the Grid is displaying outside the region where it has been defined as if it is independently rendering in its region of choice.
I could post the screen shot and don't know how to work around the restriction of this message board, not allowing any attachments.
Any help is greatly appreciated.
Environment info: Apex 4.0
Local host,
ExtJS: 4.0.2
Thanks
Raja

The book was written to use Ext JS 3.x, the latest production version at the time.
Some of the examples will work, some will require rework. Sencha have published a migration guide, including a <b>compatibility layer</b> that bootstraps existing Ext JS 3 code to run under Ext JS 4.
The book promotes the idea of not updating your application templates, instead having a template application which allows you to test your components before publishing a new version of the theme to the business application.
If you are just starting out, you could drop in the books theme as version 1 using Ext JS 3.x, get your team working on the application immediately, and have a dedicated resource working on theme version 2 using Ext JS 4.x.
Regards
Mark
demo: http://apex.oracle.com/pls/otn/f?p=200801 |
blog: http://oracleinsights.blogspot.com |
book: Oracle Application Express 4.0 with Ext JS

Similar Messages

  • Oracle apex and extjs grid table

    hi
    im new to extjs and i was wondering if someone can help me with this;
    i want to create a report in oracle apex and put the output in extjs grid table
    for example i want to view the output of select * from all_objects in grid table
    thnx in advance

    Okay
    To get you started...
    Create a new report template with named rows.
    In row 1 template put this
    ["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Assuming you have 8 rows say... and make it conditional based on a PL/SQL Expression like this
    #ROWNUM# = 1Then row 2 template like this
    ,["#1#","#2#","#3#","#4#","#5#","#6#","#7#","#8#"]Conditional on
    #ROWNUM# > 1Then in before row put this
    <script type="text/javascript">
    Ext.onReady(function(){
    var munkyData = [And after rows something like this (based on the emp table)
    var store = new Ext.data.SimpleStore({
          fields: [
                   {name: 'empno', mapping: '0'},
                   {name: 'ename', mapping: '1'},
                   {name: 'job', mapping: '2'},
                   {name: 'mgr', mapping: '3'},
                   {name: 'hiredate', mapping: '4'},
                   {name: 'sal', mapping: '5'},
                   {name: 'comm', mapping: '6'},
                   {name: 'deptno', mapping: '7'}
    store.loadData(munkyData);
    var grid = new Ext.grid.GridPanel({
           store: store,
           columns: [
                     {id:'empno',header: "Employee",sortable:true, width:100,dataIndex:'empno'},
                     {header: "Name", sortable:true,width:75, dataIndex:'ename'},
                     {header: "Job", sortable:true, dataIndex:'job'},
                     {header: "Manager", sortable:true,width:75, dataIndex:'mgr'},
                     {header: "Hire Date", sortable:true,dataIndex:'hiredate'},
                     {header: "Salary", sortable:true,width:50,dataIndex:'sal'},
                     {header: "Commission", sortable:true,dataIndex:'comm'},
                     {header: "Department", dataIndex:'deptno'}
           stripeRows: true,
           width:700,
           autoHeight:true,
           title:'Array Grid',
           renderTo: 'munkyDiv'
    </script>Then create a region to hold it with a source of
    <div id="munkyDiv>
    </div>
    {code}
    This is pretty basic but it should get you going...
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    +Don't forget to mark replies helpful or correct+ ;)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Apex and ExtJS Grid...

    Hi,
    I have been trying to implement ExtJS into Apex also but i am getting an error which i couldnt find a way to sort it out....
    Can somebody help me?
    Here is the error message i got;
    The container of an boundary-point of a range is being set to either a node of an invalid type or a node with an ancestor of an invalid type." code: "2
    http://localhost:7777/i/javascript/apex_ns_3_1.js
    Line 1
    I have apex ver 3.2.1. and here is the code i have;
    My Report Template is;
    Started from scracth;
    Row Template1; ["#1#","#2#","#3#","#4#","#5#"] Condition; #ROWNUM# = 1
    Row Template2; ,["#1#","#2#","#3#","#4#","#5#"] Condition; #ROWNUM# > 1
    Before Rows
    <script type="text/javascript">
    var myData = [
    After Rows;
    var store = new Ext.data.SimpleStore({
    fields: [
    {name: 'seq', mapping: '0', type:'int'},
    {name: 'statusseq', mapping: '1', type:'int'},
    {name: 'containertypeseq', mapping: '2', type:'int'},
    {name: 'containerno', mapping: '3', type:'string'},
    {name: 'dataorigin', mapping: '4', type:'string'}
    store.loadData(myData);
    var v_grid = new Ext.grid.GridPanel({
    store: store,
    columns: [
    {id:'seq',header: "SEQ",sortable:true,dataIndex:'seq',width:10},
    {header: "statusseq",sortable:true,dataIndex:'statusseq',width:10},
    {header: "containertypeseq",sortable:true, dataIndex:'containertypeseq',width:20},
    {header: "containerno",sortable:true,dataIndex:'containerno',width:20},
    {header: "dataorigin", sortable:true,dataIndex:'dataorigin',width:30}
    viewConfig:{
    forceFit:true
    width:700,
    height: 560,
    title:'Array Grid'
    </script>
    Region Source;
    Select Seq AS "seq",
    StatusSEQ as "statusseq",
    ContainerTypeSEQ as "containertypeseq",
    ContainerNo as "containerno",
    DataOrigin as "dataorigin"
    From TMS.Container
    Region Header;
    <p id="title_WINDOW_EXAMPLE" style="display:none:">EXTJS Grid</p>
    <div id="contentE1_WINDOW_EXAMPLE">
    Region Footer;
    </div>
    <BR>
    <script type="text/javascript">
    Ext.onReady(function(){
    var v_window = new Ext.Window({
    id:'id_WINDOW_EXAMPLE',
    contentE1:'contentE1_WINDOW_EXAMPLE',
    title:document.getElementById('title_WINDOW_EXAMPLE').textContent,
    closable:true,
    closeAction:'hide',
    resizable:false,
    plain:true,
    allowDomMove: false,
    autoScroll: false,
    items: [v_grid]
    v_window.show(this);
    v_window.setSize({width:900, height:600});
    </script>
    HTML Header;
    <link rel="stylesheet" type="text/css" href="/i/themes/ext1/resources/css/ext-all.css" />
    <script type="text/javascript" src="/i/themes/ext1/adapter/ext/ext-base.js"></script>
    <script type="text/javascript" src="/i/themes/ext1/ext-all.js"></script>
    Thanks,
    Osman...

    Hi Ben,
    I have changed it but still not working...
    Here is the rendered data;
    <div id="contentE1_WINDOW_EXAMPLE"><div id="report_4735417900555762_catch"><script type="text/javascript">
    var myData = [
    ["7864","23","4","INKU6648374","YSSESB"],["7872","23","6","56.912AI5","YSSESB"],["7880","23","6","56.912AJ5","YSSESB"],["7888","23","6","56.912AJ13","YSSESB"],["7896","23","7","ZIMU1107306","YSSESB"],["7904","23","6","56.912AK6","YSSESB"],["7912","23","6","56.912AK14","YSSESB"],["7920","23","7","MSKU4623278","YSSESB"],["7928","23","6","YMLU4900642","YSSESB"],["7936","23","4","UETU5046731","YSSESB"],["7944","23","6","CBHU6303259","YSSESB"],["7952","23","4","CBHU8803320","YSSESB"],["7960","23","7","CRXU3065214","YSSESB"],["7968","23","7","GATU0186070","YSSESB"],["7976","23","7","IPXU3020398","YSSESB"],["7984","23","7","TGHU3381736","YSSESB"],["7992","23","7","CBHU3455279","YSSESB"],["8000","23","7","TTNU3303879","YSSESB"],["8008","23","7","CBHU3702548","YSSESB"],["8016","23","4","CBHU8605561","YSSESB"],["8024","23","7","CAXU6966510","YSSESB"],["8032","23","4","CBHU8202967","YSSESB"],["8040","23","7","CBHU5707810","YSSESB"],["8048","23","6","CBHU1784275","YSSESB"],["8056","23","4","CBHU8021320","YSSESB"],["8064","23","4","FCIU8571691","YSSESB"],["8072","23","7","TGHU0333354","YSSESB"],["8080","23","4","FSCU9061705","YSSESB"],["8088","23","7","CCLU2479189","YSSESB"],["8096","23","7","FCIU3294830","YSSESB"],["8104","23","4","CBHU8862404","YSSESB"],["7312","23","6","KKFU1658740","YSSESB"],["7320","23","6","MOFU0676000","YSSESB"],["8112","23","7","CBHU3619367","YSSESB"],["8120","23","7","CBHU3530475","YSSESB"],["8128","23","7","TRLU3910906","YSSESB"],["8136","23","6","KKFU1806344","YSSESB"],["8144","23","7","DAYU2137027","YSSESB"],["8152","23","6","HDMU4736964","YSSESB"],["8160","23","7","IPXU3274155","YSSESB"],["8168","23","6","CBHU1683433","YSSESB"],["8176","23","4","CBHU8109670","YSSESB"],["8184","23","6","CBHU1645881","YSSESB"],["8192","23","7","CMAU1087714","YSSESB"],["8200","23","4","ECMU9342104","YSSESB"],["8211","23","5","34DC8624","YSSESB"],["8219","23","5","34DC8622","YSSESB"],["8227","23","5","34EC1431","YSSESB"],["8235","23","6","HDMU5942928","YSSESB"],["8243","23","5","34DC8622","YSSESB"],["8251","23","7","GATU4008550","YSSESB"],["8259","23","6","TTNU4577431","YSSESB"],["8267","23","6","FSCU4390415","YSSESB"],["8275","23","7","MSCU6532007","YSSESB"],["8283","23","6","TTNU4577431","YSSESB"],["8291","23","6","OKCU4901760","YSSESB"],["8299","23","7","CBHU3298647","YSSESB"],["8307","23","6","CBHU1689730","YSSESB"],["8315","23","6","TTNU5580661","YSSESB"],["8323","23","6","TTNU5580661","YSSESB"],["8331","23","6","TGHU4682138","YSSESB"],["8339","23","4","CBHU8734872","YSSESB"],["8347","23","7","CBHU5625918","YSSESB"],["8355","23","4","GESU5202673","YSSESB"],["8363","23","7","HJCU8471376","YSSESB"],["8371","23","6","CBHU6328771","YSSESB"],["8379","23","6","YMLU4878723","YSSESB"],["8387","23","6","CLHU4741955","YSSESB"],["8395","23","6","KKFU1807320","YSSESB"],["8403","23","7","KKTU7366273","YSSESB"],["8411","23","6","CBHU6227797","YSSESB"],["8419","23","6","CBHU6227797","YSSESB"],["8427","23","4","CBHU8235024","YSSESB"],["8435","23","6","KKFU1416984","YSSESB"],["8443","23","6","HJCU4946220","YSSESB"],["8854","23","4","TCKU9784476","YSSESB"],["8862","23","7","INBU3688025","YSSESB"],["8870","23","7","TTNU3243804","YSSESB"],["8879","23","5","34TL3182","YSSESB"],["8887","23","5","34BT3378","YSSESB"],["8895","23","6","HJCU4017513","YSSESB"],["8903","23","6","GCNU4032251","YSSESB"],["8911","23","7","CAXU6967347","YSSESB"],["8919","23","7","IPXU3911063","YSSESB"],["8927","23","7","MSKU7313580","YSSESB"],["8935","23","7","ECMU1273157","YSSESB"],["8943","23","7","TTNU3435807","YSSESB"],["8951","23","7","ECMU1401788","YSSESB"],["8959","23","7","TRLU3035950","YSSESB"],["8967","23","13","TCKU2559452","YSSESB"],["8975","23","7","CBHU5654686","YSSESB"],["8983","23","4","CBHU8718233","YSSESB"],["8991","23","7","CAXU6362546","YSSESB"],["8999","23","6","061001ON","YSSESB"],["9007","23","7","MSKU3648179","YSSESB"],["9015","23","7","CBHU5501476","YSSESB"],["9023","23","4","CBHU8807496","YSSESB"],["9031","23","6","KKFU1246717","YSSESB"],["9039","23","6","UXXU4332486","YSSESB"],["9047","23","7","GESU3231348","YSSESB"],["9055","23","4","PCIU9954416","YSSESB"],["9063","22","4","CAXU9185547","YSSESB"],["9071","23","6","GVCU4035213","YSSESB"],["9079","23","6","GVCU4035213","YSSESB"],["9087","23","4","MSKU9137176","YSSESB"],["9095","23","6","MSKU6594501","YSSESB"],["9103","23","4","MSKU9137176","YSSESB"],["9111","23","4","INKU6361018","YSSESB"],["9119","23","34","TCKU2562693","YSSESB"],["9127","23","7","671001AA","YSSESB"],["9135","23","4","HDMU5494166","YSSESB"],["9143","23","4","CCLU6095387","YSSESB"],["9151","23","6","GVDU4010013","YSSESB"],["9159","23","6","CCLU4814028","YSSESB"],["9167","23","6","UESU4220974","YSSESB"],["9175","23","7","CBHU5591211","YSSESB"],["9183","23","7","GESU3165483","YSSESB"],["9191","23","7","GESU3165483","YSSESB"],["9199","23","4","ECMU9088807","YSSESB"],["9207","23","4","MEDU8361609","YSSESB"],["9215","23","4","CCLU7258350","YSSESB"],["9223","23","7","UXXU2413969","YSSESB"],["9231","23","4","MAEU8088802","YSSESB"],["9239","23","7","TRLU9736258","YSSESB"],["9247","23","6","ECMU4617277","YSSESB"],["9255","22","6","GVCU4161633","YSSESB"],["9263","23","7","CBHU3732558","YSSESB"],["9271","23","6","CCLU4195068","YSSESB"],["9279","23","7","XINU1325017","YSSESB"],["9287","23","7","TCKU2000470","YSSESB"],["9295","23","7","GVCU2049516","YSSESB"],["9303","23","7","CAXU3127918","YSSESB"],["9311","23","7","DVRU1638292","YSSESB"],["9319","23","7","TGHU3923884","YSSESB"],["9327","23","6","MRKU0081156","YSSESB"],["9335","23","7","EISU3718476","YSSESB"],["9343","23","7","KKTU7244676","YSSESB"],["9351","23","6","KKFU1172419","YSSESB"],["9359","23","6","UESU4220974","YSSESB"],["9367","23","7","TEXU2469974","YSSESB"],["9375","23","7","KKTU7244676","YSSESB"],["9383","23","4","FSCU9118945","YSSESB"],["9391","23","7","TRLU9736258","YSSESB"],["9399","23","7","FCIU2948957","YSSESB"],["9407","23","4","FCIU8434317","YSSESB"],["9415","23","4","UACU5192198","YSSESB"],["9423","23","7","MSCU6610162","YSSESB"],["9431","23","7","TCLU2196267","YSSESB"],["9439","23","7","IPXU3798147","YSSESB"],["9448","23","7","TTNU1752504","YSSESB"],["9456","22","6","CCLU4326907","YSSESB"],["9464","23","7","CBHU3430590","YSSESB"],["9472","23","4","CLHU8953910","YSSESB"],["9480","23","7","CBHU5619978","YSSESB"],["9488","23","6","TGHU4993572","YSSESB"],["9496","23","7","CBHU3511330","YSSESB"],["9504","23","5","34DC8622","YSSESB"],["9512","23","7","CBHU5864949","YSSESB"],["9520","23","6","CCLU4869329","YSSESB"],["9528","22","6","OOLU7257744","YSSESB"],["9536","23","6","CAIU4051190","YSSESB"],["9544","23","7","KKFU1567743","YSSESB"],["9570","22","6","KKFU1503040","YSSESB"],["9574","23","4","AMFU8736202","YSSESB"],["9578","23","4","ECMU4719392","YSSESB"],["9582","22","7","IPXU3629168","YSSESB"],["9586","23","7","KKTU7231088","YSSESB"],["9590","23","21","661001AK1","YSSESB"],["9594","23","7","SEAU2258148","YSSESB"],["9598","23","7","HDMU2447807","YSSESB"],["9602","23","7","TGHU3981849","YSSESB"],["9606","22","7","HJCU2116440","YSSESB"],["9610","23","7","BMOU2306331","YSSESB"],["9614","23","6","HJCU4415672","YSSESB"],["9618","23","6","861001AC","YSSESB"],["9622","23","7","APLU8872540","YSSESB"],["9626","23","7","GLDU3379497","YSSESB"],["9630","23","4","761001AD","YSSESB"],["9573","22","4","TTNU9636434","YSSESB"],["9581","23","7","IPXU3629168","YSSESB"],["9589","23","21","661001AK","YSSESB"],["9597","23","7","TGHU3820802","YSSESB"],["9605","23","7","HJCU2116440","YSSESB"],["9613","23","6","HJCU4415672","YSSESB"],["9621","23","7","TCNU9943464","YSSESB"],["9629","23","6","CCLU4170049","YSSESB"],["9444","23","7","TTNU1752504","YSSESB"],["9452","23","7","MBIU8248766","YSSESB"],["9460","23","4","CBHU9972216","YSSESB"],["9468","22","6","CBHU6082414","YSSESB"],["9476","23","4","INKU6169540","YSSESB"],["9484","23","7","CBHU5619978","YSSESB"],["9492","22","6","CCLU4245019","YSSESB"],["9500","23","5","34DC8622","YSSESB"],["9508","23","7","CAXU6910573","YSSESB"],["9516","22","6","CBHU6051141","YSSESB"],["9524","23","7","FSCU3415910","YSSESB"],["9532","23","4","CBHU8058649","YSSESB"],["9540","23","6","KKFU1516556","YSSESB"],["9567","23","7","OOLU8597796","YSSESB"],["9577","23","6","MSKU6233026","YSSESB"],["9585","22","7","KKTU7231088","YSSESB"],["9593","23","7","SEAU2258148","YSSESB"],["9601","23","4","TGHU9316450","YSSESB"],["9609","22","6","HJCU4415672","YSSESB"],["9617","23","4","TRLU7103543","YSSESB"],["9625","23","7","CBHU3231113","YSSESB"],["9576","22","7","MSKU3802685","YSSESB"],["9584","23","7","IPXU3629168","YSSESB"],["9592","23","7","PONU2015725","YSSESB"],["9600","23","4","TGHU9316450","YSSESB"],["9608","23","6","HJCU4415672","YSSESB"],["9616","23","4","TRLU7103543","YSSESB"],["9624","23","4","CRXU9822249","YSSESB"],["9632","23","7","MGLU2946017","YSSESB"],["8459","23","4","YMLU8497643","YSSESB"],["8467","23","6","CBHU1982476","YSSESB"],["8475","23","4","GLDU7090970","YSSESB"],["8483","23","4","GATU8693678","YSSESB"],["8491","23","7","PONU0276252","YSSESB"],["8499","23","7","PONU0276252","YSSESB"],["8507","23","7","TCKU9233386","YSSESB"],["8515","23","7","CBHU3337147","YSSESB"],["8523","23","4","CBHU8404567","YSSESB"],["8531","23","4","CAXU9516901","YSSESB"],["8539","23","6","SLSU7010070","YSSESB"],["8547","23","5","34EC1435","YSSESB"],["8555","23","6","HJCU4117050","YSSESB"],["8563","23","7","KKTU7917756","YSSESB"],["8571","23","7","KKTU7319250","YSSESB"],["8579","23","7","GLDU3573727","YSSESB"],["8587","23","7","KKTU7163764","YSSESB"],["8595","23","4","MSKU9946798","YSSESB"],["8603","23","4","HJCU1901541","YSSESB"],["8611","23","7","GLDU2297389","YSSESB"],["8619","23","4","YMLU8208571","YSSESB"],["8627","23","7","CBHU5912081","YSSESB"],["8635","23","7","CBHU3916004","YSSESB"],["8643","23","6","HJCU4161618","YSSESB"],["8651","23","6","TEXU7242089","YSSESB"],["8659","23","6","CBHU1784763","YSSESB"],["8667","23","7","TCKU3012393","YSSESB"],["8675","23","34","CBHU3477719","YSSESB"],["8683","23","7","SCSU8008654","YSSESB"],["8691","23","4","CBHU9848859","YSSESB"],["8699","23","6","CBHU1994482","YSSESB"],["8707","23","6","CCLU4357174","YSSESB"],["8715","23","7","IPXU3344587","YSSESB"],["8723","23","4","CBHU9839517","YSSESB"],["8731","23","4","CCLU6682635","YSSESB"],["8739","23","4","GESU5622110","YSSESB"],["8747","23","4","CCLU6682635","YSSESB"],["8755","23","4","CBHU8718233","YSSESB"],["8763","23","7","TCKU3037072","YSSESB"],["8771","23","7","DFSU2067774","YSSESB"],["8779","23","7","SGCU2173235","YSSESB"],["8787","23","7","CBHU3575973","YSSESB"],["8795","23","6","CCLU4732254","YSSESB"],["8803","23","19","801001AA","YSSESB"],["8811","23","6","CAXU4775828","YSSESB"],["8819","23","7","ECMU2015769","YSSESB"],["8827","23","6","SUDU4629921","YSSESB"],["8835","23","4","TGHU8264028","YSSESB"],["8843","23","34","CBHU3887837","YSSESB"],["9366","23","7","KKTU7342939","YSSESB"],["9374","23","6","DFSU4055556","YSSESB"],["9382","23","7","TTNU3723275","YSSESB"],["9390","23","4","FSCU9118945","YSSESB"],["9398","23","7","FCIU2948957","YSSESB"],["9406","23","4","YMLU8418412","YSSESB"],["9414","23","6","PONU1290804","YSSESB"],["9422","23","7","TCKU3495711","YSSESB"],["9430","23","4","TTNU9247978","YSSESB"],["9438","23","7","IPXU3798147","YSSESB"],["9443","23","7","TTNU1752504","YSSESB"],["9451","23","7","SBAU2978707","YSSESB"],["9459","22","7","MBIU8248719","YSSESB"],["9467","23","6","TGHU4677234","YSSESB"],["9475","23","4","CBHU8286504","YSSESB"],["9483","23","6","CBHU6131817","YSSESB"],["9491","23","4","DFSU6180768","YSSESB"],["9499","23","5","34DC8622","YSSESB"],["9507","22","7","TCKU2431409","YSSESB"],["9515","23","7","TGHU0380968","YSSESB"],["9523","23","7","GLDU3549309","YSSESB"],["9531","23","6","YMLU4747636","YSSESB"],["9539","23","7","CBHU3369102","YSSESB"],["9547","23","24","861001AB","YSSESB"],["9572","23","7","HJCU8200522","YSSESB"],["9580","23","4","CBHU8004051","YSSESB"],["9588","23","7","YMLU2786844","YSSESB"],["9596","23","4","HJCU1077648","YSSESB"],["9604","23","7","CCLU2490254","YSSESB"],["9612","22","4","YMLU8338261","YSSESB"],["9620","23","7","IRSU2494054","YSSESB"],["9628","23","4","TGHU8837095","YSSESB"],["8857","23","4","HDMU5446867","YSSESB"],["8865","23","7","TTNU3243804","YSSESB"],["8874","23","5","EISU3835889","YSSESB"],["8882","23","5","34DC8623","YSSESB"],["8890","23","6","SLSU7049765","YSSESB"],["8898","23","7","UESU2342612","YSSESB"],["8906","23","7","FCIU3798189","YSSESB"],["8914","23","7","IPXU3911063","YSSESB"],["8922","23","7","CAXU3105992","YSSESB"],["8930","23","7","MSKU5462748","YSSESB"],["8938","23","7","GSTU2976492","YSSESB"],["8946","23","7","DVRU1362516","YSSESB"],["8954","23","7","GESU2454049","YSSESB"],["8962","23","7","KKTU7581450","YSSESB"],["8970","23","6","CBHU6128520","YSSESB"],["8978","23","6","CBHU6128520","YSSESB"],["8986","23","7","311001NA","YSSESB"],["8994","23","7","HJCU8238214","YSSESB"],["9002","23","7","FCIU2749301","YSSESB"],["9010","23","7","MSKU5097218","YSSESB"],["9018","23","7","TCKU2410540","YSSESB"],["9026","23","7","ALNU9190117","YSSESB"],["9034","23","7","ALNU2100030","YSSESB"],["9042","23","6","CCLU4491326","YSSESB"],["9050","23","7","GESU3231348","YSSESB"],["9058","23","7","EOLU3287951","YSSESB"],["9066","23","6","GVCU4035213","YSSESB"],["9074","23","6","GVCU4035213","YSSESB"],["9082","23","7","POCU0554684","YSSESB"],["9090","23","4","MSKU9137176","YSSESB"],["9098","23","6","TTNU4011090","YSSESB"],["9106","23","4","MSKU9137176","YSSESB"],["9114","23","6","CAXU7443180","YSSESB"],["9122","23","4","WFHU5068640","YSSESB"],["9130","23","7","KKFU1668315","YSSESB"],["9138","23","6","FBLU4001271","YSSESB"],["9146","23","7","GESU3231348","YSSESB"],["9154","23","45","CBHU5661303","YSSESB"],["9162","23","4","EISU9121343","YSSESB"],["9170","23","6","UESU4220974","YSSESB"],["9178","23","7","CNCU1606026","YSSESB"],["9186","23","6","CBHU1929825","YSSESB"],["9194","23","7","MSKU7300155","YSSESB"],["9202","23","4","TRLU7196356","YSSESB"],["9210","23","7","CBHU3987775","YSSESB"],["9218","23","7","TCKU2552951","YSSESB"],["9226","23","7","UXXU2413969","YSSESB"],["9234","23","6","TTNU4980874","YSSESB"],["9242","23","6","TGHU4480501","YSSESB"],["9250","23","6","TGHU4480501","YSSESB"],["9258","22","6","GVCU4161633","YSSESB"],["9266","23","6","CCLU5056555","YSSESB"],["9274","23","6","CCLU4716145","YSSESB"],["9282","23","4","GESU5426185","YSSESB"],["9290","23","45","CBHU5786569","YSSESB"],["9298","23","7","CAXU3127918","YSSESB"],["9306","23","7","UXXU2379648","YSSESB"],["9314","23","7","ECMU2072898","YSSESB"],["9322","23","46","MRKU0310186","YSSESB"],["9330","23","7","EISU3718476","YSSESB"],["9338","23","7","EISU3718476","YSSESB"],["9346","23","7","061001PA","YSSESB"],["9354","23","7","KKTU7058500","YSSESB"],["9362","23","7","UXXU2413969","YSSESB"],["9370","23","4","IRNU4603156","YSSESB"],["9378","23","7","EMCU3054266","YSSESB"],["9386","23","4","FSCU9118945","YSSESB"],["9394","23","6","FSCU4395696","YSSESB"],["9402","23","4","FSCU9684048","YSSESB"],["9410","23","4","YMLU8418412","YSSESB"],["9418","23","7","TRIU3620374","YSSESB"],["9426","23","7","MSCU6837011","YSSESB"],["9434","23","6","SESU6032510","YSSESB"],["9442","23","7","IPXU3798147","YSSESB"],["9450","23","7","TTNU1752504","YSSESB"],["9458","23","4","GESU4872557","YSSESB"],["9466","23","6","GVCU4160730","YSSESB"],["9474","23","4","CBHU8428110","YSSESB"],["9482","23","6","CBHU6131817","YSSESB"],["9490","23","7","CBHU5619978","YSSESB"],["9498","23","5","34DC8622","YSSESB"],["9506","23","7","CBHU3166701","YSSESB"],["9514","23","7","CBHU5864949","YSSESB"],["9522","23","7","TCKU9884916","YSSESB"],["9530","23","7","TCLU2186680","YSSESB"],["9538","23","6","TTNU4166657","YSSESB"],["9546","22","5","561001AE","YSSESB"],["9571","23","4","CBHU8614856","YSSESB"],["9579","23","4","TRLU6361625","YSSESB"],["9587","23","7","GESU3472345","YSSESB"],["9595","23","7","OOLU3656366","YSSESB"],["9603","23","4","TGHU9316450","YSSESB"],["9611","23","6","HJCU4415672","YSSESB"],["9619","23","6","861001AC2","YSSESB"],["9627","23","7","CBHU3987775","YSSESB"],["7327","23","7","GLDU2291652","YSSESB"],["7335","23","4","TRLU7208971","YSSESB"],["7343","23","7","OOLU3694730","YSSESB"],["7351","23","5","34BT3378","YSSESB"],["7359","23","6","CBHU6144239","YSSESB"],["7367","23","7","CBHU5561623","YSSESB"],["7375","23","7","CBHU3433840","YSSESB"],["7383","23","7","CAIU2289173","YSSESB"],["7391","23","6","CBHU6090636","YSSESB"],["7399","23","7","CBHU5877313","YSSESB"],["7407","23","4","CBHU8198240","YSSESB"],["7415","23","7","FCIU3582878","YSSESB"],["7423","23","4","CBHU8040260","YSSESB"],["7431","23","7","TCKU1908009","YSSESB"],["7439","23","7","CAIU2440839","YSSESB"],["7447","23","4","HJCU1459548","YSSESB"],["7455","23","7","GATU1329849","YSSESB"],["7463","23","7","CBHU3651630","YSSESB"],["7471","23","5","TCNU9953797","YSSESB"],["7479","23","6","HDMU673651","YSSESB"],["7487","23","4","MSKU9716990","YSSESB"],["7495","23","7","UACU3489504","YSSESB"],["7503","23","6","HDMU648868","YSSESB"],["7511","23","6","TRLU662814","YSSESB"],["7519","23","7","TCLU2019240","YSSESB"],["7527","23","7","CBHU5753312","YSSESB"],["7535","23","4","FSCU9116325","YSSESB"],["7543","23","4","FSCU9116325","YSSESB"],["7551","23","7","IMTU3060376","YSSESB"],["7559","23","5","34TL3183","YSSESB"],["7567","23","4","CBHU8649955","YSSESB"],["7575","23","4","CBHU8649955","YSSESB"],["7583","23","5","34TL3183","YSSESB"],["7591","23","4","TCKU9845355","YSSESB"],["7599","23","4","TRLU7417713","YSSESB"],["7607","23","7","TTNU3274507","YSSESB"],["7615","23","4","CBHU8579082","YSSESB"],["7623","23","4","TCNU9616440","YSSESB"],["7631","23","7","TGHU3277207","YSSESB"],["7639","23","6","CBHU1843911","YSSESB"],["7647","23","6","PONU1423363","YSSESB"],["7655","23","7","INKU2672367","YSSESB"],["7663","23","5","NYKU4110366","YSSESB"],["7671","23","28","KTNU4190994","YSSESB"],["7679","23","6",".","YSSESB"],["7687","23","4","ZCSU8597269","YSSESB"],["7695","23","41","MSKU4607997","YSSESB"],["7703","23","7","YMLU3164640","YSSESB"],["7711","23","7","TTNU1929729","YSSESB"],["7719","23","7","CBHU3782501","YSSESB"],["7727","23","6","EMCU1211113","YSSESB"],["7735","23","4","FSCU6495776","YSSESB"],["7743","23","7","GESU3654062","YSSESB"],["7751","23","11","MSKU4068766","YSSESB"],["7759","23","6","INBU5383961","YSSESB"],["7767","23","6","INBU5383961","YSSESB"],["7775","23","7","CBHU5638746","YSSESB"],["7783","23","7","CBHU3936799","YSSESB"],["7791","23","4","CAXU9185547","YSSESB"],["7799","23","7","CBHU5942390","YSSESB"],["7807","23","6",".","YSSESB"],["7815","23","7","CRXU3216814","YSSESB"],["7823","23","5","34DC8624","YSSESB"],["7831","23","6","KKFU1765712","YSSESB"],["7839","23","6","KKFU1765712","YSSESB"],["7847","23","7","WFHU1211331","YSSESB"],["7855","23","6","TCKU2674414","YSSESB"],["7863","23","7","FSCU3331207","YSSESB"],["7871","23","6","56.912AI4","YSSESB"],["7879","23","6","56.912AJ4","YSSESB"],["7887","23","6","56.912AJ12","YSSESB"],["7895","23","4","TCKU9136426","YSSESB"],["7903","23","6","56.912AK5","YSSESB"],["7911","23","6","56.912AK13","YSSESB"],["7919","23","6","BMOU3030612","YSSESB"],["7927","23","7","MSKU2813263","YSSESB"],["7935","23","6","CBHU1707284","YSSESB"],["7943","23","7","CBHU3448032","YSSESB"],["7951","23","4","CBHU8771238","YSSESB"],["7959","23","7","CLHU2894024","YSSESB"],["7967","23","7","FSCU3103932","YSSESB"],["7975","23","7","IPXU3011441","YSSESB"],["7983","23","7","TGHU2540160","YSSESB"],["7991","23","7","WFHU1149472","YSSESB"],["7999","23","7","CARU2681339","YSSESB"],["8007","23","45","CBHU3315847","YSSESB"],["8015","23","7","TCKU3037391","YSSESB"],["8023","23","4","AMFU8770758","YSSESB"],["8031","23","7","CBHU5679637","YSSESB"],["8039","23","6","UXXU4338397","YSSESB"],["8047","23","6","TRLU8629152","YSSESB"],["8055","23","7","CBHU3493957","YSSESB"],["8063","23","4","KKFU7541350","YSSESB"],["8071","23","7","TGHU0333354","YSSESB"],["8079","23","4","FSCU9061705","YSSESB"],["8087","23","4","CBHU8404567","YSSESB"],["8095","23","7","CBHU3448032","YSSESB"],["8103","23","7","FCIU3106784","YSSESB"],["7311","23","6","KKFU1658740","YSSESB"],["7319","23","5","34TL3184","YSSESB"],["8111","23","7","CBHU3619367","YSSESB"],["8119","23","4","CBHU8862404","YSSESB"],["8127","23","7","CBHU5626200","YSSESB"],["8135","23","6","KKFU1142008","YSSESB"],["8143","23","7","DAYU2137027","YSSESB"],["8151","23","7","HDMU5539044","YSSESB"],["8159","23","7","IPXU3274155","YSSESB"],["8167","23","7","CBHU3507520","YSSESB"],["8175","23","4","CBHU8437236","YSSESB"]];
    var store = new Ext.data.SimpleStore({
    fields: [
    {name: 'seq', mapping: '0', type:'int'},
    {name: 'statusseq', mapping: '1', type:'int'},
    {name: 'containertypeseq', mapping: '2', type:'int'},
    {name: 'containerno', mapping: '3', type:'string'},
    {name: 'dataorigin', mapping: '4', type:'string'}
    store.loadData(myData);
    var v_grid = new Ext.grid.GridPanel({
    store: store,
    columns: [
    {id:'seq',header: "SEQ",sortable:true,dataIndex:'seq',width:10},
    {header: "statusseq",sortable:true,dataIndex:'statusseq',width:10},
    {header: "containertypeseq",sortable:true, dataIndex:'containertypeseq',width:20},
    {header: "containerno",sortable:true,dataIndex:'containerno',width:20},
    {header: "dataorigin", sortable:true,dataIndex:'dataorigin',width:30}
    viewConfig:{
    forceFit:true
    width:700,
    height: 560,
    title:'Array Grid'
    </script></div></div>
    <BR>
    <script type="text/javascript">
    Ext.onReady(function(){
    var v_window = new Ext.Window({
    id:'id_WINDOW_EXAMPLE',
    contentE1:'contentE1_WINDOW_EXAMPLE',
    title:'Title',
    closable:true,
    closeAction:'hide',
    resizable:false,
    plain:true,
    allowDomMove: false,
    autoScroll: false,
    items: [v_grid]
    v_window.show(this);
    v_window.setSize({width:900, height:600});
    </script></div>
    Thanks you very much,
    Osman...

  • Extjs grid with pagination

    hi,
    i just start learning how to integrate extjs with oracle apex.
    i manage to create a normal extjs grid but got problem when trying to create
    a grid with pagination.
    lets say ihave 100 rows of data, and i want to show only 10 rows of data per page, so how should i do that?
    i know i need to send a request to so that i will get data 1-10 for the first page, and then when i click next,
    i will get data 11-20 and so on.
    but i dont know how to make it happen. i cannot find any example on the net.
    how to know what is the current data set, (is it 1-10 or 11-20) , so that i can pass the correct values for start, to the application
    process?
    hope someone here can help me.
    thanks,
    -aku
    Edited by: akulala on Sep 5, 2010 6:25 AM

    Hi Aku
    As far as I recall, alot of this came from Mark Lancaster so I would advise googling for his blog and having a look there - it may well make a lot more sense than this does.
    I normally build my ExtJS script up at page loaed time using a package and print it out using htp.prn. So for the pagination, I would print out something like this...
        htp.p('<script>var u = (window.location.href.indexOf("?") > 0) ? window.location.href.substring(0,window.location.href.indexOf("?")) : window.location.href;
               var baseURL = u.substring(0,u.lastIndexOf("/"));
               var gridURL = baseURL + ''/wwv_flow.show?p_flow_id='' + Ext.getDom(''pFlowId'').value + ''&p_flow_step_id=0&p_instance='' + '||
              'Ext.getDom(''pInstance'').value + ''&p_request=APPLICATION_PROCESS%3DejPaginate'';</script>');And then my store would be defined as something like this...
    myStore = new Ext.data.Store({
                  storeId: 'myStore',
                  proxy: new Ext.data.ScriptTagProxy({
                  url: gridURL,
                  nocache: false,
                  callbackParam: 'p_widget_num_return'
                  baseParams: {'x01':'&APP_ID.', 'x02':'&APP_PAGE_ID.', 'x03':'xyz'},  //the xyz would be your region
                                                                                       //ID passed into the procedure I gave you in my previous post
                  remoteSort: true,
                  paramNames: {
                  start: 'x04', // The parameter name which specifies the start row
                  limit: 'x05', // The parameter name which specifies number of rows to return
                  sort: 'x06',  // The parameter name which specifies the column to sort on
                  dir: 'x07'    // The parameter name which specifies the sort direction
                  reader: myReader
                  });And my application process (ejPaginate in the above example) would look something like this...
    BEGIN
      htp.p(wwv_flow.g_widget_num_return||'(');
      get_grid_json(p_app_id => wwv_flow.g_x01,
                        p_app_page_id => wwv_flow.g_x02,
                        p_region_id => TO_NUMBER(wwv_flow.g_x03),
                        p_start => NVL(wwv_flow.g_x04,0),
                        p_limit => NVL(wwv_flow.g_x05,10),
                        p_sort => wwv_flow.g_x06,
                        p_dir => wwv_flow.g_x07);
      htp.p(')');
    END;Hope this helps you along.
    Cheers
    Ben

  • Extjs grid or jquery jqGrid

    Hi,
    Has anyone successfully integrate Oracle Apex with extjs grid or jquery jqGrid? How can I call an onDemand process to return XML or JSON data and use that for those grids?
    Thanks.
    Andy

    Hi Andy
    It's easy enough to integrate the extJS grid, you just need to break the problem down into a series of small steps.
    To tackle the problem, I'd do the following steps.
    1. Copy a extJS grid example, with the grid data embedded in the page.
    2. Once step 1 works, move the grid data into a PL/SQL package, and call this via a application process.
    3. Once step 2 works, work out how to create the grid data dynamically in your PL/SQL package. Make sure you consider escaping your data if returning JSON.
    4. You get the idea...
    It's just a case of chipping away at the problem, and learning as you go.
    I don't have a grid on my [demo site|http://apex.oracle.com/pls/otn/f?p=200801:1:], but the examples should help with creating an application process, and you can see the JSON data being returned in Firebug.
    In case your wondering why I don't have an extJS grid...
    If I built a one off solution my users would immediately demand that functionality everywhere, and I'd have to do a whole lot of work to build a complete generic solution.
    It's much easier to use the Apex interactive reports for read-only, and AJAX enabled updatable reports with a bit of CSS to get a good looking solution.
    Mark

  • How to configure Oracle SSO for forms and apex

    Hi All,
    I am trying to configure oracle SSO for forms and apex using third party external authentication. Please help me how to configure. I a have tried all possible things
    from web but I am not able to do it. Is there any doc or links are much appreciated.
    Info: Some reason my oiddas web link is not working it used to work fine before and also the from /pls/orasso/ link I am not able to login may be because of my oiddas issue
    Thanks

    Hi Andreas,
    Thanks you for your help. I am trying to implement third party external LDAP authentication for APEX and Forms.
    So I started with OID and SSO setup to create external Partner Applications. Some reason my oid and sso web login links are not working. I didn't find any errors. I need some help in finding the problem and direction, I already read docs on web but no proper direction. I appreciate your help.
    Thanks

  • Communication between TNS_Listener and Apex Listener

    Dear all,
    I how does the communication between TNS Listener, Apex Listener, and Apex? For some reason I got the following error from Apex listener:
    Caused by: oracle.dbtools.rt.web.WebException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptorI truncated some of the Java object messages.
    This occurred when I tried to connect to Apex. Then I can fix this by going to:
    http://localhost:8080/apex/listenerConfigurethen, everything worked fine.
    My listener.ora file:
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
    ADR_BASE_LISTENER = /usr/local/oracle
    ADR_BASE_ORACLE_LISTENER = /usr/local/oraclemy tnsnames.ora file
    INARA =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = firefly.snowdrop.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = inara.snowdrop.com)
      )where inara is the instance name and firefly is the hostname.
    Does the order of whether starting TNS Listener first or starting Apex Listener first matter?
    Best regards,
    Val
    Edited by: Valerie Debonair on Aug 1, 2011 5:47 AM

    Hm, I'm not able to reproduce the error. There was one time when I started APEX Listener got:
    java.net.BindException: Address already in use: 8080=com.sun.grizzly.http.SelectorThreadHandler@46d999aand when I did the netstat -a got:
    root@firefly:~# netstat -apnl |grep 8080
    tcp6       0      0 :::8080                 :::*                    LISTEN      4530/tnslsnr  I had no idea what made 8080 tagged by the TNS listener, as I started it out before APEX Listener. Very curious how did this happen.
    There was one time netstat -a showed me this (this happened after I stopped Apex Listener, stopped TNS Listener, shutdown the database, started database, started TNS Listener, and started Apex Listener):
    root@firefly:~# netstat -a |grep 8080
    tcp        0      0 firefly.snowdrop.:22110 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22111 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22107 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22109 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22112 firefly.snowdrop.c:8080 ESTABLISHED
    tcp        0      0 firefly.snowdrop.:22108 firefly.snowdrop.c:8080 ESTABLISHED
    tcp6       0      0 [::]:8080               [::]:*                  LISTEN    
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22108 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22107 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22112 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22109 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22110 ESTABLISHED
    tcp6       0      0 firefly.snowdrop.c:8080 firefly.snowdrop.:22111 ESTABLISHEDWhat are 22108, 22107, etc? I cannot reproduce this either.
    Now I only got
    root@firefly:~# netstat -a |grep 8080
    tcp6       0      0 [::]:8080               [::]:*                  LISTEN    
    root@firefly:~# netstat -pnl |grep 8080
    tcp6       0      0 :::8080                 :::*                    LISTEN      5035/java   which is normal, right?
    Edited by: Valerie Debonair on Aug 1, 2011 9:43 PM

  • Image cache not working with Firefox and apex

    Hi,
    I'd like to cache all my images to save page rendering time and bandwidth because my images are all static and never change.
    I use the John Scott's caching technique Link: [http://jes.blogs.shellprompt.net/2007/05/18/apex-delivering-pages-in-3-seconds-or-less/], in a few words this technique consists of adding a header line "Expires: date in the future" in the http response.
    It works very well in IE, the images are cached and the same image can be accessed several times (within the same session or in different sessions) without issuing an http request to the server each time.
    with Firefox it does not work, the same image is asked again and again to the server (i'm using FF 3.5 and APEX 3.2).
    - Is it a date format problem? no, because when i type about:cache in FF, i can find my image in the cache with an expire date in the future.
    The weird thing here is that the counter is incremented each time u request the image, so FF knows it is in the cache and even if the expire date is in the future, FF asks it again to the server.
    - Is it a FF bug? If u read the http specs or if u google a little, u can come to the conclusion that FF does not follow the standards,
    but... images.google.com for example manages to get its images cached with FF.
    They use an http response header "cache-control: public, max-age=604800".
    I tried the same and all kinds of combinations but without success.
    When i compare my image with the one from google in the FF cache, they both have the same attributes.
    - It's not an apex issue neither because it works with IE, most probably an incompatibility between apex and FF?
    Maybe the use of cookie? or the http request (not the response) containing "cache-control: max-age=0"?
    I've found so far 2 half solutions:
    1) use ETag and modified date, see the Tyler Muth's note Link: [http://tylermuth.wordpress.com/2008/02/04/image-caching-in-plsql-applications/].
    with this technique FF continues to send request each time but the answer is shorter because it's just a "304 not modified" instead of "200 OK" (200 response is bigger as it contains the image).
    it's better than nothing but you still have 1 request + 1 response for nothing.
    Another problem is that you need SYS access to implement this, which is not possible on an hosted server. (note that for images from the file system it is already foreseen by apex 3.1, Tyler's note is for images from the db)
    2) if you preload the image (using myimage=new Image();myimage.src='...';), then there is max 1 request per browser session.
    There are 2 minor issues here:
    - no caching across sessions
    - if u don't want to preload all the images (example a page with lots of thumbnails, when user clicks it show a bigger image, in that case the thumbnails can be preloaded but overkill for the big images), then you need to load the image, wait until the image has loaded before displaying it, it does not slow down the execution, but requires some extra JS.
    I'm not asking anyone to investigate it, i can live with the 2 workarounds,
    but just in case someone encountered the same problem and already fixed it.
    Let me know if u managed to use the John Scott's technique with Firefox. (U can use Firebug to see the http traffic)
    Thx
    Tim

    Hi Anshul, hope these help. Let me know if you need to see anything else.
    Best,
    Menu Settings:
    Tab Hyperlink:
    Label Text with with hyper link option not available (works as a hyperlink in chrome and IE though):
    Thanks for the help in advance!

  • ALV Grid and return to selection screen

    Hello
    I have an ALV Grid and when I push a buttom that I program appears another ALV Grid. In this second ALV I try to program different buttoms. When I program the BACK buttom I want to go to selection screen.
    I try with CALL SELECTION SCREEN but when I stay in selection screen and push the execute buttom the ALV that I see is the second, not the first. It seems that we don't catch the news selections.
    I put rs_selfied-refresh = 'X' after the CALL SELECTION SCREEN but is wrong again.
    What can I do????

    Hello Silvia
    There is a simple trick to return from the second ALV list directly back to the selection screen:
    *& Report  ZUS_SDN_REUSE_ALV_GRID_DISPLAY
    REPORT  zus_sdn_reuse_alv_grid_display.
    TYPE-POOLS: slis.
    DATA:
      gt_t001        TYPE STANDARD TABLE OF t001,
      gt_knb1        TYPE STANDARD TABLE OF knb1.
    DATA:
      gs_fcat        TYPE slis_fieldcat_alv,
      gt_fcat_t001   TYPE slis_t_fieldcat_alv,
      gt_fcat_knb1   TYPE slis_t_fieldcat_alv.
    PARAMETERS:
      p_bukrs        TYPE bukrs  DEFAULT '1000'.
    START-OF-SELECTION.
      SELECT * FROM  t001 INTO TABLE gt_t001.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
    *     I_PROGRAM_NAME               =
    *     I_INTERNAL_TABNAME           =
          i_structure_name             = 'T001'
    *     I_CLIENT_NEVER_DISPLAY       = 'X'
    *     I_INCLNAME                   =
    *     I_BYPASSING_BUFFER           =
    *     I_BUFFER_ACTIVE              =
        CHANGING
          ct_fieldcat                  = gt_fcat_t001
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
    *     I_INTERFACE_CHECK                 = ' '
    *     I_BYPASSING_BUFFER                = ' '
    *     I_BUFFER_ACTIVE                   = ' '
          i_callback_program                = syst-cprog
          i_callback_pf_status_set          = 'ALV_SET_PF_STATUS'
          i_callback_user_command           = 'ALV_USER_COMMAND'
    *     I_CALLBACK_TOP_OF_PAGE            = ' '
    *     I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *     I_CALLBACK_HTML_END_OF_LIST       = ' '
    *     I_STRUCTURE_NAME                  = ' '
    *     I_BACKGROUND_ID                   = ' '
    *     I_GRID_TITLE                      =
    *     I_GRID_SETTINGS                   =
    *     IS_LAYOUT                         =
          it_fieldcat                       = gt_fcat_t001
    *   IMPORTING
    *     E_EXIT_CAUSED_BY_CALLER           =
    *     ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          = gt_t001
    *   EXCEPTIONS
    *     PROGRAM_ERROR                     = 1
    *     OTHERS                            = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    END-OF-SELECTION.
    *&      Form  set_pf_status
    *       text
    *      -->RT_EXTAB   text
    FORM alv_set_pf_status USING rt_extab TYPE slis_t_extab.
    * NOTE: identical to STANDARD_FULLSCREEN with additional button
    *       for detail list ('DETAILLIST')
      SET PF-STATUS 'STANDARD_FULLSCREEN'.
    ENDFORM.                    "set_pf_status
    *&      Form  alv_user_command
    *       text
    *      -->R_UCOMM    text
    *      -->RS_SELFIELDtext
    FORM alv_user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
    *   Display detail list: all customers for selected company code
        WHEN 'DETAILLIST'.
          IF ( rs_selfield-fieldname = 'BUKRS' ).
            SELECT        * FROM  knb1 INTO TABLE gt_knb1
                   WHERE  bukrs  = rs_selfield-value.
            CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
              EXPORTING
    *         I_INTERFACE_CHECK                 = ' '
    *         I_BYPASSING_BUFFER                = ' '
    *         I_BUFFER_ACTIVE                   = ' '
                i_callback_program                = syst-cprog
                i_callback_pf_status_set          = 'ALV_SET_PF_STATUS'
                i_callback_user_command           = 'ALV_USER_COMMAND'
    *         I_CALLBACK_TOP_OF_PAGE            = ' '
    *         I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *         I_CALLBACK_HTML_END_OF_LIST       = ' '
                i_structure_name                  = 'KNB1'
    *       IMPORTING
    *         E_EXIT_CAUSED_BY_CALLER           =
    *         ES_EXIT_CAUSED_BY_USER            =
              TABLES
                t_outtab                          = gt_knb1
              EXCEPTIONS
                program_error                     = 1
                OTHERS                            = 2.
            IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    <b>*       NOTE: when the program logic returns from the 2nd ALV list
    *             and exit = 'X' then the program leaves the
    *       1st ALV list, too, and returns to the selection screen.</b>
            rs_selfield-exit = 'X'.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDFORM.                    "alv_user_command
    Regards
      Uwe

  • Oracle Text and APEX

    Hello
    Tried the Oracle White Paper - Oracle Text Web Applications
    Created the table and populated with relevant url links
    create table htmldb_documentation(
    id number,
    doc_title varchar2(4000),
    doc_url varchar2(4000))
    then created the index
    create index htmldb_doc_ctxidx on htmldb_documentation(doc_url)
    indextype is ctxsys.context
    parameters ('datastore CTXSYS.URL_DATASTORE')
    Then ran my SQL for the report in Toad and APEX SQL Workshop>SQL Commands before creating an APEX Region based on a SQL Report
    select score(1) relevance, doc_title, doc_url
    from htmldb_documentation
    where CONTAINS (doc_url, :P1_SEARCH, 1) > 0
    order by 1 desc
    After running the APEX Report I get error
    report error:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 1
    I also ran these grant commands after I received this error
    grant ctxapp to demo;
    grant execute on ctx_cls to demo;
    grant execute on ctx_ddl to demo;
    grant execute on ctx_doc to demo;
    grant execute on ctx_output to demo;
    grant execute on ctx_query to demo;
    grant execute on ctx_report to demo;
    grant execute on ctx_thes to demo;
    grant execute on ctx_ulexer to demo;
    Any ideas ?? I'm running APEX 3.1.0.00.32 on Oracle 10.2.0.1 on WindowsXP
    If I replace the bind variable :P1_SEARCH, with a literal value the error disappears

    Couple of things to check:
    1) do you have an item called P1_SEARCH in your application?
    2) If so, make sure that it has a value; otherwise, Oracle Text gets confused and will throw that error.
    You may want to consider using a PL/SQL Function Returning SQL Query that will only append the CONTAINS clause if P1_SEARCH has some value.
    Thanks,
    - Scott -
    http://sumnertechnologies.com
    http://spendolini.blogspot.com

  • ALV GRID  and Integrated ITS 7 (SAP GUI for HTML) - dissapears on reload

    Hi All,
    We have a custom report that uses an ALV grid to display information to the user. Within this grid, there are fields that are display only and fields that are editable. Also, the grid is wider than the screen's width. It works fine in ECC. It also worked fine when we were using ITS 6.4.
    We have recently upgraded to ITS 7. Now when we run the report using a Transaction iView (in EP 7) or the Webgui service (SAP GUI for HTML), if a field that is editable has focus when an event is triggered that reloads the grid, the screen becomes blank. So, you can click the Save button and the screen goes blank, also, there are date fields in the grid and if you choose a new date, the grid reloads and the screen becomes blank.
    We have found that when the screen is blank, you can use the "Page Up" button on your keyboard and the last few columns of the grid will appear. As if the entire grid has moved off-screen to the left.
    If you click onto a non-editable field and refresh or save, the grid returns to its normal state.
    We are on Basis Patch level 15.
    Does anyone have any ideas on how to fix this?
    Also, does anyone know of a standard SAP transaction we can call from the Webgui that would have a similar setup...with an ALV grid containing editable and non-editable fields? We would like to rule out any errors in the report itself. Since it worked before we upgraded and it works fine in ECC. This would be a really big help too.
    Thank you so much!
    -Kevin

    Hi,
    Thanks Raymond, I have seen Note 314568. I could not get the second link to work but I have looked at just about every Note in reference to Integrated ITS 7 and Tables or ALV Grids and there are very many, so it would appear that SAP has had a hard time with implementing this control, but I have not seen any instance that matches the problem we are having.
    Unfortunately, SAP will not investigate this unless we can provide a standard Transaction that exhibits the same behavior.
    If anyone knows of a standard SAP Transaction that displays an ALV Grid that is wider than the screen (requiring a horizontal scroll bar) and with editable and non-editable fields, that would be fantastic. If we can test against that, then we would know for sure if this is a problem with ITS / SAP GUI for HTML, or if there is an issue with this specific report.
    Thanks!
    -Kevin

  • Integrate OBIEE 10g/11g  and APEX 4.2

    Hi All,
    We are trying to integrate OBIEE 10g/11g and APEX 4.2. We would like to open report and a form in OBIEE so that users can update/writeback the data from OBIEE. Is there a way we can do this ? Please advice.
    Thanks

    then i tryed just this URL -> http://127.0.0.1:8080/apex
    it works as it schould.

  • How do I get my lightroom pictures (thumbnails, grid and loupe) back?

    I have lightroom 4.2 and have been using it for about two months on a Windows 7 64 bit system. Last Friday ALL pictures - the thumbnails, and the pictures in the grid and the loupe views disappeared and were replaced by grey rectangles. See screen shot:
    I have tried using backup catalogs and other possible fixes but nothing has worked. Today I uninstalled Lightroom, moved the remaining Lightroom files - catalog, backups, etc. - and reinstalled Lightroom. I then created a new catalog. But once again all I get are grey rectangles rather than previews. As can be seen, the catalog contains the information about the photos. I just can't see them. And that is pretty crucial in a photo editing program!
    I'm stumped and need some help, please.
    Verdunboy

    Many thanks to jim01403. I had managed to have the the pictures
    reappear after doing many things including making some changes to the monitor's settings. Until I read the post from jim01403, I did not know how I had retieved those pictures. Now I believe that resetting the monitor profile is what corrected my problem. I've saved the location of the instructions for resetting the monior profile to an sRGB standard.
    Again, many thanks.
    Verdunboy1

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • BUG for sort column with Oracle 11g and APEX 3.2

    I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear
    Report error :
    ORA-00910: specified length too long for its datatype.
    But in an other environement in Oracle 10g and apex 3.2, with the same data. I have no BUG.
    Somebody have an idea for a possible solution to this problem???

    Again, I may just be wasting your time...but if I have XDB problems...especially with the password, I do the following:
    1. Change your working directory to $ORACLE_HOME/apex.
    2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.
    3. Run apxconf.sql
    > @apxconf
    4. When prompted, enter a password for the Oracle Application Express Admin account.
    5. When prompted, enter the port for the Oracle XML DB HTTP server. (default port being, of course,8080).
    6. Unlock the ANONYMOUS account
    > ALTER USER ANONYMOUS ACCOUNT UNLOCK;
    7. If needed, I do the SETHTTPPORT command mentioned before...
    Since I'm using the Oracle 11g, with embedded PL/SQL server, I have no idea if this is the same for 10g us OHS?
    Hope that helps!
    KSL.

Maybe you are looking for

  • Service Desk Message

    Hi , I am setting up service desk  between solution manager 7.0 and sap ecc 5.0  6.40  sp16 Had done all config in solman  but when i am creating message from Satellite system  getting below mention error Error in Local Message System: Dynamic type c

  • How can I sync ff bookmarks on old XP with bookmarks on new Win7?

    Running FF32 on both devices. Properly logged on to both. Would like to know how to get bookmarks from device running on XT to newer one running Win 7. Carefully read instructions and looked at solutions to similar problems. Nothing has worked. Thank

  • FCP X transcoding Sony HDR-FX7 (1080i) to NTSC 720 x 480. Results are not pretty.

    Help, please? I shot some interview footage for my student documentary film with a Sony HDR-FX7 (1080i). FCP X transcodes it to NTSC 720 x 480 on import and it looks awful. Have now learned the difference between interlaced and progressive!. The film

  • Toner leak and printer damage, toner cartridge 124A

    My yellow toner cartridge leaked all over my printer. I got it cleaned up and replaced the toner cartridge, but now the inks are very washed out. The black is faded and the color is really faded. The white paper, where there should be no printing is

  • 11.1.1.3.0 has danger bug

    People, please, tell me, is there anyone who uses Jdeveloper 11g R2 and faced with problem when user can't continue working with application because it is getting "no respond" for him after some returnEvent? We can't use this version because of that.