Implementing graphs from 9i demos in forms
I am trying to find some documentation on how to implement bigraph demo in my application. I have gotten the demos to run but I'm not sure what components I need or where to put them in my existing apps which will run over the web on the application server.
Right now I am just trying to open the canvas that has the bean and I am getting the error
"FRM-13008 Cannot find JavaBean with name 'oracle.forms.demos.bigraph.FormsGraph"
Any guidance would be appreciated.
Is the required jar file in your class_path variable before you invoke forms?
There is a detailed document about using the demo code when you unzip the demo source
online_help\graph90.html
Similar Messages
-
Importing tables and graphs from Word to pdf form
Hi. I've got a form set up in which people are supposed to submit a final report on a grant. There are large multi-line text fields in which they can enter text -- and most people are writing the text in Word and then just copying it into the text fields. In the process, however, they lose formatting of any tables, charts and graphs that are in the Word file. Is there any way to avoid that? Or is the only solution to ask them to append a Word-created pdf containing any tables, etc., to the form?
Thanks --OK, thanks.
Betsy Rubinstein, InForm
6408 Stratford Road
Chevy Chase, MD 20815
Ph: 301.941.1361
Fax: 301.941.1362
www.inform-online.com -
How to implement a java class in my form .
Hi All ,
I'm trying to create a Button or a Bean Area Item and Implement a class to it on the ( IMPLEMENTATION CLASS ) property such as ( oracle.forms.demos.RoundedButton ) class . but it doesn't work ... please tell me how to implement such a class to my button .
Thanx a lot for your help.
AIN
nullhi [email protected]
tell me my friend .. how can i extend
the standard Forms button in Java ? ... what is the tool for that ... can you explain more please .. or can you give me a full example ... i don't have any expereience on that .. i'm waiting for your reply .
Thanx a lot for your cooperation .
Ali
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
Henrik, the Java importer lets you call Java classes on the app server side - I think what Ali is trying to do is integrate on the client side.
If you want to add your own button then if you extend the standard Forms button in Java and then use this class name in the implementation class property then the Java for your button will be used instead of the standard Forms button. And since it has extended the basic Forms button it has all the standard button functionality.
There is a white paper on OTN about this and we have created a new white paper which will be out in a couple of months (I think).
Regards
Grant Ronald<HR></BLOCKQUOTE>
null -
How to implement the spell check in oracle forms 10g or 6i...
How to implement the spell check in oracle forms.
Is there any different method is there.
Please help me....
Praveen.KHere is one different from Jspell..
In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
PROCEDURE spell_check (item_name IN VARCHAR2)
IS
my_application ole2.obj_type;
my_documents ole2.obj_type;
my_document ole2.obj_type;
my_selection ole2.obj_type;
get_spell ole2.obj_type;
my_spell ole2.obj_type;
args ole2.list_type;
spell_checked VARCHAR2 (4000);
orig_text VARCHAR2 (4000);
BEGIN
orig_text := NAME_IN (item_name);
my_application := ole2.create_obj ('WORD.APPLICATION');
ole2.set_property (my_application, 'VISIBLE', FALSE);
my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
my_document := ole2.invoke_obj (my_documents, 'ADD');
my_selection := ole2.get_obj_property (my_application, 'SELECTION');
ole2.set_property (my_selection, 'TEXT', orig_text);
get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
ole2.invoke (get_spell, 'CHECKSPELLING');
ole2.invoke (my_selection, 'WholeStory');
ole2.invoke (my_selection, 'Copy');
spell_checked := ole2.get_char_property (my_selection, 'TEXT');
spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
COPY (spell_checked, item_name);
args := ole2.create_arglist;
ole2.add_arg (args, 0);
ole2.invoke (my_document, 'CLOSE', args);
ole2.destroy_arglist (args);
ole2.RELEASE_OBJ (my_selection);
ole2.RELEASE_OBJ (get_spell);
ole2.RELEASE_OBJ (my_document);
ole2.RELEASE_OBJ (my_documents);
ole2.invoke (my_application, 'QUIT');
ole2.RELEASE_OBJ (my_application);
END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' ); -
Calling graph from Reports created in graphics builder?
Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks
Justin Beno:
Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
~Vannette -
From Clause query with form variables
forms 9.0.4 rdbms 9.2
Is it possible to create a From Clause query with form variables generated from another block (but in the same form)? I am not having any success.
I searched Metalink. It appears that according to DOC ID # 69884.1, in Forms 6i, this is not possible. Metalink suggest in DOC ID 104771.1 implementating a dynamic From Clause, but when I duplicate the example on my system, I receive an Oracle error. Further investigation from the web form (DISPLAY ERROR) indicates that the system does not see the dynamic value.
Has anyone else run into this error? Has this been fixed in forms 9.0.4 and I am just missing something? Does a dynamic from clause query work? Can anyone point me to an example or post an example or offer any advise.
thanks in advanceAs far as I know it is not possible to use block items in a from clause query in forms 9.0.4. Here is my solution for a From-Clause-Query via the 'Query-Data-Source-Name-Property':
To use the values of the block items in my from clause query I implemented a database package with getter and setter routines for the block item values I needed for the query.
In the Key-Exeqry-Trigger of the From-Clause-Query-Block I set the global package variables with values of the block-items I am interested in. In the From-Clause-Query I used the values in the where-clause via package functions which return the global package variables.
Hope my solution will work for your problem. -
Chnaging input in a waveform graph from front panel in labview
Hi !
I am working with temperature sensors; I have several sensors to read simultaneously.
I want to plot information from different sensors in different plots and have the option to change/select the sensors in the a graph from front panel. For example, I have 8 sensors(please see the attachments_ front panel), A,B,C,D,E,F,G and M. Some time it could be possible that user want A,B,C in Tumor Graph or sometimes only A and B. That means the identity and the number of sensors could be changed in different times.
Now I connect only two sensors per graph (ref: block diagram) but the number and the sensors to be plotted in a certain graph can be changed, so How can I implement it ?
Any help or idea will be appreciated.
Best Regards,
Hasan Masud
CTH, Sweden.
Attachments:
random graph_front.jpg 260 KB
random graph_block.jpg 298 KBHi hasanma,
Well, you could expend the build array and add more inputs to it as shown below:
And individually select which sensor data the user wants to view as shown below:
Warmest regards,
Lennard.C
Learning new things everyday... -
Spell checker Functionality to be Implemented in a Oracle Ebiz Custom form
Hi,
I have tried implementing the Spell checker functionality in one of our Custom form,I used the OLE2 Built in Package in forms 6i to invoke the Spell checker functionality in Microsoft word but i am getting an error,Could anyone please help me in implementing the functionality?
I used the following procedure to Implement the spell checker functionality in Forms 6i and registered the same in Oracle Applications 11i,
PROCEDURE spell_check (item_name IN VARCHAR2)
IS
my_application ole2.obj_type;
my_documents ole2.obj_type;
my_document ole2.obj_type;
my_selection ole2.obj_type;
get_spell ole2.obj_type;
my_spell ole2.obj_type;
args ole2.list_type;
spell_checked VARCHAR2 (4000);
orig_text VARCHAR2 (4000);
BEGIN
orig_text := NAME_IN (item_name);
my_application := ole2.create_obj ('WORD.APPLICATION');
ole2.set_property (my_application, 'VISIBLE', FALSE);
my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
my_document := ole2.invoke_obj (my_documents, 'ADD');
my_selection := ole2.get_obj_property (my_application, 'SELECTION');
ole2.set_property (my_selection, 'TEXT', orig_text);
get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
ole2.invoke (get_spell, 'CHECKSPELLING');
ole2.invoke (my_selection, 'WholeStory');
ole2.invoke (my_selection, 'Copy');
spell_checked := ole2.get_char_property (my_selection, 'TEXT');
spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
COPY (spell_checked, item_name);
args := ole2.create_arglist;
ole2.add_arg (args, 0);
ole2.invoke (my_document, 'CLOSE', args);
ole2.destroy_arglist (args);
ole2.RELEASE_OBJ (my_selection);
ole2.RELEASE_OBJ (get_spell);
ole2.RELEASE_OBJ (my_document);
ole2.RELEASE_OBJ (my_documents);
ole2.invoke (my_application, 'QUIT');
ole2.RELEASE_OBJ (my_application);
END;
I am getting the following error,
*305501:non-ORACLE exception*
I get this error exactly after the following line of the procedure,
my_application := ole2.create_obj ('WORD.APPLICATION');
This Spell check functionality works fine when implemented in a standalone form(When a form is ran from the Form Builder),Facing issue only when it is registered in the Oracle applications 11i.
I searched various Forums,But i unable to find any solution,Expecting your help on the same asap.
Thanks,
Venkat
Edited by: 946005 on Jul 12, 2012 3:47 AMHi Raja,
Thanks for the Reply..
Thanks a lot for your quick and efficient responses.
But Iam unable to figure out how to implement this auto save functionality in this BSP Applicaition. If anyone has worked on this BSP Application <b>HAP_DOCUMENT</b>, can you please tell me how to do this auto save functionality. Is it possible that when I give this popup to save using java script and when the User clicks on OK, can I get the return code for this and use it to trigger the auto save functionality? And where exactly do I have to code this. Because the code here is bit confusing and the pages are called dynamically, even Iam unable to figure out the Button Id. Can anyone please help me out on this. This is a very urgent requirement.
As specified by you, I have used this code to give the popup.
<script type="text/javascript">
function alertUser()
alert('Please Save the changes by clicking Save button');
window.setInterval("alertUser()",300000);
</script>
Can I use the same code for save also, like this:
<script type="text/javascript">
function autosave()
htmlbSL(this,2,'SAVE:SAVE');
window.setInterval("autosave()",300000);
</script>
I was trying with this but it is not working.
Regards,
Raju
Message was edited by:
Narayana Raju Sampathirao -
Hello fellow coders, Im not too sure on how to implement a graph in swing and was looking for some help into creating a graph from a Jtable in my program. I have seen many suggestions to use JFreeChart, but i am not too sure how to use this. Any suggestions or help will be much appricated. There are duke dollars availiable for the most helpful reply.
CellzeYes i do mean a Chart with x,y co-ordinates - sorry should of been a bit clearer.
The problem i have had with JFreeChart is actually figuring out how to use it. It hasnt got any decent documentation that i have found.
I am using eclipse to code my program and have included the libraries into the build path but it has taken me a couple of days to get that far.
The libraries being the .jar files found in the \lib folder. Please tell me if I am completely incorrect the way i am doing this
If any one has used JFreeChart before in a similar way could you please forward the relevant documentation or tips to help me get started with this library. As it is so big and i am just stuck trying to understand it at the moment.
Cellze -
Return data from Java servlet in form of JSON encoded parameters in Javascr
How to return data from Java servlet in form of JSON encoded parameters in Javascript handler function call?
The same is implemented in php as the following
echo "sT.handleAjaxResponse(";
echo json_encode($response);
echo ");";
How to do the same in Java servlet?
Thanks.With the rising popularity of JSON (especially with Ajax), support for it has started to appear in the Java community. I am not aware of any standardized approach yet, but expect it is likely we'll see that eventually. For now, you probably want to look at a third-party library such as the [JSON in Java Library|http://www.json.org/java/], Jettison, or [Java Tools for the JSON Format|http://jsontools.berlios.de/].
-
Implementing GrabCut - how to implement graph cut?
Hi all,
I'm implementing the GrabCut segmentation technique in java.
This is a link to the GrabCut paper
research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
I'm working with this paper (explains briefly how to implement the whole system)
students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
The last part of the implementation involves finding a minimal cut in a graph
(I need to build a graph from the image pixels with some constrains).
Does anybody have an idea how to implement weighted graph class efficiently
in order the graph cut algorithm to run fast?
Thanks all
Edited by: drortrie@ on Aug 17, 2008 5:06 AMHi all,
I'm implementing the GrabCut segmentation technique in java.
This is a link to the GrabCut paper
research.microsoft.com/vision/Cambridge/papers/siggraph04.pdf
I'm working with this paper (explains briefly how to implement the whole system)
students.cs.byu.edu/~jtalbot/research/Grabcut.pdf
The last part of the implementation involves finding a minimal cut in a graph
(I need to build a graph from the image pixels with some constrains).
Does anybody have an idea how to implement weighted graph class efficiently
in order the graph cut algorithm to run fast?
Thanks all
Edited by: drortrie@ on Aug 17, 2008 5:06 AM -
Implementing multi-select lists in Oracle Forms
Can anyone of you please tell me how to do multi select list in forms. I used picklist.fmb from oracle demo forms but it is not working fine. If someone could provide a working form I will be grateful to them.
My mail id is [email protected]Some years ago I wrote (using Forms6i) utility MSLOV for such purposes, and even wrote an article about using it, but, of course, in Russian :-)
I successfully use it in my Web Forms6i project and also test it in C-S Forms6i and Forms9i.
If someone interesting, I also have short english usage description.
It will be nice to hear your comments.
At first, you need a code, which can be downloaded from http://www.geocities.com/luzanovp/mslov.html
At the end of article there is a link to mslov.zip. Get it.
Compile MSLOV.fmb and MSLOV.pll
Run demo forms: EMP_DEMO.fmb, ORD_DEMO.fmb and see how it works.
It requires Scott's tables: emp, dept, ord, item, product. You can create these tables from demobld.sql
Below description about how to use it.
You can show to user only one column, actually it can be expression (so, you
are not limited here to one database column only ).
Specify this column/expression by label_in parameter to fp_mslov.show_lov
For example, if EMP table contains first_name and last_name columns and
you want to show to the user full name do this:
IF fp_mslov.show_lov (
label_in => 'first_name || '' '' || last_name',
Parameter id_in - this is what will be returned to you as a developer after user
made his choice.
For example, you want to receive array of EMPNO:
IF fp_mslov.show_lov (
label_in => 'first_name || '' '' || last_name',
id_in => 'empno'
In some cases you need to return more that one column.
You can specify up to five additional columns for such purposes.
For example, you want to return not only EMPNO, but also SAL and COMM columns:
IF fp_mslov.show_lov (
label_in => 'first_name || '' '' || last_name',
id_in => 'empno',
col1_in => 'sal',
col2_in => 'comm'
Also, you can use expressions in place of these columns:
col3_in => 'sal + NVL(comm, 0)'
From which table we must query?
How to order by or specify some conditions(Where clause)?
Where the place for GROUP BY?
For all these questions you must use from_clause_in parameter.
In our example we will query emp table and want order by salary in descending
order:
IF fp_mslov.show_lov (
from_clause_in => 'FROM emp ORDER BY sal DESC',
Parameter title_in to fp_mslov.show_lov is a self documented.
This is a title for MSLOV dialog.
So, to invoke mslov utility, we construct such call:
IF fp_mslov.show_lov (
label_in => 'first_name || '' '' || last_name',
id_in => 'empno',
col1_in => 'sal',
col2_in => 'comm'
col3_in => 'sal + NVL(comm, 0)',
from_clause_in => 'FROM emp ORDER BY sal DESC',
title_in => 'Select employees'
THEN
This function fp_mslov.show_lov will return TRUE if user made selection and
FALSE if user press CANCEL (similar to SHOW_LOV builtin).
Now, if it return TRUE we need to process returned rows (selected by user).
I store it in global record group.
But to work with this record group, you can use fp_mslov package, which
provide desired API for this purpose.
At first, you need to declare a variable of FP_MSLOV.OUT_RECORD_TYPE type.
Actually this is a record type declared in fp_mslov package specification.
DECLARE
returned_rec FP_MSLOV.OUT_RECORD_TYPE;
To process selected rows we need a loop from 1 to a number of selected rows.
Such number can be received by fp_mslov.rowcount function:
FOR i IN 1 .. fp_mslov.rowcount
LOOP
END LOOP;
To return one row we can use fp_mslov.get_row function.
FOR i IN 1 .. fp_mslov.rowcount
LOOP
returned_rec := fp_mslov.get_row(i);
END LOOP;
Now, you can do what you want with returned row.
RETURNED_REC record has the following fields which correspond to parameters of
the
fp_mslov.show_lov function: id, col1, col2, col3, col4, col5
You know that in id field will be empno column, in col1 -> sal, etc
So, you can process them:
FOR i IN 1 .. fp_mslov.rowcount
LOOP
returned_rec := fp_mslov.get_row(i);
message('Empno: ' || returned_rec.id);
message('Sal: ' || returned_rec.col1);
message('Comm: ' || returned_rec.col2);
message('Sal+Comm: ' || returned_rec.col3);
END LOOP;
Remember that returned values always are varchar2 values.
So if you need, for example, a date you need explicitly convert it to char when
invoking
fp_mslov.show_lov and then (after fp_mslov.get_row) convert it to date with the
same format mask.
For example:
IF fp_mslov.show_lov (
col4_in => 'TO_CHAR(hiredate, ''DD.MM.YYYY HH24:MI:SS'')',
... TO_DATE(returned_rec.col4, 'DD.MM.YYYY HH24:MI:SS');
To clear memory structures which used by global record group and others
variables,
you need to use fp_mslov.clear procedure.
And now all together:
DECLARE
returned_rec FP_MSLOV.OUT_RECORD_TYPE;
BEGIN
IF fp_mslov.show_lov (
label_in => 'first_name || '' '' || last_name',
id_in => 'empno',
col1_in => 'sal',
col2_in => 'comm'
col3_in => 'sal + NVL(comm, 0)',
from_clause_in => 'FROM emp ORDER BY sal DESC',
title_in => 'Select employees'
THEN
FOR i IN 1 .. fp_mslov.rowcount
LOOP
returned_rec := fp_mslov.get_row(i);
message('Empno: ' || returned_rec.id);
message('Sal: ' || returned_rec.col1);
message('Comm: ' || returned_rec.col2);
message('Sal+Comm: ' || returned_rec.col3);
END LOOP;
ELSE
NULL; -- User press Cancel
END IF;
fp_mslov.clear;
END; -
Hi all,
Does anyone know how to capture the SP username of who is making submission of the data from an InfoPath 2010 form? I looking to avoid the user need to type extra information like username/ manager name, etc; and then use code behind to be doing validation
before to push that data to an sql server.
Any suggestion , book reference , link is acceptable
thanks in advance
CRISTINA& MICROSOFT ForumHi Cristina,
Please check the following article with using web service UserProfileService.asmx to get the current user profile in InfoPath code behind and use the validating event to do some complex validation, it should help.
http://blogs.msdn.com/b/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
http://codesupport.wordpress.com/2010/04/05/sharepoints-userprofileservices-getuserprofilebyname-method/
http://www.bizsupportonline.net/infopath2007/infopath-basics-3-ways-validate-data-infopath.htm
http://henry-chong.com/2010/12/infopath-validation-gotcha/
Thanks
Daniel Yang
TechNet Community Support -
How do I create an app from my Adobe pdf forms to use on any mobile device as well as windows and ios? I have all the apps in Creative Cloud by the way.
If you already purchased it with the same Apple ID, then you will not be re-charged.
-
How to show the graphs from 16channels or more at one time
Hi.
I am using labview with pci-6031e board.
Is there a efficient way to show the graph from 16 channels which acquire the temperature with thermocouple, or to show just one specific graph that I want.
I followed these steps.
1.in examples from the labview program,I`ve used the source of acquring the multi-temperatures.
2. used the index array to devide each temp. and connected this to graph in the case structure.
but it requred too many space,and doesn`t look good.
Thank you .You can set a state machine doing the following: Put 17 controls, one for each temperature and one for all. Inside the case structure, wire one case for each temperature, bundling x and y arrays into a cluster, and then building an array (of 1 element). In the all case bundle each temperature and build an array of all. Put the array output into the graph... and it's done.
Hope this will feed your needs, and if you want an example... just ask
Maybe you are looking for
-
Displaying xml publisher report from adf page.
I am using jdev 10.1.3.3 I have an requirment of displaying an xml publisher report on click of command button. any suggestion.how this can be achived. according to my understanding. if we create a folder in our web server which oc4j in our case.and
-
Help! about process chain execution status
hi: we nearly have one problem about the process chain execution status, when error occured during process chian execution, we fixed it in time, however, even the error repaired, its status still showed yellow, and this stop the subsequent process t
-
After changing 'MS SQL server' service's user name SDAC doesn't work properly
I've changed 'MS SQL Server' service user name from .\admin (have had such already) to network_services and now my oracle linked servers to Oracle instance stopped to work. Namely, 'Cannot create an instance of OLE DB provider "OraOLEDB.Oracle" for l
-
Export Layers to Files includes an additional layer in each file
I'm using the CS4 Export Layers to Files (to PNG with transparency), and with this particular PSD, there's one layer that gets exported on its own, and then it's included in each of the other layers when they're exported. If I run it a second time b
-
A few days ago I started the More Everything service. The plan brochure says you get 25gb of cloud storage per line. I have 2 cell phones and a Home Phone connect which means I have 3 lines?? I added the 25 gb storage features for each line on the we