Using jfreechart with oracle forms 11g
Hi everybody,
I'm using jfreechart with oracle forms 11g to continue having graphs in my application since i'm migrating from forms 6i. I've already got it working and it's great. Just have one problem left. I don't know how to change the axis labels. In Bar charts, it comes with "Values" in y axis and "Category" in x axis by default. I wanted to change that or make it dissapear. Anyone knows how to?
I've never used the jFreeChart, but according to their website you can use the "setLabel" method to set the label for an axis. Check out Axis (JFreeChart Class Library) for more information.
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Similar Messages
-
Is it possible to use DVT with Oracle Forms 11g?
Hi,
I have posted my question on Oracle Forms forum but I didn't get answere regarding dvt usage in Oracle Forms.
Now I try it here.
Oracle Forms 11g and charts / graphs
====
one of our customers has a forms 6i applications including oracle graphics and is thinking about upgrade to forms 11g.
Oracle graphics has been desupported with 6i and with 9i Oracle BI beans has been recommended.
Forms 10g is the terminal version for Oracle BI beans too (http://www.oracle.com/technetwork/middleware/bbi-beans/overview/oraclebibeanssod2008-129560.pdf).
What's the recommended technology for graphs/charts in Forms 11g?
Is it ADF DVT?
If yes, are there examples how to call them from Forms 11g?
=====
regards
PeterHello Shay,
thank you very much for the link.
I wonder if there any plans from Oracle to provide and support a DVT wrapper in next versions of Oracle Forms 11g
As the customer project is planned for Q2/2011 we still have some time and hope for this :-)
regards
Peter -
Use of Times ten database with Oracle Forms 11g
Hi,
We need to use some caching / pre-fetching solution with Oracle Forms 11g. Is there a possibility that Oracle Forms 11g can be used with Times ten database.
Regards,We have never tested TimesTen with Forms 11g but we suspect there are issues that may prevent if from being used.
Sorry.
Chris -
Can we use WebUtil with Oracle Forms 6i
Can any one tell me if we can use WebUtil with Oracle Forms 6i..I have 11.5.9 instance of oracle apps and i want to use some features of WebUtil to customize one of seeded Oracle Form.
Any pointers in this regard are quiet welcome.
Thanks,Strictly speaking no...however you could "backport" the webutil code and in theory you could get some of the functionality to work - this is not supported in the context of oracleForms although Oracle Applications may have their own specific solution/certification of this.
Regards
Grant Ronald -
Is it Possible to connect oracle 10g with oracle forms 11g?
Hi,
I have installed Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 and Oracle 11g forms and reports....
My question is
Whether i can develop application using oracle forms 11g and using oracle 10g as backend connection......
If Possible then how to configure it......
Thanks.That would depend on the exact version of Forms 11g you are referring to;
this document: http://www.oracle.com/technetwork/developer-tools/forms/oracle-forms-111210certmatrix-1886127.xls
is for forms 11.1.2.1 and indicates database 10.2.0.4 is certified with this version of forms. For other Forms versions this might be different (I don't know as I didn't look it up).
You whould do the SQL*Net config like you'd do it on any other oracle client:
Tnsnames.ora - Oracle FAQ
Sqlnet.ora - Oracle FAQ
except for reports where in the opmn.xml the TNS_ADMIN variable is set for the reports servers; so you'd have to place your config files under $INSTANCE_HOME/config as well.
TNS ADMIN - Oracle FAQ
cheers -
Where to find and how to use JDAPI with oracle forms
Hi All
I want to use JDAPI for oracle forms, plz can any one suggest that where i can find the required jar for JDAPI, provide me if any links r there for downloading JDAPI.
Thanks in AdvanceHi Torsten Kleiber
I am interested in changing forms buttons in our existing forms .I was trying to find if it was possible.Going thru your post I realised it is possible to change properties in existing forms .
i have specific questions with JDAPI will i be able to change my buttons in a form to Iconic buttons.
Could you kindly send me the code of your class in the abovementioned post (I have created a simple class to modify some forms properties.)
I would like to have alook at it i am a Novice in java but looking at your source code may be able to give myself a head start .(I am well versed pl/sql forms and reports NO JAVA idea)
Two while trying out the oracle demo to create a form by jdapi I was able to create a class and was unable to execute it .What do i need to install to execute it. I have forms 10 installtion with Jinitiator 1.3 installed
DO i need to install Jdeveloper or JDK i think either of this is required. I shall be highly be obliged if u can clear my queries or any one else in the forum may wish to add to 2cents to my infinetly minimal knowledge of java -
How to use LDAP with Oracle forms 10g on Oracle application server
Hi,
I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
Thanks
LukshI am not quite sure if this works out of the box. According to an Oracle FAQ:
4.2 Can I use LDAP to authenticate Forms Services?
Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms. -
Mixing Java with Oracle Forms 11g
What's going on is I wrote a program for work that allows the user to upload a document from their computer onto the database and then download it back later. Now I have to take that and integrate it into a button in Oracle Forms because our actual program runs from Forms. I imported the jar into the form and wrote a button with code I found online (modified slightly for my own use of course):
DECLARE
jo ora_java.jobject;
rv varchar(100);
ex ora_java.jobject;
BEGIN
JO := Upload.new;
RV := Upload.startUploadPage(JO);
EXCEPTION
WHEN ORA_JAVA.JAVA_ERROR then
message('Unable to load Upload page, ' || ORA_JAVA.LAST_ERROR);
WHEN ORA_JAVA.EXCEPTION_THROWN then
ex := ORA_JAVA.LAST_EXCEPTION;
message('Java Error');
END;
but when I tried to compile it I got:
Error 306 at line 8, column 8
wrong number or types of arguments in call to 'STARTUPLOADPAGE'
the java method that is supposed to be called here is:
public static String StartUploadPage() {
new Upload();
return Upload.StartUploadPage();
I did get from someone that apparently as written my code wont work anyway because apparently the jar importer in Forms doesnt transfer UI (ie Java Swing) and that in order to get the UI to transfer I would have to write a JavaBean on top of my code... but 1 I have no clue what a JavaBean is and the research I have done so far about it has just confused me more... and 2 I'm not sure what that has to do with the error considering that the method that is supposed to be being called by the line that threw the error doesn't have any JFrames or Java Swing of any kind connected to it... there is a tiny bit of Swing in the class to open up the first form that has the buttons for upload and download in it but that is all. I have 4 classes in that jar... 3 are the various Java Swing pages and have the absolute minimum logic in them possible... and the 4th one is the one that starts everything going, has the main class, and any serious logic that needs to be done the needed values are passed to that class and that class does all the work... that 4th class is the one that is being called in the PL/SQL. If it isnt any trouble could I maybe get a little help from someone on:
1. How to write a JavaBean to allow my program to work the way it is supposed to in Forms and
2. Why I am getting this error and how to make it go awaySimplemente deberias utilizar la webutil, no hace falta programar nada nuevo, con la webutil puede transferir de un puesto cliente a la database, o viceversa.
-
Using DDE with Oracle Forms for uploading Excel data
Hi There,
I have used DDE in Forms to upload data from Excel.
The code which I have implemented is as follows:
DECLARE
iApplication pls_integer;
iConv pls_integer;
v2Buffer varchar2(100);
v2text varchar2(100);
nLength number;
nTransactionId number;
/* these varrays are defined in a package specification*/
vExcelProduct p_upload_functions.prd_no:=p_upload_functions.prd_no('1');
vExcelVpc p_upload_functions.vpc:=p_upload_functions.vpc('1');
BEGIN
/*Open an DDE Server application*/
iApplication:= DDE.App_Begin('C:/excel.exe ||v2fileName,DDE.App_Mode_Minimized);
iConv:=DDE.Initiate('EXCEL',v2filename);
BEGIN
/* first row of the sheet used for title . So loop is started from 2*/
/* Reading a row*/
FOR I IN 2..10000
LOOP
/* Reading columns of a particular row*/
FOR J IN 1..n / * n be the number of columns in excel sheet */
LOOP
/* generate the cell no of excel sheet from where data will
be fetched- R is used for row no and C is foe column no*/
v2text:='R'||I||'C'||J||':'||'R'||I||'C'||J;
/* Store the value in variable */
dde.request(iConv,v2text,v2Buffer,dde.cf_text,1000);
/*Stores values in the varrays for a row*/
IF j=1 THEN
/* for first column*/
nLength:=length(v2Buffer);
vExcelOrg(I-1):=To_Number(substr(v2Buffer,1,nLength-2));
/* for second column */
ELSIF j=2 THEN
nLength:=length(v2Buffer);
vExcelProduct(I-1):=substr(v2Buffer,1,nLength-2);
END IF;
END LOOP;
/*Exit the loop when it encounters an empty row*/
IF vExcelProduct(I-1) IS NULL AND vExcelOrg(I-1) IS NULL THEN
EXIT;
END IF;
/* Otherwise extending the varray*/
vExcelProduct.extend;
vExcelOrg.extend;
/* Reading the next row*/
END LOOP;
/* Now close the DDE application */
DDE.app_end(iApplication);
DDE.terminate(iConv);
EXCEPTION
WHEN Others THEN
DDE.app_end(iApplication);
DDE.terminate(iConv);
RAISE Form_Trigger_Failure;
END;
I am facing a problem, I will appreciate if you can give some insights to help.
We have been having problem logging in to application when there are a number of EXCEL processes running (17-18) on the server. Users that have already logged in have no problem, but new login will get "FRM-92101 There was a failure in the Forms Server during startup". The Forms Server itself is running fine. After we killed a few EXCEL processes, new users will be able to login.
Thanks and regards,
Mandeepthis is a trial method and right now i am trying to read only the first cell of the excel sheet and return that value and show it in the UI when the user presses the button but this code is not returning any value.
METHOD read_excel.
INCLUDE ole2incl.
DATA: filename(128) TYPE c,
excel TYPE ole2_object,
cell TYPE ole2_object,
workbook TYPE ole2_object,
pfile TYPE localfile VALUE
'C:\Documents and Settings\I047323\Desktop\new.xls',
name TYPE string.
CREATE OBJECT excel 'EXCEL.APPLICATION'.
SET PROPERTY OF excel 'VISIBLE' = 0.
CALL METHOD OF excel 'WORKBOOKS' = workbook.
CALL METHOD OF workbook 'OPEN'
EXPORTING #1 = pfile.
CALL METHOD OF excel 'CELLS' = cell
EXPORTING
#1 = 1
#2 = 1
GET PROPERTY OF cell 'VALUE' = value.
CALL METHOD OF workbook 'SAVE'.
CALL METHOD OF workbook 'CLOSE'.
CALL METHOD OF excel 'QUIT'.
FREE OBJECT excel.
ENDMETHOD.
Edited by: neelima v on Jan 14, 2008 4:06 PM -
Oracle Reports In Oracle Forms 11g Parameter problem.
Hello techies,
I am using Weblogic server 10.3.5 with oracle forms 11g at windows 7.I have a report that is Bar_code.rdf.It has two parameters as:
P_1---->character type---->accepts the options(barcode generated or barcode not generated)
P_2---->Number type------->accepts the subgroupitemId.
This report is well working with oracle report builder. Now I tried to run it from my oracle forms.It runs but it does not accept Parameter P_2. I have used
sParms := 'P_1='||:L_BAR||' P_2='||TO_NUMBER(:TXT_ITM_GRP);
set_report_object_property(roRepid,report_other,sParms||' paramform=yes');
set_report_object_property(roRepid,REPORT_SERVER,sReportServer);
v_rep := RUN_REPORT_OBJECT(roRepid);
sJob := SUBSTR(v_rep,LENGTH(sReportServer)+2); --
But there is a parameter form is shown but when i click submmit query the,,,,there is
Error 500--Internal Server Error
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.5.1 500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
please give me the solution
thank you
regards
aadityaHi
are there character symbol appeared in your parameter ?
i've suffering for some unexpected error for parameter value end up with slash , like D:\temp\ ....
and oracle sr (support) says that with workaround mechanism (add additional slash like D:\temp\\ ) they have not plan to fix this issue .
hope this helpful for you. -
Connecting user Oracle 10g to oracle Forms 11g
hi all , please i need help :
my problem is : i have created new user and the tables with oracle database 10g express edition , my problem now is how to connect with oracle Forms 11g to connect with this user and the tables . where i should copie "tsnames.ora" ?? how to modifie tsnames.ora ?? if you have any tutorials or video send to me please . thank's allBe aware that the Express editions are not supported for use with Forms.
As for the tnsnames.ora, for Forms 11, this can be found in the INSTANCE_HOME\config -
How to use Javascript in oracle forms
Hello Experts, I am new in Oracle forms using weblogic 10.3.5 with oracle forms 11g at windows 7.I have need to run a javascript code block inside my oracle form.Please suggest me that how can i do this.Actually I have need to validate my item field alike for email address for this I have to use Java script code. thank You regrads aaditya.
Hi
As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick). From there you subclass all of you forms items off these libraries.
Regards
Quintin -
How to use Java Beans in Oracle Forms 11g at 64 bit windows7
Hello Experts,
I am using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
My java version is jdk1.7.0_51.
Now I have a htmlbutton.jar (which is for bean item in oracle form and this jar file works well for oracle forms 11g 32 bit windows 7 environment).
I have takken steps:
1:-Put jar file in home\java folder.
2:-add this jar file into archive in formsweb.cfg.
3:-Add this this jar file(which is in my home- java folder) in form_class path in registry.
Now when I try to locate this jar file in my oracle form.There is no such jar file.what are the steps to use this jar file in oracle forms bean item.
Please told me what is wrong here.
thank you
regards
aaditya.It is unclear where you are having a problem. Is your issue at runtime (when the form runs in the browser) or when working in the Builder on the form?
Also be aware that you will need to sign your jar and include some new manifest entries. Refer to the Java 7u51 documentation and blogs that discuss the changes.
https://blogs.oracle.com/java-platform-group/entry/new_security_requirements_for_rias
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html -
How to invoke crystal reports from Oracle forms 11g R2 along with passing p
How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
how to pass parameters to crystal report, please help.how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
cheers -
Where and what to download if I like to use Oracle Form 11g
Hello all:
where and what to download if I like to use Oracle Form 11g
Thx in advance.hi
check out the following link.
Oracle Forms 11g available now!!
http://www.oracle.com/technetwork/middleware/weblogic/downloads/index.html
Re: Install Forms & Rpts 11.1.1.3 with WebLogic Server 10.3.3 on Win32
hope this helps u.
sarah
Maybe you are looking for
-
Before the upgrade, every events is displayed in colour accordingly, with All-Day-Event highlighted. After the upgrade, only the "All-day event" is highlighed in clour. But the headline/subject of everything else (from every calendars) is displayed
-
Opinions: averatec 3220H1
* AMD Athlon XP-M 2000+ Processor * 256MB PC2700 DDR Memory * 40GB Hard Drive * 24x CD-RW Combo Optical Drive * 12.1" XGA Display and S3 UniChrome Graphics * AC'97 Audio * v.90 56Kbps Modem, 10/100 Ethernet and 802.11g Wireless * Three USB 2.0 Ports
-
HT4972 How do i update when it doesnt show in settings?
I just bought a used iPod 4 and it is not showing an update in settings, where else can I update?
-
Prob w/ Tungsten T3 and Sun One
I have a Tungsten T3 Palm Pilot that is connecting to a Windows XP Professional laptop. This machine has 1GB of RAM, 40GB HDD, and 2.3GHZ. The problem that I am having is that when I try to synchronize contents from the iPlanet calendar server to the
-
My ipod nano 5th generation won't sync. It says disc cannot be found.
My iPod nano 5th generation won't sync for some reason. It is almost like my PC is reading it as a regular mp3 player. I have to manually open itunes when I connect it.