Jdev Team - Frustrated with Simple UIX-XML test case

Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
TIA,
Ed.
PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)

Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
JAVA_HOME = d:\java\j2sdk
JDK_HOME = d:\java\j2sdk
J2EE_HOME = d:\java\j2sdkee
JDEV_HOME = d:\oracle\9iDS\jdev
Are any of these redundant or are they clobbering something for UIX-XML?
TIA,
Ed.

Similar Messages

  • UIX XML test did not work

    I created a sample project based on the Scott Schema for BC4J Business Objects.
    I then created sample projects for:
    BC4J JSP
    UIX JSP
    UIX XML
    When I run the BC4J LSP and UIX JSP projects the main menus open and I can browse, edit and update all of the scott tables.
    However when I run the UIX XML project, the main menu comes up but if I select ANY view to work with I get the following error.
    Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
    What coulbe wrong?

    To confirm, you say that the files generated okay, and you were able
    to run Main.uix and see it in your browser correctly, but clicking on the
    link to the view object generated a Renderer failed exception in the browser.
    Is this correct?
    What customizations have you made to your View object (or is it simply
    as the wizard generated it)? Can you look at the log window in jdev
    (or your OC4J servlet log) to see if there is additional debugging
    information available? Yes the files generated and compiled ok. I can see the main menu in my browser.
    The UIX-XML project was created using the wizard generated VO's. No customizations were made at all.
    The Embedded OC4J Server messages window in Jdev shows no errors. The Messages window shows no errors.
    FYI, this is on an NT machine that has the full install of Jdeveloper9iDS (Jdev, Forms 9i, Designer, SCM etc.) not just Jdev9i. I'd hope this does not matter but thought I'd mention it. No other Jdev windows (Forms 9i etc.) are up when I run this test.
    TIA,
    Ed.

  • Frustrated with simple JTable issue....very simple..aggghhhh

    I'm trying to create a JTable with currency fileds, and other types as well. It would display currency format but wipe off the dollar signs when the user edits the field and allow the user to enter numbers without dollar signs.
    I was able to do this for a textfield using the online tutorial but having problem creating it for a JTable.
    This is because the example that I'm using creates the table with its data hardcoded...I need to pass data to the table at runtime.
    If I mod the code's constructor to receive data and columnNames, I'd get a Null pointer error because the the first thing the constructor would try to getRowCount which it references ddata...data is not yet assigned a value.
    Here's the tutorial sample codes...
    public TableDemo() {
    JTable table = new JTable(new MyTableModel());
    class MyTableModel extends AbstractTableModel {
    private String[] columnNames = ...//same as before...
    private Object[][] data = ...//same as before...
    public int getColumnCount() {
    return columnNames.length;
    public int getRowCount() {
    return data.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int row, int col) {
    return data[row][col];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    * Don't need to implement this method unless your table's
    * editable.
    public boolean isCellEditable(int row, int col) {
    //Note that the data/cell address is constant,
    //no matter where the cell appears onscreen.
    if (col < 2) {
    return false;
    } else {
    return true;
    * Don't need to implement this method unless your table's
    * data can change.
    public void setValueAt(Object value, int row, int col) {
    data[row][col] = value;
    fireTableCellUpdated(row, col);
    I just need to make this table NOT having the data and columnNames hardcoded...or if someone has some niffty currency edits...
    Thanks so much

    Your question still doesn't make any sense to me. From your last posting I suggested you should be using the DefaultTableModel, since you apparently don't understand how to write your own custom TableModel. The DefaultTableModel allows you to create a TableModel loaded with data or you can create an empty DefaultTableModel and add rows of data to it as required.
    I need to pass data to the table at runtime.Again you seem confused. What is the difference between hardcoding data and reading data from a file at runtime? None.
    The basic coding structure would be:
    a) create TableModel
    b) JTable table = new JTable( model );
    Create a method called createTableModel. In that method you either hardcode a table or add logic to read data from a file, read data froma database. It doesn't matter where the data comes from as long as you createTableModel method returns a TableModel.
    In your last posting I gave you a link to a simple working demo. Start with that as your base code and try to customize it. The code you posted here is useless. We can't solve problems based on a few lines of code.
    Here is another example showing how to add rows of data dynamicallly:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=577919
    Use the "code" tags any time you post code.

  • To the JDev Team - Issues with JDeveloper 9.0.2

    Hi,
    We've recently upgraded from RC2 to Oracle9IDS. Although RC2 was a bit buggy, we managed to work around things and hoped that Release 9.0.2 would save the day. Alas, it doesn't seem as if it was meant to be.
    I have a EJB project I've been trying to deploy all day...! I'm wondering why the deployment is so different from RC2? I kept getting errors like "Unknown persistence type" whenever I tried to deploy. I finally created a connection to my original JDeveloper Release Candidate oc4j and was successful in deploying the ejb.jar file.
    Now whenever I try to run the sample client, I get stack overflow errors and errors like the following:
    The compiler has run out of memory. Consider using the "-J-mx<number>" command line option to increase the maximum heap
    size.
    com.evermind.compiler.CompilationException: Syntax error in source
         at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:90)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:19)
         at com.evermind.compiler.Javac.compile(Javac.java:37)
         at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:335)
         at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:256)
         at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:439)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    What on earth does this mean? Is there a setting or something I'm missing? Something I should be doing differently from RC2? Help, someone!
    Thanks in advance :)
    Gillian

    The out-of-memory message is saying that the JVM's maximum heap size for the operation you are performing (EJB compilation in this case) is too small. When starting up the standalone OC4J instance from the command line, try something like this:
    java -Xmx512m -jar oc4j.jar
    That sets the JVM's maximum heap size to 512 megs.

  • How to select test cases efficiently for a test package?

    Dear experts,
    I would like to ask you if you have found a way administer how to assign test cases to test packages and test packages to testers. For regression tests this assignment remains relatively stable (often the key users).
    Do you know a way to administer this within the solution manager - or do you recommend the old excel table.

    Hello Ragu!
    Thank you for your answer! My question was regarding the organisational side, I didn't get this clear.
    I know how to generate a test package and how to assign a tester to a test package but where do I get the information which test packages I need and which tester to assign to which package.
    Maybe a good option is to assign the tester as a team member on the process step level. Thus the assignments can be listed with SOLAR_EVAL using "Assignments / Test Cases" with option "Display Team Members". This list would help to generate the test packages. The selection of the test cases for the test package has do be done manually because there seems to be no filter for team members.
    Regards,
    Martin

  • Frustrated with Jdev 10.1.3.2 / PDK tags

    I am completely frustrated with the new version of Jdev. Was looking forward to the new features and the integrated PDK portion but after downloading, it wont even compile a simple jsp file with PDK strut tags.
    JSP code :
    <%@ page contentType="text/html; charset=windows-1252" %>
    <%@ taglib uri="http://xmlns.oracle.com/portal/pdk/struts/tags-html" prefix="pdk-html"%>
    <body>
    <pdk-html:form action="testaction"/></body>
    Project property has the following libraries included:
    Struts Runtime
    PDK Struts HTML Tag library
    JSP runtime
    Servlet Runtime
    JSP Tag library has :
    Struts Bean/Logic
    PDK Struts HTML
    BUT when compiling the JSP, I get the following error...
    Error: java.lang.NoClassDefFoundError: org/apache/struts/taglib/html/FormTag
    looks like it cannot find the class definition but the jar files are clearly included in the library.
    Whats absurd is when adding a pre-defined library such as PDK Struts HTML, Jdev makes a duplicate copy of the JAR file to /WEB-INF/Lib ..... not sure why it does that. Then it inserts a duplicate entry under the JSP Tag library under the same exact name except it has no libraries entry filled. So now I have two version of PDK Struts HTML in the JSP Tag library.
    CAN SOMEONE EXPLAIN WHATS GOING ON HERE? never had this problem with version 10.1.2

    The PDK parts of JDeveloper are developed by the WebCenter/Portal team, so you might want to cross post here:
    http://forums.oracle.com/forums/forum.jspa?forumID=4
    WebCenter Portal

  • Simple Transformation XML to ABAP Content of tag with subtrees to string field

    Hi,
    I have an  requirement in which I have to do a transformation from an XML file to an structure.
    I need get the value of a tag that have subtrees and move that to a field in my structure.
    Example:
    <TAG1>value1</TAG1>
    <TAG2>value2</TAG2>
    <TAG3>
         <TAG4>value4</TAG4>
         <TAG5>value5</TAG5>
    </TAG3>
    Result expected in ABAP Structure:
    field1 -> tag1
    field2 -> tag2
    field3 -> <TAG4>value4</TAG4><TAG5>value5</TAG5>
    The contents of the tag TAG3 is variable, so I want to store it as a string.
    Can I make this with Simple Transformation?
    In my tests I can move only the value of each child tag for the given field structure.
    This syntax dont work:
    <TAG3 tt:value-ref="STRUCTURE.FIELD3"/>
    Thanks and Regards,
    Miguel Motta

    Hi Miguel
    Have a look at below snippets. Here I have tried to escape the text inside TAG3 so that it gets treated as single node during transformation.
    ABAP code
    DATA: BEGIN OF result,
            col1 TYPE string,
            col2 TYPE string,
            col3 TYPE string,
          END OF result.
    DATA: xml_string TYPE string VALUE
    '<ROOT> <TAG1>value1</TAG1> <TAG2>value2</TAG2> <TAG3> <TAG4>value4</TAG4> <TAG5>value5</TAG5> </TAG3> </ROOT>',
          part1 TYPE string,
          part2 TYPE string,
          part3 TYPE string.
    *   Escape the text inside TAG3 tag
    FIND REGEX '(.*<TAG3>)(.*)(</TAG3>.*)' IN xml_string SUBMATCHES part1 part2 part3.
    IF sy-subrc EQ 0.
      part2 = escape( val = part2 format = cl_abap_format=>e_xml_text ).
    *      REPLACE ALL OCCURRENCES OF '<' IN part2 WITH '&lt;'.
    *      REPLACE ALL OCCURRENCES OF '>' IN part2 WITH '&gt;'.
      xml_string = part1 && part2 && part3.
    ENDIF.
    TRY.
    * Display xml
        cl_abap_browser=>show_xml( EXPORTING xml_string = xml_string ).
    * Deserialization
        CALL TRANSFORMATION zmtest
          SOURCE XML xml_string
          RESULT para = result.
    * Check result
        WRITE:/ 'COL1=', result-col1,
              / 'COL2=', result-col2,
              / 'COL3=', result-col3.
      CATCH cx_st_error.
    * Error handling
        MESSAGE 'Error in Simple Transformation'
                TYPE 'I' DISPLAY LIKE 'E'.
    ENDTRY.
    Transformation code
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates" template="temp" version="0.1">
       <tt:root name="PARA"/>
       <tt:template name="temp">
         <ROOT>
           <TAG1>
             <tt:value ref="PARA.COL1"/>
           </TAG1>
           <TAG2>
             <tt:value ref="PARA.COL2"/>
           </TAG2>
           <TAG3>
             <tt:value ref="PARA.COL3"/>
           </TAG3>
         </ROOT>
       </tt:template>
    </tt:transform>

  • Problems with UIX-XML

    We are trying to use the UIX XML framework, but we have some problems:
    1)     We need to show the content of an uploaded file such as PDF, Word, Excel and other multimedia content.
    2)     We need to process the changes on a bc4j table with editable fields (we can read the values, but when we try to update the view object, an error occurs saying that the value is not serializable).
    3)     We need to load the shuttle component with data coming from a bc4j view object and to process the changes on that component (like the order of data).
    4)     We need to use bc4j uix tags in UIX templates.
    5)     We need to read the custom properties of view or entity object.
    TIA

    Renzo,
    I've read that 9.03 is suppost to have UIX/XML-interMedia support (any JDev guys want to confirm that).
    I've has this same issue and had to revert to BC4J-JSP for the interMedia stuff. That said, to get the UIX look, I was able to wrap that up inside of UIX-JSP pages using <rawText> and it work.
    Bill G...
    BTW - What part of Italia are located in?

  • UIX/XML username / password while testing from IDE

    Hello,
    When we test a UIX XML / BC4J application from the Jdeveloper IDE (9.0.2) with the deploy password option selected for the connection it works OK.
    If we uncheck this option however, we get a connection error, and no opportunity to specify the password.
    We have the following questions:
    (for testing from the IDE)
    1) Must we build a login uix page to ask the user for it?
    2) Once we have the user and the password, how can we use them to connect to the application module, instead of the username and password from the bc4j.xcfg?
    Many thanks,
    Xavi Marfull.

    This functionality is not currently supported by the BC4J UIX data binding.
    We'll track the request internally for a future release.
    Regards,
    John Fallows
    Oracle Corporation.

  • Simple test case with NL and table order .

    Hi,
    did some tests on my 9.2.0.8 and got few questions:
    SQL> select count(*)  from p;
      COUNT(*)
          2000
    SQL> select count(*)  from c;
      COUNT(*)
          1000
    SQL> select count(*) , id from p group by id having count(*) > 1;
    no rows selected
    SQL> select count(*) , id from c group by id having count(*) > 1;
      COUNT(*)         ID
           100         10
    SQL> desc p
               Name
        1      ID number
        2      FILLER varchar2(100)
    SQL> desc c
               Name
        1      ID number
        2      FILLER varchar2(100)
    Got 10046 traces:
    case A
    select /*+ use_nl(p) leading(c) */ *
    from
    p , c where p.id = c.id and c.id in (10)
    Rows     Row Source Operation
        100  TABLE ACCESS BY INDEX ROWID P
        201   NESTED LOOPS
        100    TABLE ACCESS BY INDEX ROWID C
        100     INDEX RANGE SCAN C_ID (object id 411255)
        100    INDEX RANGE SCAN P_ID (object id 411256)
    Case B optimal
    select /*+ use_nl(c) leading(p) */ *
    from
    p , c where p.id = c.id and c.id in (10)
    Rows     Row Source Operation
        100  TABLE ACCESS BY INDEX ROWID C
        102   NESTED LOOPS
          1    TABLE ACCESS BY INDEX ROWID P
          1     INDEX RANGE SCAN P_ID (object id 411256)
        100    INDEX RANGE SCAN C_ID (object id 411255)So its simple nested loop with postponed inner table access .
    Why in row source operation we have got 102 rows (NL level) ? (It means NL was executed 102 times ?)
    And why 201 in other case ?
    Regards
    GregG

    I am not sure about the calculation/reason for those A-ROWS figures but the NL operation executes only once (but accesses inner rowsource 100 times in case one and once in second case) in both cases (which is as expected).
    A closer test case (to OP) is
    SQL> select * from v$version ;
    BANNER                                                                                                                                                                    
    Oracle Database 10g Release 10.2.0.5.0 - Production                                                                                                                       
    PL/SQL Release 10.2.0.5.0 - Production                                                                                                                                    
    CORE     10.2.0.5.0     Production                                                                                                                                                
    TNS for Linux: Version 10.2.0.5.0 - Production                                                                                                                            
    NLSRTL Version 10.2.0.5.0 - Production                                                                                                                                    
    SQL> create table p nologging as select level as id, cast(dbms_random.string('a', 100) as varchar2(100)) as filler from dual connect by level <= 2000 ;
    Table created.
    SQL> exec dbms_stats.gather_table_stats(user, 'P') ;
    PL/SQL procedure successfully completed.
    SQL> create index p_id on p(id) nologging ;
    Index created.
    SQL> select count(*)  from p;
      COUNT(*)                                                                                                                                                                
          2000                                                                                                                                                                
    SQL> select count(*) , id from p group by id having count(*) > 1;
    no rows selected
    SQL> create table c nologging as select level as id, cast(dbms_random.string('a', 100) as varchar2(100)) as filler from dual connect by level <= 900 union all select 10, cast(dbms_random.string('a', 100) as varchar2(100)) as filler from dual connect by level <= 99 ;
    Table created.
    SQL> select count(*) , id from c group by id having count(*) > 1;
      COUNT(*)         ID                                                                                                                                                     
           100         10                                                                                                                                                     
    SQL> exec dbms_stats.gather_table_stats(user, 'C') ;
    PL/SQL procedure successfully completed.
    SQL> create index c_id on c(id) nologging ;
    Index created.
    SQL> select /*+ use_nl(p) leading(c) gather_plan_statistics */ * from p , c where p.id = c.id and c.id in (10) ;
            ID FILLER                                                                                                       ID                                                
    FILLER                                                                                                                                                                    
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    zrGZSmUFXNyNMOViUYSvPDdfznSlMvaFnQakopPtcBvXQkWmMlWCnrPyeZLfhuLLeYyAEkcwZNSfoASLYpoAnpESqlQWkaEGatXV                                                                      
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    hKtrWPCfAmWWLGMXfwHCusSwVpehEnZdxYPLouIuBlMMiSKlIJWwklZCAXZaCbIxKlhzBVRhhTPdLcheyAdoYyfxwomqWRrMXuMk                                                                      
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    ncSqclZvOGgyXDPaaouGaUqXmJtFNbNyFzUalDknEMvTsBRwGmTxOCIalLvqMnuTFBZJGzNfBqaSVHUtvNDceVZqKQQyqeGKOUdz                                                                      
    100 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST')) ;
    PLAN_TABLE_OUTPUT                                                                                                                                                         
    SQL_ID  1f55m4rabtu3h, child number 0                                                                                                                                     
    select /*+ use_nl(p) leading(c) gather_plan_statistics */ * from p , c where p.id = c.id and                                                                              
    c.id in (10)                                                                                                                                                              
    Plan hash value: 2553281496                                                                                                                                               
    | Id  | Operation                     | Name | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |                                                                 
    |   0 | SELECT STATEMENT              |      |      0 |        |      0 |00:00:00.01 |       0 |      0 |                                                                 
    |   1 |  TABLE ACCESS BY INDEX ROWID  | P    |      1 |      1 |    100 |00:00:00.01 |     112 |      2 |                                                                 
    |   2 |   NESTED LOOPS                |      |      1 |      1 |    201 |00:00:00.02 |     110 |      2 |                                                                 
    |   3 |    TABLE ACCESS BY INDEX ROWID| C    |      1 |      1 |    100 |00:00:00.01 |       7 |      1 |                                                                 
    |*  4 |     INDEX RANGE SCAN          | C_ID |      1 |      1 |    100 |00:00:00.01 |       3 |      1 |                                                                 
    |*  5 |    INDEX RANGE SCAN           | P_ID |    100 |      1 |    100 |00:00:00.01 |     103 |      1 |                                                                 
    Predicate Information (identified by operation id):                                                                                                                       
       4 - access("C"."ID"=10)                                                                                                                                                
       5 - access("P"."ID"=10)                                                                                                                                                
    24 rows selected.
    SQL> select /*+ use_nl(c) leading(p) gather_plan_statistics */ * from p , c where p.id = c.id and c.id in (10) ;
            ID FILLER                                                                                                       ID                                                
    FILLER                                                                                                                                                                    
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    zrGZSmUFXNyNMOViUYSvPDdfznSlMvaFnQakopPtcBvXQkWmMlWCnrPyeZLfhuLLeYyAEkcwZNSfoASLYpoAnpESqlQWkaEGatXV                                                                      
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    hKtrWPCfAmWWLGMXfwHCusSwVpehEnZdxYPLouIuBlMMiSKlIJWwklZCAXZaCbIxKlhzBVRhhTPdLcheyAdoYyfxwomqWRrMXuMk                                                                      
            10 opKRJynLxjeCiOScvOklQBXfpnfgvlhHNLzlKKrFaNzQLODKSnKMxpzecqyFkVSLvdosZJhWckBcQbpIaqttahlqBxrugKQVrnIk         10                                                
    ncSqclZvOGgyXDPaaouGaUqXmJtFNbNyFzUalDknEMvTsBRwGmTxOCIalLvqMnuTFBZJGzNfBqaSVHUtvNDceVZqKQQyqeGKOUdz                                                                      
    100 rows selected.
    SQL> select * from table(dbms_xplan.display_cursor(null, null, 'ALLSTATS LAST')) ;
    PLAN_TABLE_OUTPUT                                                                                                                                                         
    SQL_ID  7hvf1zvsvfhdp, child number 0                                                                                                                                     
    select /*+ use_nl(c) leading(p) gather_plan_statistics */ * from p , c where p.id =                                                                                       
    c.id and c.id in (10)                                                                                                                                                     
    Plan hash value: 2133717140                                                                                                                                               
    | Id  | Operation                     | Name | Starts | E-Rows | A-Rows |   A-Time   | Buffers |                                                                          
    |   0 | SELECT STATEMENT              |      |      0 |        |      0 |00:00:00.01 |       0 |                                                                          
    |   1 |  TABLE ACCESS BY INDEX ROWID  | C    |      1 |      1 |    100 |00:00:00.01 |      11 |                                                                          
    |   2 |   NESTED LOOPS                |      |      1 |      1 |    102 |00:00:00.01 |       7 |                                                                          
    |   3 |    TABLE ACCESS BY INDEX ROWID| P    |      1 |      1 |      1 |00:00:00.01 |       4 |                                                                          
    |*  4 |     INDEX RANGE SCAN          | P_ID |      1 |      1 |      1 |00:00:00.01 |       3 |                                                                          
    |*  5 |    INDEX RANGE SCAN           | C_ID |      1 |      1 |    100 |00:00:00.01 |       3 |                                                                          
    Predicate Information (identified by operation id):                                                                                                                       
       4 - access("P"."ID"=10)                                                                                                                                                
       5 - access("C"."ID"=10)                                                                                                                                                
    24 rows selected.
    SQL> drop table p purge ;
    Table dropped.
    SQL> drop table c purge ;
    Table dropped.
    SQL> spool offEdited by: user503699 on Jan 18, 2012 11:49 PM

  • Control-Hints are suppose work with UIX/XML, right?

    Control-Hints are suppose work with UIX/XML, right?
    I've added some control hints and they worked correctly when viewed using UIX/JSP pages. However, none of the Control-Hints appear on UIX/XML pages.
    The documentation suggests that this should work. Am I wrong?
    Bill G...

    There's a bit of confusion here (which is entirely our fault).
    UIX JSP is a subset of UIX XML (almost entirely; a few tags in
    UIX JSP simply wouldn't make sense in UIX XML, like <uix:buildTree>).
    However, BC4J UIX JSP is not a subset of BC4J UIX XML; the two
    are essentially entirely different libraries. (Any JSP tag that
    starts with <bc4juix:> counts as a "BC4J UIX JSP" tag.) I agree
    that this is confusing.
    As far as control hints go: BC4J UIX XML does not currently
    support control hints. It does offer more than enough flexibility
    to tweak all the dials and knobs made available by control hints (and
    a lot more).

  • UIX XML & Shuttle with BC4J

    What is the way to use the UIX XML shuttle component with data coming from a bc4j view object?
    And how to process the changes on that component (like the sequence of data)?
    Finally, can we adopt UIX-XML-BC4J and be sure that all normal problems of an application are covered?
    TIA

    Thanks for your answer. I've tried the following code:
    <!-- "TipoProgettoView" is my view object, defined in a <bc4j:registryDef> section. -->
    <bc4j:viewObjectScope name="TipoProgettoView">
         <contents>
              <shuttle name="ordinamento" leadingHeader="Sequenza" leadingDescShown="true"
                        reorderable="true" trailingDescShown="true">
                   <leading>
                        <bc4j:list name="MyList">
                             <contents>
                                  <!-- "IdTipoProgetto" and "DTipoProgetto" are two attributes of my view object-->
                                  <bc4j:option value="IdTipoProgetto" text="DTipoProgetto"/>
                             </contents>
                        </bc4j:list>
                   </leading>
              </shuttle>
         </contents>
    </bc4j:viewObjectScope>
    But it doesn't work. The shuttle component gets rendered but the list is empty.
    Can you give me an example snippet code?
    "Normal" for me is an application with lists of element (editable, sortable), master-detail-detail, upload and display of object (image, Word doc, PDF, . . .), trees with items from db, use of personalized templates.

  • A simple team task with a single team resource; yet in reality many actual team contributions - can it be done?

    What people would like to be able to do is to plan for a task in MSP to be done by a team. We plan how much work is involved and the duration.
    Any number of team members can be involved in the task. As things delay and get put on hold we may have entire teams jumping in to complete tasks so utilisation is maximised. PMs do not want to open an plan every half hour to add extra resources to
    plans
    Can this be done in MSP in an elegant way?
    What I am currently doing is asking PMs to assign all 20 generic team resources to a task; so any of the 20 team members can assign themselves to the task in the TimeSheet. (In fact they get templates with this setup: there is a join project team task with
    every generic team resource added so they can swap themselves into the plan)
    Obviously the PMs are aghast that Project server will not let you assign a single team resource and then allow anyone in the team to join in. Am I correct in thinking Project Server will not allow this.
    (Project server 2010 - on premise)
    Trying to stop the swap to Salesforce - but the errors keep a coming

    Yeah the capacity planning is mathematically fine if I know the cumulative total of work across a duration - project just flattens it across however many resources are assigned.
    To max utilisation resources can and will be shunted onto projects; in a week they can be put onto 20 projects to fill out the utilisation if a big project suffers a major delay. The PMs cannot spend the time rescheduling 10 plans. The resource want
    to easily record time sheeted data against the projects they worked on in the past days.
    Whilst "add to task" works and they all know how to use it; it only lists the projects they are a Published resource on. Even being reassigned onto a team task will not help. i.e. if I set up tasks on each and every template with the 20 spare generic
    team resources on; if a team resource grabs that 1 task to be assigned - the PM must
    1. accept the reassignment;
    2. Open and Publish the plan; only then can that resource add themselves to a task in the plan - PMs can't spend time doing this 20 times per project!
    I don't really want every resource seeing every project in the "add to task" list - but it looks like this is what I will have to do as the team tasks seems broken in many, many places.
    However we already do it for support projects; everyone (who may contribute at any point to a support item) is assigned to an initial task - this makes the project list unwieldy in Add task or new task and adds clutter for the user
    Trying to stop the swap to Salesforce - but the errors keep a coming

  • Jdev 9iRC: deployment of BC4J-UIX components to OC4J !2.0! does not work

    in different threads the problem of deployment of BC4J UIX components to OC4J 1.2.2.x is addressed (see http://forums.oracle.com/forums/message.jsp?id=679060 for example). contrary to the sayings of different members of the jdev-team i face the same problem with OC4J 2.0 (java lang nullpointer exception).
    i'm using jdev9iRC and 9iASWE v2 beta which comes with OC4J 2.0.
    i followed the recommendations of the thread mentioned above, no result. i followed the recommendations of steve muench in thread HELP! Loading Java Classes into Oracle ERROR result is the same error but now already when calling the main.uix. next try was also on recommendation of steve muench somewhere else: i installed the complete jdev 9iRC on my application server and tried to deploy to this "embedded" OC4J. result: uncomplete deployment because of denied access to the files server.xml and http-website-xml:
    Beginning to deploy to Oracle9i Application Server...
    Wrote WAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.war
    Wrote web EAR file to C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear
    Invoking Oracle9iAS admin tool...
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -deploy -file C:\Programme\oracle\jdeveloper\jdev\mywork\WF_Wettfamily\src\F1StammdatenUIX.ear -deploymentName F1Administration-F1StammdatenUIX-app
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX.ear... done.
    Auto-unpacking E:\ORACLE\jdev9iRC\j2ee\home\applications\_F1StammdatenUIX\F1StammdatenUIX.war... done.
    java.io.FileNotFoundException: E:\ORACLE\jdev9iRC\j2ee\home\config\server.xml (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at com.evermind.xml.XMLConfig.storeToURL(XMLConfig.java:433)
    at com.evermind.xml.XMLConfig.store(XMLConfig.java:420)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:756)
    at com.evermind.server.ServerComponent.store(ServerComponent.java:728)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:466)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:79)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Exit status of Oracle9iAS admin tool (-deploy): 0
    C:\Programme\oracle\jdeveloper\jdk1.3\jre\bin\javaw.exe -jar C:\Programme\oracle\jdeveloper\j2ee\home\admin.jar ormi://bajor.skypages.net admin **** -bindWebApp F1Administration-F1StammdatenUIX-app F1StammdatenUIX http-web-site /F1Administration-F1StammdatenUIX-context-root
    Communication error: E:\ORACLE\jdev9iRC\j2ee\home\config\http-web-site.xml (Access is denied)
    Exit status of Oracle9iAS admin tool (-bindWebApp): 1
    ---- Deployment finished. ---- 12.02.2002 12:53:02
    what am i supposed to do? is there a solution?
    please help
    TIA, trevi

    Yes, I can create a new as3 file, but I can't "fill it with
    sensible content". Neither my As3-codes are recognized nor simple
    components are displayed to me in a proper way when testing the
    movieclip.
    Now, I have just reinstalled my CS4 on another computer and
    there it works with AS3. Really strange. Does CS4 need to
    communicate with some internet services while executing a simple
    fla-file or something like that?

  • JDev web resources besides OTN & JDev team blogs?

    Gang,
    Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
    I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
    It would be nice to know what others have found.
    Cheerio,
    CM.

    Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
    (Apologies but I didn’t have a lot of time to draft this message so please ignore any typos and poor grammar)
    Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. I’m not brilliant but you can call me Mr Average Programmer – if it makes sense I’ll work out how to use it.
    I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
    And the general consensus is that the JDeveloper documentation is of poor quality.
    Now I’d like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug I’ve recently raised, see TAR 4212035.995 bug 4058863. I’ve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
    This bug, as you’d appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for “productivity” with choice.
    As another example, do a search in JDeveloper for “uixState”. Most UIX LOVs are useless without it in the partialtargets element….. but it’s another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If I’m not mistaken (I might be, I’m still learning my way around Java), “string” is not a valid Java type…. isn’t it “String”? See my confusion, and the documentation doesn’t say much at all. Does this mean if I return a “Number” I should use “number”.
    Would you like to get away from UIX documentation errors? Well try bringing up the help for the “Pooling and Scalability” tab, under the Configurations sub-menu option for an Application Module (the help page is entitled “Configuration Manager – Pooling and Scalability”). See all those “text” comments and “to be included in future release” comments. Not much use are they?
    Moving on to your question about “how-to”s we’d like to see is a relevant one. I can only talk from my personal experience, but what I’d like to see relevant to my current project is (or would have been useful in the past):
    1)     UIX lov – returning multiple fields.
    2)     UIX lov – using lovUpdate event with multiple LOVs on the screen.
    3)     UIX lov – a complete example that allows the user to “type” in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.     
    4)     UIX trees – proper discussion on setting up hierarchical VOs and associations.
    5)     UIX trees – example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
    6)     UIX hgrids – example derived from database, where the user can insert/delete values through to the database.
    You’ll notice I’m focusing on the UIX technology. Simply put it’s what we’re using at my current site.
    2 other issues I’d like to point out too though. Notice the focus on LOVs? Well I’m an ex-Forms programmer who knows the power of the Forms LOV control. I’ve been confused, annoyed then resigned to the fact that you’ve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue “this is JDeveloper Chris, not Oracle Forms”. You’re right of course, and I can accept that I have to learn the JDev way of doing things. But, and “big” but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
    So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because we’re learning your tool, we’re not experts in JDeveloper, and we can’t read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
    To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
    The 2nd point I’d like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a ‘how-to’ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
    I can hear you asking “what? You want us to do everything for you!?” No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the “Building Oracle ADF Applications: A Comprehensive Workshop” tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I don’t think I’d be writing this post, the JDeveloper team wouldn’t be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
    Hear me out on my next comment – I’m not Oracle bashing! Just making a point.
    With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just can’t see it happening. The basic problem is you’re “Oracle Corporation” (aka the Other Microsoft). You’re not an Open Source **community** group. So people don’t have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They don’t get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists – for the benefit of all – communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracle’s own staff, are being paid far too much money working with your tools to waste time working on blogs. I’d love to write one, but time evades me and I’d rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
    This puts you, the JDeveloper team in an interesting position. I know you’re really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) – I haven’t seen the other IDEs provide such functionality yet and I think you’ve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I don’t think you’ll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
    Well I hope’s it’s obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure it’s up to date. Make sure it’s complete. Review it all each time. Make plans for how it could be improved and expanded.... don’t just focus on the tool.
    I think I can hear you screaming “but we do you bl**dy idi*t!” But I’ll answer in turn.... the perception is you don’t, and the evidence in front of me shows you haven’t..... so my conclusion is I think valid.
    Also let me place a warning that the risk is if you don’t provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool – in particular there frustration with the poor documentation. If they’re making such decisions, I bet others are too.
    With all the above in mind please note my goal of this whole post, and I know I’ve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
    Gee, I should have started a blog and posted this entry I think.
    I’ll finish this post by saying that I’m thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
    Regards,
    CM.
    PS. If you’d like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
    Also please note the “standard disclaimer”, that none of the above is my employer’s or clients’ opinions; it is all totally of my own opinion.

Maybe you are looking for

  • Apps Not Working In Airplane Mode

    I have an iPhone 4 running version 4.3.5. I am on the island of Ibiza in the Med off the coast of Spain. There is no cell service available on the island. I have access to a wi-fi network where I'm staying. I am in Airplane Mode with 3G, cellular dat

  • Open File Dialog in same monitor as application

    I have an application that will be running on computers with dual monitors.  I am using the file dialog in my application and it always opens in the primary monitor.  Is there a way to have it open in the same monitor as the application? Terry

  • MessageListener not works

    Hi, I am trying my first JMS examples and have a problem with the MessageListener interface. My Listeners is not invoked onMessage. Here is my code, perhaps knows someone the solutions: The Base Class which creates a message and starts the listener:

  • SB Live 5.1 DE and SB Live

    hi. i bought an SB Li've 5. sound card recently. but when i tried playing an AC3 file with the creative play centre i couldnt. later i discovered that there is no AC3 codec on the SB Li've Card. but it wuz available on th old card, DE 5.. Also when i

  • How do I save Tab Group that i have created? So that everytime I open Firefox, it will be there for me rather than I have to re-create again.

    I have homepage with multiple sites. I like you Tab Groups which enable me to group those sites under particular group. However, I found that the group were gone when i close and open back Firefox.