UIX Javascript Error with Date Picker

Hi all,
I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error:
Error: 'length' is null or not an object
I have found this in the Common2_2_20.js, which is part of the jslibs
function _accumulateNumber(
a0,
a1
var a2=a0.currIndex;
var a3=a2;
var a4=a0.parseString;
***var a5=a4.length;***
if(a5>a3+a1)
a5=a3+a1;
var a6=0;
while(a3<a5)
var a7=parseDigit(a4.charAt(a3));
if(!isNaN(a7))
a6*=10;
a6+=a7;
a3++;
else
break;
if(a2!=a3)
a0.currIndex=a3;
return a6;
else
return(void 0);
}With Firefox 1.5.0.4, I can get the date selector window to open, but when I select a date value, I get this javascript error:
a0.select() is not a function
I have found this in the Common2_2_20.js also. Here is the code where the error is occuring.
function _dfsv(
a0,
a1
if((a0==(void 0))||(a1==(void 0)))
return;
a1+=_getTimePortion(a0);
var a2=new Date(a1);
var a3=_getDateFieldFormat(a0);
var a4=a0.value;
var a1=a3.format(a2);
if(a0.value!=a1)
if(a0.onchange!=(void 0))
if(_agent.isIE)
a0.onpropertychange=function()
var a5=window.event;
if(a5.propertyName=='value')
a0.onpropertychange=function(){};
a0.onchange(a5);
a0.value=a1;
else
a0.value=a1;
var a5=new Object();
a5.type='change';
a5.target=a0;
a0.onchange(a5);
else
a0.value=a1;
***a0.select();****
a0.focus();
}I am able to use the date picker on other pages and even different parts of this page. The date search field is of type dateField.and is part of a switcher. Does anyone have any ideas as to why this is occuring or how I can work around it? Thanks in advance. I really appreciate all of your help.
Susan

Thanks for the reply. As a matter of fact, in my case the error happens in a UIX page generated by JHeadstart. I did some JavaScript debugging using the FireBug Firefox entension and I found that it is some JHeadstart JavaScript that causes this problem.
The JHeadstart JavaScript passes on an array of input elements to the AFD JavaScript function and the problem arises when the select() method is called on the array, rather than an input element in the array.
I will try to solve my issue by modifying the JHeadstart JavaScript code. Please see the JHeadstart forum somewhere in the near future for my post(s) about this :-)
Thanks, Wouter

Similar Messages

  • Javascript Error with UIX Page

    Hi all,
    I am using JHeadstart 10.1.2.2.32 with JDeveloper 10.1.2.1.0 to develop UIX pages. I have run into the following problem with one of my UIX pages. We have a page with a table view which uses sortable headers. In certain situations when using the sortable headers in IE 6.0.2900.2180, a javascript error appears. This does not occur using Firefox.
    It says:
    Line: 2894
    Char: 1
    Error: 'type' is null or not an object
    Code: 0
    URL: (the URL of the page)
    I have figured out that the error is occuring in the Common2_2_20.js file on the following line, which is part of the function _multivalidate:
    var a7 = a6.type; The error only occurs in the following situation. If the user has just logged into the system and certain rows in the table are read-only and others are editable. If you click on any of the sortable headers, it will sort fine the first time. However, if you click on the sortable header again, the javascript error appears. It only happens if you click on the sortable headers twice in a row.
    I have tried taking out the line of code, but then I can not sort the headers at all.
    I read in the forum that the error can occur because of the way IE handles the compression of javascript files. We changed the setting on the app server to not compress javascript files. I then undeployed and redeployed the application. However the same error is still occuring.
    If you need any more information, please let me know. Thanks in advance.
    Susan

    We found out that we had a custom script on the page that was interfering with script in the Common2_2_20.js. By moving the script to the end of our page, it solved our problem.
    Susan

  • Still getting Javascript error with new version of UIX

    I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
    Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
    It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
    It's working fine with old version.
    We had used proper cabo directory. These files are in sync with the version of the runtime
    Here is our finding
    I found a error in _updateFormActions() function from MarlinCoreb2.js file.
    In this function it is giving error at
    if(a8!=a6)
    a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
    working properly without any javascript error.
    This problem is a bit tricky....
    Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
    and it also works on the Mozilla Firefox browser.
    Can any one advice on the same?
    Thanks in advance
    Anindya

    I answered this question on a different thread.
    Do NOT post the same question multiple times. If you require more complete or prompt assistance than you receive on these forums, contact Oracle Support.
    -brian

  • Javascript error with new UIX framework

    Hi,
    I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
    Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
    It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
    It's working fine with old version.
    Any help is much appreciated.
    Thanks and Regards,
    Anindya

    Thanks Brian for your prompt reply
    We had used proper cabo directory. To confirm it we have done it once again.But we're still getting the same error.
    here is our finding
    I found a error in _updateFormActions() function from MarlinCoreb2.js file. 
    In this function it is giving error at
    if(a8!=a6)
    a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
    working properly without any javascript error.
    This problem is a bit tricky....
    Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
    and it also works on the Mozilla Firefox browser.
    can you please advice is there any solution
    Thanks in advance
    Anindya

  • Problem with Date Picker and wwv_flow_item.date_popup()

    I have a Report based on the HTMLDB How-To “Build Tabular Forms for Multi-Row Operations”
    This is my code:
    select
    X.RRIT_UID,
    X.DOS,
    X.CPT_CODE,
    X.MOD,
    X.DX_CODE,
    X.CHARGES,
    X.UNITS
    from
    (select
    htmldb_item.text(1,RRIT_UID) RRIT_UID,
    wwv_flow_item.date_popup(2,null,RRIT_DATE_OF_SERVICE) DOS,
    htmldb_item.text(4,RRIT_SUBMIT_SERVICE_CODE,6) CPT_CODE,
    htmldb_item.text(5,RRIT_SUBMIT_MODIFIER,3) MOD,
    htmldb_item.text(6,RRIT_ATT_DIAG_CODE,6) DX_CODE,
    htmldb_item.text(7,RRIT_BILLED_CHARGES,9) CHARGES,
    htmldb_item.text(8,RRIT_UNITS,3) UNITS
    from
    RRIT_REPRICE_ITEM
    where
    RRRR_UID = :P5_RRRR_UID
    union all
    select
    htmldb_item.text(1,null) RRIT_UID,
    wwv_flow_item.date_popup(2,null,null) DOS,
    htmldb_item.text(4,null,6) CPT_CODE,
    htmldb_item.text(5,null,3) MOD,
    htmldb_item.text(6,null,6) DX_CODE,
    htmldb_item.text(7,null,9) CHARGES,
    htmldb_item.text(8,null,3) UNITS
    from
    dual)
    X
    My problem is when I run the page and select a date from the Pop-Up calendar I get this error:
    Line 10
    Error: ‘opener.document.forms.0.f02.0’ is null or not an object
    I know it is something to do with data formats and the fact that I do not fully understand the use of wwv_flow_item.date_popup().

    Hi DK,
    It is a WD Java application, Backend is ABAP (MM module).
    The UI is input field, where the context attribute type is Date, So its been changed to Date Picker.
    The problem is when the user runs the WD application in Portal, The calendar format is being changed for some users. That is for few users the Week starts with Monday and for few users the week starts with Sunday.
    I need all the users to have Monday as the First day of the week.
    Please let me know, what will be solution for this.
    Since I haven't done anything in regard to date, it is a simple Date format.
    Thanks & Regards,
    Palani

  • Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files

    Entire morning wasted.
    Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly.  A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors.  Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
    Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred.  Click 'close' and it appears again...over and over.  Our sites are all unable to open in DW because of this.  It worked fine in earlier versions of DW, including 2014.  It's only 2014.1 that broke everything.
    The fix for this:
    1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
    2. (and the part that's new): The MMDocumentTypes file is located in  C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
    I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
    Chris Lee

    Hi Ivan,
    I'm having that exact same problem now...in addition to that JavaScript error message coming back.  I submitted a bug report last week about this and received the following reply:
    Hi Chris,
    We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
    We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
    Please let us know if you need help regarding anything else. We will be more than happy to help you.
    Thanks,
    Arindam Ghosh
    Dreamweaver Team,
    Adobe Systems
    Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
    Chris

  • JavaScript error with CourseBuilder

    Hi!
    I intend to use CourseBuilder for a simple test.
    I've done the CourseBuilder tutorial and everything went
    fine.
    Two weeks later I tried to implement an interaction in my
    page... and got an error message after I had clicked on the action
    manager tab:
    "Action manager data was invalid. “ The next message
    was about a JavaScript-error in onLoad (coursebuilder
    interaction.htm).
    It was not possible any more to edit the interaction in any
    site (also not in the tutorial test site...).
    I already have de-/re-installed all extension (and only try
    CourseBuilder alone), de-/re-installed dreamweaver, deleted all
    support files, build a new test site...
    I'm confused about it - but I need to deliver the test pretty
    soon.
    Maybe I did a basic mistake?
    Your help would be appreciated very much
    Kind Regards
    STH

    It's still very strange. I really have tried quiet a lot of
    options but I still can't start the action manager in
    CourseBuilder. In the last weeks I googled a lot. There are some
    mistery reports that CourseBuilder stoped to work suddenly. But
    eighter is was solved by a new installation or there was no answer.
    Finally I made it with forms and layers in dreamweaver
    directly.
    Even though you have to do more editing...
    at least you are not sitting in front of a black box without
    knowing what's going on.
    STH

  • JavaScript error with Hotmail (9500)

    Hello All, I am hoping one of you 9500 experts maybe able to help me out with this JavaScript error that I get when accessing hotmail.com site. Do I need to install some java plugin? If so, where can i get it. I am running 5.22 firmware. I will appreicate your help. Thx.

    as sister_bliss has mentioned - its not to do with the phone, its to do with the way the webpage itself works.
    its up to microsoft to change the way hotmail works in order for you to get it on your phone in this manner. as for windows live mail - its still in beta right now, so this is your opportunity to let them know you would like this feature. they have been uncommonly receptive with this project.
    also, this is a thread on the 9500, not the e61. either way, the answer would be the same.
    one final note, you are aware the e61 is a blackberry connect device? if you have a seperate account you can pick up with blackberry, you should be able to do it with this phone.

  • Problem with Date Picker Item

    Hello,
    I'm using APEX 4.2.2.00.11 and I have a problem with the Date Picker. I can't select any day of the second week of the month (it happens for all months).
    Someone know if there are any reason (and how can I solve it) or is an APEX bug?
    Thank you!

    Hi Chimanzee,
    try for : source value
    to_char(sysdate-7,'DD/MM/RRRR')
    hope this helps.
    Leo

  • Error with Date Variable

    I am trying to create a process to import to import data using a date variable but when I use the date to get the data from SQL server I am getting a error.
    I have tried setting the variable as both a string and date - Select
    CONVERT(varchar(10), DATEADD(day, -1, GETDATE()), 101) and map it to the Variable. The date variable is working. It’s correct in the Watch and I am able to use the variable to get data from an Open Link database (row_date = ?)
    in the OLE DB Source query. I get a "Invalid character value for cast specification"
    error when doing the same thing to get data from an SQL Server OLE DB Source
    where the date field is DateTime (row_date = ?). I have tried making the variable as a date and string but get the same error regardless. To make it work, I have to duplicate the date
    calculation in the query - HAVING (row_date = CONVERT(varchar(10), DATEADD(day, -1, GETDATE()), 101) ) which works fine.
    HAVING (row_date = ?) gives the error with the Parameter mapped to the variable.
    Any suggestions as to how to make this work correctly?

    May I suggest to use style 111 instead of 101?
    From experience, yyyy/mm/dd date format will work most of the time for date conversion and
    It's due to different date format from mm/dd/yyyy to the system date format that SQL Server is using.
    Hope this helps.
    ~ J.

  • Report data binding error with date values

    I have CF7.02 with a Microsoft Visual FoxPro 9.0 SP1 Database
    that I connect to using ODBC (FoxPro Driver 6.01.8630.01). I send
    my sql results to a CF Report Builder 7.02 PDF report and it works
    fine. If I dump the date values before I change them, they look
    like the following: {ts '2004-12-20 00:00:00'} . However I have
    tried a number of ways of manipulating the date before sending it
    to the report, but I continue to get errors. I don't care what
    format they go to the report in, since the report reformats them
    anyway. I checked to make sure that none of the dates were null.
    For example <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) /> yields values in the
    {ts '2004-12-20 00:00:00'} format when I dump the query results to
    screen. Where:
    ldCFPrcInputDate = 12/20/2004
    CreateODBCDateTime(ldCFPrcInputDate) = {ts '2004-12-20
    00:00:00'}
    ReportQuery.PrcInputDate[lcCurRow] = {ts '2004-12-20
    00:00:00'}
    I get the error:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    coldfusion.runtime.OleDateTime -> Date
    Not using the CreateODBCDate function for example <cfset
    ReportQuery.PrcInputDate[lcCurRow] = #ldCFPrcInputDate# /> I
    get:
    Report data binding error Unable to get value for field
    'prcinputdate' of class 'java.util.Date'.
    java.lang.String -> Date
    Here are some of my failed attempts:
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDateTime(#ldCFPrcInputDate#) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    #ldCFPrcInputDate# />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    DateFormat(CreateODBCDate(#ldCFPrcInputDate#),'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm/dd/yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(DateFormat(#ldCFPrcInputDate#,'mm-dd-yyyy') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    Trim(createODBCDateTime(ldtmpdate)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate({05-07-2006}) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('{05-07-2006}') />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(05/07/2006) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate('05/07/2006')/>
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    CreateODBCDate(parseDateTime('05/07/2006')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime(05/07/2006)) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] =
    parseDateTime(CreateODBCDateTime('#ldCFPrcInputDate#')) />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05-07-2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '{05/07/2006}'
    />
    <cfset ReportQuery.PrcInputDate[lcCurRow] = '05/07/2006'
    />
    I also did some googling without success. Any help is
    appreciated.

    You may want to make sure that the column is not included in
    the query variable list in your report cfr file.
    The newest version of the Report Builder, which may be
    installed on the server, no longer tolerates vars appearing in that
    list of they are not in the query itselft.

  • Error with data source creation

    Error during Data Source creation: weblogic.common.ResourceException: DataSource
    (jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi)
    (oraclePool)
    I have already created oraclePool with the following properties:
    Name : oraclePool
    URL : jdbc:weblogic:oracle
    Driver: weblogic.jdbc.oci.Driver
    Properties:
    user=system
    server=myserver
    In weblogic-ejb-jar.xml file:
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/GangsterDataSource</res-ref-name>
              <jndi-name>jdbc.GangsterDB</jndi-name>
              </resource-description>
         </reference-descriptor>
    In ejb-jar.xml file:
    <resource-ref>
              <res-ref-name>jdbc/GangsterDataSource</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
    Do I need to make changes in my Entity Bean files? I have made a datasource called
    GangsterDB. I do not know the reason for this error. Please do let me know.
    Error during Data Source creation: weblogic.common.ResourceException: DataSource
    (jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi)
    (oraclePool)
    Thank you
    Ronak Parekh

    I am still getting the same error:
    Unable to deploy EJB: OrganizationEJB from sempire_bc.jar
    The DataSource with the JNDI name: OrganizationDB can not be located. Please ensure
    that the DataSource has been deployed
    successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    In my console, I have created a connection pool 'oraclePool' and 3 datasource
    'jdbc.GangsterDB', 'jdbc.OrganizationDB' and
    'jdbc.JobDB'. I have also specified the target server and there seems to be no
    error. I have checked 'Monitor All Connection
    Pools' and oraclePool is running. I still do not understand the problem that I
    am getting and have no clue how to solve it.
    Thank you
    Ronak Parekh
    My weblogic-ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
    'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-type>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-type>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <jndi-name>jdbc.GangsterDB</jndi-name>
              </resource-description>
         </reference-descriptor>
              <local-jndi-name>jdbc.GangsterDB</local-jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-type>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-type>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <jndi-name>jdbc.OrganizationDB</jndi-name>
              </resource-description>
              </reference-descriptor>
              <local-jndi-name>jdbc.OrganizationDB</local-jndi-name>
         </weblogic-enterprise-bean>
         <weblogic-enterprise-bean>
              <ejb-name>JobEJB</ejb-name>
              <entity-descriptor>
                   <persistence>
                        <persistence-type>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                             <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                        </persistence-type>
                        <persistence-use>
                             <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                             <type-version>6.0</type-version>
                        </persistence-use>
                   </persistence>
              </entity-descriptor>
              <reference-descriptor>
              <resource-description>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <jndi-name>jdbc.JobDB</jndi-name>
              </resource-description>
         </reference-descriptor>
              <local-jndi-name>jdbc.JobDB</local-jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    My ejb-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <display-name>Business Component CMP 2.0</display-name>
         <enterprise-beans>
    <entity>
              <display-name>Gangster Entity Bean</display-name>
         <ejb-name>GangsterEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.GangsterHome</local-home>
    <local>com.sempire.builder.business_component.Gangster</local>
    <ejb-class>com.sempire.builder.business_component.GangsterBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
         <abstract-schema-name>GangsterEJB</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>nickname</field-name></cmp-field>
    <cmp-field><field-name>badness</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <resource-ref>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
                   <query>
                        <query-method>
                             <method-name>findAll</method-name>
                             <method-params></method-params>
                        </query-method>
                        <ejb-ql>
                             <![CDATA[SELECT OBJECT(a) FROM GangsterEJB AS a]]>
                        </ejb-ql>
                   </query>
              </entity>
    <entity>
         <display-name>Organization Entity Bean</display-name>
    <ejb-name>OrganizationEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.OrganizationHome</local-home>
    <local>com.sempire.builder.business_component.Organization</local>
    <ejb-class>com.sempire.builder.business_component.OrganizationBean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>OrganizationEJB</abstract-schema-name>
    <cmp-field><field-name>iD</field-name></cmp-field>
         <cmp-field><field-name>name</field-name></cmp-field>
                   <cmp-field><field-name>description</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <resource-ref>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
                   <query>
                        <query-method>
                             <method-name>findAll</method-name>
                             <method-params></method-params>
                        </query-method>
                        <ejb-ql>
                             <![CDATA[SELECT OBJECT(a) FROM OrganizationEJB AS a]]>
                        </ejb-ql>
                   </query>
              </entity>
    <entity>
    <display-name>Job Entity Bean</display-name>
    <ejb-name>JobEJB</ejb-name>
    <local-home>com.sempire.builder.business_component.JobHome</local-home>
    <local>com.sempire.builder.business_component.Job</local>
    <ejb-class>com.sempire.builder.business_component.JobBean</ejb-class>
    <persistence-type>Container</persistence-type>
                   <prim-key-class>java.lang.Integer</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>JobEJB</abstract-schema-name>
                   <cmp-field><field-name>iD</field-name></cmp-field>
    <cmp-field><field-name>name</field-name></cmp-field>
    <cmp-field><field-name>score</field-name></cmp-field>
                   <cmp-field><field-name>setupCost</field-name></cmp-field>
                   <primkey-field>iD</primkey-field>
                   <resource-ref>
              <res-ref-name>jdbc/oraclePool</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              </resource-ref>
                   <query>
                        <query-method>
                             <method-name>findAll</method-name>
                             <method-params></method-params>
                        </query-method>
                        <ejb-ql>
                             <![CDATA[SELECT OBJECT(a) FROM JobEJB AS a]]>
                        </ejb-ql>
                   </query>
              </entity>
         </enterprise-beans>
         <relationships>
    <ejb-relation>
    <ejb-relation-name>organization-memberGangsters</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>organization---memberGangsters</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>OrganizationEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>memberGangsters</cmr-field-name>
         <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>memberGangsters---organization</ejb-relationship-role-name>
    <multiplicity>Many</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    <cmr-field>
         <cmr-field-name>organization</cmr-field-name>
    </cmr-field>
    </ejb-relationship-role>
    </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>gangsters-jobs</ejb-relation-name>
    <ejb-relationship-role>
         <ejb-relationship-role-name>gangsters---jobs</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>GangsterEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>jobs</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
                   <ejb-relationship-role>
         <ejb-relationship-role-name>jobs---gangsters</ejb-relationship-role-name>
         <multiplicity>Many</multiplicity>
         <relationship-role-source>
              <ejb-name>JobEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>gangsters</cmr-field-name>
              <cmr-field-type>java.util.Collection</cmr-field-type>
         </cmr-field>
    </ejb-relationship-role>
              </ejb-relation>
    <ejb-relation>
    <ejb-relation-name>organization-theBoss</ejb-relation-name>
         <ejb-relationship-role>
         <ejb-relationship-role-name>organization---theBoss</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
         <relationship-role-source>
              <ejb-name>OrganizationEJB</ejb-name>
         </relationship-role-source>
         <cmr-field>
              <cmr-field-name>theBoss</cmr-field-name>
                   </cmr-field>
              </ejb-relationship-role>
                   <ejb-relationship-role>
                        <ejb-relationship-role-name>theBoss---organization</ejb-relationship-role-name>
         <multiplicity>One</multiplicity>
    <relationship-role-source>
         <ejb-name>GangsterEJB</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
         </relationships>
         <assembly-descriptor>
         <container-transaction>
         <method>
              <ejb-name>GangsterEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>OrganizationEJB</ejb-name>
              <method-name>*</method-name>
         </method>
         <method>
              <ejb-name>JobEJB</ejb-name>
              <method-name>*</method-name>
                   </method>
                   <trans-attribute>Required</trans-attribute>
              </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    My weblogic-cmp-rdbms-jar.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-rdbms-jar PUBLIC
    '-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN'
    'http://www.bea.com/servers/wls600/dtd/weblogic-rdbms20-persistence-600.dtd'>
    <weblogic-rdbms-jar>
         <weblogic-rdbms-bean>
              <ejb-name>GangsterEJB</ejb-name>
              <data-source-name>GangsterDB</data-source-name>
              <table-name>GANGSTER</table-name>
              <field-map>
         <cmp-field>iD</cmp-field>
         <dbms-column>ID</dbms-column>
         </field-map>
         <field-map>
         <cmp-field>name</cmp-field>
         <dbms-column>NAME</dbms-column>
         </field-map>
              <field-map>
                   <cmp-field>nickname</cmp-field>
         <dbms-column>NICKNAME</dbms-column>
         </field-map>
         <field-map>
         <cmp-field>badness</cmp-field>
         <dbms-column>BADNESS</dbms-column>
              </field-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>OrganizationEJB</ejb-name>
              <data-source-name>OrganizationDB</data-source-name>
              <table-name>ORGANIZATION</table-name>
              <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>description</cmp-field>
                   <dbms-column>DESCRIPTION</dbms-column>
              </field-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-bean>
              <ejb-name>JobEJB</ejb-name>
              <data-source-name>JobDB</data-source-name>
              <table-name>JOB</table-name>
         <field-map>
                   <cmp-field>iD</cmp-field>
                   <dbms-column>ID</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>name</cmp-field>
                   <dbms-column>NAME</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>score</cmp-field>
                   <dbms-column>SCORE</dbms-column>
              </field-map>
              <field-map>
                   <cmp-field>setupCost</cmp-field>
                   <dbms-column>SETUPCOST</dbms-column>
              </field-map>
              <weblogic-query>
                   <query-method>
                        <method-name>findAll</method-name>
                        <method-params></method-params>
                   </query-method>
              </weblogic-query>
         </weblogic-rdbms-bean>
         <weblogic-rdbms-relation>
         <relation-name>organization-memberGangsters</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>memberGangsters---organization</relationship-role-name>
              <column-map>
              <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
         </column-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>gangsters-jobs</relation-name>
         <table-name>JOBS</table-name>
         <weblogic-relationship-role>
              <relationship-role-name>gangsters---jobs</relationship-role-name>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
         </column-map>
         </weblogic-relationship-role>
         <weblogic-relationship-role>
              <relationship-role-name>jobs---gangsters</relationship-role-name>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
         </column-map>
    </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    <weblogic-rdbms-relation>
         <relation-name>organization-theBoss</relation-name>
         <weblogic-relationship-role>
              <relationship-role-name>organization---theBoss</relationship-role-name>
              <column-map>
                   <foreign-key-column>iD</foreign-key-column>
                   <key-column>ID</key-column>
         </column-map>
         </weblogic-relationship-role>
    </weblogic-rdbms-relation>
    </weblogic-rdbms-jar>

  • Cs6 dreamweaver - javascript error with Clean up Word HTML . . .

    Very recently upgraded to CS6 from CS5.5. Every now and then, I have to run the Clean up Word HTML Commands function for a client. Never had a problem before. This time, I got this message:
    While executing onClick in Clean Up Word HTML.htm, the following JavaScript error(s) occurred:
    At line 2012 of the "Macintosh HD:Applications:Adobe Dreamweaver CS6:Configuration:commans:Clean Up Word HTML.js"
    The object is not currently contained in a document.
    I searched through the Discussions and found refernce to deleting MacFileCache-###.dat file in the Library Configuration folder for Dreamweaver CS 6. Did that, same thing. It also mentioned deleted the entire Configuration folder. Same result.
    I called tech support and was directed to go through the (count 'em) 14 steps on the Troubleshoot JavaScript page -- http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html. Still no luck.
    Anyone else out there having this problem? What am I missing? Help!
    Thanks, Tim

    Hi SnakEyes02,
    That could be. Let me know when you have grabbed these. They were Word docs that I saved the same way I always have done (Save As, Format: Web Page (.htm)), creating .htm files that work in CS5.5 Dreamweaver and earlier versions.
    http://test.babysneaks.com/WordHTML1.htm
    http://test.babysneaks.com/WordHTML2.htm
    Thanks for your help. Tim

  • Critical error with data load

    Hello Gurus,
    I was trying to load data ffrom ODS to a Cube using DTP when I got the following error:
    Exceptions in Substep: End Routine - RSBK231
    The database returned a value containing an error
    Do you know what this error message means. It refers to a end routine and I had no syntaxt errors with the endroutine. It also worked fine with previous data loads.
    Any help in this regards is appreciated.
    Thanks
    Rishi

    Hi Rishi,
    There might be some syntactical error in your end routine e.g division by a zero. This is just an example. Try running the DTP in Debug mode (you will get the option under execute tab of DTP) and see what the end routine code is doing. There might be some exception which you need to take care of.
    Thanks..
    Shambhu

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

Maybe you are looking for

  • My purchases do not show up on my computor

    i am using my apple ID for myself and my wife.  On her computor it shows that i have purchased certain audiobooks, but those do not show up on her computor.  i have chaecked and have enabled automatic downloads.  i have also tried repurchaseing,, but

  • Job cancelled after system exception ERROR_MESSAGE

    Hello all I am facing the following issue. A custom report is schedulled and run as backround job. The report should create a txt file on server. The report works fine in foreground, but as backround job ends up cancelled all the time. The job log: J

  • How do i get music videos to play like the music does on my ipad, for example one right after another and shuffle

    I need to know how I can get the music videos on my IPad to play like the music does.  What I mean id setting up a playlist, shuffle, and have them play one right after another instead of going back to the main screen.

  • How can I clear the data from my iphone without powering it on?

    So, in an attempt to avoid a $50 charge at the apple store, I decided to replace my screen myself. I've done this plenty of times before without any incident, but this time, some how the battery terminal on the logic board came off with the battery h

  • MBP Clamshell Mode via DVI LG Monitor

    Hi I know this one has been done to death but....... I have a MBP 2.2SR and yesterday I got a LG 22" monitor. Originally I tried to connect via DVI, usual process Ensure MBP is connected to the mains Connect Display Ensure Keyboard is working Close L