For JDev team
Hi Guys,
I'm trying to develop some applications using JDev 3.2.
I have been dealing with some problems using your Data Aware controls.
Since last december, I posted a topic asking for help with setting a TableModel in a GridControl using the method setModel().
This is the topic's text: "
I'm working with a GridControl and I'm linking a DefaultTableModel with that GridControl.
The following is a snippet of the code:
DefaultTableModel myTableModel = new DefaultTableModel();
GridControl gridControl1 = new GridControl()
gridControl1.setModel(myTableModel);
When adding rows to the myTableModel, I suppose the GridControl must show those rows.
But the only thing it does is to show a blank row.
Does anybody know what's wrong?"
Do you know where can I get some help? Is there another place to look for How to's, Bugs or something?
The fact here is that I don't want to get stucked for little details like that and many times waiting for a response in this forum just takes so long.
Thanks in advance,
Agustin
Agustin, what Sathish is saying in a round about way (*grin*) is that you can't have your cake and eat it, too, in this case.
You may be able to do something like this today or in a future release by setting up a View Object that is strictly JDev attributes, ( an entity object with NO persistent attributes ). Seems like one could do that, architecturally... ????
I'd also visit java.sun.com or do a global search on dogpile.com to see if I could find a "gridcontrol" control that you can beg, borrow or purchase to meet your needs. Remember that Oracle isn't the only one with components available.. heh! this is JAVA!!??! ( Reusable components and all that )..
Also, there are books with CDs that have gridcontrols with some of the capabilites (sorting, reorganizing and such ) that you may be wanting.
Good Luck
Similar Messages
-
Happy Christmas and thank you for JDEV Team for great job this year
We got one of the best development from Oracle with JDEV and a TP3 for Christmas ... even i will go skiing too and may be sailing a little bit depending on weather, i will for sure go in depth into TP3 these holidays.
Thank you
Have nice holidays
GreetingsThanks alot for this gift Oracle Jdev Team!
Greetings from Spain!
Westh -
Queation for JDEV team : BC4J Next Release Date?
JDEVELOPER TEAM
When will be your next BC4J release date ( about fixing bugs)?
nullI presume you are talking about post JDev 3.2...
The next release will be JDeveloper 9i
and we do not have a firm date as yet.
We are expecting production to be roughly
mid 2001 with a Beta available a few
months beforehand.
As mentioned by Juan, we'd be interested to
know what you are looking for. As we are in
the thick of 9i development, perhaps you
can help us focus in certain areas by giving
us input. -
A how to question for JDev team
Hi,
I am learning to develop JSP application using BC4J.
Using wizards, I am able to get a
default view of the current record. However, I would like to change the layout display. Probably this needs to be done without using the wizards. How can I do this using BC4J? Could you please refer me to some sample code/documentation? I am currently using JDeveloper 3.1.
Thanks.1. Upgrade to JDeveloper 3.2 which makes >BC4J interaction simple and reliable.I strongly recommend option #1.
Unless you have some constraints, I would recommend moving upto JDeveloper 3.2 which offers support for JSP 1.1 custom tags. JSP tags make it easier to customize your page. You do most of your layout management in HTML and use the tags to get the data.
The follownig collateral at http://technet.oracle.com/products/jdev/ might be of help:
1.Building JSP Applications with BC4J Data Tags (paper)
2.BC4J Data Tags demo script
Also, the updated Online Orders tutorial in the product has a complete web app developed using the new JSP tags.
Regards,
Arun -
Java VM Version & Date for JDev 3.0
Hi,
I skimmed through the document: "JDeveloper 3.0 Oracle Business
Components for Java Technical White Paper" and could not find out
which version of the VM 3.0 is going to support.
2 questions:
- 1: Which version of the JVM?
- 2: General availability date?
Thanks,
Frank
nullOracle 8i's JServer will support Java 2 in the next release
8.1.6.
- PSW
Frank Garber (guest) wrote:
: I'm sorry, I was wondering when 1.2 would be supported in
: the Oracle 8i JVM??
: Thanks,
: Frank
: ~~~~~~~~~~~~~~~~~~~~~~~~~~
: JDev Team (guest) wrote:
: : JDeveloper 3.0 will ship with JDK 1.1.8 and Java 2. Other
JDK's
: : can be used via the JDK switching feature.
: : -PSW
: : Frank Garber (guest) wrote:
: : : Hi,
: : : I skimmed through the document: "JDeveloper 3.0 Oracle
: Business
: : : Components for Java Technical White Paper" and could not
find
: : out
: : : which version of the VM 3.0 is going to support.
: : : 2 questions:
: : : - 1: Which version of the JVM?
: : : - 2: General availability date?
: : : Thanks,
: : : Frank
Oracle Technology Network
http://technet.oracle.com
null -
JDev Team - how to add a Data Aware Control to grid control
The default editor for GridControl cells is a data-aware TextField, but I want to use a ComboBoxControl. If I use the setEditor() method of the TableColumn, the cell is edited using a combo, but there are problems:
1. Navigated events do not fire when focus is moved in or out of the cell and
2. When focus moves to another cell in the same column, the cell losing focus is blanked.
How can I setup/attach a custom editor based on a Data Aware Control to avoid these problems?
The code I am using
1. declares combobox controls to be used with grid as member variables of my frame class
ComboBoxControl comboBoxSrcSystem = new ComboBoxControl();
ComboBoxControl comboBoxSrcSysVersion = new ComboBoxControl();
ComboBoxControl comboBoxSrcTable = new ComboBoxControl();
ComboBoxControl comboBoxSrcColumn = new ComboBoxControl();
2. sets up the combo in the jbInit method of the frame class :
// for gridControlMapRuleSrcCols column SystemName
comboBoxSrcSystem.setListKeyDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
comboBoxSrcSystem.setListValueDataItemName("infobus:/oracle/sessionMapTool/rowSetSystemCombo/SystemName");
comboBoxSrcSystem.setDataItemNameForUpdate("infobus:/oracle/sessionMapTool/rowSetMapRuleSrcCols/SystemName");
3. In the frame constructor calls a method to add combos to the grid
addMapSrcColGridCombos();
which is defined as
private void addMapSrcColGridCombos() {
// add combos to gridControlMapRuleSrcCols grid
JTable mapSrcColTable = gridControlMapRuleSrcCols.getTable(); // access the JTable
addComboEditor( mapSrcColTable, "SystemName", comboBoxSrcSystem );
addComboEditor( mapSrcColTable, "SystemVersion", comboBoxSrcSysVersion );
addComboEditor( mapSrcColTable, "TableName", comboBoxSrcTable );
addComboEditor( mapSrcColTable, "ColumnName", comboBoxSrcColumn );
4. It makes use of the following method:
private void addComboEditor( JTable table, String colName, ComboBoxControl combo )
TableColumn col = table.getColumn(colName);
col.setCellEditor( new DefaultCellEditor( combo ) );
nullGiven the usual deafening silence from the JDev team, I'll post my resolution of the problem.
I could not find a way of creating an editor directly from a ComboBoxControl which would behave properly in a GridControl. However, JComboBox does work, so I
1. add a Navigated listener to the GridControl
2. in the navigatedInColumn event handler I create a JComboBox from a ScrollableRowsetAccess and
3. use it to create a custom CellEditor for the target column.
(I also remove the editor in the currently focused column in the navigatedOutColumn, but I don't think this is strictly necessary.)
This solution also works after a Rollback, when the columns of the gridcontrol are reset/rebuilt, and handles dynamic combos that are dependent on the current row values.
Unfortunately, unlike ComboBoxControl JComboBox does not allow for a key/value mapping, so the combo editor can only display the values to selected from, not a user-friendly label.
I attach some code snippets to illustrate the solution:
1. declare member variables
// declarations for Custom Grid Editors
NavigationManager navMgr = NavigationManager.getNavigationManager();
static String SYS_NAME_COL_NAME = "SystemName";
static String SYS_VER_COL_NAME = "SystemVersion";
static String TAB_NAME_COL_NAME = "TableName";
static String COL_NAME_COL_NAME = "ColumnName";
RowSetInfo rowSetSystemCombo = new RowSetInfo();
AttributeInfo SystemNamerowSetSystemCombo = new AttributeInfo();
ScrollableRowsetAccess sysNameComboRS = (ScrollableRowsetAccess)rowSetSystemCombo.getRowsetAccess();;
static ImmediateAccess sysNameComboIA = SystemNamerowSetSystemCombo.getImmediateAccess();
static RowSetInfo rowSetMapTgtColTableCombo = new RowSetInfo();
static AttributeInfo TableNamerowSetMapTgtColTableCombo = new AttributeInfo(java.sql.Types.VARCHAR);
static ScrollableRowsetAccess tgtTabNameComboRS = (ScrollableRowsetAccess)rowSetMapTgtColTableCombo.getRowsetAccess();;
static ImmediateAccess tgtTabNameComboIA = TableNamerowSetMapTgtColTableCombo.getImmediateAccess();
2. in jbInit() set up the combo rowsets (use Design mode)
SystemNamerowSetSystemCombo.setName("SystemName");
rowSetSystemCombo.setAttributeInfo( new AttributeInfo[] {
SystemNamerowSetSystemCombo} );
rowSetSystemCombo.setQueryInfo(new QueryViewInfo(
"SystemComboView",
rowSetSystemCombo.setSession(sessionMapTool);
rowSetSystemCombo.setName("rowSetSystemCombo");
SystemVersionrowSetMapSrcColSysVersionCombo.setName("SystemVersion");
rowSetMapSrcColSysVersionCombo.setAttributeInfo( new AttributeInfo[] {
SystemVersionrowSetMapSrcColSysVersionCombo} );
rowSetMapSrcColSysVersionCombo.setQueryInfo(new QueryViewInfo(
"SourceSystemVersionComboView",
"SYSTEM_VERSION DESC"));
rowSetMapSrcColSysVersionCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColSysVersionComboLink"));
rowSetMapSrcColSysVersionCombo.setSession(sessionMapTool);
rowSetMapSrcColSysVersionCombo.setName("rowSetMapSrcColSysVersionCombo");
TableNamerowSetMapSrcColTableCombo.setName("TableName");
rowSetMapSrcColTableCombo.setAttributeInfo( new AttributeInfo[] {
TableNamerowSetMapSrcColTableCombo} );
rowSetMapSrcColTableCombo.setQueryInfo(new QueryViewInfo(
"SourceTableComboView",
"TABLE_NAME"));
rowSetMapSrcColTableCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleSrcCols,"MapTool.MapRuleSrcColTableComboLink"));
rowSetMapSrcColTableCombo.setSession(sessionMapTool);
rowSetMapSrcColTableCombo.setName("rowSetMapSrcColTableCombo");
ColumnNamerowSetMapTgtColColumnCombo.setName("ColumnName");
rowSetMapTgtColColumnCombo.setAttributeInfo( new AttributeInfo[] {
ColumnNamerowSetMapTgtColColumnCombo} );
rowSetMapTgtColColumnCombo.setQueryInfo(new QueryViewInfo(
"TargetColumnComboView",
"column_name"));
rowSetMapTgtColColumnCombo.setMasterLinkInfo
(new ViewLinkInfo(rowSetMapRuleTgtCols,"MapTool.MapRuleTgtColColumnLink"));
rowSetMapTgtColColumnCombo.setSession(sessionMapTool);
rowSetMapTgtColColumnCombo.setName("rowSetMapTgtColColumnCombo");
3. add methods to handle the Navigated events (use Design mode to ensure add listener code
is generated)
void gridControlMapRuleSrcCols_navigatedInColumn(NavigatedEvent e) {
debug("gridControlMapRuleSrcCols_navigatedInColumn");
show_nav_info();
String dataItemName = navMgr.getTargetDataItemName();
String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
JTable table = gridControlMapRuleSrcCols.getTable();
if ( SYS_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.sysNameComboRS, dbMapTool.sysNameComboIA );
else if ( SYS_VER_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcSysVerComboRS, dbMapTool.srcSysVerComboIA );
else if ( TAB_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcTabNameComboRS, dbMapTool.srcTabNameComboIA );
else if ( COL_NAME_COL_NAME.equals( columnName)) {
addComboEditor( table, columnName, dbMapTool.srcColNameComboRS, dbMapTool.srcColNameComboIA );
void addComboEditor
( JTable table
, String colName
, ScrollableRowsetAccess rs
, ImmediateAccess ia
// note must get TableColumn afresh each time because when grid is reset
// on rollback the Table ColumnModel is rebuilt
TableColumn tc = table.getColumn(colName);
debug("add JComboBox as editor");
Vector v = new Vector();
try {
// Retrieve and store values for JComboBox using the InfoBus API.
boolean moreRows = rs.first();
while (moreRows) {
// stores value in vector
v.addElement(new String(ia.getValueAsString()));
moreRows = rs.next();
// make column Cell Editor a JComboBox with retrieved values
tc.setCellEditor(new DefaultCellEditor(new JComboBox(v)));
catch (Exception e0) {
e0.printStackTrace();
void show_nav_info() {
debug( "Focused Data Item = " + navMgr.getFocusedDataItemName() );
debug( "Target Data Item = " + navMgr.getTargetDataItemName() );
void debug(String s)
System.out.println(s);
void gridControlMapRuleSrcCols_navigatedOutColumn(NavigatedEvent e) {
debug("gridControlMapRuleSrcCols_navigatedOutColumn");
show_nav_info();
String dataItemName = navMgr.getFocusedDataItemName();
String columnName = dataItemName.substring(dataItemName.lastIndexOf("/")+1);
JTable table = gridControlMapRuleSrcCols.getTable();
if ( SYS_NAME_COL_NAME.equals( columnName)) {
removeComboEditor(table, columnName);
else if ( SYS_VER_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
else if ( TAB_NAME_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
else if ( COL_NAME_COL_NAME.equals( columnName)) {
removeComboEditor( table, columnName );
void removeComboEditor ( JTable table, String colName ) {
debug("remove JComboBox as editor");
TableColumn tc = table.getColumn(colName);
tc.setCellEditor(null);
4. Note that when navigated event code is added through the designer, jbInit() is
amended to add a Navigated Listener to the grid
gridControlMapRuleSrcCols.addNavigatedListener(new oracle.dacf.control.NavigatedAdapter() {
public void navigatedInColumn(NavigatedEvent e) {
gridControlMapRuleSrcCols_navigatedInColumn(e);
public void navigatedOutColumn(NavigatedEvent e) {
gridControlMapRuleSrcCols_navigatedOutColumn(e);
null -
Bug fix list for JDev 10.1.2
I would like to know if exists any bug fix list for JDev 10.1.2, and where I can find it, if exists.
Thanks in advanced.Hi Shay, of cours Chris is right. The main reasons for this is
1. We need to convince our management to invest in the efforts to update to a new version, find workarounds for new bugs, make complete tests of our product, update the installed base, ....
2. We need to check if there are any unknown but critical fixed and we need to update our installed base.
3. We need to decide how fast we need to update installed base.
4. If there are 998 IDE bugs fixed and only one BC4J and one UIX bug, i think we will wait for the 10g final release...
Like most engineering teams in the world we have to fight with limited resources, so there is no chance to spend much time without a real need.
Thanks, Markus
Btw. Even for the Oracle Database release there is always a list of fixed bugs. And this list also most often really scares me. -
To JDev Team : SQL generated, Struts, BC4J Admin, ...
Hi,
I've followed the Tutorial 'Generating a Struts-based JSP Application for an
Application Module', where I'm working with only one table.
When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
Every time I click on 'Browse', I always have this error :
Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
FROM timesheet Timesheet) ESTCOUNT
My config are :
* Win2K
* JAVA_HOME set to j2sdk1.4.1_01
* mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
* I use ultraDevHack=true as parameter within the URL
Even with 'ultraDevHack=true' parameter, the subselect still not working.
I've seen in the forum that JDev Team have tried with that parameter, and it worked,
but it didn't mention with which version of mySQL and which JDBC driver.
I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
Anybody know how ?
The View Object Wizard didn't help me at all for the above SQL.
In fact I would like to fully controled, modified, or cuztomised all SQL generated.
Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
When I click on 'BC4J Admin', I have this :
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package _wm;
^
2 errors
Why is that ?
Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
Any of you have the same problem ?
Is it possible to put some criterias within the Search, i.e. Sort by Date ?
Any help would be appreciated.Hi,
I've followed the Tutorial 'Generating a Struts-based JSP Application for an
Application Module', where I'm working with only one table.
When I run the 'main.html', on the left side ( navigator ), there are 'Browse' and 'Query' options.
Every time I click on 'Browse', I always have this error :
Error Message: JBO-26044: Error while getting estimated row count for view object TimesheetView1, statement
SELECT count(1) FROM (SELECT Timesheet.ts_id, Timesheet.ts_user, Timesheet.ts_code, Timesheet.ts_date, Timesheet.ts_hour
FROM timesheet Timesheet) ESTCOUNT
My config are :
* Win2K
* JAVA_HOME set to j2sdk1.4.1_01
* mySQL 3.23.49 with JDBC driver mysql-connector-java-2.0.14-bin.jar
* I use ultraDevHack=true as parameter within the URL
Even with 'ultraDevHack=true' parameter, the subselect still not working.
I've seen in the forum that JDev Team have tried with that parameter, and it worked,
but it didn't mention with which version of mySQL and which JDBC driver.
I would like to modify the above SQL into a simpler one 'SELECT COUNT(*) FROM timesheet'.
Anybody know how ?
The View Object Wizard didn't help me at all for the above SQL.
In fact I would like to fully controled, modified, or cuztomised all SQL generated.
Back to main.html, the header contains two buttons 'BC4J Admin' and 'Help'.
When I click on 'BC4J Admin', I have this :
500 Internal Server Error
OracleJSP: oracle.jsp.provider.JspCompileException:
Errors compiling:C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java
error: Invalid class file format in C:\j2sdk1.4.1_01\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
C:\usr\J2EE\JDEV\system9.0.3.1035\oc4j-config\application-deployments\bc4j\webapp\persistence\_pages\_wm\_bc4j.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
package _wm;
^
2 errors
Why is that ?
Out of scope, sometimes it's very slow accessing this forum ( 'Connection timed out' or 'The specified network name is no longer available' ...).
Any of you have the same problem ?
Is it possible to put some criterias within the Search, i.e. Sort by Date ?
Any help would be appreciated. -
TO JDEV TEAM: JBO-28020/JBO-28006 ERRORS
Hi,
I deploy a BC4J application (made with Jdev official) on an OC4J container 9.0.2. the application use a 9i data base.
frequently, when we try to insert or update rows in viewObject, we have the following error :
Application Error
Return
Error Message: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
Error Message: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
oracle.jbo.PCollException: JBO-28020: Erreur de passivation pour l'objet collection GrandeurView, ID de noeud 45
<>
## Detail 0 ##
oracle.jbo.PCollException: JBO-28006: Criation impossible de la table de persistance PS_Bdcorrel_BC4JModule_1
<>
## Detail 0 ##
java.sql.SQLException: ORA-00955: Ce nom d'objet existe dij`
<>
This is a pressing issue, and I'd need an answer asap. Could anyone from the JDEV team please help me on this?
Thanks a lot!Stephane:
Could you send me the entire stack trace?
It would also help if you can translate some of the "important" exception messages into English for me (sorry).
Thanks.
Sung -
Hi,
I posted a question here early yesterday and I haven't received any kind of reply yet!!! I understand if someone from this forum cannot help me... but I need the Jdev team to respond to me ASAP!!!!
I'm using JDev 3.2, trying to use the Source Control feature to connect to Repository 6i. I can connect without any trouble and I can see the work area and navigate through the folders (that were created by the owner), however when I try to click on any of the 'files' branches of the folder/file tree - I get this error.
ckron61.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.
There are 3 of us who are trying to connect, one can do it successfully... two of us cannot. I also tried to connect and access those files on another machine and it worked as well.
All of our systems have been imaged the exact same way.
What could the problem be...
I appreciate your help.... thanks.Hi Jolene,
I would recommend upgrading to the latest release of Repository, since it contains many bug fixes. I'm afraid I'm not sure what is causing your specific problem.
It's also worth making sure your OS is patched up to the latest service pack.
Oracle9i JDeveloper's support for Oracle SCM (aka Repository) is far more comprehensive than 3.2, so this is a good upgrade to make as well :)
About UIX, the best thing is probably to post a new message to the 9i JDeveloper forum. It's not an area I'm overly familiar with, but I'm sure someone else on that forum will be able to help you out.
Thanks,
Brian
JDeveloper Team -
JDev web resources besides OTN & JDev team blogs?
Gang,
Besides OTN, the OTN forums and the Oracle JDeveloper development team blogs, has anybody found any other JDeveloper resources on the 'Net?
I know Paul Dorsey, part author of the "Oracle JDeveloper 10g Handbook" has a website and a few presentations somewhere that was okay..... but are there any other rich sites I'm not visiting?... Or is Oracle it?
It would be nice to know what others have found.
Cheerio,
CM.Shay, I'd like to stick my foot in (my mouth?) too with my opinion.
(Apologies but I didnât have a lot of time to draft this message so please ignore any typos and poor grammar)
Let me start by saying I'm an Oracle programmer with 10 years experience, having coded using Designer, (-J)Headstart, Forms, Reports, database modelling, PLSQL everywhere you can possible stick it.... etc etc etc. I infrequently teach week courses on Forms, SQL, PLSQL etc. My point being is I'm no monkey in appreciating technology. Iâm not brilliant but you can call me Mr Average Programmer â if it makes sense Iâll work out how to use it.
I'm also on the Australian Oracle User Group committee, have been for several years, have meet and talked to several other senior consultants who have used JDeveloper who have extensive Oracle experience.
And the general consensus is that the JDeveloper documentation is of poor quality.
Now Iâd like to substantiate my claims by giving evidence rather than just expressing an opinion. For a minor documentation bug Iâve recently raised, see TAR 4212035.995 bug 4058863. Iâve found more documentation errors, but after a while I always become worn down through the tedious TAR process, and just prey it will be improved in the next release.
This bug, as youâd appreciate is a rather minor issue, but boy do I waste a lot of time working out how to use JDeveloper without the correct and complete documentation. I spend time having to search the OTN examples, forums etc, then posting to the Forums and Oracle Support for help. So much for âproductivityâ with choice.
As another example, do a search in JDeveloper for âuixStateâ. Most UIX LOVs are useless without it in the partialtargets elementâ¦.. but itâs another undocumented feature that I only found out about via the forums. Another, the javaType field within the UIX <invoke> tag: exactly what data types are allowed? If Iâm not mistaken (I might be, Iâm still learning my way around Java), âstringâ is not a valid Java typeâ¦. isnât it âStringâ? See my confusion, and the documentation doesnât say much at all. Does this mean if I return a âNumberâ I should use ânumberâ.
Would you like to get away from UIX documentation errors? Well try bringing up the help for the âPooling and Scalabilityâ tab, under the Configurations sub-menu option for an Application Module (the help page is entitled âConfiguration Manager â Pooling and Scalabilityâ). See all those âtextâ comments and âto be included in future releaseâ comments. Not much use are they?
Moving on to your question about âhow-toâs weâd like to see is a relevant one. I can only talk from my personal experience, but what Iâd like to see relevant to my current project is (or would have been useful in the past):
1) UIX lov â returning multiple fields.
2) UIX lov â using lovUpdate event with multiple LOVs on the screen.
3) UIX lov â a complete example that allows the user to âtypeâ in a value to a <messageLovInput>, validates the entry against a database table via some exposed AM/VO method, clears and displays the LOV if the user enters an invalid value.
4) UIX trees â proper discussion on setting up hierarchical VOs and associations.
5) UIX trees â example of programming insert and delete node functionality, with the example showing how to write the values through to the database.
6) UIX hgrids â example derived from database, where the user can insert/delete values through to the database.
Youâll notice Iâm focusing on the UIX technology. Simply put itâs what weâre using at my current site.
2 other issues Iâd like to point out too though. Notice the focus on LOVs? Well Iâm an ex-Forms programmer who knows the power of the Forms LOV control. Iâve been confused, annoyed then resigned to the fact that youâve got a hell of a lot to do yourself with JDeveloper LOVs, unlike Oracle Forms LOVs where so much functionality is built into the control. In return you might argue âthis is JDeveloper Chris, not Oracle Formsâ. Youâre right of course, and I can accept that I have to learn the JDev way of doing things. But, and âbigâ but here, there are no detailed how-tos comparing the features of Oracle Forms LOVs and how to do the same thing in JDeveloper. And I mean complete examples.... which check values against the database, pop-up the LOV as described above list.
So in your how-tos, try to think about what Forms programmers can do, and show how you would do it in JDeveloper. We need more than the simple examples because weâre learning your tool, weâre not experts in JDeveloper, and we canât read your mind when you give (what I consider to be) overly simple examples where the author assumes given a little headstart that everyone else will be able to run with it. It took me ages to work out how to return multiple fields from a LOV (and my implementation probably s*cks).... call me stupid, but a complete how-to would have saved me lots of time.... and other people too (ie. Forms programmers) because I see the same questions appear on OTN again and again.
To reiterate, think about the productive functionality Forms provides you, and provide how-tos on what to do in JDeveloper. Simple really.
The 2nd point Iâd like to make is you need to give complete examples. To give an example of a poor-example, recently Steven Muench (or was it Jones Jacob, sorry I forget) published a âhow-toâ on his blog on populating a UIX tree. What was missing? Firstly documentation (though a promise of some in the future was given). Secondly how to allow the user to add/delete entries from the tree. Thirdly how to add/delete those entries from the underlying table. Fourthly dealing with updating the underlying iterators and web page given the users actions. And so on....
I can hear you asking âwhat? You want us to do everything for you!?â No, but more complete examples would be great. Without a doubt in my opinion, the best example of this would be the âBuilding Oracle ADF Applications: A Comprehensive Workshopâ tutorial. Obviously a lot of effort was put into that tutorial, but if all tutorials were written with this level of detail, I donât think Iâd be writing this post, the JDeveloper team wouldnât be spending so much time answering queries on the Forums, and the Oracle Support team could spend more time doing training.
Hear me out on my next comment â Iâm not Oracle bashing! Just making a point.
With regards your comments about writing blogs, and increasing the JDeveloper web-community, thinking about it logically I just canât see it happening. The basic problem is youâre âOracle Corporationâ (aka the Other Microsoft). Youâre not an Open Source **community** group. So people donât have much reason to write blogs to the benefit of essentially Oracle.... unless they can make money out of it. They donât get the kudos or just the good vibes of writing for the effort of everybody (essentially why Open Source exists â for the benefit of all â communism, power to the people, etc). This leads onto my second point. The people who work with Oracle tools, in complex-detail, besides Oracleâs own staff, are being paid far too much money working with your tools to waste time working on blogs. Iâd love to write one, but time evades me and Iâd rather make money out of the exercise. (I gotta feed my kids somehow - or maybe have some, either one ;)
This puts you, the JDeveloper team in an interesting position. I know youâre really keen to get your tool used outside Oracle. Why do I think this? Basically your implementation of the Struts diagram tool and huge focus on JSF (aka ADF Faces) â I havenât seen the other IDEs provide such functionality yet and I think youâve tried very hard to provide these new features to beat the competition. But, unlike the Open Source efforts like Eclipse and Net Beans (etc), as I just mentioned, I donât think youâll ever get much support from the JDeveloper community in assisting your documentation efforts with this tool. So what have you got to do to increase market share besides great new features like the Struts diagrammer??....
Well I hopeâs itâs obvious after typing all of this......as there is little activity in the Internet regarding your product and how to use it besides OTN, and given complaints about your poor level of documentation, this means you should focus heavily on documentation in each release. Make sure itâs up to date. Make sure itâs complete. Review it all each time. Make plans for how it could be improved and expanded.... donât just focus on the tool.
I think I can hear you screaming âbut we do you bl**dy idi*t!â But Iâll answer in turn.... the perception is you donât, and the evidence in front of me shows you havenât..... so my conclusion is I think valid.
Also let me place a warning that the risk is if you donât provide better documentation, my peer-consultants will not recommend JDeveloper. I know of 2 specifically who will have a very hard look at JDeveloper a 2nd time before recommending it to a client, because of their experience with the tool â in particular there frustration with the poor documentation. If theyâre making such decisions, I bet others are too.
With all the above in mind please note my goal of this whole post, and I know Iâve posted a lot, is not to be exceptionally critical of JDeveloper and the JDeveloper team. However I thought it was worthwhile writing a comprehensive message to the forum for you to look at... rather than the 1 or 2 liners you usually get.
Gee, I should have started a blog and posted this entry I think.
Iâll finish this post by saying that Iâm thankful that the JDev team monitors this forum and puts in a good effort in supporting us, your clients, saving us a TAR or 2 and probably going bald.
Regards,
CM.
PS. If youâd like to contact me for further information, you can find my current email address associated with the TAR mentioned above.
Also please note the âstandard disclaimerâ, that none of the above is my employerâs or clientsâ opinions; it is all totally of my own opinion. -
OA Extensions for JDev 10?
Does anyone know when/if OA Extensions will be released for JDev 10? It's my understanding that they're semi-released for JDev 9 (via patch 3834854 if you ask nicely in a TAR) but I'd really like to get them for JDev 10 now that this new version has been released.
The OA Extensions are only available for JDeveloper 9.0.3 I believe. I don't know the schedule for releasing a new version based on 10g of JDeveloper. You may want to try in on of the e-Business Suite forums to see if any information is available as to the current release plans for new versions.
Thanks,
Rob
Team JDev -
Jdev Team - Frustrated with Simple UIX-XML test case
Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
TIA,
Ed.
PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
JAVA_HOME = d:\java\j2sdk
JDK_HOME = d:\java\j2sdk
J2EE_HOME = d:\java\j2sdkee
JDEV_HOME = d:\oracle\9iDS\jdev
Are any of these redundant or are they clobbering something for UIX-XML?
TIA,
Ed. -
To JDev-Team: New Release 9.03
Hi JDev-Team,
since the current release 9.02 is so buggy ...
when will there be a new (and better) release 9.03 ?
Thanks
VolkerThanks for the interest. We are still working on the 9.0.3 release, so I don't have a firm date to give you on it yet. As soon as we know something, I'll be sure to post it here on the forums, and probably on the OTN JDeveloper page.
Thanks again,
Rob -
Cannot install updates for JDev 10.1.3.0.4
Hello,
I'm not able to install the updates for Jdev 10.1.3.0.4. There are 17 updates which are not able to install in the system.
Some of the updates gets installed, but when the Jdev is restarted, the updates still show up in the window.
When I tried to install some other updates, I get a connection error.
I'm inside the oracle network and installed some of the updates in the list.
Any help will be appreciated regarding this issue.
Thanks in advance
RajeshHello, thanks for the URL for the extension page, however, that lasts for so long. I have the same issue as the rsubers, in that the update dialog is not working. I had to go directly to the URL provided and then use the dialog to point directly at the file. There is an Update 3 that isn't out on the extensions page, so I can't use that work around.
1. How do I get to Update 3
2. How do I fix this Update tool
Env: J2EE Ed. Ver 10.1.3.0.4 (SU1) on SuSE 10 Linux using jdk1.5.0_05. Firewall is off while I attempt to download; No proxy
Saw and posted on another thread Re: Check for Upgrades
Thanks,
Tim
Maybe you are looking for
-
How do I create a new folder in the standard e mail app
HHow do you create a new folder in the e mail app,
-
HT204266 how to search for a specific app eg tetris in the app store?
Hi is there anyone that can please help me on how to search for a specific app eg tetris in the app store? Thanks
-
How to search contacts using Yahoo Address Book
I'm sure this is nothing new to many of you, but it was a great discovery for me today. I struggle with not having a contact search on my iPhone -- often remembering the company name but not the person's name. With my Treo, I could search the entire
-
After installing the aol version of firefox, my firefox always opens with a window that is empty and that makes it impossible to go further. I have to use the taskmanager to get out of firefox. When I uninstall firefox and reinstall, the same thing h
-
I want to make an "open submenu on click" menu with use of own fonts. With sifr3 I managed to get normal headlines and also links as own fonts, but I it seems tricky with links and especially with the submenu.. look at that: Menu with own fonts and M