Unable to create Tables in design view

One of the two problems I am having (the other will also be
posted) is that I am no longer able to use Design View to Insert
Tables at all - I get the following error message: (I made a
printscreen of the error but not sure how to embed the picture in
this post so here is the message verbatim).
"While executing objectTag, the following JavaScript error(s)
occured:
At line 26 of file "Macintosh HD:Applications:Macromedia
Dreaweaver 8:Configuration
bjects:Common:Table.htm":
Type Error: cmdDOM.parentWindow.createTableStr is not a
function"
I can create tables only if I type the html for them by hand
into the code pane. The file that the error message references does
exist, and appears to look fine (code-wise). I've also tried
uninstalling and reinstalling DW8, removing and recreating the
Configuration Folder as well as the site prefs and site definitions
- nothing has cured this problem.
I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
I am positive that I did not have this problem, or any of the other
current problems, with DW MX , and I installed DW8 as a stand-alone
app so that I could still use MX if needed. This and the other
problems don't occur with MX but I would really like to get them
solved because 8 offers other benefits that I want to be able to
use.
I'm wondering if anyone else has had this problem and managed
to find a fix for it.

One of the two problems I am having (the other will also be
posted) is that I am no longer able to use Design View to Insert
Tables at all - I get the following error message: (I made a
printscreen of the error but not sure how to embed the picture in
this post so here is the message verbatim).
"While executing objectTag, the following JavaScript error(s)
occured:
At line 26 of file "Macintosh HD:Applications:Macromedia
Dreaweaver 8:Configuration
bjects:Common:Table.htm":
Type Error: cmdDOM.parentWindow.createTableStr is not a
function"
I can create tables only if I type the html for them by hand
into the code pane. The file that the error message references does
exist, and appears to look fine (code-wise). I've also tried
uninstalling and reinstalling DW8, removing and recreating the
Configuration Folder as well as the site prefs and site definitions
- nothing has cured this problem.
I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
I am positive that I did not have this problem, or any of the other
current problems, with DW MX , and I installed DW8 as a stand-alone
app so that I could still use MX if needed. This and the other
problems don't occur with MX but I would really like to get them
solved because 8 offers other benefits that I want to be able to
use.
I'm wondering if anyone else has had this problem and managed
to find a fix for it.

Similar Messages

  • Unable to insert table in design view???

    Im using Dreamweaver MX 6.0, been using it for a while
    trouble free. Recently installed it on my new Vista laptop, install
    went fine, program opens fine. I was in design view today, tried to
    insert a table and was initially getting some weird error message,
    but the table WAS created. After a few minutes I went to make a
    change and the program crashed. Started Dreamweaver again, tried to
    insert a table and nothing happens. I can click the insert table
    button, try Insert >>> Table, and nothing happens, no
    error message, nothing.
    If I manually enter the code to create a table, I AM able to
    do that, and I can edit it in design view, such as splitting a
    cell, etc.. Anyone have any ideas? Thanks.
    -Joey

    > The build is 6.0.1714.0
    ANN: 6.1 Updater on build 1714
    Macromedia has been working with our customers to track down
    the source
    of problems a minority of users have been having with the ...
    Dreamweaver MX
    6.1 updater. Several users reported that the updater
    incorrectly indicates
    that it cannot find the Dreamweaver
    application or executable file in the specified folder and
    doesn't perform
    the update. While researching this, we found that there were
    several
    different causes for similar issues. Those solutions are all
    detailed in the
    technote at:
    http://www.macromedia.com/support/dreamweaver/ts/documents/dmx_updater_issues.htm.
    However, we also noticed that many customers were trying to
    update a build
    of Dreamweaver MX, 1714, that was never legally released to
    the public or
    made available for purchase. The release version of
    Dreamweaver MX 6.0 is
    build 1722, and build 1714 was only released to a small group
    of beta
    testers under a non-disclosure agreement. Beta testers
    received the final
    build of Dreamweaver MX at the completion of the beta
    program.
    Because build 1714 is not a commercial release, it cannot be
    updated and
    should not be used for any purpose as it is not a legally
    licensed version
    of Dreamweaver MX. To purchase a copy of Macromedia
    Dreamweaver MX, visit
    our online store at:
    http://dynamic.macromedia.com/bin/MM/store/US/home.jsp
    Thanks to all customers who provided detailed information
    that enabled us to
    track down the installer issues much more quickly than we
    could without your
    help.
    Matt Brown Dreamweaver and Contribute Community Manager
    Sorry I can't help more than that.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joey_330ci" <[email protected]> wrote in
    message
    news:[email protected]...
    > Version 6.0.1714.0 Thanks!

  • PayPal buttons inside table scramble Design View in DW CS5.5

    I developed my web site using Dreamweaver 8:
    http://www.harmonize.com/hatleymusic/classic.html
    As  you see, I have PayPal buttons inside table cells.  I did this using  Design View, putting the insertion point in the table cell, going to  code view, and pasting the PayPal button code at the insertion point.   This all worked fine.
    I just upgraded to DW CS5.5. and now  when I try to use the same procedure, the Design View image gets  scrambled  after I paste the button code in code view.  The table format  is no longer in place, and I can no longer see where the cells of the  table are.  However, when I go to Live View, everything looks fine  including the table and the buttons.
    Can anyone tell me  how to overcome this problem?  As it stands, I cannot use DW to work on  my web site, which is a major problem for me.
    Thanks.

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • UCM - Unable to create table 'WebdavUserPaths'.

    Hi,
    we have UCM Version:10.1.3.5.1 (091014) (Build:7.2.4.29). It runs on production environment and also we have a test instance.
    It runs fine for long time. Yesterday I stopped the content server on test environment. Problem is that I am not able to start it anymore. While starting I am receiving this error:
    Unable to create table 'WebdavUserPaths'. ORA-00955: name is already used by an existing object
    ORA-00955: name is already used by an existing object
    intradoc.common.ServiceException: !csDbUnableToPerformAction_create,WebdavUserPaths!$ORA-00955: name is already used by an existing object
    While analyzing this, I found there is the table WebdavUserPaths in the database and it is empty. This table is present in both databases - PROD and also in TEST. In both envs it is empty.
    I found out that when I disable CoreWebdav component in ComponentWizard, then the content server starts up fine, bud WebDav is not working of course...
    I would need to solve this issue, but I do not want to start immediately dropping that tables, etc... without knowing what is it used for, why content server wants to recreate the tables, etc...
    Any body has an ideas?
    Thanks.

    Thanks for pointing me towards dba_lobs
    SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
    TABLE_NAME INDEX_NAME
    BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
    I purged the recyclebin and all was ok

  • Table in design view not displaying properly

    I put in a table at 100% width - to house a spry menu.  It shows up fine in all browsers and in live mode, but in dreamweaver design view the table and menu display off to the right - outside of the workspace. It's a pain!  How do I fix this?

    You certainly do NOT need a table to hold your menu -- no matter which one you use.
    Table layouts went the way of the dinosaur last century.  Nowadays, we use CSS for layouts.  To illustrate, copy & paste this code into a new, blank document and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document</title>
    <style>
        /**fixes the box model**/
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    /**basic layout**/
    body {
        width: 80%; /**adjust width in px, em or % as desired**/
        margin:0 auto; /**with width, this is centered**/
        background: maroon;
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
    header, footer { color: #FFF; }
    /**left sidebar**/
    aside {
        display:table-cell;
        width: 25%;
        padding: 1%;
        background: #C99;
    /**main content**/
    article {
        width: 75%;
        display:table-cell;
        padding: 2%;
        border-left: 1px dotted silver;
        background: #EAEAEA;
    footer {
        clear: left;
        font-size: 80%;
        text-align: center;
    /* BEGIN HORIZONTAL DROP-MENU */
    nav {
        position: relative;
        width: 100%;  /**adjust width as needed**/
        margin: 0 auto;
        padding: 0;
        text-align: center;
        z-index: 1000;
    nav ul {
        margin: 0;
        padding: 0
    nav li {
        list-style: none;
        font-size: 12px;
        float: left;
        text-align: center;
    /**top level menu**/
    nav li a {
        display: block;
        text-decoration: none;
        margin-right: 2px;   /* space between links */
        width: 12em;   /* adjust as needed or use auto */
        padding: 6px 15px;
        font-weight: bold;
        line-height: 2em;
        color: #1e5799;
        border: 1px solid #FFF;
        background: #C7D5E3;
    /**top menu style on mouse over**/
    nav li:hover > a {
        color: #FFF;
        background: #1e5799;
    /**sub-menu**/
    nav li ul {
        display: none;
        text-align: center;
        margin: 0;
        padding: 0 1em;
        background: #C7D5E3;
        font-weight: normal;
        font-style: oblique;
    /**sub-menu, help for older IE**/
    nav li:hover ul, nav li.hover ul {
        display: block;
        position: absolute;
        padding: 0;
    nav li:hover li, nav li.hover li { float: none; }
    /**drop-menu style**/
    nav li:hover li a, nav li.hover li a {
        width: 12em;  /* adjust width as needed or use auto */
        margin-top: 0;
        line-height: 1.25em;
        font-weight: normal;
        border: none;
    /**drop-menu style on mouse over**/
    nav li li a:hover {
        background: #D3E1B7;
        color: #004A43;
    /**clear floats**/
    nav:after {
        clear: both;
        display: block;
        content: '';
    /**END DROP MENU STYLES**/
    </style>
    </head>
    <body>
    <header>
    <h1>Your Awesome Site Name</h1>
    <h2>Some Pithy Slogan</h2>
    </header>
    <nav>
    <ul>
    <li><a href="#">Menu Item1 &#9660;</a>
        <ul>
        <li><a href="#">Sub_menu1a</a> </li>
        <li><a href="#">Sub_menu1b</a> </li>
        </ul>
    </li>
    <li><a href="#">Menu Item2 &#9660;</a>
        <ul>
        <li><a href="#">Sub_menu2a</a> </li>
        <li><a href="#">Sub_menu2b</a> </li>
        <li><a href="#">Sub_menu2c</a> </li>
        <li><a href="#">Sub_menu2d</a> </li>
        </ul>
    </li>
    <li><a href="#">Menu Item3</a></li>
    <li><a href="#">Menu Item4</a></li>
    <li><a href="#">Menu Item5</a></li>
    </ul>
    </nav>
    <aside>
    <h3>Left Sidebar</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus. </p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. </p>
    </aside>
    <article>
    <h3>Aritcle Heading</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    <footer>
    <small>© 2015 Your Site Name. All rights reserved.</small>
    </footer>
    </body>
    </html>
    Nancy O.

  • Unable to create table because object exists. Where do I find object ?? :-0

    Hi,
    I deployed some scripts to a database, had to roll it back and then deployed again but I'm unable to create a particular table. The error says an object already exists but I can't find it. Hope this isn't a dumb question. Oracle 10.2.0.4 2 node RAC on Linux
    I have looked through dba_objects for anything called LS_AURULD_RULEDATA or LI_AURULD_RULEDATA.
    Here is the command and error..........
    CREATE TABLE aee.T_AUDITRULEDEFINITION
    2 (
    OBID RAW(16) CONSTRAINT NN_AURULD_OBID NOT NULL,
    SECURE_COMPANY_FK RAW(16) CONSTRAINT NN_AURULD_SCFK NOT NULL,
    AUDITRULESET_FK RAW(16),
    AUDITRULECLASST_FK NUMBER(2,0),
    DESCRIPTION NVARCHAR2(128),
    FAILUREACTION_FK NUMBER(2,0),
    RULEDATA NCLOB,
    RULETYPE NVARCHAR2(50),
    SEQUENCENUMBER NUMBER(10,0),
    TAG NVARCHAR2(64)
    LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA)
    15 TABLESPACE MOTOR_TABLES;
    LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA) *
    ERROR at line 14:
    ORA-00955: name is already used by an existing object
    Any help appreciated

    Thanks for pointing me towards dba_lobs
    SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
    TABLE_NAME INDEX_NAME
    BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
    I purged the recyclebin and all was ok

  • NetBeans - Creating TreeNodes in design view

    Not 100% sure if this is the right spot...
    I've always enjoyed netbeans for creating Java applications not only for it's syntax highlighting, and auto-completion, but for it's design view. It's a lovely area where you can design the GUI instead of coding it, which makes the process of creating applications very easy.
    My issue is that I need to create a tree. So I click on the Tree Swing component and place it in the page. Works fine, but now I need to add a tree model to it so that it actually works for how I want it to work. I've been told there's a treenode component somewhere (the GUI also hints toward it), but I can't find that. Can someone inform me where it is?

    smarttart62 wrote:
    Not 100% sure if this is the right spot...Nope. It's for questions about Java programming. If you want to ask questions about how to use Netbeans then a Netbeans forum would be better. Here's one that I found:
    http://www.netbeans.org/community/lists/top.html

  • Create a flex 'design view'

    Hi
    is it possible to create a page using flex 3 which is similar to the design view in the flex builder.
    essentially what we are planning to do is that we want to provide the user an ability to design a page.
    Does flex provide the users the design view as a component that can be used in a page.
    av.

    You just go thorugh following links where you will find what you want:
    http://www.flashchemist.com/?p=123
    http://flex.org/software/components
    http://fleksray.org/adobe_flex_components_en.html#popuptoolbar
    http://fleksray.org/adobe_flex_components_en.html#Auto%20Complete
    http://flexsamples.blogspot.com/
    http://weblogs.macromedia.com/pent/archives/flex_solutions/index.html
    http://flex.org/showcase/
    http://www.adobe.com/devnet/flex/?navID=samples
    http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html
    Thanks.

  • Unable to create table in Dictionary DC

    Hi All,
    I m trying to add one more table to my Dictionary DC.
    I created table and nothing is getting attached to the Activity that I created for this !!!
    So when m adding it to DTR manually (right click -> add to DTR),  it is showing error pop up msg saying
    "BIT_ROLEDESC: Could not connect to name server" 
    and in error log following is the error displayed:-
    com.sap.dictionary.tools.nameserver.ReservationException: BIT_ROLEDESC: Could not connect to name server
         at com.sap.dictionary.tools.nameserver.DtrPropertySetter.createProperties(DtrPropertySetter.java:115)
         at com.tssap.dii.dtri.actions.file.FileAddAction.run(FileAddAction.java:144)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Why is this happening?? What shud be done to get it rite??
    Pls help as my work is stuck in table creation !!!
    regards,
    Amey

    Ok...
    So if I set this property then it will work fine right? Can you pls elaborate the procedure ??
    But one thing I dont understand is how come all other tables got generated properly and got attached to their activities ???
    Why problem is coming with this particular table?
    regards,
    Amey
    Edited by: Amey Mogare on May 27, 2008 5:58 AM

  • Unable to create table with column default value with date interval

    Please help to create table with calculated date defaullt value:
    CREATE TABLE emp (
      birth_date  DATE  DEFAULT sysdate + interval '3' day NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date + interval '3' day NOT NULL
    below syntax error:
    TT1001: Syntax error in SQL statement before or at: "+"

    I'm afraid this is not possible; as per the SQL Reference, TimesTen only supports 'constant expressions' for the DEFAULT clause and none of these are constant expressions.
    Chris

  • Unable to see page in design view

    Is someone able to tell me what it is about this page that
    offends Dreamweaver's design view sensibilities?
    I am stuck.
    Thank you.
    http://inbx.us/designhelp/

    Probably one, or more of the 54 errors found here -
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Finbx.us%2Fdesignhelp%2F
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "PaulBroni" <[email protected]> wrote in
    message
    news:ge4sea$23u$[email protected]..
    > Is someone able to tell me what it is about this page
    that offends
    > Dreamweaver's design view sensibilities?
    >
    > I am stuck.
    >
    > Thank you.
    >
    >
    http://inbx.us/designhelp/

  • Unable to create tables through dbms_sql

    Hai
    I got the below error when i am createing table through dbms_sql package at any user except sys user.Our database is 8.1.6 standard edition
    SQL>CONNECT MOHAN/MOHAN;
    SQL> CREATE OR REPLACE Procedure EXECUTESQL (SQLStatement IN VARCHAR2) IS cursor
    _name INTEGER; ret
    2 INTEGER; BEGIN cursor_name := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE(cursor_n
    ame, SQLStatement,
    3 DBMS_SQL.native); ret := DBMS_SQL.Execute(cursor_name); DBMS_SQL.CLOSE_CURS
    OR(cursor_name); END;
    4 /
    Procedure created.
    SQL> exec EXECUTESQL('create table test(name number)');
    BEGIN EXECUTESQL('create table test(name number)'); END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 782
    ORA-06512: at "SYS.DBMS_SQL", line 32
    ORA-06512: at "MOHAN.EXECUTESQL", line 2
    ORA-06512: at line 1
    Any idea about that
    Thanks in advance
    mohan

    Since you are using Oracle 8.1.6, you can use EXECUTE IMMEDIATE instead of DBMS_SQL. Make sure that the necessary privileges have been granted directly, not through roles. Click on the link below for more about privileges and roles and the error message that you got:
    http://osi.oracle.com/~tkyte/Misc/RolesAndProcedures.html
    Once you have the privileges granted properly, you should be able to use the code below. I should point out that this is still doing things the hard way. You can just issue the create table statement from the SQL prompt. I must assume that this is just a minimal experiment and that the eventual code involves more.
    SQL> CREATE OR REPLACE PROCEDURE executesql
      2    (SQLStatement IN VARCHAR2)
      3  IS
      4  BEGIN
      5    EXECUTE IMMEDIATE SQLStatement;
      6  END executesql;
      7  /
    Procedure created.
    SQL> EXEC executesql ('CREATE TABLE test (name NUMBER)')
    PL/SQL procedure successfully completed.
    SQL> DESC test
    Name                                      Null?    Type
    NAME                                               NUMBER

  • Help...Unable to create table.

    I'm trying to create a table using following syntax and it's throwing "ORA-22809: nonexistent attribute" error. I've used the same script before on 10gR1 and it was fine. Now, I'm trying to test this on 10gR2 and it's not working. Any ideas?
    Schema
    DECLARE
    xmlblurb CLOB
    := '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="1.0" xdb:storeVarrayAsTable="true">
    <xs:element name="docattribs" type="DocAttribsType"/>
    <xs:complexType name="DocAttribsType" xdb:SQLType="DOCATTRIBS_T">
    <xs:sequence>
    <xs:element name="brandgroups" type="BrandGroupsType" xdb:SQLName="BRANDGROUPS"/>
    <xs:element name="messagegroups" type="MessageGroupsType" xdb:SQLName="MESSAGEGROUPS"/>
    <xs:element name="sources" type="SourcesType" xdb:SQLName="SOURCES"/>
    <xs:element name="contentgroups" type="ContentGroupsType" xdb:SQLName="CONTENTGROUPS"/>
    <xs:element name="authors" type="AuthorsType" xdb:SQLName="AUTHORS"/>
    <xs:element name="themes" type="ThemesType" xdb:SQLName="THEMES"/>
    <xs:element name="entities" type="EntitiesType" xdb:SQLName="ENTITIES"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="BrandGroupsType" xdb:SQLType="BRANDGROUPS_T">
    <xs:sequence>
    <xs:element name="bg" type="IdMentionsToneType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="IDMENTIONSTONE_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageGroupsType" xdb:SQLType="MESSAGEGROUPS_T">
    <xs:sequence>
    <xs:element name="mg" type="MessageGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MG" xdb:SQLCollType="MG_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageGroupType" xdb:SQLType="MESSAGEGROUP_T">
    <xs:sequence>
    <xs:element name="bg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>
    <xs:complexType name="SourcesType" xdb:SQLType="SOURCES_T">
    <xs:sequence>
    <xs:element name="source" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="SOURCE" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ContentGroupsType" xdb:SQLType="CONTENTGROUPS_T">
    <xs:sequence>
    <xs:element name="pcg" type="ParentContentGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PCG" xdb:SQLCollType="PCG_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ParentContentGroupType" xdb:SQLType="PARENTCONTENTGROUP_T">
    <xs:sequence>
    <xs:element name="cg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="CG" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>
    <xs:complexType name="AuthorsType" xdb:SQLType="AUTHORS_T">
    <xs:sequence>
    <xs:element name="author" type="NameType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="AUTHOR" xdb:SQLCollType="NAME_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ThemesType" xdb:SQLType="THEMES_T">
    <xs:sequence>
    <xs:element name="theme" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="THEME" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EntitiesType" xdb:SQLType="ENTITIES_T">
    <xs:sequence>
    <xs:element name="af" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYST_FIRMS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="a" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYSTS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="b" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BRANDS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="c" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="COMPANIES" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="l" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="LOCATIONS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="m" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MESSAGES" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="p" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PEOPLE" xdb:SQLCollType="IDMENTIONS_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IdMentionsType" xdb:SQLType="IDMENTIONS_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    </xs:complexType>
    <xs:complexType name="IdMentionsToneType" xdb:SQLType="IDMENTIONSTONE_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    <xs:attribute name="toneid" type="xs:integer" xdb:SQLName="TONEID"/>     
    </xs:complexType>
    <xs:complexType name="IdType" xdb:SQLType="ID_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>     
    <xs:complexType name="NameType" xdb:SQLType="NAME_T">
    <xs:attribute name="name" type="xs:string" xdb:SQLName="NAME"/>
    </xs:complexType>
    </xs:schema>';
    BEGIN
    dbms_xmlschema.registerschema ('cymfony_docattribs.xsd',
    xmlblurb,
    TRUE,
    TRUE,
    FALSE,
    FALSE
    END;
    Create table syntax:
    CREATE TABLE xml_docattributes (
    docid NUMBER,
    docdate DATE,
    statusid NUMBER)
    TABLESPACE data_10m_a
    ALTER TABLE xml_docattributes
    ADD (docattributes XMLTYPE)
    XMLTYPE COLUMN docattributes STORE AS OBJECT RELATIONAL
    XMLSCHEMA "cymfony_docattribs.xsd" ELEMENT "docattribs"
    VARRAY docattributes."XMLDATA"."brandgroups"."bg" STORE AS TABLE xml_brandgroups
    ((constraint pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."messagegroups"."mg" STORE AS TABLE xml_messagegroups
    ((CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY "bg" STORE AS TABLE xml_brandgroup
    ((CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."sources"."source" STORE AS TABLE xml_sources
    ((CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."contentgroups"."pcg" STORE AS TABLE xml_contentgroups
    ((CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY "cg" STORE AS TABLE xml_contentgroup
    ((CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
              ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."authors"."author" STORE AS TABLE xml_authors
    ((CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."themes"."theme" STORE AS TABLE xml_themes
    ((CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."a" STORE AS TABLE xml_analysts
    ((constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."af" STORE AS TABLE xml_analystfirms
    ((constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."b" STORE AS TABLE xml_brands
    ((constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."c" STORE AS table xml_companies
    ((constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."l" STORE AS table xml_locations
    ((constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."m" STORE AS table xml_messages
    ((constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."p" STORE AS table xml_people
    ((constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    /

    At the end of the day there were a number of typos in the ALTER TABLE ADD statement. Here's a debugged version based on the orignal annotated XML Schema..
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'cymfony_docattribs.xsd';
      3    :schemaPath := '/public/cymfony_docattribs.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="1.0" xdb:storeVarrayAsTable="t
    rue">
      5     <xs:element name="docattribs" type="DocAttribsType"/>
      6     <xs:complexType name="DocAttribsType" xdb:SQLType="DOCATTRIBS_T">
      7             <xs:sequence>
      8                     <xs:element name="brandgroups" type="BrandGroupsType" xdb:SQLName="BRANDGROUPS"/>
      9                     <xs:element name="messagegroups" type="MessageGroupsType" xdb:SQLName="MESSAGEGROUPS"/>
    10                     <xs:element name="sources" type="SourcesType" xdb:SQLName="SOURCES"/>
    11                     <xs:element name="contentgroups" type="ContentGroupsType" xdb:SQLName="CONTENTGROUPS"/>
    12                     <xs:element name="authors" type="AuthorsType" xdb:SQLName="AUTHORS"/>
    13                     <xs:element name="themes" type="ThemesType" xdb:SQLName="THEMES"/>
    14                     <xs:element name="entities" type="EntitiesType" xdb:SQLName="ENTITIES"/>
    15             </xs:sequence>
    16     </xs:complexType>
    17     <xs:complexType name="BrandGroupsType" xdb:SQLType="BRANDGROUPS_T">
    18             <xs:sequence>
    19                     <xs:element name="bg" type="IdMentionsToneType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType
    ="IDMENTIONSTONE_COLL"/>
    20             </xs:sequence>
    21     </xs:complexType>
    22     <xs:complexType name="MessageGroupsType" xdb:SQLType="MESSAGEGROUPS_T">
    23             <xs:sequence>
    24                     <xs:element name="mg" type="MessageGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MG" xdb:SQLCollType="
    MG_COLL"/>
    25             </xs:sequence>
    26     </xs:complexType>
    27     <xs:complexType name="MessageGroupType" xdb:SQLType="MESSAGEGROUP_T">
    28             <xs:sequence>
    29                     <xs:element name="bg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="ID_COLL"/>
    30             </xs:sequence>
    31             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    32     </xs:complexType>
    33     <xs:complexType name="SourcesType" xdb:SQLType="SOURCES_T">
    34             <xs:sequence>
    35                     <xs:element name="source" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="SOURCE" xdb:SQLCollType="ID
    _COLL"/>
    36             </xs:sequence>
    37     </xs:complexType>
    38     <xs:complexType name="ContentGroupsType" xdb:SQLType="CONTENTGROUPS_T">
    39             <xs:sequence>
    40                     <xs:element name="pcg" type="ParentContentGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PCG" xdb:SQLCo
    llType="PCG_COLL"/>
    41             </xs:sequence>
    42     </xs:complexType>
    43     <xs:complexType name="ParentContentGroupType" xdb:SQLType="PARENTCONTENTGROUP_T">
    44             <xs:sequence>
    45                     <xs:element name="cg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="CG" xdb:SQLCollType="ID_COLL"/>
    46             </xs:sequence>
    47             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    48     </xs:complexType>
    49     <xs:complexType name="AuthorsType" xdb:SQLType="AUTHORS_T">
    50             <xs:sequence>
    51                     <xs:element name="author" type="NameType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="AUTHOR" xdb:SQLCollType="
    NAME_COLL"/>
    52             </xs:sequence>
    53     </xs:complexType>
    54     <xs:complexType name="ThemesType" xdb:SQLType="THEMES_T">
    55             <xs:sequence>
    56                     <xs:element name="theme" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="THEME" xdb:SQLCollType="ID_C
    OLL"/>
    57             </xs:sequence>
    58     </xs:complexType>
    59     <xs:complexType name="EntitiesType" xdb:SQLType="ENTITIES_T">
    60             <xs:sequence>
    61                     <xs:element name="af" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYST_FIRMS" xdb:SQLC
    ollType="IDMENTIONS_COLL"/>
    62                     <xs:element name="a" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYSTS" xdb:SQLCollTyp
    e="IDMENTIONS_COLL"/>
    63                     <xs:element name="b" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BRANDS" xdb:SQLCollType=
    "IDMENTIONS_COLL"/>
    64                     <xs:element name="c" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="COMPANIES" xdb:SQLCollTy
    pe="IDMENTIONS_COLL"/>
    65                     <xs:element name="l" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="LOCATIONS" xdb:SQLCollTy
    pe="IDMENTIONS_COLL"/>
    66                     <xs:element name="m" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MESSAGES" xdb:SQLCollTyp
    e="IDMENTIONS_COLL"/>
    67                     <xs:element name="p" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PEOPLE" xdb:SQLCollType=
    "IDMENTIONS_COLL"/>
    68             </xs:sequence>
    69     </xs:complexType>
    70     <xs:complexType name="IdMentionsType" xdb:SQLType="IDMENTIONS_T">
    71             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    72             <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    73     </xs:complexType>
    74     <xs:complexType name="IdMentionsToneType" xdb:SQLType="IDMENTIONSTONE_T">
    75             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    76             <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    77             <xs:attribute name="toneid" type="xs:integer" xdb:SQLName="TONEID"/>
    78     </xs:complexType>
    79     <xs:complexType name="IdType" xdb:SQLType="ID_T">
    80             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    81     </xs:complexType>
    82     <xs:complexType name="NameType" xdb:SQLType="NAME_T">
    83             <xs:attribute name="name" type="xs:string" xdb:SQLName="NAME"/>
    84     </xs:complexType>
    85  </xs:schema>');
    86  begin
    87    if (dbms_xdb.existsResource(:schemaPath)) then
    88      dbms_xdb.deleteResource(:schemaPath);
    89    end if;
    90    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    91  end;
    92  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,FALSE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> set pages 0 lines 150
    SQL> --
    SQL> column column_name format A20
    SQL> column data_type format A20
    SQL> column qualified_col_name format A60
    SQL> --
    SQL> DROP TABLE DOCATTRIBUTES
      2  /
    Table dropped.
    SQL> CREATE TABLE docattributes
      2  (
      3    docid NUMBER,
      4    docdate DATE,
      5    statusid NUMBER
      6  )
      7  TABLESPACE USERS
      8  /
    Table created.
    SQL> ALTER TABLE docattributes ADD
      2  (
      3    docattributes XMLTYPE
      4  )
      5  XMLTYPE COLUMN docattributes
      6  XMLSCHEMA "cymfony_docattribs.xsd"
      7  ELEMENT "docattribs"
      8  VARRAY docattributes."XMLDATA"."BRANDGROUPS"."BG"
      9         STORE AS TABLE xml_brandgroups
    10         (
    11           (CONSTRAINT pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    12            ORGANIZATION INDEX OVERFLOW
    13         )
    14  VARRAY docattributes."XMLDATA"."MESSAGEGROUPS"."MG"
    15         STORE AS TABLE xml_messagegroups
    16         (
    17           (CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    18           ORGANIZATION INDEX OVERFLOW
    19           VARRAY "BG"
    20           STORE AS TABLE XML_BRANDGROUP
    21           (
    22             (CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    23             ORGANIZATION INDEX OVERFLOW
    24           )
    25         )
    26  VARRAY docattributes."XMLDATA"."SOURCES"."SOURCE"
    27         STORE AS TABLE xml_sources
    28         (
    29           (CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    30           ORGANIZATION INDEX OVERFLOW
    31         )
    32  VARRAY docattributes."XMLDATA"."CONTENTGROUPS"."PCG"
    33         STORE AS TABLE xml_contentgroups
    34         (
    35           (CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    36            ORGANIZATION INDEX OVERFLOW
    37            VARRAY "CG"
    38            STORE AS TABLE xml_contentgroup
    39            (
    40              (CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    41              ORGANIZATION INDEX OVERFLOW
    42            )
    43         )
    44  VARRAY docattributes."XMLDATA"."AUTHORS"."AUTHOR"
    45         STORE AS TABLE xml_authors
    46         (
    47           (CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    48           ORGANIZATION INDEX OVERFLOW
    49         )
    50  VARRAY docattributes."XMLDATA"."THEMES"."THEME"
    51         STORE AS TABLE xml_themes
    52         (
    53           (CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    54           ORGANIZATION INDEX OVERFLOW
    55         )
    56  VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYSTS"
    57         STORE AS TABLE xml_analysts
    58         (
    59           (constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    60           ORGANIZATION INDEX OVERFLOW
    61         )
    62  VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYST_FIRMS"
    63         STORE AS TABLE xml_analystfirms
    64         (
    65           (constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    66           ORGANIZATION INDEX OVERFLOW
    67         )
    68  VARRAY docattributes."XMLDATA"."ENTITIES"."BRANDS"
    69         STORE AS TABLE xml_brands
    70         (
    71           (constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    72           ORGANIZATION INDEX
    73         )
    74  VARRAY docattributes."XMLDATA"."ENTITIES"."COMPANIES"
    75         STORE AS table xml_companies
    76         (
    77           (constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    78           ORGANIZATION INDEX
    79         )
    80  VARRAY docattributes."XMLDATA"."ENTITIES"."LOCATIONS"
    81         STORE AS table xml_locations
    82         (
    83           (constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    84           ORGANIZATION INDEX
    85         )
    86  VARRAY docattributes."XMLDATA"."ENTITIES"."MESSAGES"
    87         STORE AS table xml_messages
    88         (
    89           (constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    90           ORGANIZATION INDEX
    91         )
    92  VARRAY docattributes."XMLDATA"."ENTITIES"."PEOPLE"
    93         STORE AS table xml_people
    94         (
    95           (constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    96           ORGANIZATION INDEX
    97         )
    98  /
    Table altered.
    SQL>and here's the actual alter table statement source
    CREATE TABLE docattributes
      docid NUMBER,
      docdate DATE,
      statusid NUMBER
    TABLESPACE USERS
    ALTER TABLE docattributes ADD
      docattributes XMLTYPE
    XMLTYPE COLUMN docattributes
    XMLSCHEMA "cymfony_docattribs.xsd"
    ELEMENT "docattribs"
    VARRAY docattributes."XMLDATA"."BRANDGROUPS"."BG"
           STORE AS TABLE xml_brandgroups
             (CONSTRAINT pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
              ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."MESSAGEGROUPS"."MG"
           STORE AS TABLE xml_messagegroups
             (CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
             ORGANIZATION INDEX OVERFLOW
             VARRAY "BG"
             STORE AS TABLE XML_BRANDGROUP
               (CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
               ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."SOURCES"."SOURCE"
           STORE AS TABLE xml_sources
             (CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."CONTENTGROUPS"."PCG"
           STORE AS TABLE xml_contentgroups
             (CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
              ORGANIZATION INDEX OVERFLOW
              VARRAY "CG"
              STORE AS TABLE xml_contentgroup
                (CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
                ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."AUTHORS"."AUTHOR"
           STORE AS TABLE xml_authors
             (CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."THEMES"."THEME"
           STORE AS TABLE xml_themes
             (CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYSTS"
           STORE AS TABLE xml_analysts
             (constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYST_FIRMS"
           STORE AS TABLE xml_analystfirms
             (constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."BRANDS"
           STORE AS TABLE xml_brands
             (constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."COMPANIES"
           STORE AS table xml_companies
             (constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."LOCATIONS"
           STORE AS table xml_locations
             (constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."MESSAGES"
           STORE AS table xml_messages
             (constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."PEOPLE"
           STORE AS table xml_people
             (constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    /

  • Unable to create Table Bean advanced search criteria

    Hi,
    I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
    I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
    Here is the part of the page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
    <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
    <content>
    <oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
    <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
    </ui:corporateBranding>
    <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
    </ui:productBranding>
    <ui:contents>
    <oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
    <oa:simpleSearchPanel>
    <oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
    <ui:contents>
    <oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
    <oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
    <lovMappings>
    <lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
    <lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
    <lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
    </lovMappings>
    </oa:messageLovInput>
    <oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
    <oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
    </ui:contents>
    </oa:defaultSingleColumn>
    </oa:simpleSearchPanel>
    <oa:simpleSearchMappings>
    <oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
    <oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
    <oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
    <oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
    </oa:simpleSearchMappings>
    <ui:contents>
    <oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
    <ui:contents>
    <oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
    <ui:contents>
    <oa:rowLayout id="RowLayoutRegion2">
    <ui:contents>
    <oa:cellFormat id="CellFormatRegion2">
    <ui:contents>
    <oa:switcher id="MappedTableRegion">
    <ui:case name="ShowTable" id="ShowTable">
    <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
    <ui:contents>
    <oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
    <oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
    <oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
    I tried several ways :
    OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
    OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
    OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    if (oawebbeantb==null){                    
    throw new OAException("Error this is a test!", OAException.ERROR);
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    OR
    OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    Please someone help me on this..
    thanks,
    mallik

    1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
    HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
    Comment--
    textinput item created is a simple item without any VO instance , etc.
    There is no question of extended VO item, its a simple textinput item.
    value in this field is going to compare with the values in result table.
    2) Search mapping, only search item id and result item id need to set.
    I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
    Comment-- Perfect !!
    3) Item created in table , after you extended Vo, view instance and attribute needs to set.
    WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
    Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
    4) One more thing Parag, do i need to include where clause for extended VO item in view object??
    for ex:
    where attribute(this is extended vo item)=:4
    Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • ADF -how to create table binding when view object is no known until runtime

    I want to programmatically create a table binding to a view object where the view object name is not known until run-time. Then I will use a dynamic table to display it. Can anyone provide an example?

    I looked at example #9. It gets me closer to what I am looking for but not quite enough. In my case, I don't have (or want in this case) a pageDefinition with a pre-declared Iterator binding. I am converting an exsisting BC4J/Struts/JSP application. I would like to rewrite my reusable component tags to make use of ADF bindings and Faces. My tags are passed the ApplicationModule and ViewObject names as parameters, much like the old BC4J datatags. I do not want to go back and rewrite all of my pages from scratch using drag-and-drop declarative bindings with a pageDefinition for every page. I am hoping to have my rewritten tags handle everything programmatically based only on the ViewObject name passed at run-time.

Maybe you are looking for

  • MS Word Reports-how to use bookmarks

    I am using the labview report writing tools to produce an MS Word report. I have produced several headings, information strings, tables etc. I need to use "Word Insert Object.vi" to place certain objects such as excel charts at certain places in the

  • Smoothing factors for Vendor Evaluation for Services

    Hi Team, How to apply smoothing factors for Quality and Timeliness of services in External Services. Any help is appreciated. Thanks ANita.

  • Exception occurred - help me please

    Hi, I am compiling some applets from Eclipse, I arrived to my last applet and I tested it in another PC with a MSVM ver 1.1.4 after sign it with my security certificate. These applets work with Sun VM but when I open just my last applet with the vers

  • Sending alert emails from SharePoint

    Hi all, I'm having trouble sending emails from SP 2013. Can someone explain me in detail how to connect SP 2013 with Exchange 2010? The CRM and Exchange are located on two different servers. Vlastimir Sindelic

  • SysAcknowledgement from webservice

    Is there anyway to turn off requesting system acknowledgement? I am sending a SOAP message to external vendor using Receiver SOAP adapter in no-envelope, keep-headers mode using an asynchronous interface but I am getting back a system acknowledgement