ADF UIX table example: oracle.cabo.doc.* missing
Hi,
I'm working through the Oracle ADF UIX Developer's Guide and want to try the ADF UIX Table Example. Unfortunately I don't seem to have the classes which are referred to in that example (located in oracle.cabo.doc.demo.table..), which makes it difficult for me to follow and understand the example.
I've found a reply to a post to this forum of 26-nov-2002 where it is stated that these files were at that moment not yet available.
My question is: have these files become available in the meantime. If so, wher can I find them?
Regards,
Anton
Clicking on a sortable header generates a sort event. You need to specify a handler for this event. The error you see is a result of the application not knowing how to handle the sort event. On your page you should include something like the following to handle the sort event:
<handlers>
<event name="sort">
<method class="myPackage.myClass" method="doMySort"/>
</event>
</handlers>
For more details, see the "Sortable Column Headers" section in this chapter of the ADF UIX Dev Guide: http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.Sort/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Ctables%7Ehtml/
Similar Messages
-
Oracle.cabo.doc in UIX Demos - question to oracle support
Hallo,
Where can i found the oracle.cabo.doc.* classes used in the UIX Demo Bundle ?
( download link : http://technet.oracle.com/sample_code/products/jdev/uix/uixdemos.zip )
regards, ManolisManolis: The UIX demo class files are not currently available --we have not completed the work required to externalize this.
Thanks,
Ken -
Where can I find the packages oracle.cabo.doc.*
Hi,
I wanted to execute the uixdemos, but I couldn't. The error messages are "Couldn't found oracle.cabo.doc.demo.HGridDemo" and so on. I've tried to search for them but I couldn't find anythings. Could you please tell me where I should looking for?
Many thanks,
VKWThe link for the UIX-demo is: http://otn.oracle.com/sample_code/products/jdev/content.html.
Go to zip from the UIX (UIX Demo Bundle ).
I'll greatly appreciate hearing of your message about the new uixdemo-version. My email address is: "[email protected]"
Many thanks.
VKW -
Creating a LINK in ADF UIX table
Dear sirs...
is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
i have seen this in a JSP page, but uix????
best regardsDear sirs...
is it possible to create a link for each row in an adf uix table? the link selects the row and forwards to another page.
i have seen this in a JSP page, but uix????
best regards -
URGENT: Deployment of ADF UIX application to Oracle App Server 10g
Hi,
Please let me know of documentation of how to deploy an ADF UIX application developed using Jdeveloper9.0.5.2 to Oracle Application Server 10g.
I have already created an WAR and EAR deployment profile. and also an ORacle APp server connection from the connections tab in Jdeveloper.
Thanks a lot.Have a look at the JDeveloper online help (F1) there is a complete chapter about deploying:
http://helponline.oracle.com/jdeveloper/help/state/content/destination.2%7E9%7E1%7E6%7E/navSetId.jdeveloper/oldNavId.0/navId.0/oldNavSetId.jdeveloper/
Basically you need to deploy the ADF runtime libraries (use the ADF Runtime Installer), and then deploy your WAR. -
How to create new row in Adf uix table
hi,
I am using Jdev 10.1.2 , Can any body tell me how to insert new row in table ?
ThanxHi,
try creating a createInsert action.
Regards,
Koen Verhulst -
Oracle ADF UIX tutorial wont commit changes
I'm following the tutorial "Developing Applications with Oracle ADF UIX"
http://otn.oracle.com/obe/obe9051jdev/uixTutorial/lesson_UIX.htm
The tutorial works apart from if I create/update or delete a record its not commited to the database.
Where I'm I going wrong?
Thanks for any help.create/update should be commited to database due to method "Commit" that you drop into commit data action, and delete won't be commited, you should additionaly create "Commit" button on your page or use another way to commit.
-
Oracle.cabo.ui ----HELP
Hi there,
I have downloaded and example program to run in jdeveloper and on running it I get the followin errorrs:
Error(292,5): MessageData not found in class toystore.fwk.controller.ToyStoreDataForwardAction
Error(13,48): InitModelListener not found in class toystore.fwk.controller.ToyStoreInitModelListener
Error(19,29): UIXRequestEvent not found in class toystore.fwk.controller.ToyStoreInitModelListene
These errors seem to corresponds to the following lines:
import oracle.cabo.ui.data.MessageData;
import oracle.cabo.adf.rt.InitModelListener;
import oracle.cabo.servlet.event.UIXRequestEvent;
If anyone has any ideas on how to fix these it would be greatly appreciatedGuys,
I remove the ToyStoreInitModelListener class and it run.I didn't have problems in the tests.
Ailton -
Data Binding in ADF UIX example trouble
Two related questions:
From the help example 3. Data Binding in ADF UIX example trouble in JDeveloper on UIX. If this worked I was going to run a small java class that captures the login and passes it as a messagebox with a Welcome login name on the first page, but I can't get past the example and path problems.
From the example..."
package yourpackage;
import java.util.Date;
public class CurrentDateBean
public CurrentDateBean() { }
public String getTime()
return (new Date()).toString();
Now, we want to change the page so it uses getTime(). We need to do three things: Tell UIX to data bind the text attribute. Add a <dataScope> to the page to provide data to the content. Write a small "data provider" in Java that can access the bean. First, we'll data bind "text": <text xmlns="http://xmlns.oracle.com/uix/ui"
text="${uix.data.currentDate.time}"/>The example has one small change. The value is changed to ${uix.data.currentDate.time}, which is an expression that defines the data. This is shorthand for "get the time property from currentDate." If you tried running this example, you'd see nothing. That iss because we haven't given currentDate to the page, so the databinding failed, and the "text" is left to null. We do this by adding <dataScope> to the page: <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
Q#1?? Trying to follow the demo. The method class and method name do not seem to match the names in the above class from the demo. Am I missing a point here, please help.
<data name="currentDate">
<method class="yourpackage.DataDemo" method="getCurrentDate"/>
</data>
</provider>
<contents>
<text text="${uix.data.currentDate.time}"/>
</contents>
</dataScope>
Q#2?? When I try and apply the demo class to my home.uix XML file with
"<?xml version = '1.0' encoding = 'windows-1252'?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<!-- start Add DataProviders (<data> elements) here -->
<data name="currentDate">
<method class="us.mn.state.dot.apptrack.security.CurrentDateBean" method="getTime()"/>
</data>
<!-- end Add DataProviders (<data> elements) here -->
</provider>
<contents>
<text text="${uix.data.currentDate.time}"/>
<document>
<metaContainer>"
I get the following, and I don't know how to make the UIX XML accept the correct path, please help:
�file:/C:/JDeveloper905p/jdev/mywork/ProjTrack/AppTrack/ViewController/public_html/home.uix: Parsing error, line 12, column 97: Could not find class us.mn.state.dot.apptrack.security.CurrentDateBeanfor question 1 the name of the class CurrentDateBean
actually has nothing to do with the el expression
uix.data.currentDate.time. The currentDate part of the
el expression is coming from the method data provider part
of your page:
<data name="currentDate">
<method class="yourpackage.DataDemo"
method="getCurrentDate"/>
</data>
so if you changed the name of the data provider to "foo":
<data name="foo">
<method class="yourpackage.DataDemo"
method="getCurrentDate"/>
</data>
your el would look like this:
uix.data.foo.time
by the way the uix.data part tells UIX to look for
a <data> element define in the <provider> section of
your dataScope.
For question #2, do you have the java file
us.mn.state.dot.apptrack.security.CurrentDateBean on
your classpath and is it compiled? You will get that
warning if it is not on your classpath.
Also you are incorrectly interpreting the example. What
you are doing is trying to reference the actual bean
object and its getTime() method. What you want to do
is write a method data provider that returns your
CurrentDataBean. so uix.data.currentDate would return
a CurrentDateBean instance object. the .time part of the
el expression would tell UIX to look for a method named
getTime() and use that value.
let me know if you have any more questions. -
Creating Oracle ADF uix Pages Tutorial
In going through the "Creating Oracle ADF UIX Pages" Tutorial
Step 5:Adding a Table - I'm running into problems:
- In item 2, I can not find Provider in Design Structure window (I find it in XML Structure Window)
- In item 3, I can not find datacomponent in General Component Palette
- In item 5 I can not find inline component in General Component Palette
Does this tutorial work or am I missing something?I'm having the same problem. I looked over the recommended tutorial and it didn't cover how to mock up data in xml for prototyping. I think this tutorial is for JDeveloper 9i and not 10g. How is this done in JDev 10g?
I entered this from the xml editor: I also tried:
without a data tag
with a data tag and with an inline tag
with an inline tag
nothing seems to work...
<provider>
<!-- Add DataProviders (<data> elements) here -->
<data>
<book cover=""
title=""
author=""
price=""/>
</data>
</provider>
I get this message when I switch to design mode:
The document is not in a valid state. Please edit this file in the code editor to resolve syntax problems and then return to the visual editor.
It doesn't like the xml code. Any ideas in how to do this? I would like to prototype an applications without connecting to real data sources...
Thanks in advance
Keith... -
ADF UIX technology missing from the list of technologies
Hi There,
I am new to JDeveloper and I have been trying to follow the example on building a "Simple ADF UIX User Input Application" at http://www.oracle.com/technology/products/jdev/howtos/10g/adf_uix_userinput_ht/index.html
Unfortunately, when I get to the point to create the Input Page "MyPage.uix there is nothing to allow me to change the page type to an UIX type.
I have checked in the "Manage Application" if there was an "ADF UIX" technology, but to my disappointment there was none, therefore I would like to know if I need to download some libraries or plug-ins to add in my JDeveloper IDE (Studio Download (Version 10.1.3, Build 3412)).
Any help would be appreciated.
Many thanks in advance.
Kamel A.Hi,
if you download JDeveloper 10.1.2 all the UIX technology components will be there.
ADF Faces is the next generation (or implementation) of UIX. JDeveloper 10.1.3 EA is a non-production version of the new technogy suite in which ADF Faces is the the focal point and not UIX.
regards,
Brenden -
Does Oracle ADF UIX use Struts components internally? If yes, Does Oracle Support the issues that arises because this internally used Struts components? (I am using Oracle ADF in my application.
Thanks,
Aravind.DataForwardAction and DataAction are build on top of struts actions to coordinate ADF databindings and it's life cycle;
UIX, has xmlns:struts="http://xmlns.oracle.com/uix/struts" this XML namespace has some elements like
<struts:form> and <struts:messageTextInput> also <struts:dataScope>
They work like struts jsp tag;
here a good paper;
http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/uixhelp/uixdevguide/struts.html
Marcos Ortega
Brazil -
In the example rows become editable when you click on the radio select at begining of the row, But how can I make the row to be editable as soon as I move my cursor on the textinput fields.
Thanks
regards
JOThere are two threads with the same question, so i'll close this one and point to the original:
ADF UIX Editable Table -
ADF UIX: MessageChoice in a table. NavigationBar.
Hi,
I've got two problems with adf uix.
I would like to have a drop-down list which presents the answers possible to each questions. (An answer is referancing a questions with two columns: quesNumero, and numerodep, sequenced in parent).
I don't know why, but the visible answers are those of the first question.
Here are the properties of the list binding editor:
http://img81.imageshack.us/img81/5376/prob16rj.jpg
Here's the source code of the list:
<column>
<columnHeader>
</columnHeader>
<contents>
<messageChoice model="${bindings.current.Remarque3}">
<contents childData="${bindings.Remarque3.displayData}">
<option model="${uix.current}"/>
</contents>
</messageChoice>
</contents>
</column>
Here the result:
The answer is matching only the first question.
How could I correct that?
In addition, I would like to have all the recordings on a page. I would like that the table does not use a navigationBar. I have each time between ten and tewnty questions to post and I don't want that the user must change pages to see the last questions. How can I do that?
http://img72.imageshack.us/img72/6851/prob31el.jpg
Thanks a lot !
NicolasNobody ?
Message was edited by:
user481143
Message was edited by:
user481143 -
ADF UIX doSelect override with PL/SQL fails to allow insert
I've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
CREATE TABLE master (
id NUMBER NOT NULL,
name VARCHAR2 (10) NOT NULL,
CONSTRAINT pk_master
PRIMARY KEY ( id ));
CREATE TABLE detail (
id NUMBER NOT NULL,
start_date DATE NOT NULL,
name VARCHAR2 (10) NOT NULL,
description VARCHAR2 (100),
CONSTRAINT pk_detail
PRIMARY KEY ( id, start_date ));
ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
void handleStoredProcSelect() {
CallableStatement st = null;
try {
String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
DBTransaction tr = getDBTransaction();
st = tr.createCallableStatement(stmt,1);
## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
st.setLong(1,getTestId().longValue());
##FAILS HERE st.setDate(2,getStartDate().dateValue());
Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
I'm not sure why doSelect is called on an insert so I commented out:
doSelect
handleStoredProcSelect
handleStoredProcLock
compareOldAttrTo
Web App now lets me insert as expected.
So finally ....my question is:
Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
and if not if you did want to use it how can you allow inserts?
Any thoughts or similar experiences appreciated ...
Cheers
IanI've been trying to create an ADF-UIX web app for simple insert/update/delete of records to a table.
The schema simply has 2 tables - master and detail where the detail pk is made up of the master id and a start date:
CREATE TABLE master (
id NUMBER NOT NULL,
name VARCHAR2 (10) NOT NULL,
CONSTRAINT pk_master
PRIMARY KEY ( id ));
CREATE TABLE detail (
id NUMBER NOT NULL,
start_date DATE NOT NULL,
name VARCHAR2 (10) NOT NULL,
description VARCHAR2 (100),
CONSTRAINT pk_detail
PRIMARY KEY ( id, start_date ));
ALTER TABLE detail ADD CONSTRAINT d_m_fk FOREIGN KEY (id) REFERENCES master(id)
This works fine when I create it in a similar manner to that described in the "Complete ADF UIX Application ..." tutorial doc.
http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
I then tried to override the ADF doSelect and doDML methods as outlined in ADF_BC_StoredProcedures.zip example app allowing me to use PL/SQL stored pkg for dml.
http://www.oracle.com/technology/sample_code/products/jdev/10g/ADF_BC_StoredProcedures.zip
On trying to insert a new row my web app now fails with a null pointer exception when I press the Submit button. The app calls doSelect->handleStoredProcSelect which fails to get the value of a column.
void handleStoredProcSelect() {
CallableStatement st = null;
try {
String stmt = "BEGIN test_api.do_select(?,?,?,?,?); END;";
DBTransaction tr = getDBTransaction();
st = tr.createCallableStatement(stmt,1);
## This line works, I'm guessing because the value is populated from the master record I've selected in the form ...
st.setLong(1,getTestId().longValue());
##FAILS HERE st.setDate(2,getStartDate().dateValue());
Update,delete still work ok. And if I run the test app (right click on AppModule and select Test) all works ok.
I'm not sure why doSelect is called on an insert so I commented out:
doSelect
handleStoredProcSelect
handleStoredProcLock
compareOldAttrTo
Web App now lets me insert as expected.
So finally ....my question is:
Whilst the app now works does commenting out the doSelect leave me open to problems I haven't thought off
and if not if you did want to use it how can you allow inserts?
Any thoughts or similar experiences appreciated ...
Cheers
Ian
Maybe you are looking for
-
How do I connect my time capsule to a cable internet line?
I just bought a time capsule and I need to know how to connect it to a cable line.
-
How do I reinstall the HTA program on a system that's running Windows 7 Pro?
I'm writing on behalf of my father, a small business owner that relies extensively on his ability to utilize the tools via the GUI interface for his HP printer. He contacted HP and they informed him that an HTA program is required to be installed on
-
System : Windows 7 64bit Adobe Photoshop CS5 Adobe Photoshop CS6 Adobe Illustrator CS6
-
Multiple songs appeared after migration to new pc
Hi I have just migrated all my data to a new pc, and when i loaded itunes, and then searched for tunes, i now have 2 or 3 of nearly every song that i have in the library. I know how to list duplicates, but is ther any way of deleting them automatical
-
When installing flash player I recieve error message stating "internet explorer script error," and flash player fails to install.