Oracle Maps Application - get the current Map as ONE Image
Hi forum,
is it possible to retrieve one image within an oracle maps application? On the client side oracle maps displays multiple images as one map within one div container. I have the requirement to push the current image to another application. Regards, A. Spiering
Hi!!!
I am facing a similar problem. The MapViewer print function just allows me to print. Is there anyway I can copy the map to a clipboard as an image ? Or alternatively is there any way I can generate the map as an image in another window so that the user can download it as an image using right mouse button click ("Save Picture As" option)?
Thanks a lot.
Sudip
Similar Messages
-
Oracle 11i release 2 error "Unable to get the current group"
Hi oracle gurus,
I have been trying to install oracle 11g rel 2 on HPUX 11.31 and i am getting the following error
# more installActions2010-01-06_10-27-37AM.log
oracle.install.ivw.db.driver.DBInstaller
-scratchPath
/u01/tmp/OraInstall2010-01-06_10-27-37AM
-sourceLoc
/u01/install/database/install/../stage/products.xml
-sourceType
network
-timestamp
2010-01-06_10-27-37AM
INFO: Loading data from: jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigComma
ndMappings.xml
INFO: Loading beanstore from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigC
ommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/u01/tmp/OraInstall2010-01-06_10-27-37AM/ext/jlib/installcommons_1.0.0b.jar!/
oracle/install/driver/oui/resource/ConfigCommandMappings.xml
SEVERE: [FATAL] An internal error occurred within cluster verification framework
Unable to get the current group.
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:11
INFO: Advice is ABORT
SEVERE: Unconditional Exit
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -1
INFO: Shutdown Oracle Database 11g Release 2 Installer
$
>>
# more oraInstall2010-01-06_10-27-37AM.err
---# Begin Stacktrace #---------------------------
ID: oracle.install.commons.util.exception.DefaultErrorAdvisor:11
oracle.cluster.verification.VerificationException: An internal error occurred within cluster verification framework
Unable to get the current group
at oracle.cluster.verification.ClusterVerification.<init>(ClusterVerification.java:200)
at oracle.cluster.verification.ClusterVerification.getInstance(ClusterVerification.java:294)
at oracle.install.driver.oui.OUISetupDriver.load(OUISetupDriver.java:407)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:161)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:216)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:126)
at oracle.install.commons.util.Application.startup(Application.java:869)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
---# End Stacktrace #-----------------------------
<<
$ uname -a
HP-UX rx2600 B.11.31 U ia64 <XXXXXXXX> unlimited-user license
# swlist | grep -i oe
HP-Caliper-PERF C.11.31.04 HP Caliper OE Bundle
HP-WDB-DEBUGGER C.11.31.04 HP DEBUGGER OE Bundle
HPUX11i-DC-OE B.11.31.0903 HP-UX Data Center Operating Environment
# swlist | grep -i qpk
QPKBASE B.11.31.0903.334a Base Quality Pack Bundle for HP-UX 11i v3, March 2009
# swlist -l product | grep -i c++
ACXX C.06.20 HP C/aC++ Compiler
C-ANSI-C C.06.20 HP C/aC++ Compiler
PHSS_37501 1.0 aC++ Runtime (IA: A.06.16, PA: A.03.76)
PHSS_39824 1.0 HP C/aC++ Compiler (A.06.23)
i start the installation as oracle and my group and user id is
$ id
uid=109(oracle) gid=102(oinstall) groups=101(dba),104(asmdba)
Please let me know what else do i need, we might have to use the hardware for testing another application so i am limited in terms of time constraints
any help is much appreciated, Thank you!!
Regards,
Dasjith
Edited by: user10247524 on Jan 6, 2010 7:52 AMHi Stig Sundqvist
Where can i find MOS Doc 983713.1 ??You have to login https://support.oracle.com/CSP/ui/flash.html and you have to CSI account. This site is oracle site for tech. documents for can rise SR etc.. for more details please check
What is CSI:
Re: Installing Oracle Database 10.2.0.4
And how do i do to fix this problem ????Login metalink then find upper note and follow document
Hope it helps
Regard
Helios -
How to get the current path of my application in java ?
how to get the current path of my application in java ?
thanksTo get the path where your application has been installed you have to do the following:
have a class called "what_ever" in the folder.
then you do a litte:
String path=
what_ever.class.getRessource("what_ever.class").toString()
That get you a string like:
file:/C:/Program Files/Cool_program/what_ever.class
Then you process the result a little to remove anything you don't want:
path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
//Might be a little error here but you should find out //quickly if it's the case
And here you go, you have a nice
C:/Program Files/Cool_program
which is the path to your application.
Hooray -
To get the Current Application ID
Hello,
Is there any standard function to get the current application id ?
Thanks
GeethaIf the form is built using template.fmb, that should be automatically taken care of I will be surprised if that is not). If that is not the case and if you launching the form using either custom.pll or personalization, can you read the form function where it is called from (most probably in the parameters) and get its application from fnd_form_functions.
Thanks
Nagamohan -
Hello!
I'm trying to create a kind of a navigation tree for my application.
It should represent some elements of an XML structure and some other nodes for other options.
The binding with the context is not a problem, I can create the tree up to all the levels I want to.
The problem now is, that I don't know, how to get the "current tree element", when there is any action.
For example:
public void onActionSelect(...) {
String test = wdContext.currentTreeNodeElement().getText();
wdThis.wdGetContext().currentContextElement().setSelectedElement(test);
With this method I can get the text of the "first level nodes". If I want to get the "second level node", I can do
String test = wdContext.currentTreeNodeElement().currentChildElement.getText();
..and for the next levels so on.
Isn't there any general method to get the information of the selected element without knowing before, whether it is a nodeElement or a nodeElement.currentChildElement or a nodeElement.currentChildElement.currentChildElement, ...?
Greetings,
RamóHi,
if you following that pdf ,
i think your not implemented the below code in DomodifyView method
if (firstTime) {
IWDTreeNodeType treeNode = (IWDTreeNodeType) view.getElement("TheNode");
/* The following line is necessary to create parameter mapping from parameter "path" to parameter "selectedElement".
Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
that raised the onAction event. Parameter "selectedElement" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
that handles the onAction. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
be accessed within the event handler
treeNode.mappingOfOnAction().addSourceMapping("path", "selectedElement");
/* The following line is necessary to create parameter mapping from parameter "path" to parameter "element".
Parameter "path" is of type string and contains the string representation of the tree element (its corresponding context element to be exact)
that raised the onLoadChildren event. Parameter "element" is of type IWDNodeElement (or extends it) and is defined as parameter in the event handler
that handles the onLoadChildren. The parameter mapping defined here translates the String "path" into the corresponding context element that then can
be accessed within the event handler
treeNode.mappingOfOnLoadChildren().addSourceMapping("path", "element");
please cross check once.
Thanks,
Ramesh -
How to get the current page URL
HI All
I am working in oracle apps 4.0
I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
How to get the current page url for the page item.
Any steps should be help ful
Thanks & Regards
Srikkanth.MI'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
If you want permanent/ID-independent links then use application and page aliases.
so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
There are many ways to provide links in APEX—including lists and nav bars.
Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
f?p=UNITY:ABOUT:&APP_SESSION. -
How to get the current week from sysdate?
Hi sir,
i want to know how to get the current week from sysdate?
thanksHi Nicolas
It seems you like to check my post and also make commend ;) thanks for your attention
Have you ever read the posts above and given solutions ?Yes, I did
Have you read the docs ? Yes, I checked
What's the added value here ?Did youYou shared doc with solution(long one), I shared short one which point same solution(Check what Joel posted)..So what is benefit, As you can guess oracle docs are sometimes become so complicated as specialy for beginner...(At least it was like that for me and Belive me somedocs are still sooo complicated even for oracle coworkers ) But for you I dont know ;)
=> Why writting the PS in bold ?Why.. Let me think... Ohh Maybe I am looking some questions(many) and even user get answer they should not changed status so I am reading some posts and try to get problem and loosing time..
So I am putting that PS wiht BOLD because I dont wanna lose time my friend ;) Because While I am trying to help ppl here In same time I am trying to giving support to my customer prod systems. Which mean time is very important for me...
Hope my answer could satisfy you..
One important PS for you.. You may not like my posts (or someone) but my friend I become tired to read&answer and make commend to on your comment which is about my posts.
I am not newbie in forum(At least I fell like that) and I belive I know how I should make post..
Thank you
Regards
Helios -
How to get the current schema name
Hi,
Can anybody please tell me how to get the current schema name, there is some inbuilt function for this,but i am not getting that. Please help me.
Thanks
Jogeshok folks, I found the answer at Tom's as usual.
http://asktom.oracle.com/tkyte/who_called_me/index.html
I rewrote it into a function for kicks. just pass the results of DBMS_UTILITY.FORMAT_CALL_STACK to this function and you will get back the owner of the code making the call as well some extra goodies like the name of the code and the type of code depending on the parameter. This ignores the AUTHID CURRENT_USER issues which muddles the schemaid. Quick question, does the average user always have access to DBMS_UTILITY.FORMAT_CALL_STACK or does this get locked down on some systems?
cheers,
paul
create or replace
FUNCTION SELF_EXAM (
p_call_stack VARCHAR2,
p_type VARCHAR2 DEFAULT 'SCHEMA'
) RETURN VARCHAR2
AS
str_stack VARCHAR2(4000);
int_n PLS_INTEGER;
str_line VARCHAR2(255);
found_stack BOOLEAN DEFAULT FALSE;
int_cnt PLS_INTEGER := 0;
str_caller VARCHAR2(30);
str_name VARCHAR2(30);
str_owner VARCHAR2(30);
str_type VARCHAR2(30);
BEGIN
str_stack := p_call_stack;
-- Loop through each line of the call stack
LOOP
int_n := INSTR( str_stack, chr(10) );
EXIT WHEN int_cnt = 3 OR int_n IS NULL OR int_n = 0;
-- get the line
str_line := SUBSTR( str_stack, 1, int_n - 1 );
-- remove the line from the stack str
str_stack := substr( str_stack, int_n + 1 );
IF NOT found_stack
THEN
IF str_line like '%handle%number%name%'
THEN
found_stack := TRUE;
END IF;
ELSE
int_cnt := int_cnt + 1;
-- cnt = 1 is ME
-- cnt = 2 is MY Caller
-- cnt = 3 is Their Caller
IF int_cnt = 1
THEN
str_line := SUBSTR( str_line, 22 );
dbms_output.put_line('->' || str_line);
IF str_line LIKE 'pr%'
THEN
int_n := LENGTH('procedure ');
ELSIF str_line LIKE 'fun%'
THEN
int_n := LENGTH('function ');
ELSIF str_line LIKE 'package body%'
THEN
int_n := LENGTH('package body ');
ELSIF str_line LIKE 'pack%'
THEN
int_n := LENGTH('package ');
ELSIF str_line LIKE 'anonymous%'
THEN
int_n := LENGTH('anonymous block ');
ELSE
int_n := null;
END IF;
IF int_n IS NOT NULL
THEN
str_type := LTRIM(RTRIM(UPPER(SUBSTR( str_line, 1, int_n - 1 ))));
ELSE
str_type := 'TRIGGER';
END IF;
str_line := SUBSTR( str_line, NVL(int_n,1) );
int_n := INSTR( str_line, '.' );
str_owner := LTRIM(RTRIM(SUBSTR( str_line, 1, int_n - 1 )));
str_name := LTRIM(RTRIM(SUBSTR( str_line, int_n + 1 )));
END IF;
END IF;
END LOOP;
IF UPPER(p_type) = 'NAME'
THEN
RETURN str_name;
ELSIF UPPER(p_type) = 'SCHEMA.NAME'
OR UPPER(p_type) = 'OWNER.NAME'
THEN
RETURN str_owner || '.' || str_name;
ELSIF UPPER(p_type) = 'TYPE'
THEN
RETURN str_type;
ELSE
RETURN str_owner;
END IF;
END SELF_EXAM; -
How to get the current month number
Hi everyone,
Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
Is there anyway to get the current month value in number? ThanksScott,
Thank you so much! It works perfectly! :)
Hope you have a great day ahead!
Cheers,
Angeline -
How to get the current user logon to portal?
Hi Gurus,
How to get the current user who logged into portal.
I have a webdynpro requirement where in which I have to get the current user id who loggedinto portal which will be the input parameter of the BAPI(adaptive RFC model) which will return me employee number of the particular user.
Can anyone send me the code to retrive the user id through webdynpro application..........
Pts will be rewarded for useful inputs......
Thanks in Advance,
DharaniHi Dharani,
Using UMEfactory u can do that...
1. create one input field,
2. create one attribute called Uid
3. assign Uid attribute to the input field
4. type the following code in Doinit() method
String uid = wdContext.currentContextElement().getUid();
try {
IUser user = UMFactory.getUserFactory().
getUserByLogonID(uid);
String userName = user.getDisplayName();
} catch (UMException ex) {
e.toString();
5. after that go to Portal create one iview assign to particular user. then u get into the user details...
thats it
Regards,
P.Manivannan -
How to get the current FILE PATH?
I want to get the File Path on my Java Programming, which class / method can get a File Path on the windows?
thanks!I want to get the current working directory(e.g.
c:\Tomcat5.0\webapps\)
If this is a web application you're talking about and you want the directory where that application is installed, that's almost certainly not the CWD. It might be one of the context or whatever variables that's available to servlets. Look in the servlet API and see what's there. -
Getting the current time and comparing it to a time in the future
Hello,
I am seeing in my research some debate on the best way to get the time. I am reading that just using the Date class and calling getTime() is not the most reliable way to do things. Overall, I am trying to get the current time down to the millisecond. I then want to add 5 seconds to that time and then store that value. FInally, when the current time is greater or equal to this stored value, I want to continue on in my program. Can anyone point me in the right direction on how to calculate the time variable? Any help would be much appreciated. I am new to the JAVA world.
Thanks,
TimTo store the current time, simply use new java.util.Date(). Yes, there might be slight inconsistencies and it might not be the most accurate time possible, but without significant additional effort (perhaps a native O/S call or the use of another time library), you will not do much better. Calendar won't help in this instance either. The easiest way to get five seconds in the future is to do the following:
Date now = new Date();
Date future = new Date(now.getTime() + 5000);To store and retrieve the value, it depends on what you are doing. You can place it in the database via JDBC (BTW, if you trust the database timestamp more than Java's you can use something like Oracle's SYSDATE instead of Java's date in your SQL query). You can place it in the filesystem. You can store it in the user's session.
- Saish -
Getting the current row in a datatable
Hi,
I am using datatable. How do I get the current row in the datatable
and use it for my processing in the JSP page
or I want to just output that value with out using any jsf tags.
Examples
<h:dataTable styleClass="dataTable" id="table1" border="0" value="#{myTrainingHandler.myMediaTraining}" var="dataIt">
<h:column id="column1">
<f:facet name="header">
<h:outputText styleClass="outputText" value="Course Name"id="text1"></h:outputText>
</f:facet>
<!---------------------------------------------- how do I get the value of #{dataIt.name} and use it in the JSP way
Reason: I just want to output the value. If I am using h:outputText then it inserts <span>... </span>
or, I want to transfer that value to another another attribute in the session or something like that.
---------------------!>
<h:outputText styleClass="outputText" id="text2" value="#{dataIt.name}"></h:outputText>
</h:column>
</h:dataTable>
-AswathIt looks like good idea!Unfortunately this is just workaround. Indeed your
suggestion is real JSF-feeling solution but due to the
bug (or rather pure design of RI implementation???) it
is dangerous.
I had some doubt about is it bug or my incompetence.
Unfortunately this seems is really bug.
Hope this problem will be solved in the next releases.from blueprints catalog:
Component bindings (e.g. <h:inputText binding="#{MyBean.lastNameComponent}" />) should always be stored in request scope since their value is no longer valid after a request has been processed anyway. The component tree is reconstituted during each incoming request, changing the physical instances these component bindings will point to.
as you see there is really problem in using session backing bean with component binding
so that means idea with parameter looks better now because we don't need to use table binding.
Or probably we can define some kind of pattern like couple of beans with request scope and session scope.
for example:
Catalog - session scope
CatalogView - request scope
Catalog will keep session data and CatalogView will provide some presentation logic (including some stricly visual oriented data) and access to business methods of Catalog class.
I will send you example by e-mail (on friday) if you not mind.
>
Thank you for your suggestion!
Probably I will use your idea in my application.
By the way I'm from Kiev also.Hello from Kiev :-)
I have one suggestion.
I'm working on JSF form that suppose to add, editand
delete records from table.
Also I wanna to use scrolling by page and sorting.
I'm trying to make this form somehow clean and
universal as much as possible.Seems I have same tasks for now.Great! I will send some code soon.
And maybe we can discuss every aspect how to do good JSF based application including config oriented information and utilities classes.
-how do you work with tables without primary keyI dont' have tables without primary key :)
-how do you make pagination by universal wayWe need just make good component for that.
We already started in this direction. -
Get the current position within the PBEL Prozess
Hi,
In the BPELConsole I can see the the flow of every PBEL process
instance and thus I see the current position within the process.
How would you get the current position programatically, via SOAP e.g.?
Kind regards,
MartinHi,
there is a JAVA API provided by Oracle
http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/toc.htm
If you really need SOAP, you can build your own Java webservices with this API -
I need to get the current assignee for a given request using SOA's java api
I'm developing a spring app that interfaces with Oracle SOA suite and executes the actions such as approving requests using the api. I need to get the current assignee for each SOA Task this is dispalyed in the OIM console so it is getting it from somewhere. I tried getApprovers in the ITaskService api but this returns an empty list
I have checked it once again and there indeed are links for ALUI components for Solaris on SPARC at edelivery.oracle.com. (Officially ALUI supports Solaris on SPARC only)
If you have looked at Solaris x86, then you must not have found them. Please make sure that you are selecting the righ platform. Also, make sure that you click on the Aqualogic media pack so as to get the lists of the components included in it. (Point to Note: You need to go to the next level)
For whichever component you are not able to find, try looking for it in the Metalink (My Oracle Support) if you have a support contract.
Maybe you are looking for
-
My songs are fine on iTunes but completely messed up on my iPod
hey, ive gotta problem. when i listen to my songs on iTunes, not the store, but my library, they are fine. when i listen on my iPod, they are completely messed up! what i mean is that when played on my ipod, the beat (or rest of music besides the lyr
-
How can I change the login page for an application
Hello, I've created an application that uses some general login page (http://localhost:7777/pls/apex/wwv_flow_custom_auth_std.login_page). How can I make my application to use, by default, a custom Login page (in fact the 101 - Login page) ? Thank yo
-
Photoshop CS5 - Quitting unexpectedly
Why does my Photoshop CS5 keep quiting unexpectedly?
-
FMS2 NetServices in Windows Vista
Anyone have an ideea how to enable FMS2 NetServices in Windows Vista ? Thank You.
-
I have a problem which is open with tab delay or after closed tab is still appear and after disappear blank space between two tab is still stay as i was using in facebook.Although it is not always.