ArrayMap
Hi which package to import for ArrayMap.
Error(262,34): class ArrayMap not found in class oracle.apps.ar.hz.components.address.webui.HzPuiAddressCreateUpdateCO
is the error i am getting.
import class for ArrayMap is?
Thanks in Advance
You should be knowing the basics of Java before working on OAF code which include basic things like looking through Java Doc. Do a google on ArrayMap to find its Javadoc and get the package info from the same.
--Shiv
Similar Messages
-
UIX page getProperties() method.
Hi,
I am having the following code in the controller for my UIX pages:-
public static EventResult Search(BajaContext context,
Page page,
PageEvent event)
Page nextPage;
String entity = event.getParameter("entity");
String Name = event.getParameter("Name");
Hashtable dd = new Hashtable();
dd.put("param1","gaurav");
if(entity.equals("Organization"))
nextPage = new Page("OrgRes", dd);
System.out.print(nextPage.getProperties()+ " Now Here--1 \n");
System.out.print(dd+" Here--2 \n");
return new EventResult(nextPage);
else
nextPage= new Page("Result");
return new EventResult(nextPage);
Now the output which follows is this
06/05/10 23:09:54 oracle.bali.share.collection.ArrayMap@71fa0e28 Now Here--1
{param1=gaurav} Here--2
Sice the getProperties should return the dictionary values shouldnt i be getting the same
output for both the print??
Thanks in Advance,
gaurav SinghTry
<event name="null>...</event>. This registers a null event handler, which means that the handler will be called only if no events are thrown.
Thanks,
Jeanne -
Problem linking jsp with javabeans
Hey guys,
I am new at this jsp stuff, but have read a few threads as well as a few tutorials. however, i dont understand why i keep getting this error. any help would be appreciate it!
i m currently running it off tomcat 4.1, and the hierarchy that i have currently is set like this:
"xxx/build/array.jsp"
"xxx/build/WEB-INF/classes/arraymap/javaBeans/ArraysBean.java"
the content of my jsp is as follows:
<%@ page import="arraymap.javaBeans.ArraysBean" %>
<html>
<head>
you are in the array page!
</head>
<jsp:useBean id="test" class="arraymap.javaBeans.ArraysBean" scope="page"/>
<body>
<a href="index.html"> LOG OUT</a>
<center>
Please choose one of the following queries:
</h3>
</center>
</body>
</html>and my simple bean code:
package arraymap.javaBeans;
import java.util.*;
import arraymap.*;
public class ArraysBean {
ArrayMapModMain a = ArrayMapModMain.instance();
public Object[] getArrayTypes()
return a.getArrayTypes();
}but i get this error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:7: package arraymap.javaBeans does not exist
import arraymap.javaBeans.ArraysBean;
^
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:46: package arraymap.javaBeans does not exist
arraymap.javaBeans.ArraysBean test = null;
^
An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
Generated servlet error:
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:48: package arraymap.javaBeans does not exist
test = (arraymap.javaBeans.ArraysBean) pageContext.getAttribute("test", PageContext.PAGE_SCOPE);
^
An error occurred at line: 6 in the jsp file: /cds_jsp/build/array.jsp
Generated servlet error:
C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java:51: package arraymap.javaBeans does not exist
test = (arraymap.javaBeans.ArraysBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "arraymap.javaBeans.ArraysBean");
^
4 errors
any idea on why i cant recognize the package? the file is on the tomcat server (the class file is physically there when i manually check it), and i couldnt figure out what i went wrong with either the jsp or hte beans. i have been stuck on this problem for several hours and it is painful sitting in a cube not knowing what is goin on. any help would be GREATLY appreciated! thanks in advance!
kevI copied your files into my environment and it worked fine for me (I had to strip out the ArrayMapModMain stuff to get a compilation though), so it looks like an environment thing as opposed to an issue with your code.
Possibilities include (shots in the dark):
1.) The path it showed in the error messages
"C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\_\cds_jsp\build\array_jsp.java"
looks a little funny, mainly the underscore between localhost and cds_jsp. Maybe there's something wrong in your Tomcat config file (see #3).
2.) Maybe your directory has a permissions issue. Is it readable? Likely not an issue as you're using windows, but it bites me all the time in linux.
3.) I haven't used Tomcat in a while, but I'll bet it has a config file. Are you sure it's pointing to your WEB-INF/classes dir for your servlets?
Sorry I can't be of more help.
jengi -
Variable array names...i think
I have a list of arrays which need filling and i have created a for lop that will run the necessary commands to fill the arrays...
how do i put an array name into the 'for' loop that will change each time...
ie.
for(int x = 0; x < 3; x++)
array ?x? [index] = tempVariable;
}Message was edited by: Reashlin
reashlinYou don't.
An array's index can be variable, but a variable's name cannot. If you really need "named" arrays, put the arrays into a map.
Map<String, int[]> arrayMap = new HashMap<String, int[]>();
int[] array1 = new int[10];
arrayMap.put("array1", array1);
array1[0] = 123;http://java.sun.com/docs/books/tutorial/collections/
Or, if accessing the array by an index is enough, then just use an array of arrays.
int [][] arrays = new int[5][10];
array[0][0] = 1;
... etc. .. -
DVT Graph - setting tooltip dynamically.
Hello,
How can I set tooltip for a graph in java class?
I know setting tooltip in ".jsp" but I need to set it in java class.
Thanks,
MinaHi Sumit,
It worked creating the graph programmatically using the code below.
Thanks for your help.
Eduardo
Vector graphs = new Vector();
OAGraphTableBean graphTable = (OAGraphTableBean)webBean;
Dictionary graphBarDetails = new ArrayMap(10);
graphBarDetails.put("AGRFUNCTION", "none");
graphBarDetails.put("GRAPHTYPE", "vertical clustered bar");
graphBarDetails.put("GRAPHTITLE", "Cost Bar Graph");
graphBarDetails.put("YAXISLABEL", "Allocation Amount");
graphBarDetails.put("GRAPHSIZE", "medium");
graphBarDetails.put("CUSTGRAPHWIDTH", "");
graphBarDetails.put("CUSTGRAPHHEIGHT", "");
graphBarDetails.put("DISPLAYTOOLTIP", BooleanUtils.getBoolean(true));
graphBarDetails.put("XAXISLABEL", "");
graphBarDetails.put("DRILLDOWNURL", "");
graphBarDetails.put(DISPLAYED, BooleanUtils.getBoolean(true));
Vector graphCols = new Vector();
for(int j=0; j<2; j++) {
Dictionary graphData = new ArrayMap(5);
graphData.put("VIEWUSAGENAME", pViewUsage);
if(j ==0) {
graphData.put("VIEWATTRIBUTENAME", "AllocatedAmount");
graphData.put("GRAPHDATASTYLE", "data");
graphData.put("GRAPHDATAPROMPT", "Allocation Amount");
else {
graphData.put("VIEWATTRIBUTENAME", "AllocName");
graphData.put("GRAPHDATASTYLE", "groupLabels");
graphData.put("GRAPHDATAPROMPT","");
graphData.put("GRAPHSTOCKVALUE","none");
graphCols.addElement(graphData);
graphBarDetails.put("GRAPHDATACOLS", graphCols);
graphs.addElement(graphBarDetails);
graphTable.setGraphDetails(graphs); -
I have a singleton class. A method in this class creates an array of structures. This class is shared across different process. So there is a chance that some one unknowigly calls the method to create the array of structures and hence the member variable may now points to another array of structure.
Is there any way in Java to restict invoking of a function only once.
A static variable with a check will solve this issue, but any other method so that calling of method itself becomes invalid to avoid RT usage?.Hi,
I think, I understood know.
You want to have a singleton holding a defined number of other objects (your arrays).
This objects (your arrays) are semantically singletons itsself, because they should be constructed only once and than reused.
Assuming I interpreted right, see my comments inline below.
I know that who ever participate in this discussion is
pretty sure about singleton class. Some of the code
what I gave was irretating as Martin pointed out. So
let me try to give more transparent code snippet,Thanks, that helped.
>
My aim :- I need a global object which is going to
hold some arrays(data structures). This should be
shared across various threads. (forget about the
synchronousation part here). All these arrays won't be
of same size, so I need methods for each
datastructures to initialise to its required size.That's a little bit part of your problem, see below.
My wayforward :- Create the global object as
singleton. This object has methods for initialising
different data structures.OK, fine.
What is my doubt :- please see the following code
fragment,
public class Singleton {
private Singleton singleton;
private Singleton() {
public static Singleton getInstance() {
if (singleton == null) {
singleton = new Singleton();
return singleton;
//other methods for the class
private someObjType1 myArray1 = null;
private someObjType2 myArray2 = null;
private someObjType3 myArray3 = null; // etc....This "smells" like an candidate for another data structure, so that you don't have a fixed number of array.
F.E.
// Associate class of array elements (someObjTypeX) as keys with arrays of someObjTypeX
private Map arrayMap = new HashMap();>
public void CreateArray1(int size) {
if (myArray1 == null) {
myArray1 = new someObjType1[size];
}Using the map, you create array should look like
public void CreateArray(Class clazzOfArrayElem, int size)
Object arr = arrayMap.get(clazzOfArrayElem)
if(arr == null)
arr = java.lang.reflect.Array.newInstance(clazzOfArrayElem, size);
arrayMap.put(clazzOfArrayElem, arr);
}Additionally the "ugliness" of this method results from the problem, that don't know the size of arrays at compile time.
So it seem to be preferable to use a dynamic structure like a Vector instead of array. Then you don't have the need to pass the size in the accessor method.
Then you can use a "cleaner" accessor method like
public Vector getVector(Class clazzOfArrayElem)
Vector vec = arrayMap.get(clazzOfArrayElem)
if(vec == null)
vec = new Vector();
arrayMap.put(clazzOfArrayElem, vec);
return vec;
}If you want to expose an array oriented interface f.e. for type safety you can have an accessor like
public Object[] getAsArray(Class clazzOfArrayElem)
Vector vec = arrayMap.get(clazzOfArrayElem)
if(vec == null)
vec = new Vector();
arrayMap.put(clazzOfArrayElem, vec);
arr = java.lang.reflect.Array.newInstance(clazzOfArrayElem, 0);
return (Object[])vec.toArray(arr);
// Real typesafe accessors as needed following
public SomeClass1[] getAsArrayOfSomeClass1()
return (SomeClass1[])getAsArray(SomeClass1.class);
/.....This accessor for array interface have the additional advantage, that they return a copy of the data (only the internal arrays, no the object within the arrays!), so that a least a client using your class doesn't have access to your internal data (with the Vector he has).
>
// similarly for other data structures...
So here CreateArray1 method will work fine because of
the check myArray1 == null.
Actual question :- Can I remove this check and
restrick call to CreateArray1 more than one time ?.No. As I understood you want to have something like a "only-use-once-method". There is no such thing in Java I know of.
But I don't see the need to remove this check. Reference comparison should have no real impact to the performance.
this is going to benifit me for some other cases
also.How?
Hope this helps.
Martin -
XRTSGenerator & XRTSMakeBundle resolution failed
While installing OWB, installation fails abruptly with the following logs -
<snip>
Before processing LOADJAVA Token
... I am in processLoadJavaToken ...
arguments: '-verbose' '-order' '-resolve' '-thin' '-u' 'PARIS_REP_OWNER/PARIS_REP_OWNER@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SEARCH3.INTERNAL)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=DWADM)))' '../../lib/int/naclient.jar' '../../lib/int/NameAddrIntf.jar' '../../lib/int/namsg.jar' '../../lib/int/nameAddrRts.jar' '../../../jlib/rts2.jar' '../../../jlib/share.jar'
identical: META-INF/MANIFEST.MF
creating : class oracle/wh/nas/client/NAContext
loading : class oracle/wh/nas/client/NAContext
creating : class oracle/wh/nas/client/NASvrConnection
loading : class oracle/wh/nas/client/NASvrConnection
creating : class oracle/wh/nas/client/NASvrRuntimeStatus
loading : class oracle/wh/nas/client/NASvrRuntimeStatus
creating : class oracle/wh/nas/client/NameAddr
loading : class oracle/wh/nas/client/NameAddr
creating : class oracle/wh/nas/client/SocketOpener
loading : class oracle/wh/nas/client/SocketOpener
identical: META-INF/MANIFEST.MF
creating : class oracle/wh/nas/sdk/NameAddrIntf
loading : class oracle/wh/nas/sdk/NameAddrIntf
identical: META-INF/MANIFEST.MF
creating : class oracle/wh/nas/msg/NAComponent
loading : class oracle/wh/nas/msg/NAComponent
creating : class oracle/wh/nas/msg/NAInput
loading : class oracle/wh/nas/msg/NAInput
creating : class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
loading : class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
creating : class oracle/wh/nas/msg/NAMsgUtil
loading : class oracle/wh/nas/msg/NAMsgUtil
creating : class oracle/wh/nas/msg/NAOptions
loading : class oracle/wh/nas/msg/NAOptions
creating : class oracle/wh/nas/msg/Nls
loading : class oracle/wh/nas/msg/Nls
creating : class oracle/wh/nas/msg/ParseReply
loading : class oracle/wh/nas/msg/ParseReply
identical: META-INF/MANIFEST.MF
creating : class oracle/wh/resource/nas/NameAddrExceptions
loading : class oracle/wh/resource/nas/NameAddrExceptions
creating : class oracle/wh/resource/nas/NameAddrRes
loading : class oracle/wh/resource/nas/NameAddrRes
creating : resource META-INF/MANIFEST.MF
loading : resource META-INF/MANIFEST.MF
creating : class oracle/bali/rts/tools/RTSToXRTS
loading : class oracle/bali/rts/tools/RTSToXRTS
creating : class oracle/bali/rts/tools/XRTSParser
loading : class oracle/bali/rts/tools/XRTSParser
creating : class oracle/bali/rts/tools/XRTSParser$Tuple
loading : class oracle/bali/rts/tools/XRTSParser$Tuple
creating : class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
loading : class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
creating : class oracle/bali/rts/tools/RTSMakeBundle
loading : class oracle/bali/rts/tools/RTSMakeBundle
creating : class oracle/bali/rts/tools/MakeLeafNodes
loading : class oracle/bali/rts/tools/MakeLeafNodes
creating : class oracle/bali/rts/tools/RTSProperties
loading : class oracle/bali/rts/tools/RTSProperties
creating : class oracle/bali/rts/tools/RTSProperties$_MutableResult
loading : class oracle/bali/rts/tools/RTSProperties$_MutableResult
creating : class oracle/bali/rts/tools/ListRTSWriter
loading : class oracle/bali/rts/tools/ListRTSWriter
creating : class oracle/bali/rts/tools/XRTSGenerator
loading : class oracle/bali/rts/tools/XRTSGenerator
creating : class oracle/bali/rts/tools/OrderedDictionary
loading : class oracle/bali/rts/tools/OrderedDictionary
creating : class oracle/bali/rts/tools/XRTSMakeBundle
loading : class oracle/bali/rts/tools/XRTSMakeBundle
creating : class oracle/bali/rts/tools/RTSWriter
loading : class oracle/bali/rts/tools/RTSWriter
creating : class oracle/bali/rts/tools/UnicodeEscapes
loading : class oracle/bali/rts/tools/UnicodeEscapes
creating : class oracle/bali/rts/tools/XRTSParser$1
loading : class oracle/bali/rts/tools/XRTSParser$1
creating : resource oracle/bali/rts/tools/Config.txt
loading : resource oracle/bali/rts/tools/Config.txt
creating : resource oracle/bali/rts/tools/LeafNodes.txt
loading : resource oracle/bali/rts/tools/LeafNodes.txt
creating : class oracle/bali/rts/DefaultSubkeyResourceBundle
loading : class oracle/bali/rts/DefaultSubkeyResourceBundle
creating : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
loading : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
creating : class oracle/bali/rts/EmptyResourceBundle
loading : class oracle/bali/rts/EmptyResourceBundle
creating : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
loading : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
creating : class oracle/bali/rts/MultiResourceBundle
loading : class oracle/bali/rts/MultiResourceBundle
creating : class oracle/bali/rts/SubkeyResourceBundle
loading : class oracle/bali/rts/SubkeyResourceBundle
creating : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
loading : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
creating : resource oracle/bali/rts/xmldtd/rts.dtd
loading : resource oracle/bali/rts/xmldtd/rts.dtd
creating : resource oracle/bali/rts/2_0_6
loading : resource oracle/bali/rts/2_0_6
identical: META-INF/MANIFEST.MF
creating : class oracle/bali/share/collection/LRUCache
loading : class oracle/bali/share/collection/LRUCache
creating : class oracle/bali/share/collection/LRUCache$LRUNode
loading : class oracle/bali/share/collection/LRUCache$LRUNode
creating : class oracle/bali/share/collection/SingleItemEnumeration
loading : class oracle/bali/share/collection/SingleItemEnumeration
creating : class oracle/bali/share/collection/EveryOtherEnumeration
loading : class oracle/bali/share/collection/EveryOtherEnumeration
creating : class oracle/bali/share/collection/DictionaryKeyValueEnumeration
loading : class oracle/bali/share/collection/DictionaryKeyValueEnumeration
creating : class oracle/bali/share/collection/StringKey
loading : class oracle/bali/share/collection/StringKey
creating : class oracle/bali/share/collection/CompoundEnumeration
loading : class oracle/bali/share/collection/CompoundEnumeration
creating : class oracle/bali/share/collection/ArrayEnumeration
loading : class oracle/bali/share/collection/ArrayEnumeration
creating : class oracle/bali/share/collection/ArrayMap
loading : class oracle/bali/share/collection/ArrayMap
creating : class oracle/bali/share/collection/ImmutableArray
loading : class oracle/bali/share/collection/ImmutableArray
creating : class oracle/bali/share/collection/OptimisticHashMap
loading : class oracle/bali/share/collection/OptimisticHashMap
creating : class oracle/bali/share/collection/OptimisticHashMap$Entry
loading : class oracle/bali/share/collection/OptimisticHashMap$Entry
creating : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
loading : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
creating : class oracle/bali/share/collection/Range
loading : class oracle/bali/share/collection/Range
creating : class oracle/bali/share/collection/Range$RangeComparator
loading : class oracle/bali/share/collection/Range$RangeComparator
creating : class oracle/bali/share/util/ClassLoaderUtils
loading : class oracle/bali/share/util/ClassLoaderUtils
creating : class oracle/bali/share/util/Timing
loading : class oracle/bali/share/util/Timing
creating : class oracle/bali/share/util/UnhandledException
loading : class oracle/bali/share/util/UnhandledException
creating : class oracle/bali/share/util/IntegerUtils
loading : class oracle/bali/share/util/IntegerUtils
creating : class oracle/bali/share/util/BooleanUtils
loading : class oracle/bali/share/util/BooleanUtils
creating : class oracle/bali/share/util/WrappingThrowable
loading : class oracle/bali/share/util/WrappingThrowable
creating : class oracle/bali/share/datatransfer/CompoundTransferable
loading : class oracle/bali/share/datatransfer/CompoundTransferable
creating : class oracle/bali/share/datatransfer/TransferUtils
loading : class oracle/bali/share/datatransfer/TransferUtils
creating : class oracle/bali/share/datatransfer/ObjectTransferable
loading : class oracle/bali/share/datatransfer/ObjectTransferable
creating : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
loading : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
creating : class oracle/bali/share/thread/TaskScheduler
loading : class oracle/bali/share/thread/TaskScheduler
creating : class oracle/bali/share/thread/TaskScheduler$TaskQueue
loading : class oracle/bali/share/thread/TaskScheduler$TaskQueue
creating : class oracle/bali/share/thread/TaskScheduler$Element
loading : class oracle/bali/share/thread/TaskScheduler$Element
creating : class oracle/bali/share/thread/TaskEvent
loading : class oracle/bali/share/thread/TaskEvent
creating : class oracle/bali/share/thread/Timer
loading : class oracle/bali/share/thread/Timer
creating : class oracle/bali/share/thread/Task
loading : class oracle/bali/share/thread/Task
creating : class oracle/bali/share/thread/SchedulerEvent
loading : class oracle/bali/share/thread/SchedulerEvent
creating : class oracle/bali/share/thread/Periodic
loading : class oracle/bali/share/thread/Periodic
creating : class oracle/bali/share/thread/SchedulerListener
loading : class oracle/bali/share/thread/SchedulerListener
creating : class oracle/bali/share/beans/JavaPropertyEditorManager
loading : class oracle/bali/share/beans/JavaPropertyEditorManager
creating : class oracle/bali/share/beans/JavaIntrospector
loading : class oracle/bali/share/beans/JavaIntrospector
creating : class oracle/bali/share/beans/GenericBeanInfo
loading : class oracle/bali/share/beans/GenericBeanInfo
creating : class oracle/bali/share/event/ListenerManager
loading : class oracle/bali/share/event/ListenerManager
creating : class oracle/bali/share/sort/StringComparator
loading : class oracle/bali/share/sort/StringComparator
creating : class oracle/bali/share/sort/Search
loading : class oracle/bali/share/sort/Search
creating : class oracle/bali/share/sort/DateComparator
loading : class oracle/bali/share/sort/DateComparator
creating : class oracle/bali/share/sort/LexiComparator
loading : class oracle/bali/share/sort/LexiComparator
creating : class oracle/bali/share/sort/Comparator
loading : class oracle/bali/share/sort/Comparator
creating : class oracle/bali/share/sort/NumberComparator
loading : class oracle/bali/share/sort/NumberComparator
creating : class oracle/bali/share/sort/Sort
loading : class oracle/bali/share/sort/Sort
creating : class oracle/bali/share/sort/BooleanComparator
loading : class oracle/bali/share/sort/BooleanComparator
creating : class oracle/bali/share/Assert
loading : class oracle/bali/share/Assert
creating : class oracle/bali/share/nls/LocaleUtils
loading : class oracle/bali/share/nls/LocaleUtils
creating : class oracle/bali/share/nls/ArrayAvailableLocaleMapper
loading : class oracle/bali/share/nls/ArrayAvailableLocaleMapper
creating : class oracle/bali/share/nls/BundleAvailableLocaleMapper
loading : class oracle/bali/share/nls/BundleAvailableLocaleMapper
creating : class oracle/bali/share/nls/StringUtils
loading : class oracle/bali/share/nls/StringUtils
creating : class oracle/bali/share/nls/LocaleMapper
loading : class oracle/bali/share/nls/LocaleMapper
creating : class oracle/bali/share/nls/AvailableLocaleMapper
loading : class oracle/bali/share/nls/AvailableLocaleMapper
creating : class oracle/bali/share/io/CompositeReader
loading : class oracle/bali/share/io/CompositeReader
creating : resource oracle/bali/share/1_1_18
loading : resource oracle/bali/share/1_1_18
skipping : resource META-INF/MANIFEST.MF
resolving: class oracle/wh/nas/client/NAContext
resolving: class oracle/wh/nas/client/NASvrConnection
skipping : class oracle/wh/nas/client/NASvrRuntimeStatus
resolving: class oracle/wh/nas/client/NameAddr
skipping : class oracle/wh/nas/client/SocketOpener
skipping : resource META-INF/MANIFEST.MF
resolving: class oracle/wh/nas/sdk/NameAddrIntf
skipping : resource META-INF/MANIFEST.MF
skipping : class oracle/wh/nas/msg/NAComponent
skipping : class oracle/wh/nas/msg/NAInput
resolving: class oracle/wh/nas/msg/NAMsgUtil$ComponentInfo
skipping : class oracle/wh/nas/msg/NAMsgUtil
skipping : class oracle/wh/nas/msg/NAOptions
skipping : class oracle/wh/nas/msg/Nls
skipping : class oracle/wh/nas/msg/ParseReply
skipping : resource META-INF/MANIFEST.MF
resolving: class oracle/wh/resource/nas/NameAddrExceptions
resolving: class oracle/wh/resource/nas/NameAddrRes
skipping : resource META-INF/MANIFEST.MF
resolving: class oracle/bali/rts/tools/RTSToXRTS
resolving: class oracle/bali/rts/tools/XRTSParser
skipping : class oracle/bali/rts/tools/XRTSParser$Tuple
resolving: class oracle/bali/rts/tools/DefaultSubkeyRTSWriter
resolving: class oracle/bali/rts/tools/RTSMakeBundle
resolving: class oracle/bali/rts/tools/MakeLeafNodes
skipping : class oracle/bali/rts/tools/RTSProperties
skipping : class oracle/bali/rts/tools/RTSProperties$_MutableResult
resolving: class oracle/bali/rts/tools/ListRTSWriter
resolving: class oracle/bali/rts/tools/XRTSGenerator
errors : class oracle/bali/rts/tools/XRTSGenerator
ORA-29521: referenced name oracle/xml/parser/v2/SAXParser could not be found ORA-29521: referenced name oracle/xml/parser/v2/XMLParser could not be foundskipping : class oracle/bali/rts/tools/OrderedDictionary
resolving: class oracle/bali/rts/tools/XRTSMakeBundle
errors : class oracle/bali/rts/tools/XRTSMakeBundle
ORA-29521: referenced name oracle/xml/parser/v2/SAXParser could not be foundskipping : class oracle/bali/rts/tools/RTSWriter
skipping : class oracle/bali/rts/tools/UnicodeEscapes
skipping : class oracle/bali/rts/tools/XRTSParser$1
skipping : resource oracle/bali/rts/tools/Config.txt
skipping : resource oracle/bali/rts/tools/LeafNodes.txt
resolving: class oracle/bali/rts/DefaultSubkeyResourceBundle
skipping : class oracle/bali/rts/DefaultSubkeyResourceBundle$1
resolving: class oracle/bali/rts/EmptyResourceBundle
skipping : class oracle/bali/rts/EmptyResourceBundle$EmptyEnumeration
skipping : class oracle/bali/rts/MultiResourceBundle
skipping : class oracle/bali/rts/SubkeyResourceBundle
skipping : class oracle/bali/rts/SubkeyResourceBundle$EncapsulatedBundle
skipping : resource oracle/bali/rts/xmldtd/rts.dtd
skipping : resource oracle/bali/rts/2_0_6
skipping : resource META-INF/MANIFEST.MF
resolving: class oracle/bali/share/collection/LRUCache
skipping : class oracle/bali/share/collection/LRUCache$LRUNode
resolving: class oracle/bali/share/collection/SingleItemEnumeration
resolving: class oracle/bali/share/collection/EveryOtherEnumeration
resolving: class oracle/bali/share/collection/DictionaryKeyValueEnumeration
resolving: class oracle/bali/share/collection/StringKey
skipping : class oracle/bali/share/collection/CompoundEnumeration
resolving: class oracle/bali/share/collection/ArrayEnumeration
resolving: class oracle/bali/share/collection/ArrayMap
resolving: class oracle/bali/share/collection/ImmutableArray
resolving: class oracle/bali/share/collection/OptimisticHashMap
skipping : class oracle/bali/share/collection/OptimisticHashMap$Entry
skipping : class oracle/bali/share/collection/OptimisticHashMap$Enumerator
resolving: class oracle/bali/share/collection/Range
skipping : class oracle/bali/share/collection/Range$RangeComparator
resolving: class oracle/bali/share/util/ClassLoaderUtils
resolving: class oracle/bali/share/util/Timing
resolving: class oracle/bali/share/util/UnhandledException
skipping : class oracle/bali/share/util/IntegerUtils
resolving: class oracle/bali/share/util/BooleanUtils
skipping : class oracle/bali/share/util/WrappingThrowable
resolving: class oracle/bali/share/datatransfer/CompoundTransferable
resolving: class oracle/bali/share/datatransfer/TransferUtils
resolving: class oracle/bali/share/datatransfer/ObjectTransferable
skipping : class oracle/bali/share/datatransfer/ObjectTransferable$UpFront
resolving: class oracle/bali/share/thread/TaskScheduler
skipping : class oracle/bali/share/thread/TaskScheduler$TaskQueue
skipping : class oracle/bali/share/thread/TaskScheduler$Element
skipping : class oracle/bali/share/thread/TaskEvent
skipping : class oracle/bali/share/thread/Timer
skipping : class oracle/bali/share/thread/Task
skipping : class oracle/bali/share/thread/SchedulerEvent
resolving: class oracle/bali/share/thread/Periodic
skipping : class oracle/bali/share/thread/SchedulerListener
resolving: class oracle/bali/share/beans/JavaPropertyEditorManager
resolving: class oracle/bali/share/beans/JavaIntrospector
skipping : class oracle/bali/share/beans/GenericBeanInfo
skipping : class oracle/bali/share/event/ListenerManager
resolving: class oracle/bali/share/sort/StringComparator
resolving: class oracle/bali/share/sort/Search
resolving: class oracle/bali/share/sort/DateComparator
resolving: class oracle/bali/share/sort/LexiComparator
skipping : class oracle/bali/share/sort/Comparator
resolving: class oracle/bali/share/sort/NumberComparator
skipping : class oracle/bali/share/sort/Sort
resolving: class oracle/bali/share/sort/BooleanComparator
skipping : class oracle/bali/share/Assert
resolving: class oracle/bali/share/nls/LocaleUtils
resolving: class oracle/bali/share/nls/ArrayAvailableLocaleMapper
resolving: class oracle/bali/share/nls/BundleAvailableLocaleMapper
resolving: class oracle/bali/share/nls/StringUtils
skipping : class oracle/bali/share/nls/LocaleMapper
skipping : class oracle/bali/share/nls/AvailableLocaleMapper
resolving: class oracle/bali/share/io/CompositeReader
skipping : resource oracle/bali/share/1_1_18
The following operations failed
class oracle/bali/rts/tools/XRTSGenerator: resolution
class oracle/bali/rts/tools/XRTSMakeBundle: resolution
exiting : Failures occurred during processing
[oracle@search3 unix]$
<snip>
Above was from stdout.
AND FROM THE Installation log file tail.
<snip>
main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing SQL Token
main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
nt.DatabaseEngine.display(DatabaseEngine.java:251): user = PARIS_REP_OWNER, host
= SEARCH3.INTERNAL, port = 1521, serviceName =DWADM
main.TaskScheduler timer[5]20050619@22:01:50.050: 00> oracle.wh.service.impl.assista
nt.DatabaseEngine.display(DatabaseEngine.java:251): [getConnection]: Trying with oci
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.DatabaseEngine.display(DatabaseEngine.java:251): [getConnection]: Connected with
oci
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.RuntimeInstaller.display(RuntimeInstaller.java:584): parseSqlFile() ======= ente
r file: ../../browserasst/owbb/init_apps.sql
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): fileName =../../browserasst/owbb/
init_apps.sql
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): After processing SQL token
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): % = 87.17434869739499
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): -token name = LOADJAVA; -token t
ype = 16
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing LOADJAVA Token
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): ... I am in processLoadJavaToken
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): After processing LOADJAVA Token
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): % = 88.17635270541102
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): -token name = LOADJAVA; -token t
ype = 16
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): Before processing LOADJAVA Token
main.TaskScheduler timer[5]20050619@22:01:51.051: 00> oracle.wh.service.impl.assista
nt.ProcessEngine.display(ProcessEngine.java:1056): ... I am in processLoadJavaToken
<snip>
Any clue what could be wrong?
Thanks
PoojaAfter spending many hours, I managed to find the solution to this problem. Hopefully, I can save others the time. Here is a summary of the problem and solution:
Problem: OWB installation fails unexpectedly around 86%. The java window closes without error and the stdout console reports the following:
The following operations failed
class oracle/bali/rts/tools/XRTSGenerator: resolution
class oracle/bali/rts/tools/XRTSMakeBundle: resolution
Further up in the stdout listing are two ORA-29521 errors related to the XML parser.
Solution: The XML objects are either not installed in the database or their installation is incomplete. To fix, remove the XML objects and reinstall as follows:
1. log in as sysdba ("export {SID}; sqlplus / as sysdba")
2. enter "@$ORACLE_HOME/rdbms/admin/rmxml" and press enter. Wait for it to finish.
3. enter "@$ORACLE_HOME/rdbms/admin/initxml" and press enter. Wait for it to finish.
4. exit
Be sure to remove any failed OWB repositories before trying again. This may be accomplished via the repository assistant or, if all else fails, by dropping the user and all of the roles that start with "OWB". -
Hi,
I am trying to build custom bar graph in OAF.
I am able to display graph using below code and does not know how to pass OAGseries and OAGgroup values to the drill down page.
Vector graphs = new Vector();
OAGraphTableBean graphTable = (OAGraphTableBean)webBean;
Dictionary graphBarDetails = new ArrayMap(10);
// Here, set properties of graph
graphBarDetails.put("AGRFUNCTION", "none");
graphBarDetails.put("GRAPHTYPE", "vertical clustered bar");
graphBarDetails.put("GRAPHTITLE", "Graph Title");
graphBarDetails.put("YAXISLABEL", "Label Y ");
graphBarDetails.put("GRAPHSIZE", "medium");
graphBarDetails.put("CUSTGRAPHWIDTH", "");
graphBarDetails.put("CUSTGRAPHHEIGHT", "");
graphBarDetails.put("DISPLAYTOOLTIP", BooleanUtils.getBoolean(true));
graphBarDetails.put("XAXISLABEL", "");
graphBarDetails.put("DRILLDOWNURL", "OA.jsp?page=/xxfn/oracle/apps/ap/iautomation/webui/scrollPG");
graphBarDetails.put(DISPLAYED, BooleanUtils.getBoolean(true));
Vector graphCols = new Vector();
for(int j=0; j<2; j++) {
Dictionary graphData = new ArrayMap(5);
graphData.put("VIEWUSAGENAME", "EmpGraphVO1");
if(j ==0) {
graphData.put("VIEWATTRIBUTENAME", "Sal");
graphData.put("GRAPHDATASTYLE", "data");
graphData.put("GRAPHDATAPROMPT", "Graph Data Promt");
else {
graphData.put("VIEWATTRIBUTENAME", "Ename");
graphData.put("GRAPHDATASTYLE", "groupLabels");
graphData.put("GRAPHDATAPROMPT","");
graphData.put("GRAPHSTOCKVALUE","none");
graphCols.addElement(graphData);
graphBarDetails.put("GRAPHDATACOLS", graphCols);
graphs.addElement(graphBarDetails);
// setting graph details to OAGraphTableBean
graphTable.setGraphDetails(graphs);
Any help will be great help.
Thanks SCHi
On the drill down page PR capture using below code
String a = pageContext.getparameter('OAGSeries');
STring b = pagecontext.getparameter('OAGgroup');
Regards,
Ankur -
Have been working on my project which has a fairly large TreeMap<Point, Pixel> on it; it is often that subMap(Point, Point) would be called.
Then in the process of profiling my code, I decided to write an ArrayMap<K extends Comparable<K>, V> which basically uses ArrayList<K> and ArrayList<V> to implement SortedMap<K, V>, and in which I use Collections.binarySearch(List<K>, K) for operations like headMap(K), subMap(K, K) and tailMap(K).
I've looked up the way TreeMap is in theory and the implementation and it seems to suggest that both versions of SortedMap have the same complexity on many of the operations.
But then the fact that TreeMap is in java.util but not my ArrayMap seems to me that the former is better in some ways. If so, is there any reasons why this would be the case?
Thanks
Alex Lam S.L.For queries, both implementations may have the same complexity, but the ArrayList implementation has the capability to be a little faster bacause fewer pointers need to be followed. However, the TreeMap will be much faster if you need to manipulate the map (i.e. add/remove key-value pairs). For example, what happens if you add a key that comes before all the other keys? The array impl will be forced to do a bunch of copying, the tree won't...
-
ObjectRelational Mapping with Toplink
Hi,
I'm looking for any tutorial or example about ObjectRelational mappings, Object-types, Varrays, Nested tables, ObjectRelationalDescriptor. I tried with code examples from b100063,b100064. but they are too short and not clear.
thanks,Hi,
I found this example on metalink.oracle.com it gives a good example of a Varray. I tried the example and it works. You said that there were code examples: b100063,b100064, where are they located.
Anyway here is the example:
Bookmark Fixed font Go to End
Doc ID: Note:224177.1
Subject: Mapping to a VARRAY object type defined in an Oracle database
Type: SAMPLE CODE
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 20-DEC-2002
Last Revision Date: 08-APR-2003
Overview
Oracle9iAS TopLink supports object-relational mapping. That means that
custom made datatypes (created by developer) in database could be used
to map some java application side attributes to. One of object types is
VARRAY. Mapping Workbench does not allow object-relational mapping (at
the time when this article is written), but if this feature is needed,
project file can be edited to accomplish this.
If object type (VARRAY) already exist in database, all developer has to
do is make TopLink aware of it and map an attribute to it.
Program Notes
This example uses varray type courses_list_type defined in oracle database as:
create or replace type courses_list_type as varray(5) of varchar2(25);
The courses_list_type type is used in table test_student (used in this example)
defined as:
create TABLE test_student (
student_id number(3) PRIMARY KEY,
student_name varchar2(30),
student_courses courses_list_type);
Since we need some data in table test_student, the following statement has
been executed:
INSERT INTO test_student VALUES(1, 'Ron More',
courses_list_type ('Visual Basic', 'Java', 'C++', 'UML', 'SQL'));
Caution
The sample program in this article is provided for educational purposes only
and is NOT supported by Oracle Support Services. It has been tested
internally, however, and works as documented. We do not guarantee that it
will work for you, so be sure to test it in your environment before relying
on it.
Program
SessionEventAdapter class must be set up and the preLogin() method implemented.
The session can be retrieved from the SessionEvent (getSession() method) and
descriptor with the VARRAY MAPPING (the new ObjectRelationalDescriptor) added
to the project. This must be done in code since this cannot be done from the
Mapping Workbench. This is recommended way of dealing with this issue since
the modification of the project.java (generated by Mapping Workbench) file is
avoided. Doing this, project itself can be modified many times without changing
object-relational descriptor.
A) class Student is created in Jdeveloper
package oracle.toplink.demos.employee.domain;
import java.util.*;
import java.io.*;
public class Student {
private int id;
private String name; // a collection of courses being stored in Oracle database as VArray type
private Vector courses;
public Student ( ){
this.id = 0;
this.name = "";
this.courses = new Vector(5);
public void addCourse(String courseName){getCourses().addElement(courseName);}
public void removeCourse(String courseName){getCourses().removeElement(courseName);}
public int getId ( ) {return id;}
public String getName ( ) {return name;}
public Vector getCourses(){ return courses;}
public void setId(int studentId) {this.id = studentId;}
public void setName(String studentName) {this.name = studentName;}
public void setCourses(Vector studentCourses){this.courses = studentCourses;}
} // end of class student
B) implementation of SessionEventAdapter class
package oracle.toplink.demos.employee.domain;
import oracle.toplink.sessions.*;
import oracle.toplink.demos.employee.relational.*;
public class MySessionEventAdapter extends SessionEventAdapter{
/* This Event is raised before the session logs in. */
public void preLogin(SessionEvent event){
System.out.println("In preLogin()");
// need empProject variable since it owns the buildStudentDescriptor() method
EmployeeProject empProject = new EmployeeProject();
event.getSession().getProject().addDescriptor(empProject.buildStudentDescriptor());
} // end of preLogin
} // end of MySessionEventAdapter
Before login to database the following two lines must be executed:
MySessionEventAdapter myAdapter = new MySessionEventAdapter();
session.getEventManager().addListener((SessionEventListener)myAdapter);
C) method that builds the ObjectRelationaDescriptor descriptor on student class
public static Descriptor buildStudentDescriptor(){
ObjectRelationalDescriptor descriptor = new ObjectRelationalDescriptor();
descriptor.setJavaClass(oracle.toplink.demos.employee.domain.Student.class);
descriptor.setTableName("TEST_STUDENT");
descriptor.setPrimaryKeyFieldName("TEST_STUDENT.STUDENT_ID");
// Mappings.
DirectToFieldMapping idMapping = new DirectToFieldMapping();
idMapping.setAttributeName("id");
idMapping.setFieldName("TEST_STUDENT.STUDENT_ID");
descriptor.addMapping(idMapping);
DirectToFieldMapping nameMapping = new DirectToFieldMapping();
nameMapping.setAttributeName("name");
nameMapping.setFieldName("TEST_STUDENT.STUDENT_NAME");
descriptor.addMapping(nameMapping);
ArrayMapping coursesMapping = new ArrayMapping(); // here we do not use ObjectArrayMapping
coursesMapping.setAttributeName("courses");
coursesMapping.setGetMethodName("getCourses");
coursesMapping.setSetMethodName("setCourses");
coursesMapping.setStructureName("COURSES_LIST_TYPE");
coursesMapping.setFieldName("TEST_STUDENT.STUDENT_COURSES");
descriptor.addMapping(coursesMapping);
return descriptor;
} // end of buildStudentDescriptor()
Defining the student descriptor this way, TopLink has all information on varray
type used. Please note that varray type already exist in database so ArrayMapping
is used instead of ObjectArrayMapping.
D) method that inserts object of type student into database
public void callObjectRelationalVArray(){
session.initializeIdentityMaps();
System.out.println("\n\n\nSTART: callObjectRelationalVArray()");
/* ************* callObjectRelationalVArray; insert student - start *******/
UnitOfWork uowInsertStudent = session.acquireUnitOfWork();
Student newStudent = new Student();
Student cloneStudent = (Student)uowInsertStudent.registerObject(newStudent);
cloneStudent.setId(6);
cloneStudent.setName("Ron Moore");
cloneStudent.addCourse("Java");
cloneStudent.addCourse("JBuilder");
cloneStudent.addCourse("HTML");
cloneStudent.addCourse("Rational Rose");
cloneStudent.addCourse("Visual Basic");
uowInsertStudent.commit();
/* ************* callObjectRelationalVArray; insert student - end *********/
System.out.println("END: callObjectRelationalVArray()");
} // end of callObjectRelationalVArray
Sample Output
By executing callObjectRelationalVarray() method JDeveloper produces the
following output:
START: callObjectRelationalVArray()
DatabaseSession(11)--Connection(12)--delete test_student where STUDENT_ID = 6
student with STUDENT_ID = 6 is deleted
DatabaseSession(11)--acquire unit of work:28
UnitOfWork(28)--begin unit of work commit
DatabaseSession(11)--Connection(12)--begin transaction
UnitOfWork(28)--Connection(12)--INSERT INTO TEST_STUDENT
(STUDENT_ID, STUDENT_NAME, STUDENT_COURSES) VALUES (?, ?, ?)
bind => [6, Ron Moore, oracle.sql.ARRAY@20]
DatabaseSession(11)--Connection(12)--commit transaction
UnitOfWork(28)--end unit of work commit
UnitOfWork(28)--release unit of work
Copyright (c) 1995,2000 Oracle Corporation. All Rights Reserved. Legal Notices and Terms of Use. -
JSF, TopLink and NVarchar
I'm using JSF with Toplink for our website. One of our tables has NVarchar2 column which supports UTF16 as national character set.
Previous in JDBC we were setting statement.setFormOfUse(1, Const.NCHAR) to force updating or inserting this column as NChar.
How can I do that here, since I don't have a connection or control over these statements.
i.e. How can I force insertion for NVarchar in toplink.
Thanks.Thank you Doug for your information. I tried to see some examples but I could figure out how to implement it in my code. I'm new in that technology.
the example:
// Create TypeConversionConverter instance
TypeConversionConverter typeConversionConverter = new TypeConversionConverter();
typeConversionConverter.setDataClass();
typeConversionConverter.setObjectClass();
// Set TypeConversionConverter on ArrayMapping
ArrayMapping arrayMapping = new ArrayMapping();
arrayMapping.setValueConverter(typeConversionConverter);
arrayMapping.setAttributeName("responsibilities");
arrayMapping.setStructureName("Responsibilities_t");
arrayMapping.setFieldName("RESPONSIBILITIES");
orDescriptor.addMapping(arrayMapping);
My Table is: Brand, and the NVarchar2 Field is : Unicode_Name.
Can you help me out please.
Also what is orDescriptor ? from where can I get it. the only descriptor I know in my project is faces-config.xml.
Thank you for your help in advance. -
Setting Graph View Usage dynamically
Hello all,
I have a Graph Table with 2 graphs (Pie and Bar) and I'm trying to set their View Usage dynamically with the code below but it's not working. There is no error message, it just simply doesn't return anything. We need to set it dynamically because we have different levels and VO's to the same graph page.
Is there anything else that should be done?
OAGraphTableBean graphTable = (OAGraphTableBean)webBean;
if(graphTable != null) {
graphTable.setViewUsageName("OperationHdrGraphVO1");
Thanks and Regards,
EduardoHi Sumit,
It worked creating the graph programmatically using the code below.
Thanks for your help.
Eduardo
Vector graphs = new Vector();
OAGraphTableBean graphTable = (OAGraphTableBean)webBean;
Dictionary graphBarDetails = new ArrayMap(10);
graphBarDetails.put("AGRFUNCTION", "none");
graphBarDetails.put("GRAPHTYPE", "vertical clustered bar");
graphBarDetails.put("GRAPHTITLE", "Cost Bar Graph");
graphBarDetails.put("YAXISLABEL", "Allocation Amount");
graphBarDetails.put("GRAPHSIZE", "medium");
graphBarDetails.put("CUSTGRAPHWIDTH", "");
graphBarDetails.put("CUSTGRAPHHEIGHT", "");
graphBarDetails.put("DISPLAYTOOLTIP", BooleanUtils.getBoolean(true));
graphBarDetails.put("XAXISLABEL", "");
graphBarDetails.put("DRILLDOWNURL", "");
graphBarDetails.put(DISPLAYED, BooleanUtils.getBoolean(true));
Vector graphCols = new Vector();
for(int j=0; j<2; j++) {
Dictionary graphData = new ArrayMap(5);
graphData.put("VIEWUSAGENAME", pViewUsage);
if(j ==0) {
graphData.put("VIEWATTRIBUTENAME", "AllocatedAmount");
graphData.put("GRAPHDATASTYLE", "data");
graphData.put("GRAPHDATAPROMPT", "Allocation Amount");
else {
graphData.put("VIEWATTRIBUTENAME", "AllocName");
graphData.put("GRAPHDATASTYLE", "groupLabels");
graphData.put("GRAPHDATAPROMPT","");
graphData.put("GRAPHSTOCKVALUE","none");
graphCols.addElement(graphData);
graphBarDetails.put("GRAPHDATACOLS", graphCols);
graphs.addElement(graphBarDetails);
graphTable.setGraphDetails(graphs);
Maybe you are looking for
-
Trigerring BPM from Web Dynpro screen not working
Hi Guys, I am trying to trigger a BPM process from a Web Dynpro screen so I created a BPM process and created a WSDL and consuming the WSDL in the Web Dynpro app but getting an exception "Exception on creation of service metadata for web service mass
-
I am using sql loader to load a table This is the syntax i am using LOAD DATA TRUNCATE INTO TABLE selva_tst WHEN(01:04) = 'D328' AND (06:06)='$' FIELDS TERMINATED BY "|" A_ID, NULLIF(CO,$), ANB, STS_DT Date 'YYYYMMDD',
-
XML forms based content authoring
Hi All, I was wondering if UCM suite provides any XML forms based authoring as provided by many other Web Content Management product suites OR Site Studio or Site Builder are the only ways to create the content? What exactly I am looking for is the v
-
I love Spaces, but I have a problem with it and my Office applications. Here's my configuration: Mail/Safari - Space #1 iTunes - Space #2 Address/iCal - Space #3 Office - Space #4 "When switching to an application . . . " box is checked (in Sys Pref)
-
'Different SIM Detected' Issue on outright iphone
Hi, I've bought my iphone outright many months back. Currently I'm on a overseas trip at a place with very limited internet. When I try to insert a local SIM, iphone says different SIM detected, and asks to connect to itunes. However, when I connect