How to define bc4j:bc4j:rootAppModuleDef in 10g
I write my uix file in 10g as following:
<?xml version="1.0" encoding="GBK"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
expressionLanguage="el">
<bc4j:registryDef>
<bc4j:rootAppModuleDef name="VPSAppModule"
definition="vps.model.VPSAppModule"
releaseMode="stateful">
</bc4j:rootAppModuleDef>
</bc4j:registryDef>
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
i meet the error message:
Warning(11,51): login.uix: Parsing error, line 11, column 51: Could not parse value of attribute: definition
i know it will work in jdev903.
Would you help me.thanks.
Hi Qinghua Guo,
The problem you hit is that you do not have a CPX file in your project with references to your module, or that your definition is incorrectly defined. It should be "definition=<name_of_cpx_file>.<name_of_datacontrol>", which in your case would look something like this:
"definition=<name_of_cpx_file>.<model_VPSAppModule>"
If you are building a new application I strongly suggest that you try to use the new ADF Data bindings instead of the old BC4J specific tags. Please refer to the ADF UIX tutorial on OTN for more information (http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html).
If you still want to use the old BC4J tags there is currently a bug filed against the CPX file in the JDev 10g Preview, which prevents you from manually creating a CPX file or adding a bc4j AppModule to an already existing CPX file. The workaround is to use the Data Control Palette to DAD a component on to your page. This will create a new cpx file in your project. You can then remove the component and continue develop your application with the old BC4j tags.
Thanks,
Jonas
JDev Team
Similar Messages
-
How to create the BC4J Package in JDev 10g (with OAF)?
Hi everbody.
in JDeveloper 10.1.3.1.0
How to create the BC4J Package for Client Object or Server Object?
In JDeveloper 9i Ext,
1. select the Project in Navigator
2. right-click and select "New Business Components Package... " from the context menu
3. "Business Component Package Wizard" page appears.
In JDeveloper 10, I cannot find "New Business Components Package..." from the context menu on the Project.Do you have the OA extension installed ?
If not then please follow the thread Oracle JDev 10g with OAExt for Release 12 now on Metalink
for more information in this regard.
--Saroj -
I´m wondering on how how to Intercept all bc4j exceptions...
There is a place where can I do that? I want to make a log of everything when an exception ocurrs beetwen server and client.
I can do it in client by overriding JUPanelBinding.reportException(Throwable e)
but on the server side I don´t know where should be the better place, you see...
Thank´s a lot
Adriano.okay, i've succeeded...
here is the source, in case some ever encounter the problem:
public class TimeoutGlassPane extends javax.swing.JComponent
java.awt.Component here=this;
/** Creates a new instance of TimeoutGlassPane */
public TimeoutGlassPane()
addMouseListener(new javax.swing.event.MouseInputAdapter()
public void mouseClicked(java.awt.event.MouseEvent e)
dispatch(e);
public void mousePressed(java.awt.event.MouseEvent e)
dispatch(e);
public void mouseReleased(java.awt.event.MouseEvent e)
dispatch(e);
void dispatch(java.awt.event.MouseEvent e)
java.awt.Component component = javax.swing.SwingUtilities.getDeepestComponentAt(((javax.swing.JRootPane)getParent()).getLayeredPane(),e.getX(), e.getY());
java.awt.event.MouseEvent mouseEvent=javax.swing.SwingUtilities.convertMouseEvent((java.awt.Component)(e.getSource()), e, component);
component.dispatchEvent(mouseEvent);
protected void paintComponent(java.awt.Graphics g) -
How to define tablespaces in Oracle 10g and how put tables on tablespaces
Hello,
I'm having trouble to define the structure of tablespaces and how to distribute the tables/indexes/lobs on these tablespaces.
Do you know some rules on how to define this?
What I have until now:
1) Put table indexes in separate tablespace
2) Put lobs in separate tablespace and use storage clause when defining the lob column. Not sure how many tablespaces to use, I have tables with millions of lobs and tables with just one lob (with row containing the lob).
3) Please fill more rules here ...
Thank you, Alex.Long story: I received database and schema creation scripts defined in Oracle 9i. I want to redesign the tablespaces number/storage and also to change the distribution of tables into tablespaces.
As an example I will show how tablespaces are created now. There is one tablespace for indexes BLUE_AUTO_INDX and one for each EXTENT MANAGEMENT of:
- 64K for BLOB , name BLUE_K064_BLOB
- 64K for tables , name K064_NTAB
- 128K for tables, name BLUE_K128_NTAB
- 512K for CLOB , name BLUE_K512_CLOB
- 4M for BLOB , name BLUE_M004_BLOB
- 64M for CLOB , name BLUE_M064_CLOB
- 8M for tables , name BLUE_M008_NTAB
- 1M for tables , name BLUE_M001_NTAB
- 256M for tables, name BLUE_M256_NTAB
Definition of each tablespace is like:
CREATE TABLESPACE BLUE_AUTO_INDX DATAFILE 'BLUE_AUTO_INDX01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_K064_BLOB DATAFILE 'BLUE_K064_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_K064_NTAB DATAFILE 'BLUE_K064_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 20M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_K128_NTAB DATAFILE 'BLUE_K128_NTAB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_K512_CLOB DATAFILE 'BLUE_K512_CLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 512K SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_M004_BLOB DATAFILE 'BLUE_M004_BLOB01.DBF' SIZE 20M REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 4M SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_M064_CLOB DATAFILE 'BLUE_M064_CLOB01.DBF' SIZE 400M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64M SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_M008_NTAB DATAFILE 'BLUE_M008_NTAB01.DBF' SIZE 200M REUSE AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 8M SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_M001_NTAB DATAFILE 'BLUE_M001_NTAB01.DBF' SIZE 100M REUSE AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M SEGMENT SPACE MANAGEMENT AUTO;
CREATE TABLESPACE BLUE_M256_NTAB DATAFILE 'BLUE_M256_NTAB01.DBF' SIZE 512M REUSE AUTOEXTEND ON NEXT 256M MAXSIZE UNLIMITED LOGGING ONLINE PERMANENT EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256M SEGMENT SPACE MANAGEMENT AUTO;
Does this structure of tablespaces ok? I mean if the logic of one tablespace for different EXTENT SIZEs looks ok? -
How can i migrate forms 3 to 10g???
how can i migrate forms 3 to 10g???
thanksYou will need to upgrade both your forms and youtr database.
There is a defined path for the migration of the forms 3 -> 4 -> 6i -> 10g
You'll find the doc all at the otn site: http://www.oracle.com/technology/products/forms/index.html -
How to define our own selection screen for logical database in abap-hr?
Hi Friends,
Can u please help me
How to define your own selection screens for logical database.
we use to do like(goto->attributes-HRReportcatagerious ).but How to desin using customer table like t599c, t599f and how to add to my logical database?
Thanks in advance
charancheck out this online help
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/dba65c35c111d1829f0000e829fbfe/frameset.htm
Regards
Raja -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
How to define namespace with one XSD using in two different DB-Locations ?
I'm not clear,How to define namespace, targetnamespace, schemaLocation or NoNamespaceSchemaLocation
when using one common schema.xsd-definition
in two different database-locations for exchange xml-documents?
when insert xml-document I've got an error ORA-30937
do you have an good exsample ?
thanks
Norbert
schema :
<xs:schema
xmlns="http://sourcehost.com/namespace"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:oraxdb="http://xmlns.oracle.com/xdb"
targetNamespace="http://sourcehost.com/namespace"
xml-document :
xmlns="http://Sourcehost.com/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:SchemaLocation="http://sourcehost.com/namespace http://desthost:8080/sys/schemas/PUBLIC/ADRESSEN.XSD">
SQL> insert into ADRESSEN values
(XMLType
(bfilename ( 'XMLIMPORT_DIR', 'adressen.xml')
, 0 )
--> error :
ORA-30937: No Schemadefinition for "SchemaLocation" (Namespace "http://www.w3.org/2001/XMLSchema-instance") in übergeordnetem Knoten "/ADRESSEN"Norbert
The schema location used to register the XML schema with XML DB does not need to be a valid URL for accessing the XML Schema
I can use the same URL , for instance
http://xmlns.example.scom/xsd/myXMLSchema.xsd
on machines dbserver1, and dbserver2. The only reason some people choose to use the hostname / portnumber convention is that this makes it possible to validate the XML Instance documents against the copy of the XML schema stored in the XML DB repository using an external tool like XMLSpy without have to add entries to XMLSpy's OASIS catalog files.
I am concerned about the message you are getting. That's not correct AFAICT but I'd need to see the complete XML Schema and Instance to be sure. -
How to define BPC architecture?
Hi All,
Iu2019m a BI and BPS consultant and Iu2019m doing a prototype for evaluating BPC for Sales Planning and I need some help.
Process flow as:
a. Extract sales from COPA (amount and quantities);
b. Copy Actual to Budget version;
c. Create new customers;
d. Delete old customers;
e. Calculate the seasonality of sales & and adjust budget;
f. Load & adjust prices
g. Load & adjust sales costs
h. Calculate Net Revenue
i. Calculate costs
My file format is as given below:
Account|Category|Time|RptCurrency|Entity|Customer|Product|Amount|Quantity
Questions:
1- There is a specific KF to load quantity or I should use another account? If so how do I load the unit measures?
2- I tried to load my file in u201CEuru201D but I received an error. The upload only finished OK when I changed the currency to u201CLCu201D. There is any trick?
3- In customer dimension, I add the sales org. attribute but it didnu2019t work out because a customer can have more than one sales org. There is any way to define a compound key for a dimension?
4- Where can I find relevant documentation about BPC?
Thanks for reading my post.
Regards, FredHi Shyam!
Thanks for your answer.
1. I followed your suggestion and load the data twice (one for amount and another for quantity) but I still have de unit measure problem (KG, TON, etc.). Any suggestion about how to handle this situation?
2. Yes is easy for me to convert LC in any other currency after the data load. But the problem is that I must load data in multiple currencies (EUR, USD)u2026
3. No it didnu2019t work out. Let me give you an example:
Customer Sales Org Distribution Channel
100001 AX01 1
100001 AX02 2
When I tried to process dimension I received the following message u201CMember ID must be uniqueu201D. Any other idea about how to define the compound key Customer and Sales Org?
Regards,
Frederico -
How to define Composite primary key for a Table
Hi ,
I am basically more into Java Programming , with little bit knowledge on Oracle as DataBase .so please excuse for my silly doubts .
Can anybody please tell me how to define a Composite Primary Key on a Table .
Thanks in advance .
Edited by: user672373773 on Sep 25, 2009 8:54 AMHere is an example right out of the Oracle documentation and the syntax for adding PK since you mention adding a composite PK.
Example creating composite index
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_indexing.htm#sthref594
Syntax for adding a PK (composite or not)
alter table oooooooo.tttttttt
add constraint tttttttt_PK
primary key (sample_column2,
sample_column1)
using index
tablespace IDXSPC
pctfree 05
initrans 04
maxtrans 08
storage (initial 16k
next 16k
maxextents 32
pctincrease 0);
-- dictionary management with restricted storage, change as desired.
HTH -- Mark D Powell -- -
How to delete a workbook in Discoverer 10g
Hello guys,
Does anyone know how to delete a workbook from Discoverer 10g? I created a report in Discoverer Plus as SYSADMIN and gave this to my user. My user only has access to Discoverer Viewer. He went and did a "Save As" on this report. Now when he loggs in to Viewer again, he sees two report. One created by SYSADMIN and the on he created. I want to delete the one he created. How do I go about doing this? Can I do it from Discoverer? If so, which one(Viewer or Plus)? Will I have to login as him to do this? Please advise.Hi,
I'm sorry for the question but you said:
You just login as the user into viewer and delete the workbookWhere do you see the option to delete from the viewer ?
To delete/ manage workbooks you need to login to either Plus or Desktop versions.
And yes you need to log in using the owner user name
Tamir -
How to define default element in SAP-Script?
Hi Guys,
How to define default element in SAP-Script?
Can you tell me to do this...is it possible in all the windows or only in main window?
Regards,
GURUHi,
Welcome to SDN
You can't post ur questions in other's threads .Open a new thread.
click on post new thread and open new thread.
Regards -
How to define a Custom Action in VC 6.0 ?
Hi all
I want to know how to define a custom action like for a check box UI Element, I want particular action to be performed when it is checked ? How can I achieve this in VC 6.0
Please feel free to ask me if my question is unclear ?
Regards
KapilHi,
Try adding an expression element on your form.
Go to the Expression control properties and in the Expression attribute enter
IF(@Selected==true,"X"," ")
@Selected is the checkbox. For your function call input use the expression element and not the checkbox.
Hope this helps. Let me know if it works.
Thanks. -
How to define ABC class field in the Customer Master Sales tab
HI All,
can any one let me know how to define the new ABC class in the Customer Master Sales tab like below.
u2013 A (> 6,000,000 )
u2013 B (> 1,000,000u20136,000,000 )
u2013 C (> 100,000u20132,000,000 )
u2013 D (< 100,000 )
can any one let me know how to define and path in IMG.
Thanks in advance.
kumar reddy.In my opinion, you don't have any such std table/view to update ABC Classification field. You might need to update relevant infostructure based on your requirement, such as sales, invoiced, etc..
Try with following, based on your requirement:
MC(A
SIS: Customer,Inc.Orders - Selection
MC+A
SIS: Customer Returns, Selection
MC+E
SIS: Customer, Sales - Selection
MC+I
SIS: Customer Credit Memos - Selec.
Regards
JP -
How to define variables in toad sql script editor - newbie
I have just pull out the script of a Function and want to run it on toad SQL editor.
I am little bit confused how to define the VARIABLEs here in toad SQL editor to run my script.
SELECT
NVL(SUM(debit), 0) - NVL(SUM(credit), 0)
INTO l_accountBalance
FROM
GLP_VoucherMaster vm
INNER JOIN GLP_VoucherDetail vd ON vm.GLP_VoucherMaster_ID = vd.GLP_VoucherMaster_ID
INNER JOIN GLP_ChartOFAccounts coa ON vd.GLP_ChartOfAccounts_ID = coa.GLP_ChartOfAccounts_ID
WHERE
vm.isActive = 'Y' AND vd.isActive = 'Y'
-- *** how to define variables in toad sql script editor ***
AND vm.voucherDate < p_cDate
AND coa.AccountCode LIKE p_accountCode || '%';
Thanks
w\Just prefix with a colon (:)
SELECT NVL (SUM (Debit), 0) - NVL (SUM (Credit), 0)
INTO L_accountbalance
FROM Glp_vouchermaster Vm
INNER JOIN
Glp_voucherdetail Vd
ON Vm.Glp_vouchermaster_id = Vd.Glp_vouchermaster_id
INNER JOIN
Glp_chartofaccounts Coa
ON Vd.Glp_chartofaccounts_id = Coa.Glp_chartofaccounts_id
WHERE Vm.Isactive = 'Y'
AND Vd.Isactive = 'Y'
AND Vm.Voucherdate < :P_cdate
AND Coa.Accountcode LIKE :P_accountcode || '%';
/:p -
How to run a report in form 10g
How to run a report in form 10g;
RUN_REPORT_OBJECT - check the on line help and there is a great paper on otn.oracle.com/products/forms and click on 9i papers (it will be relevant for 10g as well)>
Regards
Grant Ronald
Forms Product Management
Maybe you are looking for
-
Group Messaging - Can it be turned off?
Hi - I've been searching the net and have called to ask this question and am now posting this question as a last resort to try to resolve this. Is there any way to turn off group messaging so that when you reply to a pic message / joke for example y
-
Drag and drop a node in the line graph
Hello Flex experts, I am using line graph for the monthly data. I want to drag a node , maybe the february node down. How can i achieve it? My code as follows does not work. Will highly appreciate your help as it is urgent requirement. <?xml versio
-
Why does SQL Developer ignore col name format a15 ? col name format a15 col value format a15 select name,value from v$parameter where name ='statistics_level'Each column length seems to default to 80 charaters. I end up needing to use the hortizontal
-
I am enhancing a delivered datasource to include inventory shrinkage. The shrinkage is stored in the R/3 table KONP as a condition record. It could be a percentage or a price per unit. I created an InfoObject in BI for KONWA with the same data type a
-
Graphic resizing function has changed, now crops the image, why?
I must have, without knowing it, changed some setting. Until now whenever I bring in graphic, like a png or jpg, I can resize it by using the selection tool (arrow) and at one corner of the image I click, hold down shift/command (Mac) and then reduce