Need Help - Problem while having a panelformLayout inside a Region.

I have a jspx page which has some regions out of which one region has a panel form layout in it's corresponding jsff.
Below is my jspx
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:pageTemplate viewId="/sdk/core/uifwk/template/templateDef.jspx"
value="#{bindings.pageTemplateBinding}" id="emT">
<f:facet name="emContent">
<af:panelStretchLayout id="psl1" topHeight="auto">
<!-- DO NOT REMOVE: This component is from Single Target Home Quick Start -->
<f:facet name="center">
<pe:pageCustomizable id="pageCustomizable1"
toolbarLayout="message stretch addonpanels button">
<af:panelStretchLayout startWidth="40%" endWidth="60%"
id="ps12">
<f:facet name="start">
<af:panelGroupLayout layout="scroll" id="pgl1">
<cust:panelCustomizable id="panelCustomizable1" showEditAction="false">
<!--Add code here-->
<cust:showDetailFrame id="sdf1" text="General">
<af:region value="#{bindings.General1.regionModel}"
id="r1"/>
</cust:showDetailFrame>
<cust:showDetailFrame id="sdf2" text="Features">
<af:region value="#{bindings.Features1.regionModel}"
id="r2"/>
</cust:showDetailFrame>
</cust:panelCustomizable>
</af:panelGroupLayout>
</f:facet>
<f:facet name="end">
<af:panelGroupLayout layout="scroll" id="pgl2">
<cust:panelCustomizable id="panelCustomizable2" showEditAction="false">
<!--Add code here-->
<cust:showDetailFrame id="sdf4" text="Performance">
<af:region value="#{bindings.Performance1.regionModel}"
id="r4"/>
</cust:showDetailFrame>
</cust:panelCustomizable>
</af:panelGroupLayout>
</f:facet>
</af:panelStretchLayout>
</pe:pageCustomizable>
</f:facet>
</af:panelStretchLayout>
</f:facet>
</af:pageTemplate>
</af:form>
</af:document>
</f:view>
</jsp:root>
Below is my jsff
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:f="http://java.sun.com/jsf/core">
<!-- DO NOT REMOVE: EM templateDef Quick Start -->
<af:panelFormLayout id="pfl1">
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDomain}"
id="plam2" label="Domain" for="aot2">
<af:activeOutputText value="#{pageFlowScope.PsGeneral.DOMAIN}" id="aot2"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbName}"
id="plam3" label="Database Name" for="aot3">
<af:activeOutputText value="#{pageFlowScope.PsGeneral.dbName}" id="aot3"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayDbType}"
id="plam4" label="Database Type" for="aot4">
<af:activeOutputText value="#{pageFlowScope.PsGeneral.dbType}" id="aot4"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsHome}"
id="plam5" label="PS_HOME" for="aot5">
<af:activeOutputText value="#{pageFlowScope.PsGeneral.PSHOME}" id="aot5"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayPsCfgHome}"
id="plam6" label="PS_CFG_HOME" for="aot6">
<af:activeOutputText value="#{pageFlowScope.PsGeneral.PSCFGHOME}"
id="aot6"/>
</af:panelLabelAndMessage>
<af:panelLabelAndMessage rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
id="plam7" label="PS Application Database"
for="gl1">
<af:goLink rendered="#{pageFlowScope.PsGeneral.isDisplayAppDb}"
destination="#{pageFlowScope.PsGeneral.appDbURL}"
shortDesc="#{pageFlowScope.PsGeneral.appDbToolTip}"
text="#{pageFlowScope.PsGeneral.appDbName}" id="gl1"/>
</af:panelLabelAndMessage>
Like this there are 23 Panel Label and Message components .
<af:panelLabelAndMessage id="plam23" label="Host" for="gl3">
<af:goLink destination="#{pageFlowScope.PsGeneral.hostURL}"
text="#{pageFlowScope.PsGeneral.hostName}" id="gl3"/>
</af:panelLabelAndMessage>
</af:panelFormLayout>
</jsp:root>
When the page is rendered in the browser only the first 5 panelLabelAndMessage elements are rendered and the page is broken after that. There is no problem in the code behind, in whatever order you place the pLAM elements the first five rows are rendered and the page is broken with the following log
Caused by: java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1425)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer$FormColumnEncoder.processComponent(PanelFormLayoutRenderer.java:1410)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:170)
at org.apache.myfaces.trinidad.component.UIXComponent.processFlattenedChildren(UIXComponent.java:290)
at org.apache.myfaces.trinidad.component.UIXComponent.encodeFlattenedChildren(UIXComponent.java:255)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer._encodeChildren(PanelFormLayoutRenderer.java:352)
at oracle.adfinternal.view.faces.renderkit.rich.PanelFormLayoutRenderer.encodeAll(PanelFormLayoutRenderer.java:187)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1431)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
If i remove the "panelFormLayout" from the jsff and try, all the elements are appearing but without the alignment. So clearly the problem is in 'panelFormLayout'.
Is there anything wrong in the jspx violationg the layout rules. Can someone help me in resolving this issue?
Regards,
Balakrishnan

Thanks Timo for the reply.
JDev Version : JDev 11.1.1.6
Yes this is a Webcenter page.
I don't understand what is that plain ADF. Because in all the pages we build, we use these kind of tags. I have used the same panelFormLayout in the jspx and it work's fine for any number of rows. Only when used inside the region the problem occured.
Regards,
Balakrishnan

Similar Messages

  • Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done. (How to run the VIs in sequence order - datalogger start amksms combine into 1 VIs? )

    Need HELP (Project Issue) : Having 3 individual VIs, datalogger.vi, start vi, amksms.vi done.
    (How to run the VIs in sequence order - datalogger > start > amksms combine into 1 VIs? )

    VIs in icon.
    how would it able to run in the sequence order:
    data first, follow by start and lastly amk sms.
    Attachments:
    dsa.jpg ‏10 KB

  • I need help, i am having a brain fart and i can' think. Dice rolling Game

    here is what i am supposed to do:
    write an app to simulate the rolling to 2 Player (Player and Computer)
    Show each rolling in Map size 50 channel
    Just like this: Player play frist
    1 2 3 4 5 6 7 8 9 10
    11 12 13 14 15 16 17 18 19 20
    21 22 23 24 25 26 27 28 29 30
    31 32 33 34 35 36 37 38 39 40
    41 42 43 44 45 46 47 48 49 50
    [0] ... Press any key to rolling
    You got : 6
    Your position : 6
    1 2 3 4 5 [P] 7 8 9 10
    11 12 13 14 15 16 17 18 19 20
    21 22 23 24 25 26 27 28 29 30
    31 32 33 34 35 36 37 38 39 40
    41 42 43 44 45 46 47 48 49 50
    [0] ... Computer is rolling
    Computer got :2
    Computer position: 2
    1 [C] 3 4 5 6 7 8 9 10
    11 12 13 14 15 16 17 18 19 20
    21 22 23 24 25 26 27 28 29 30
    31 32 33 34 35 36 37 38 39 40
    41 42 43 44 45 46 47 48 49 50
    [0]... Press any key to rolling
    You got: 6
    Your position : 12
    1 [C] 3 4 5 6 7 8 9 10
    11 [P] 13 14 15 16 17 18 19 20
    21 22 23 24 25 26 27 28 29 30
    31 32 33 34 35 36 37 38 39 40
    41 42 43 44 45 46 47 48 49 50
    [0].... Computer is rolling
    Rolling until someone got 50
    Show Game over
    That is about it. I need help, i am having a brain fart and i can' think. it is done in java in console, no graphics or nuthin.
    thanks

    That is about it. I need help, i am having a brain
    fart and i can' think. it is done in java in console,
    no graphics or nuthin.So to fill in your question:
    "Please someone do my homework for me ? "
    Or do you have an actual question ?

  • Problem while having a large set of data to work on!

    Hi,
    I am facing great problem with processing large set of data. I have a requirement in which i'm supposed to generate a report.
    I have a table and a MView, which i have joined to reduce the number of records to process. The MView holds 200,00,000 records while the table 18,00,000. Based on join conditions and where clause i'm able to break down the useful data to approx 4,50,000 and i'm getting 8 of my report columns from this join. I'm dumping these records into the table from where i'll be generating the report by spooling.
    Below is the block which takes 12mins to insert into the report table MY_ACCOUNT_PHOTON_DUMP:
    begin
    dbms_output.put_line(to_char(sysdate,'hh24:mi:ss'));
    insert into MY_ACCOUNT_PHOTON_DUMP --- Report table
    (SUBSCR_NO, ACCOUNT_NO, AREA_CODE, DEL_NO, CIRCLE, REGISTRATION_DT, EMAIL_ID, ALT_CNTCT_NO)
    select crm.SUBSCR_NO, crm.ACCOUNT_NO, crm.AREA_CODE, crm.DEL_NO, crm.CIRCLE_ID,
    aa.CREATED_DATE, aa.EMAIL_ID, aa.ALTERNATE_CONTACT
    from MV_CRM_SUBS_DTLS crm, --- MView
    (select /*+ ALL_ROWS */ A.ALTERNATE_CONTACT, A.CREATED_DATE, A.EMAIL_ID, B.SUBSCR_NO
    from MCCI_PROFILE_DTLS a, MCCI_PROFILE_SUBSCR_DTLS b
    where A.PROFILE_ID = B.PROFILE_ID
    and B.ACE_STATUS = 'N'
    ) aa --- Join of two tables giviing me 18,00,000 recs
    where crm.SUBSCR_NO = aa.SUBSCR_NO
    and crm.SRVC_TYPE_ID = '125'
    and crm.END_DT IS NULL;
    INTERNET_METER_TABLE_PROC_1('MCCIPRD','MY_ACCOUNT_PHOTON_DUMP'); --- calling procedure to analyze the report table
    COMMIT;
    dbms_output.put_line(to_char(sysdate,'hh24:mi:ss'));
    end; --- 12 min 04 secFor the rest of the 13 columns required i am running a block which has a FOR UPDATE cursor on the report table:
    declare
    cursor cur is
    select SUBSCR_NO, ACCOUNT_NO, AREA_CODE, DEL_NO,
    CIRCLE, REGISTRATION_DT, EMAIL_ID, ALT_CNTCT_NO
    from MCCIPRD.MY_ACCOUNT_PHOTON_DUMP --where ACCOUNT_NO = 901237064
    for update of
    MRKT_SEGMNT, AON, ONLINE_PAY, PAID_AMNT, E_BILL, ECS, BILLED_AMNT,
    SRVC_TAX, BILL_PLAN, USAGE_IN_MB, USAGE_IN_MIN, NO_OF_LOGIN, PHOTON_TYPE;
    v_aon VARCHAR2(10) := NULL;
    v_online_pay VARCHAR2(10) := NULL;
    v_ebill VARCHAR2(10) := NULL;
    v_mkt_sgmnt VARCHAR2(50) := NULL;
    v_phtn_type VARCHAR2(50) := NULL;
    v_login NUMBER(10) := 0;
    v_paid_amnt VARCHAR2(50) := NULL;
    v_ecs VARCHAR2(10) := NULL;
    v_bill_plan VARCHAR2(100):= NULL;
    v_billed_amnt VARCHAR2(10) := NULL;
    v_srvc_tx_amnt VARCHAR2(10) := NULL;
    v_usg_mb NUMBER(10) := NULL;
    v_usg_min NUMBER(10) := NULL;
    begin
    dbms_output.put_line(to_char(sysdate,'hh24:mi:ss'));
    for rec in cur loop
    begin
    select apps.TTL_GET_DEL_AON@MCCI_TO_PRD591(rec.ACCOUNT_NO, rec.DEL_NO, rec.CIRCLE)
    into v_aon from dual;
    exception
    when others then
    v_aon := 'NA';
    end;
    SELECT DECODE(COUNT(*),0,'NO','YES') into v_online_pay
    FROM TTL_DESCRIPTIONS@MCCI_TO_PRD591
    WHERE DESCRIPTION_CODE IN(SELECT DESCRIPTION_CODE FROM TTL_BMF_TRANS_DESCR@MCCI_TO_PRD591
    WHERE BMF_TRANS_TYPE
    IN (SELECT BMF_TRANS_TYPE FROM
    TTL_BMF@MCCI_TO_PRD591 WHERE ACCOUNT_NO = rec.ACCOUNT_NO
    AND POST_DATE BETWEEN
    TO_DATE('01-'||TO_CHAR(SYSDATE,'MM-YYYY'),'DD-MM-YYYY') AND SYSDATE
    AND DESCRIPTION_TEXT IN (select DESCRIPTION from fnd_lookup_values@MCCI_TO_PRD591 where
    LOOKUP_TYPE='TTL_ONLINE_PAYMENT');
    SELECT decode(count( *),0,'NO','YES') into v_ebill
    FROM TTL_CUST_ADD_DTLS@MCCI_TO_PRD591
    WHERE CUST_ACCT_NBR = rec.ACCOUNT_NO
    AND UPPER(CUSTOMER_PREF_MODE) ='EMAIL';
    begin
    select ACC_SUB_CAT_DESC into v_mkt_sgmnt
    from ttl_cust_dtls@MCCI_TO_PRD591 a, TTL_ACCOUNT_CATEGORIES@MCCI_TO_PRD591 b
    where a.CUST_ACCT_NBR = rec.ACCOUNT_NO
    and a.market_code = b.ACC_SUB_CAT;
    exception
    when others then
    v_mkt_sgmnt := 'NA';
    end;
    begin
    select nvl(sum(TRANS_AMOUNT),0) into v_paid_amnt
    from ttl_bmf@MCCI_TO_PRD591
    where account_no = rec.ACCOUNT_NO
    AND POST_DATE
    BETWEEN TO_DATE('01-'||TO_CHAR(SYSDATE,'MM-YYYY'),'DD-MM-YYYY')
    AND SYSDATE;
    exception
    when others then
    v_paid_amnt := 'NA';
    end;
    SELECT decode(count(1),0,'NO','YES') into v_ecs
    from ts.Billdesk_Registration_MV@MCCI_TO_PRD591 where ACCOUNT_NO = rec.ACCOUNT_NO
    and UPPER(REGISTRATION_TYPE ) = 'ECS';
    SELECT decode(COUNT(*),0,'PHOTON WHIZ','PHOTON PLUS') into v_phtn_type
    FROM ts.ttl_cust_ord_prdt_dtls@MCCI_TO_PRD591 A, ttl_product_mstr@MCCI_TO_PRD591 b
    WHERE A.SUBSCRIBER_NBR = rec.SUBSCR_NO
    and (A.prdt_disconnection_date IS NULL OR A.prdt_disconnection_date > SYSDATE )
    AND A.prdt_disc_flag = 'N'
    AND A.prdt_nbr = b.product_number
    AND A.prdt_type_id = b.prouduct_type_id
    AND b.first_level LIKE 'Feature%'
    AND UPPER (b.product_desc) LIKE '%HSIA%';
    SELECT count(1) into v_login
    FROM MCCIPRD.MYACCOUNT_SESSION_INFO a
    WHERE (A.DEL_NO = rec.DEL_NO or A.DEL_NO = ltrim(rec.AREA_CODE,'0')||rec.DEL_NO)
    AND to_char(A.LOGIN_TIME,'Mon-YYYY') = to_char(sysdate-5,'Mon-YYYY');
    begin
    select PACKAGE_NAME, BILLED_AMOUNT, SERVICE_TAX_AMOUNT, USAGE_IN_MB, USAGE_IN_MIN
    into v_bill_plan, v_billed_amnt, v_srvc_tx_amnt, v_usg_mb, v_usg_min from
    (select rank() over(order by STATEMENT_DATE desc) rk,
    PACKAGE_NAME, USAGE_IN_MB, USAGE_IN_MIN
    nvl(BILLED_AMOUNT,'0') BILLED_AMOUNT, NVL(SRVC_TAX_AMNT,'0') SERVICE_TAX_AMOUNT
    from MCCIPRD.MCCI_IM_BILLED_DATA
    where (DEL_NUM = rec.DEL_NO or DEL_NUM = ltrim(rec.AREA_CODE,'0')||rec.DEL_NO)
    and STATEMENT_DATE like '%'||to_char(SYSDATE,'Mon-YY')||'%')
    where rk = 1;
    exception
    when others then
    v_bill_plan := 'NA';
    v_billed_amnt := '0';
    v_srvc_tx_amnt := '0';
    v_usg_mb := 0;
    v_usg_min := 0;
    end;
    -- UPDATE THE DUMP TABLE --
    update MCCIPRD.MY_ACCOUNT_PHOTON_DUMP
    set MRKT_SEGMNT = v_mkt_sgmnt, AON = v_aon, ONLINE_PAY = v_online_pay, PAID_AMNT = v_paid_amnt,
    E_BILL = v_ebill, ECS = v_ecs, BILLED_AMNT = v_billed_amnt, SRVC_TAX = v_srvc_tx_amnt,
    BILL_PLAN = v_bill_plan, USAGE_IN_MB = v_usg_mb, USAGE_IN_MIN = v_usg_min, NO_OF_LOGIN = v_login,
    PHOTON_TYPE = v_phtn_type
    where current of cur;
    end loop;
    COMMIT;
    dbms_output.put_line(to_char(sysdate,'hh24:mi:ss'));
    exception when others then
    dbms_output.put_line(SQLCODE||'::'||SQLERRM);
    end;The report takes >6hrs. I know that most of the SELECT queries have ACCOUNT_NO as WHERE clause and can be joined, but when i joining few of these blocks with the initial INSERT query it was no better.
    The individual queries within the cursor loop dont take more then 0.3 sec to execute.
    I'm using the FOR UPDATE as i know that the report table is being used solely for this purpose.
    Can somebody plz help me with this, i'm in desperate need of good advice here.
    Thanks!!
    Edited by: user11089213 on Aug 30, 2011 12:01 AM

    Hi,
    Below is the explain plan for the original query:
    select /*+ ALL_ROWS */  crm.SUBSCR_NO, crm.ACCOUNT_NO, ltrim(crm.AREA_CODE,'0'), crm.DEL_NO, >crm.CIRCLE_ID
    from MV_CRM_SUBS_DTLS crm,
            (select /*+ ALL_ROWS */  A.ALTERNATE_CONTACT, A.CREATED_DATE, A.EMAIL_ID, B.SUBSCR_NO
            from MCCIPRD.MCCI_PROFILE_DTLS a, MCCIPRD.MCCI_PROFILE_SUBSCR_DTLS b
            where A.PROFILE_ID = B.PROFILE_ID
            and   B.ACE_STATUS = 'N'
            ) aa
    where crm.SUBSCR_NO    = aa.SUBSCR_NO
    and   crm.SRVC_TYPE_ID = '125'
    and   crm.END_DT IS NULL
    | Id  | Operation              | Name                     | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT       |                          |  1481K|   100M|       |   245K  (5)| 00:49:09 |
    |*  1 |  HASH JOIN             |                          |  1481K|   100M|    46M|   245K  (5)| 00:49:09 |
    |*  2 |   HASH JOIN            |                          |  1480K|    29M|    38M| 13884   (9)| 00:02:47 |
    |*  3 |    TABLE ACCESS FULL   | MCCI_PROFILE_SUBSCR_DTLS |  1480K|    21M|       |  3383  (13)| 00:00:41 |
    |   4 |    INDEX FAST FULL SCAN| SYS_C002680              |  2513K|    14M|       |  6024   (5)| 00:01:13 |
    |*  5 |   MAT_VIEW ACCESS FULL | MV_CRM_SUBS_DTLS_08AUG   |  1740K|    82M|       |   224K  (5)| 00:44:49 |
    Predicate Information (identified by operation id):
       1 - access("CRM"."SUBSCR_NO"="B"."SUBSCR_NO")
       2 - access("A"."PROFILE_ID"="B"."PROFILE_ID")
       3 - filter("B"."ACE_STATUS"='N')
       5 - filter("CRM"."END_DT" IS NULL AND "CRM"."SRVC_TYPE_ID"='125')Whereas for the modified MView query, the plane remains the same:
    select /*+ ALL_ROWS */ crm.SUBSCR_NO, crm.ACCOUNT_NO, ltrim(crm.AREA_CODE,'0'), crm.DEL_NO, >crm.CIRCLE_ID
    from    (select * from MV_CRM_SUBS_DTLS
             where SRVC_TYPE_ID = '125'
             and   END_DT IS NULL) crm,
            (select /*+ ALL_ROWS */  A.ALTERNATE_CONTACT, A.CREATED_DATE, A.EMAIL_ID, B.SUBSCR_NO
            from MCCIPRD.MCCI_PROFILE_DTLS a, MCCIPRD.MCCI_PROFILE_SUBSCR_DTLS b
            where A.PROFILE_ID = B.PROFILE_ID
            and   B.ACE_STATUS = 'N'
            ) aa
    where crm.SUBSCR_NO  = aa.SUBSCR_NO
    | Id  | Operation              | Name                     | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT       |                          |  1481K|   100M|       |   245K  (5)| 00:49:09 |
    |*  1 |  HASH JOIN             |                          |  1481K|   100M|    46M|   245K  (5)| 00:49:09 |
    |*  2 |   HASH JOIN            |                          |  1480K|    29M|    38M| 13884   (9)| 00:02:47 |
    |*  3 |    TABLE ACCESS FULL   | MCCI_PROFILE_SUBSCR_DTLS |  1480K|    21M|       |  3383  (13)| 00:00:41 |
    |   4 |    INDEX FAST FULL SCAN| SYS_C002680              |  2513K|    14M|       |  6024   (5)| 00:01:13 |
    |*  5 |   MAT_VIEW ACCESS FULL | MV_CRM_SUBS_DTLS_08AUG   |  1740K|    82M|       |   224K  (5)| 00:44:49 |
    Predicate Information (identified by operation id):
       1 - access("CRM"."SUBSCR_NO"="B"."SUBSCR_NO")
       2 - access("A"."PROFILE_ID"="B"."PROFILE_ID")
       3 - filter("B"."ACE_STATUS"='N')
       5 - filter("CRM"."END_DT" IS NULL AND "CRM"."SRVC_TYPE_ID"='125')Also took your advice and tried to merge all the queries into single INSERT SQL, will be posting the results shortly.
    Edited by: BluShadow on 30-Aug-2011 10:21
    added {noformat}{noformat} tags.  Please read {message:id=9360002} to learn to do this yourself                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Need help with Security when running AS3 inside browser

    Hi,
    I am fairly new to flash, but a fairly experienced
    programmer.
    I have created a game that runs perfectly and communicates to
    a WinSock server over port 4000 to publish its final score to.
    Using simple XMLSocket and Send.
    When I run the game in the standalone flash player everything
    works perfectly as it should
    However when I embed in a HTML page or similar it goes wrong.
    The game works fine, but the final posting to the WinSock socket
    server fails. I have retrieved the error message.
    ioErrorHandler: [SecurityErrorEvent type="securityError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2048"]
    My server is a local server to me running IIS 6. Everything
    runs fine by the standalone flash player so I know ports are clear
    and firewalls are not the problem.
    Searching around google and forums I have found out that in
    9,0,124,0 (the flash I am running) that they made some security
    enhancements, namely you need to post a crossdomain file.
    My file is sat in the wwwroot of my webserver where my flash
    swf is hosted and looks like
    <cross-domain-policy>
    <allow-access-from domain="*" secure="false"/>
    </cross-domain-policy>
    I have also tried adding the following to the 1st section of
    the swf file
    Security.loadPolicyFile("
    http://mydomainname.com/crossdomain.xml");
    I have tried all conbinations, but I cannot get the flash to
    communicate to the socket server when it inside a web browser.
    If i run it in the standalone player, everything works
    perfectly.
    Can someone help me please. I have been googling and ripping
    my hair out for ages. This is the final stage of my project and I
    am failing at the final step.
    Just to add.
    My server and testing computer are on the same domain, the
    web server is a win2003 server and my testing and coding server is
    a XP machine running IE7. They are linked by a ADSL router sharing
    the same external IP address but via DHCP addressing. Everything
    works fine for port forwarding of the winsocket port.
    Just to emphasis, I believe this setup is correct, as it all
    works fine when I run in the flash player.
    Many thanks

    I fixed it eventually.
    In flash 9.0.124.0 they now force you to have a socket XML
    server running on port 843 a server somewhere if you wish to use
    XMLSocket inside a browser.
    Nothing to do with domain or crossdomain.xml files.
    You need to also call
    Security.loadPolicyFile("xmlsocket://x.x.x.x:843") before you
    open the socket.
    to load in the XML that defines what is allowed.
    Search google for AS3 and socket server port 843 and you will
    find examples and even a simple Java based server to use.

  • Need help in creating a dropdown box inside a table control

    Hi,
    I need to display a calender upon click event of a dropdown box placed inside my table control.
    Can any body help me out.
    Regards,
    Srinivas

    Try this ex
    TYPE-POOLS VRM.
    VALUES-KEY = 'D'.
      VALUES-TEXT = 'Double Crate'.
      APPEND VALUES.
      VALUES-KEY = 'S'.
      VALUES-TEXT = 'Single Crate'.
      APPEND VALUES.
      VALUES-KEY = 'C'.
      VALUES-TEXT = 'Carton Box'.
      APPEND VALUES.
      VALUES-KEY = 'P'.
      VALUES-TEXT = 'Pallet'.
      APPEND VALUES.
      VALUES-KEY = 'W'.
      VALUES-TEXT = 'Wood.Case'.
      APPEND VALUES.
      VALUES-KEY = 'L'.
      VALUES-TEXT = 'Loose'.
      APPEND VALUES.
      CLEAR VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
         EXPORTING
           ID                    = 'CRTYPE'
           VALUES                = VALUES[]
        EXCEPTIONS
          ID_ILLEGAL_NAME       = 1
          OTHERS                = 2
    hope it helps..
    Edited by: prabhu p on May 22, 2008 10:55 AM

  • Need help: Problems with exported Dreamweaver html file in different browsers

    I'm trying to send out a newsletter, and had our designer create it in Dreamweaver, and then export and html file which we uploaded.  For some reason it looks wrong on Mac's, Gmail, and a few issues with Outlook.  Does anyone know how to help with this, or had to work around this problem in the past?
    I've attached our html file as well.
    We're an eco startup with limited time and budget - so any help you have would be so appreciated.
    Thank you!!

            World Centric Monthly Newsletter   August 2009     
    Palo Alto Joins the Ban Against          
             Non-Recyclable Materials
           This Spring, Palo Alto joined the list of more than 30 cities and counties in California who are making good on their efforts toward reducing their greenhouse gas emissions
           by enacting partial or comprehensive bans on polystyrene (PS) foam and/or non-recyclable disposable foodservice containers. Around the same time, a California statewide ban on the use of PS containers was tabled before reaching the State Assembly floor. Representative
           Jerry Hill, one of AB 1358’s sponsors, pulled the bill due
           to concerns addressed in the Appropriations committee hearing of the bill, regarding the fiscal impacts which
           were not addressed in bill’s contents.
           Largely represented by the California Restaurant Association, opponents of AB 1358 lobbied legislative representatives and argued there would be a negative fiscal impact on struggling restaurant owners and their customers in order to accommodate the more expensive alternatives to PS containers.     There are the unquantifiable and “hidden” costs of contaminating our bodies and environment which would far surpass the fiscal impact on the plastics, restaurants and consumer industries. Studies published by the Foundation for Advancements in Science and Education have indicated that varying levels of styrene residues
             are present in 100% of all human fat tissue in the
             United States, as PS products are found to lose weight after in contact with hot or fatty/acidic foods and liquids, causing migration of the styrene into the food or fluid, ending up in the human body. On the high end, the levels were “one third of levels known to cause neurotoxic symptoms”. In the environment,
             PS is rarely recycled and does not biodegrade.     Supporting safer alternatives to polystyrene, in addition to the collection infrastructure and processing mechanisms for the compostable and recyclable products would help create more green jobs in the long run and would be a move in the right direction away from unnecessary harm
           to our health, our communities and our world. Keep your eyes open for a revised version of AB 1358 in Spring 2010!     For more information about polystyrene
           visit Earth Resource.     For a partial energy, emissions and water analysis
           of polystyrene and its alternatives visit our website.           World Centric Compostable
             Hot Cup Lid
             World Centric is pleased to announce we now offer a fully compostable hot cup lid that
             fits our 10oz, 12oz, 16oz,
             and 20oz paper hot cups.
           The lids can be ordered in cases of 1000 or packs of 100.
           For more information or to order, please visit our website.           This Month
             We’d Like to Applaud
           Project Open Hand
           San Francisco's non-profit
           organization that prepares and delivers food to seniors, people living with HIV and homebound critically-ill residents. For nearly 25-years Project Open Hand has been providing “meals with love” to local residents in need of help and care in
           California’s San Francisco and Alameda counties.
           Programs include meals, groceries and nutrition information as well as education and referral programs
           for all of the people served. A staff dietitian also visits several sites per week to speak with seniors and critically ill local residents about the importance of eating well
           and staying healthy.
           Project Open Hand continues to serve nearly 800,000 annually and has served as a model for over 100 organizations across the United States and the world.
           If you are interested in making a donation,
           please visit Project Open Hand.
           Help Project Open Hand continue to do what it
           does best – deliver quality food to those in need.           
    “World Centric has gone
               about every aspect of
               business in the most
               sustainable of ways. 
               It is a model for socially
               responsible business.”
               Ari Patz
               Styrophobia                          
                   Industry Trends
               Although PLA is a sustainable alternative to a petrochemical-
               derived product, its limitation has
               been not only its cost, but its inability
               to maintain structural integrity in hot temperatures and humid conditions because of its low melting pint.
               However, researchers at Teijin
               (formerly in partnership with Cargill)
               have improved their plant-based
               ‘Biofront’ PLA polymer to be able
               to withstand higher temperatures –
               by modifying its hydrolytic resistance.
             Get more information here.                          
                   Get Great Deals!
                   Check out our clearence items.
                   Did you know?
               Styrene can leach from polystyrene.
               Over the long term, this can act as
               a neurotoxin. Studies on animals
               report harmful effects of styrene
               on red-blood cells, the liver, kidney,
               and stomach organs.
               US Environmental Protection Agency (1992) “Styrene”. Air Toxics Website.                          
                   Where to Find us:
                   CRRA Conference
                   August 2 - 5
                   Palm Desert
                          Western Foodservice
    & Hospitality Expo
                 August 30 - September 1
              Livable Green
                 September 19
    San Mateo                                
         Find us:            World Centric
    2121 Staunton Ct. Palo Alto, CA
    You are subscribed as <[email protected]>. Click here to manage your email subscription preferences.
    Click here or reply to this email with 'unsubscribe' in the subject to unsubscribe from this list or if you feel you have received this message in error.
    This message was sent from World Centric 2121 Staunton Ct Palo Alto CA 94306 United States. Click here to report email abuse.
    You are subscribed as <[email protected]>. Click here to manage your email subscription preferences.
    Click here or reply to this email with 'unsubscribe' in the subject to unsubscribe from this list or if you feel you have received this message in error.
    This message was sent from World Centric 2121 Staunton Ct Palo Alto CA 94306 United States. Click here to report email abuse.

  • I need help with searching for an image inside another image

    I need to write a program that checks for a specific image (a jpg) inside another, larger, image (a jpg). If so, it returns a value of true. Can anyone help me?
    Winner takes all. First person to solve this gets 10 dukes.
    Please help.

    Hi,
    I would use a full screen image Sequence made with png for transparency and put your article behind. no auto play, stop at first and last image. and information for swipe to display article.

  • NEED HELP: Problem with Canvas Size in Crystal design/report.

    Hello,
         I am having some trouble with one of my reports, the canvas size is so much bigger than my design/report, which is causing it to preview really small.  I have gone into the document properties and tried to change those settings, I have also used the tools to try to make the canvas size smaller, it seems as thought nothing is really working.  When I use those tools it cuts off part of my report and also adds huge scroll bars into my design... Does anyone have any insight on this? It would be a great help.
    Thank you,
    Kerry Jenkins
    Harte-Hanks Analyst

    Hi Kerry,
    Are you using Crystal Reports Designer or BusinessObjects designer ( what ever it was called ) Crysstal Reports 5 was released in the summer of 1997 and definitely did not support a flash file.
    Need more info and details on the versions you are using and info on the Clients portal, Is it Businessobjects Enterprise 5.1?
    Thank you
    Don

  • Need help with while loop and shift registers

    I have a large data set and need to read in the data at maybe 200 samples at a time, process these samples through my VI, and have it append and concatenate a separate lvm file.  The part where I am confused is the shift registers. How do I limit the number of samples read in an iteration? How do I get the while loop to stop when all the data are read in?
    I've attached my diagram, maybe there is something wrong with my technique?
    Solved!
    Go to Solution.
    Attachments:
    shiftreg.JPG ‏56 KB

    This will give you an idea.  There are plenty of other (probably more efficient) methods.  This is a basic, quick and dirty solution to help you grasp the overall concept.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013
    Attachments:
    ShiftRegLoop.JPG ‏54 KB

  • NEED HELP Problem PLEASE READ!!!!

    *All I did was download this album because I wanna go for a run and wanted to quick throw these songs on I downloaded well they came in M4A files so I tried puting them on my ipod 2nd gen nano using Copy Trans Manger thats my ipod manager. They didn't show up so I downloaded a converter and converted all them to mp3 files now I put them on my Manager which is on my ipod.. and they acted as if they were M4A files and didn't show up.. But i converted them to regular mp3 files they shouldv'e shown up what is the problem did it not let me replace the mp3 files with the m4a already on it could that be the problem? Help please iwanna go for a run and I want these mp3's to show up on my ipod... I forgot to say it would of said do you want to replace these files so Idk if thats what happened or not*
    Please help me i wanna go for a run and fix this problem
    Message was edited by: DarkLegacy24
    Message was edited by: DarkLegacy24

    You need to be more specific as to what your problem is, that is why no one has responded.
    Tell us step by step what you are trying to do, and then people like me can help you.

  • Seeking help(problem while create function)

    hei..to everybody
    I am having a peculiar problem . whenever i create a function , I don't get the acknowledge message and I don't get any response and the function is not getting created.
    As we are running short of disk space , I was examing the disk space usage.I found that the oracle product disk space was about 65GB which is abnormal.
    please send me syntax of checking the tablespace usage.
    please help me to solve the problem
    by
    ravikumar

    It is not to do with space usage.
    Please copy & paste what you typed in SQL*Plus, for example here is what it should look like if you create an invalid function:
    SQL> CREATE OR REPLACE FUNCTION testfun
      2      RETURN VARCHAR2
      3  AS
      4  BEGIN
      5      RETURN;
      6  END;
      7  /
    Warning: Function created with compilation errors.
    SQL> show errors
    Errors for FUNCTION TESTFUN:
    LINE/COL ERROR
    5/5      PLS-00503: RETURN <value> statement required for this return from
             function
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE FUNCTION testfun
      2      RETURN VARCHAR2
      3  AS
      4  BEGIN
      5      RETURN 'Hello, world';
      6* END;
    SQL> /
    Function created.

  • Need help - Error while updating the firmware of Muvo Slim using the recovery t

    Hi ,
    While I am trying to update my Muvo slim firmware using the recovery tool it throwd up an error. And from then onwards if I am trying to power it up it won't.
    If I again try to update the firmware, it throws up the error that "Unable to Write to Device: Device Time out".
    I am afraid that my Muvo slim got bricked. Can you please help me in recovering the same.
    PS: My PC OS is Windows XP.
    Thank & Regards
    ksraghava?

    On my XP system, the last time I wanted to reload the firmware, I had to remove all of my Creative software programs,?and then revert my Windows Media Player back to 0 and then use The Recovery Tool. It is a bit of a pain, but does seem to work when you are getting errors with the firmware download.
    luvmyrescuedogs
    Almost forgot. Make sure your player is fully charged or has a fresh battery before starting any firmware download.
    Message Edited by luvmyrescuedogs on 06-4-2008 :6 AM

  • Need Help: Problem with iTunes 8 and artwork.....

    This is a weird issue. I'm trying to add album artwork for imported albums manually in itunes that it can't find or has incorrect. Every time I try (no matter which method) the artwork either doesn't take, iTunes freezes, or the album in question skips the first track until I delete the entire album and re-import. Any suggestions? I'm running 10.5.6. Any help would greatly appreciated

    Hi,
    Hope I can help. I had a similar problem. I could not update any information about the tracks album etc. I had checked permissions everything... finally I decided to go to ID3Tags and selected none and then the edits took. Strange don't know why, but in my case it has worked a number of times.
    Hans

  • Urgent - pls help - Problem while inserting binary file into Oracle DB

    Hi,
    I am trying to insert binary files into a Blob column in a Oracle 10G table.
    The binary files would be uploaded by the web users and hence come as multipart request. I use apache commons upload streaming API to handle it. Finally i am getting a input stream of the uploaded file.
    The JDBC code is
    PreparedStatement ps=conn.prepareStatement("insert into bincontent_table values(?)");
    ps.setBinaryStream(1,inStream,length);
    My problem starts when i try to find the length of the stream. available() method of inputstream does not return the full length of the stream. so i put a loop to read thru the stream and find the length as shown below
    int length=0;
    while((v=inStream.read())!=-1)
    length++;
    Now, though i got the length, my stream pointer has reached the end and i cant reset it(it throws an error if i try).
    So i copied the stream content to a byte array and created an ByteArrayInputStream like this.
    tempByteArray=new byte[length];
    stream.read(tempByteArray,0,length);
    ByteArrayInputStream bais=new ByteArrayInputStream(tempByteArray);
    Now if i pass this bytearray input stream instead of the normal input stream to the prepared statement's setBinaryStream() method it throws an error as
    "ORA-01460: unimplemented or unreasonable conversion requested".
    Now how to solve this?
    My doubts are ,
    1) preparedStatement.setBinaryStream(int parameterIndex, InputStream x, int length) expects an inputstream and its length. if i have the stream how to find its length with out reading the stream?
    2) Also as the length parameter is a integer, what if i have a large binary file whose length runs more than the capacity of integer
    3) Alternatively there is a setBlob(int i, Blob x) in prepared statement. But how to instantiate a Blob object and set it here
    4) Is there any better way to do this.
    Thanks in advance

    "ORA-01460: unimplemented or unreasonable conversion
    requested".When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARBINARY or a BLOB (reference: javadoc)
    1) preparedStatement.setBinaryStream(int parameterIndex,
    InputStream x, int length) expects an inputstream and its length. if i
    have the stream how to find its length with out reading the stream?no. stream may have no specified length. i think you have wrong understanding about stream.
    2) Also as the length parameter is a integer, what if i have a large
    binary file whose length runs more than the capacity of integer
    3) Alternatively there is a setBlob(int i, Blob x) in prepared statement.
    But how to instantiate a Blob object and set it here
    4) Is there any better way to do this.use ps.setBlob(1, instream) instead

Maybe you are looking for

  • How can I have use the same div ID multiple times on the same page?

    Okay so a problem I encounter a lot is that often times I want to use the same div ID several times on the same page. An example of this is when I'm creating table like designs. Let's say for instance I create a div ID called 'product-container'. I w

  • Printer error not printing

    connected printer and all working fine.turned power off and know when connected will not print.Run the printing dignostic test all is fine. why is it showwing error on print panel

  • Photobooth problesm

    I opened photo booth up recently to take some pictures and noticed that my pop art/ andy warhol style effect wasn't working. Instead of having the 4 different colored pictures, there is only the one in the top left corner, and the other for are just

  • Process to disable the search

    dear sir, how to disable windows 8.1 search and also how to exclude folder in search

  • I Wish for a little more IQ in AME when dealing with TIFF Sequences !!!

    1) I drop a movie into AME (let us assume a .MOV) called MVI_7899.MOV which I want to convert to a TIFF sequence. So far so good. I set my parameters etc and choose an output destination. I click render Let us assume that my .MOV has 1800 frames. AME