Error in creating simple NSDP based map

I have created a map based on NSDP... But for some reason its errors.. Any help in this..
Drilled down to these two line..
themebasedfoi.setNSDP(nsdpInfo);
themebasedfoi.setRenderingStyle("V.US_STATES_COLOR_SCHEME");
<html>
<head>
<META http-equiv="Content-Type" content="text/html" charset=UTF-8">
<TITLE>Map Cache Server/Map Client</TITLE>
<link rel="stylesheet" type="text/css" href="../t.css" />
<script language="Javascript" src="http://localhost/mapviewer/fsmc/jslib/oraclemaps.js"></script>
<script language=javascript>
var mapview;
var themebasedfoi;
var regionsFOI;
function on_load_mapview()
var baseURL = "http://localhost/mapviewer";
var mapCenterLon = -112.45;
var mapCenterLat = 37.7706;
var mapZoom = 2;
var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,54004);
mapview = new MVMapView(document.getElementById("map"), baseURL);
mapview.addMapTileLayer(new MVMapTileLayer("elocation_mercator.world_map","http://elocation.oracle.com/mapviewer/mcserver"));
mapview.setCenter(mpoint);
mapview.setZoomLevel(1);
themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','map_test.us_states');
themebasedfoi.setBringToTopOnMouseOver(true);
mapview.addThemeBasedFOI(themebasedfoi);
mapview.addNavigationPanel() ;
//setupNsdp(regionsFOI);
var nsdpInfo = new MVNSDP("defaultNSDP");
nsdpInfo.setTheme("US_STATES");
nsdpInfo.setKeyColumn("code");
var xml_data = "<nsdp_xml><table>"+
"<tr><th>CODE</th><th>RANK</th></tr>"+
"<tr><td>AK</td><td>2</td></tr>"+
"<tr><td>VT</td><td>1</td></tr>"+
"<tr><td>WA</td><td>4</td></tr>"+
"<tr><td>WI</td><td>4</td></tr>"+
"<tr><td>WV</td><td>3</td></tr>"+
"<tr><td>WY</td><td>1</td></tr>"+
"</table></nsdp_xml>";
var ps = new Object();
ps [ "xml" ] = xml_data;
nsdpInfo.setParameters(ps);
themebasedfoi.setNSDP(nsdpInfo);
themebasedfoi.setRenderingStyle("V.US_STATES_COLOR_SCHEME");
// contents of US_STATES_COLOR_SCHEME
// <?xml version="1.0" ?>
// <AdvancedStyle>
// <ColorSchemeStyle basecolor="#99FF99" strokecolor="#000000">
// <Buckets low="1" high="6" nbuckets="6"/>
// </ColorSchemeStyle>
// </AdvancedStyle>
mapview.display();
</script>
</head>
<body onload= javascript:on_load_mapview() >
<div id="map" style="left:0px; top:10px;width: 100%; height: 80%"></div> </body>
</html>

var nsdpInfo = new MVNSDP("defaultNSDP");
nsdpInfo.setTheme("US_STATES");
nsdpInfo.setKeyColumn("code");the last statement, nsdpInfo.setKeyColumn("code"), sets the name of the column from the theme's base table ("US_STATES" in this case). Values from this table column will be used as keys to join with the values from the 1st column of the XML nsdp data. Maybe you are (mistakenly) setting the name of the column from the XML data string?

Similar Messages

  • Error while creating a extractor based on Functional Module

    Hi,
    I am building an extactor based on afunction module.I created a DS and created a structure in Se11.When i am trying to put the extract structure in the Tables tab of the function module it gives me an error saying Tables parameters are obselete and doesnt allow me to activate or go back and front to other tabs.Can anyone please tell me what might be the reason?
    Thanks,

    Hi,
            Just try to reactivate the structure once again. And when you open the function module, if the problem still persists just try to press Return key several times. The message you are getting is just a warning message.
    PS: I am not sure whether this is the correct way, but i personally resolved this by pressing the ENTER key 4 or 5 times. So just give a try.
    Regards
    Sunil

  • Creating simple HTML based email shots

    I want to be able to promote my company to my customers by email in much the same way as Apple communicates with me (What's in store? for example).
    I have tried using stationary, dreamweaver etc but am getting nowhere fast!
    Not a seasoned pro on Macs (but love them) so please someone, explain it in a way that I can understand!?
    Thanks

    You can't do complex HTML within Mail such as tables, etc. You can do some basic HTML though. You can format text, insert images, etc.
    If that means your needs then try that. If you need something a little more robust, then you have a couple of options. You could create an HTML page in an HTML editor program and save to a file. Open this HTML in Safari and then choose File -> Send Page Via Email. This will create an email with that web page as the body.
    Another option is to create your newsletter in whichever program you like (Word, Pages, etc) and then save the document as a PDF file and send that file as an attachment to your email.
    One thing to be careful with is that each email client handles emails (especially HTML emails) differently. There's no real way to guarantee that the email will display correctly on the receipients computer. The best way to ensure a correct viewing is to make the newsletter a PDF document.
    Hope this helps.
    Bronson

  • Syntax error while creating Calculation view script based

    Hi Folks,
    I'm creating Calc view based on script and drafted a simple code but I'm getting syntax error.
    Its just fetching few coloumns from two tables products and purchaseorderitem.
    /********* Begin Procedure Script ************/
    BEGIN
      var_out = select productid , category, nameid, currency, grossamount, quantity
      FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
      where P.productid = B.productid;
    END /********* End Procedure Script ************/
    Could you pls take a look and let me know what wrong I'm doing?
    Error logs are:-
    sap.hana..package.project.folder.mytest.CALCSCRIPTVIEWInternal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: sql syntax error: incorrect syntax near "democontent": line 5 col 18 (at pos 439)nSet Schema DDL statement: set schema "SYSTEM"nType DDL: create type "_SYS_BIC"."sap.hana..package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" as table ("PRODUCTID" NVARCHAR(10), "CATEGORY" NVARCHAR(2), "NAMEID" NVARCHAR(10), "CURRENCY" NVARCHAR(5), "GROSSAMOUNT" DECIMAL(15,2), "QUANITYT" DECIMAL(13,3))nProcedure DDL: create procedure "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc" ( OUT var_out "_SYS_BIC"."sap.hana.package.project.folder.mytest/CALCSCRIPTVIEW/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as n /********* Begin Procedure Script ************/ n BEGIN n t var_out = select productid , category, nameid, currency, grossamount, quantityn t FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS Bn t where P.productid = B.productid;nnEND /********* End Procedure Script ************/n

    Hi Rubane,
    I don't have EPM installed here but based on this Table User Defined Functions( Table UDF ) in HANA  you are not properly defining the source table.
    In your case missing 1) schema of EPM, 2) not using double quotes, 3) separation of package and view, 4) missing camel case on purchaseOrderItem:
    FROM sap.hana.democontent.epm.data.products AS P , sap.hana.democontent.epm.data.purchaseorderitem AS B
    On blog:
    from "SAP_HANA_EPM_DEMO"."sap.hana.democontent.epm.data::businessPartner" as a
    SAP_HANA_EPM_DEMO is the schema
    sap.hana.democontent.epm.data is the package
    businessPartner is the view
    Start simple... before the seletion try it out on Studio SQL.
    Regards, Fernando Da Rós

  • Mail does not create new emails based on the highlighted mailbox, but rather the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part?

    Mail does not create new emails based on the highlighted mailbox, but rather according the receiving mailbox of whatever individual email happens to be highlighted. This was not the case prior to Lion. Is this a bug or an error on my part? (I do have the setting for creating new emails from the highlighted mailbox checked.)

    The questions about time was not only because of thinking about the Time Machine, but also possible impact on recognizing which messages remaining on a POP server (doesn't apply to IMAP) have been already downloaded. In the Mail folder, at its root level, in Mail 3.x there is a file named MessageUidsAlreadyDownloaded3 that should prevent duplicate downloading -- some servers may not communicate the best with respect to that, and the universal index must certainly be involved in updating that index file. If it corrupts, it can inhibit proper downloading. However, setting the account up in a New User Account and having the same problem does not point that way, unless your POP3 server is very different from most.
    That universal index is also typically involved when messages are meant to be moved from the Inbox to another mailbox -- in Mail 3.x the message does not move, but rather is copied, and then erased from the origin mailbox. That requires updating the Envelope Index to keep track of where the message is, and should keep track of where it is supposed to have been removed after the "Move".
    Ernie

  • Adapter Status Error :  Error in creating message ID map for JMS message:

    Currently in the SAP XI 3.0 JMS Adapter, I am receiving the following error
    Error in creating message ID map for JMS message:
    ie. Error while processing message 'de8265f6-c864-4479-1137-9bab17b78b3b';  detailed error description: com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: Error in creating message ID map for JMS message: ID:c3e2d840d8d4d7f14040404040404040c44f8e2213630b01 at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:103)
    Although I am receivng this error, when I check the details of the message processing, all steps are successful and the message is set to status : DLVD
    Audit Log for Message: de8265f6-c864-4479-1137-9bab17b78b3b
    Time Stamp     Status     Description
    09.06.2009 13:27:24     Success     New JMS message with JMS message ID ID:c3e2d840d8d4d7f14040404040404040c44f8e2213630b01 received. The XI message ID for this message is de8265f6-c864-4479-1137-9bab17b78b3b
    09.06.2009 13:27:24     Success     JMS message converted to XI message format successfully
    09.06.2009 13:27:24     Success     RRB: entering RequestResponseBean
    09.06.2009 13:27:24     Success     RRB: suspending the transaction
    09.06.2009 13:27:24     Success     RRB: passing through ...
    09.06.2009 13:27:24     Success     RRB: leaving RequestResponseBean
    09.06.2009 13:27:24     Success     Transform: using Transform.Class: com.sap.aii.messaging.adapter.Conversion
    09.06.2009 13:27:24     Success     Transform: transforming the payload ...
    09.06.2009 13:27:24     Success     Transform: successfully transformed
    09.06.2009 13:27:24     Success     Application attempting to send an XI message synchronously using connection JMS_http://sap.com/xi/XI/System.
    09.06.2009 13:27:24     Success     Trying to put the message into the call queue.
    09.06.2009 13:27:24     Success     Message successfully put into the queue.
    09.06.2009 13:27:24     Success     The message was successfully retrieved from the call queue.
    09.06.2009 13:27:24     Success     The message status set to DLNG.
    09.06.2009 13:27:25     Success     The application sent the message synchronously using connection JMS_http://sap.com/xi/XI/System. Returning to application.
    09.06.2009 13:27:25     Success     The message was successfully transmitted to endpoint http://sapxia.swets.nl:8000/sap/xi/engine?type=entry using connection JMS_http://sap.com/xi/XI/System.
    09.06.2009 13:27:25     Success     The message status set to DLVD.
    Not sure why this is occurring.......

    No, not using correlation id.
    I was able to resolve the issue on this queue by changing the following setting
    Under the PROCESSING tab, under XI SETTINGS
    Time period for Duplicate Check for EO(IO) (secs) it was set to 86400
    I have changed this to 300 seconds and the adapter has now gone green.
    BUT......
    That said, I have the exact scenario on another sender JMS channel set to 300 seconds and it exhibits the same issue.
    correlation settings:
    Set XI message id  to  = GUID
    Set Xi conversation

  • Can anyone suggest a app or programme for creating a simple text based logo with a font I already own?

    Hi.
    I run my own company and would like to create my own simple text based logo using a font I've downloaded. Can anyone suggest an app or programme that will be simple enough for a dunce like me to create vectored graphics and reliable enough to create something professional and usable, please?
    Thanks.

    I believe if you copy the font into the font folder, any application should be able to use that font.

  • Create simple map like visio

    I'm using Microsoft Visio to create simple map.Can we do it at ilustrator?
    Thank .
    http://iptek.bintang9.co.cc

    I've created maps in Illustrator.  I'm sure I've gone about it the hard way, but I know it can be done.  There is also a plugin for Illustrator called MAPublisher as well for this particular application.  Although that plugin is quite expensive, so I just do it the hard old fashioned way as mapmaking isn't something that I do often and it's usually more for a graphic then it is for dead-on accurate(although I do try to be as much as I possibly can be).

  • Creating a simple text based logo without any background colour?

    Hello everyone
    I am really quite desperate for help and I'm hopeful that someone will be able to assist me.
    I'm helping a family member make a website and we are using wordpress and we have found a nice theme which is a blue color.
    The problem is that we can't make a logo to fit in with the theme.
    This is because we want a simple text based logo, but when we try and do this, it basically ends up being a silly white box with text inside it. We can't get our text to "sit" on top of the existing theme colors if you know what I mean.
    Could someone please explain to me how we could do this?
    Thanks

    assumming that you are using CS6--file>new--set parameters (background transparent) see attached dialog screenshots

  • Creating a repository based WSDL in JCAPS 6

    Hi,
    I am trying to create a very simple wsdl in JCAPS 6 which imports an XSD. I then implement the wsdl in a business process and can deploy it successfully in glassfish. The problem seems to be that the xsd does not get deployed with the WSDL and when I create a new project in soap-ui for the deployed web-service I get a 404 error when browsing to the XSD location from the definition. Do you have any ideas as to why this is happening ??
    The XSD is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://www.bov.com/xsd/xsdTypes"
        xmlns="http://www.w3.org/2001/XMLSchema"
        targetNamespace="http://www.bov.com/xsd/xsdTypes" elementFormDefault="qualified">
        <xsd:element name="Field" type="tns:FieldType"/>
        <xsd:complexType name="FieldType">
            <xsd:sequence>
                <xsd:element name="InputString" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:schema>and the WSDL:
    <definitions targetNamespace="http://www.bov.com/wsdl/wsdTest"
                 name="wsdTest"
                 xmlns:tns="http://www.bov.com/wsdl/wsdTest"
                 xmlns:ns0="http://www.bov.com/xsd/xsdTypes"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns="http://schemas.xmlsoap.org/wsdl/">
        <types>
            <xsd:schema id="UID-28000000-219F85981C0100-0A706FD8-01"
                        targetNamespace="http://www.bov.com/xsd/xsdTypes">
                <xsd:import schemaLocation="PXUID-{27000000-219F85981C0100-0A706FD8-01}"
                            namespace="http://www.bov.com/xsd/xsdTypes"></xsd:import>
            </xsd:schema>
        </types>
        <message name="InputMessage">
            <part name="InputPart"
                  element="ns0:Field"/>
        </message>
        <message name="OutputMessage">
            <part name="OutputPart"
                  element="ns0:Field"/>
        </message>
        <portType name="PortType">
            <operation name="SayHello">
                <input name="SayHelloInput"
                       message="tns:InputMessage"/>
                <output name="SayHelloOutput"
                        message="tns:OutputMessage"/>
            </operation>
        </portType>
    </definitions>

    Another thing I've tried is to create a "favorite" in Maps. In that case, I can define a location based just on where I drop a pin, and I can name it whatever I want and don't have to associated a mailing address with it. Amazingly, it seems that reminders does not have access to the favorites in maps, because I don't get to choose any of my maps favorites when I do location based reminders. That's makes so little sense that I'm assuming I must have some setting turned off somewhere. Hard to believe Apple wouldn't let reminders use locations that have been defined in maps.

  • Oracle.jbo.RowCreateException: JBO-25017: Error while creating a new ROW

    I am trying same multi step PO example. I have created a search page and there are 3 other pages for PO Header, PO Line and Review/Submit Page. I am coming on 2nd page(creating Line Item) and when I click on create new item record I am getting this error. Any help will be aprrecaited.
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for POLinesEO.
    This is my code for POLineShipFullVORowImpl.java
    protected void create(oracle.jbo.AttributeList nvp)
    POLinesEOImpl lineEO = (POLinesEOImpl)getEntity(0);
    POShipmentEOImpl shipmentEO = (POShipmentEOImpl)getEntity(1);
    try
    // Create Lines EO
    lineEO.create(nvp);
    // Create Shipments EO
    shipmentEO.create(lineEO);
    // Calling this ensures that any personalization default values are
    // properly set since the OAF normally sets this in the super.create(), but
    // since this is not called in this workaround, we need another method
    // to ensure customer defaults are applied.
    // The following method was introduced in OAF internal release 11.5.10J. Since
    // the production release of the ToolBox must be able to run on 11.5.10I, this
    // cannot be enabled.
    // setDefaultValue();
    catch (Exception ex)
    lineEO.revert();
    shipmentEO.revert();
    if (ex instanceof oracle.jbo.JboException)
    oracle.jbo.JboException jboEx = (oracle.jbo.JboException)ex;
    // Developers have to do the mapping on their own becauce of the override.
    jboEx.doEntityToVOMapping(getApplicationModule(), new oracle.jbo.ViewObject[]{getViewObject()});
    throw jboEx;
    throw OAException.wrapperException(ex);
    } // end create()
    Code for PoLinesEOImpl.java
    * Initializes a new purchase order line.
    public void create(AttributeList attributeList)
         // NOTE: header id is automatically set by BC4J because of the
    // composition association.
    super.create(attributeList);
    OADBTransaction transaction = (OADBTransaction)getOADBTransaction();
    // DEFAULT: line id
    Number lineId = transaction.getSequenceValue("FWK_TBX_PO_LINES_S");
    setLineId(lineId);
    // DEFAULT: Line number
    POHeaderEOImpl headerEO = getPOHeaderEO();
    Number newLineNum = headerEO.getNextLineNum();
    setLineNumber(newLineNum);
    } // end create()
    * Sets <code>value</code> as the attribute value for ShipmentNumber
    * Business Rules
    * Required; cannot be null
    * Cannot be updated on a committed line
    * Must be unique for this purchase order
    * Must be >= 1
    public void setLineNumber(Number value)
    if (value != null)
    // Verify value is > 0
    if (value.compareTo(0) <= 0)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // To verify uniqueness, start by checking the entity cache.
    com.sun.java.util.collections.Iterator lineIterator =
    getEntityDef().getAllEntityInstancesIterator(getDBTransaction());
    Number lineId = getLineId();
    Number headerId = getHeaderId();
    while ( lineIterator.hasNext() )
    POLinesEOImpl cachedLine =
    (POLinesEOImpl)lineIterator.next();
    Number cachedLineNum = cachedLine.getLineNumber();
    Number cachedLineId = cachedLine.getLineId();
    Number cachedHeaderId = cachedLine.getHeaderId();
    if ((cachedLineNum != null) &&
    (cachedLineNum.compareTo(value) == 0) &&
    (cachedLineId.compareTo(lineId) != 0) && // Exclude this line
    (cachedHeaderId.compareTo(headerId) == 0))
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // Didn't find a duplicate in the entity cache so now we check the database.
    // Note: don't bother with this if the header is in a NEW state since that
    // means we won't have any lines in the database yet.
    POHeaderEOImpl headerEO = getPOHeaderEO();
    if (headerEO.getEntityState() != STATUS_NEW)
    PurchaseEntityExpert poExpert =
    POHeaderEOImpl.getPurchaseEntityExpert(getOADBTransaction());
    PoLineNumVVOImpl valLineNumVO =
    (PoLineNumVVOImpl)poExpert.findValidationViewObject("PoLineNumVVO1");
    valLineNumVO.initQuery(headerId, value);
    // We're doing an existence check; shouldn't have any rows.
    if (valLineNumVO.hasNext())
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "LineNumber", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "DEBUG -- add message"); // Message name
    // If this is the largest line number for this order, this will store it for
    // reference when creating subsequent lines.
    headerEO.resetLineNum(value);
    setAttributeInternal(LINENUMBER, value);
    } // end setLineNumber()
    Edited by: user9941374 on Mar 15, 2012 3:16 PM

    Hi Frank,
    As per the steps mentioned in the following link :
    http://www-apps.us.oracle.com:1100/fwk/jdev/doc/devguide/bus/bus_java.htm#tl
    I have created the required entity objects and view objects.
    I have an entity JobsDEO which is based on a view per_jobs_vl which is itself based on 2 tables,per_jobs_f and per_jobs_tl,wherein _tl is the translation table.
    The entity for _tl table is JobTranslationEO and has no VO associated with it.Its the JobsVO,based on JobsDEO,that has to handle any interactions with this entity too.
    JOBSDEO has a property set up for HCM_DBSEQUENCE,which makes it read the value of job_id from the sequence per_jobs_s.
    Now,when I try to insert into the JobsVO,based on JobsDEO,it gives me the above mentioned error.
    One more thing is that the error does'nt occur when we commit a row,its just when we click the "+" button in the AM Tester that we get this error.
    Please advice.

  • WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER

    Dear Sir,
    please any one can answer me as soon as possible its very urgent
    WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER
    I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application we are trying to generate our own maps for our own data contains in our layers like example boundary lines and roads and etc. and we are following complete example as described in Oracle Mapviewer Document Chapter 8.
    Before this step we tried with demo data downloaded from OTN mvdemo. And we downloaded latest demo today itself from the OTN and imported into our database schema called mvdemo. And we copied all three jar files mvclient and mvconnection and mvpalette into our jdeveloper .
    II.     We created a jsp to execute the following code from oracle mapviewer chapter 8 documents
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld"
    prefix="jwcache"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld"
    prefix="fileaccess"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jesitaglib.tld"
    prefix="JESI"%>
    <f:view>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html" charset=UTF-8>
    <TITLE>A sample Oracle Maps Application</TITLE>
    <script language="Javascript" src="jslib/loadscript.js"></script>
    <script language=javascript>
    var themebasedfoi=null
    function on_load_mapview()
    var baseURL = " http://localhost:8888/mapviewer/omserver";
    // Create an MVMapView instance to display the map
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    // Add a base map layer as background
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    // Add a theme-based FOI layer to display customers on the map
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mvdemo.customers');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    // Set the initial map center and zoom level
    mapview.setCenter(MVSdoGeometry.createPoint(-122.45,37.7706,8307));
    mapview.setZoomLevel(4);
    // Add a navigation panel on the right side of the map
    mapview.addNavigationPanel('east');
    // Add a scale bar
    mapview.addScaleBar();
    // Display the map.
    mapview.display();
    function setLayerVisible(checkBox){
    // Show the theme-based FOI layer if the check box is checked and
    // hide the theme-based FOI layer otherwise.
    if(checkBox.checked)
    themebasedfoi.setVisible(true) ;
    else
    themebasedfoi.setVisible(false);
    </script>
    </head>
    <body onload= javascript:on_load_mapview() >
    <h2> A sample Oracle Maps Application</h2>
    <INPUT TYPE="checkbox" onclick="setLayerVisible(this)" checked/>Show customers
    <div id="map" style="width: 600px; height: 500px"></div>
    </body>
    </html>
    </f:view>
    <!--
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>mapPage</title>
    </head>
    <body><h:form binding="#{backing_mapPage.form1}" id="form1"></h:form></body>
    </html>
    -->
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_mapPage--%>
    III.     When we run this jsp it’s giving us following Two errors
    1     Error:     ‘MVMapView’ is undefined
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    2     Error:     ‘themebasedfoi’ is null or not an object
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    Please let us know what could be problem as soon as possible. Very urgent
    Please let us know where we can find Mapviewer AJAX API’s for Jdeveloper Extention
    Thanks
    Kabeer

    I currently use parameters, and they are passed from the form to the report. Report is then generated based on a function returning ‘strongly typed’ cursor. The ‘strongly typed’ cursor in my case returns a record consisting of an orderly collection of fields.
    This collection of fields is returned by another function that relies on the IF … THEN logic.
    However, the number of IF ... THEN statements is quite large (currently 64 covering all possible combinations of 6 parameters available in the form).
    I would like to avoid the large number of IF … THEN statements, and hope that there is a way of passing a string to a query, where the Dynamic SQL would in Select close and Where close reflect parameters passed by the form.
    In addition to this I would like to avoid creating and populating a table or a view dedicated to the report, because this may lead to a conflict in case of multiple users concurrently generating reports with different choice of parameters.
    Edited by: user6883574 on May 28, 2009 9:16 PM

  • How to create materialized view based on a synonym

    Hi all,
    I am trying to create simple materialized view based on a synonym and that synonym is pointing a view in other database (using dblink). I am getting table or view not found error . I am able to select synonym if i use select but not in materialized view. Please help me.
    Thanks,

    The best way to do this is to create a materialzed view based on the underlying code of the original view. If you don't have this handy, issue the following in sqlplus:
    select text
    from user_views
    where view_name = 'NAME_OF_VIEW'
    You can then cut and paste the sql statement into your create materialized view statement.
    Please note, you will probable have to set the long parameter to a higher value to reveal the complete statement for example:
    SQL> set long 2048

  • How to create collection (query) based on report results?

    Hello everyone,
    I have the following report;
    I would like to create a collection based on the "Non Compliant" and the "Unable to find compatible TPM" so I can re-deploy with right-click tools.
    If the above is NOT the solution to create a group for redeployment. How would I address this?
    Thank you in advance for any help.

    Unfortunately, there is no straight-forward answer here. ConfigMgr console queries use WQL and only have visibility to a subset of the complete information in the database. Most things you are probably interested in creating queries from are probably visible,
    but that's not guaranteed. Additionally, they are named slightly differently also so it really just takes some trial and error and personal investigation to see what is there and what isn't. The place to start is to open the root\sms\site_<sitecode>namespace
    on the system hosting the SMS provider. The public reference for most of the classes is at
    http://msdn.microsoft.com/en-us/library/hh948405.aspx . These all directly map to data in the database but as mentioned, not all views in the DB have a corresponding WMI class.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Cannot create a summary based on remote objects

    Has anyone ever come across this error when creating a summary folder for a warehouse, using a DB Link?
    Does anyone know how to resolve this?

    Hi
    This is not a restiction of Discoverer, this is a SQL restriction, and it makes jolly good sense if you think about it.
    You cannot create a materialized view across a database link. This is because the optimizer only works within its database. It cannot cross a database link because it will be interfering with the optimization of another database and thus will be unable to determine whether a query should be redirected. So if a query cannot be redirected, what's the point in having a materialized view, or, in Discoverer's language, a summary table?
    How can you resolve this? Simple: you make sure that the summary and the objects upon which the summary will be based all exist within the same database.
    I know this is probably not the answer that you wanted.
    Best wishes
    Michael

Maybe you are looking for

  • Issue in Oracle 12C Installation for windows 64 bit

    a) I have downloaded Oracle Database 12c from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html for windows 64 bit b) Unzipped both of the files and have click on setup file in file1 c) It is stuck at 59% i.e., at set

  • I have all my itunes music on one laptop but the screen is broke how can i get all y music to my new laptop?

    how do i transfer my itunes library from a broken laptop to a new laptop?

  • ITunes Has Stopped Working on Windows XP

    Running a Windows Xp with up to date service packs PC. Double clicking the iTunes icon initiates a short load followed by the program loading into task list but not opening. To rememdy I have uninstalled iTunes, Quicktime, Apple Updater, Bonjour and

  • How to create internal table for a structure in BSP

    hi , I have created a Structure in BSP.I want to create an internal table for that Structure. But in my coding ie. <% data: begin of itab_1 .                  include type zuvendstr.                  data:end of itab_1.                  data wa_str l

  • Computer logged in by someone

    I apologize if this is the wrong place. I believe that my system was broken into. Could yo tell what was done to my system. Thanks in advance. Dec  8 13:07:50 Bills-MacBook.local loginwindow[42]: ERROR | -[LWScreenLock(Private) screenIsLockedTimeExpi