Mapview dynamic theme generation questions

In exercising the MapViewer tool with thematics map I had a view questions on the capabilities of the component:
1. Is there a way in the map _request element reference a dynamically defined expression (column)
that is returned from the query defined in the value of the "<jdbc_query>" element. I want to show counts from an inline view,
but for brevity consider the the SQL
select geom, state , state || '-' || state_abrv concat_state_name from states
It seems that both the "label_column" attribute of the "<jdbc_query>" element and the "column" attribute of a "<rule>" element in
a style rule can only reference columns that exist in the base table either of the base map/theme or in the query .
I cannot seem to use a specification of "concat_state_name"
in the "label_column" attribute ... throws ClassCastException. Should this be possible ?
If not would the workaround would appear to use a view that is dynamically defined and insert a new map based on the view ?
2. In my inline view example, I found in the "<jdbc_query>" element that when I specifed a "render_style" that
was an advanced style with buckets it automatically selected my count expression and rendered the map correctly, which
is great, but it might be a good idea to make it explicit if 1. could be handled (or can).
3. For thematic maps it would be nice to dynamically define the buckets (<AdvancedStyle>)
within the map request as the potient for permutations of numeric ranges in any application could vary.
It looks like <styling_rules> might be able to handle this if you can use the BETWEEN operator or something
like runway_number >= 10 and runway_number < 20 as expressions. Are these valid and if so where are they specified
in the map_request ? I did not see them nested anywhere in the DTD yet the Example 2-1 in the documentation would
imply they can be specified in the map request and the tool map definition tool does not seem to support the concept of a
variable in the base table. The workaround would appear to be to dynamically add the theme using an insert.

In exercising the MapViewer tool with thematics map I had a view questions on the capabilities of the component:
1. Is there a way in the map _request element reference a dynamically defined expression (column)
that is returned from the query defined in the value of the "<jdbc_query>" element. I want to show counts from an inline view,
but for brevity consider the the SQL
select geom, state , state || '-' || state_abrv concat_state_name from states
It seems that both the "label_column" attribute of the "<jdbc_query>" element and the "column" attribute of a "<rule>" element in
a style rule can only reference columns that exist in the base table either of the base map/theme or in the query .
I cannot seem to use a specification of "concat_state_name"
in the "label_column" attribute ... throws ClassCastException. Should this be possible ?
If not would the workaround would appear to use a view that is dynamically defined and insert a new map based on the view ? MapViewer does allow dynamic expressions in <jdbc_query>. Can you test the following simple request:
<?xml version="1.0" standalone="yes"?>
<map_request datasource = "mvdemo">
<themes>
<theme name="theme1" min_scale="5.0E7" max_scale="0.0">
<jdbc_query
datasource="mvdemo"
jdbc_srid="0"
spatial_column="geom"
render_style="C.RED"
label_style="T.STREET NAME"
label_column="concat_state_name"
>select geom, state , state || '-' || state_abrv concat_state_name from states where state_abrv='MA' </jdbc_query>
</theme>
</themes>
</map_request>
As long as the name specified in lable_column matches the alias you give in the select list it should work.
If not then maybe you need to use the view-based approach. It will definately work in the up-coming 9.0.4 version.
2. In my inline view example, I found in the "<jdbc_query>" element that when I specifed a "render_style" that
was an advanced style with buckets it automatically selected my count expression and rendered the map correctly, which
is great, but it might be a good idea to make it explicit if 1. could be handled (or can).
3. For thematic maps it would be nice to dynamically define the buckets (<AdvancedStyle>)
within the map request as the potient for permutations of numeric ranges in any application could vary.
It looks like <styling_rules> might be able to handle this if you can use the BETWEEN operator or something
like runway_number >= 10 and runway_number < 20 as expressions. Are these valid and if so where are they specified
in the map_request ? Yes that may indeed be a good thing to have in a future version of mapviewer. In the mean time yes you can always use such expressions as you provided in the styling_rules (which is only for predefined themes) or in a <jdbc_theme>.
I did not see them nested anywhere in the DTD yet the Example 2-1 in the documentation would
imply they can be specified in the map request and the tool map definition tool does not seem to support the concept of a
variable in the base table. The workaround would appear to be to dynamically add the theme using an insert. The map definition tool is lagging behind in terms of supporting all the functions actually available in MapViewer server.
Thanks,
LJ

Similar Messages

  • XMLParseException during dynamic theme generation

    Hi,
    I4m having problems with SQL statements in some requests to MapViewer during dynamic theme generation.
    When I put in the WHERE clause the operator "less than" the request fails. An XMLParseException is generated.
    For example:
    <jdbc_query XXXXXXX>
    select geom from table where column < 10
    </jdbc_query>
    the following exception is generated:
    oracle.xml.parser.v2.XMLParseException: Expected name instead of .
    When I change de symbol < to &lt; (like MapViewer Users Guide recommends):
    <jdbc_query XXXXXXX>
    select geom from table where column &lt; 10
    </jdbc_query>
    the following exception is generated:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF
    If the is no WHERE clause (select geom from table) the request works.
    What can be wrong ? Can I use the less than operator in the WHERE clause ?
    Thanks in advance,
    Rodrigo     

    OK. The OC4J version is 1.0.2.2.1. I4m using Oracle8i Enterprise Edition Release 8.1.7.0.0.
    Some examples of XML requests:
    1) This works fine
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column = 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    2) This doesn4t work ('<' replaces '=' in SQL WHERE clause)
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column < 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    3) This also doesn4t work ('&lt;' replaces '=' in SQL WHERE clause)
    <?xml version="1.0" standalone="yes"?>
    <map_request
    title=""
    basemap="MAP1"
    datasource="DS1"
    width="1098"
    height="648"
    bgcolor="#FFFFFF"
    antialiase="false"
    format="GIF_URL">
    <center size="73063.00272634998">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates> 376875.541941716, 7810266.276712325</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name ="PLANTIOS_MPD">
                   <jdbc_query
                   asis="true"
    spatial_column="GEOM"
                   render_style="C.PLANTIOS_MPD"
                   jdbc_host="MyServer"
                   jdbc_port="1521"
                   jdbc_sid="db01"
                   jdbc_user="scott"
                   jdbc_password="tiger"
                   jdbc_mode="thin">
                   select geom from table where column &lt; 50
    </jdbc_query>
         </theme>
    </themes>
    </map_request>
    Thanks,
    Rodrigo

  • MapViewer Dynamic Theme help

    I am using MapViewer 10g to create a JSP map, using JSP Tags as in the TagMap example. All works well, however, in building the page in question, beside creating and printing the map, I also use a within_distance query to print out a list of values. Now, on the map, I would like to be able to draw or add a dynamic theme which would be a semi-transparent raster circle, with a varying radius (dependent on the within_distance size) at the center of the map (X,Y). Any help would be greatly appreciated.

    there is a bug in the addJDBCTheme tag where the asis attribute is ignored; normally if you set asis="true" then it should work (no spatial filter will be applied to your dynamic theme since it has no spatial index anyway). But somehow the asis attribute is ignored by the taglib.
    The work around is to use the client api itself, as show below:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ordim/mvtaglib.tld" prefix="mapviewer"%>
    <P>Testing a point</P>
    <P>
    <mapviewer:init datasource="mvdemo"
    url="http://localhost:8888/mapviewer/omserver"
    id="mvhandle" />
    <mapviewer:importBaseMap name="demo_map" />
    <%
    mvhandle.addJDBCTheme("mvdemo", "centerPoint",
    "SELECT mdsys.sdo_geometry(2001, null, mdsys.sdo_point_type(-83, 39, null), null, null) geom FROM dual",
    "geom", null, "M.CIRCLE", null, null, true); %>
    <mapviewer:setParam centerX="-83" centerY="39" size="2" />
    <mapviewer:run />
    showing the map: <p>
    <img src = "<mapviewer:getMapURL />" align=left />
    </P>

  • Mapviewer dynamic themes

    Can anyone see what I am doing wrong here? I am just trying to display locations of cities I have in my table. the base map returns with no cities defined. I can get these to plot when I use the mapdef tool and create a map with themes, but I want to create dynamic themes. Here is the code, and below that is the SQL results from running the same query in SQLplus.
    thanks in advance!
    -Scott
    &lt;?xml version="1.0" standalone="yes"?&gt;
    &lt;map_request
    title="Testing Cities"
    basemap="SOUTHWEST"
    datasource ="mvdemo"
    width="640"
    height="480"
    bgcolor="#a6cae0"
    antialiase="false"
    format="GIF_STREAM"&gt;
    &lt;center size="12"&gt;
    &lt;geoFeature&gt;
    &lt;geometricProperty&gt;
    &lt;point&gt;
    &lt;coordinates&gt;-120, 39&lt;/coordinates&gt;
    &lt;/point&gt;
    &lt;/geometricProperty&gt;
    &lt;/geoFeature&gt;
    &lt;/center&gt;
    &lt;themes&gt;
    &lt;theme name="Cities"&gt;
    &lt;jdbc_query
    datasource="mvdemo"
    spatial_column="LOCATION"
    render_style="M.EXIT 5X5"
    jdbc_srid="8307"&gt;
    select city,location from cities where state_abrv='CA'
    &lt;/jdbc_query&gt;
    &lt;/theme&gt;
    &lt;/themes&gt;
    &lt;/map_request&gt;
    Example of SQL results from above query:
    SIERRA ARMY DEPOT
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-120.15, 41.361, NULL), NULL, NULL)
    MOFFET FEDERAL AIRFIELD
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-122.04745, 37.41883, NULL), NULL, NULL)
    FORT BAKER
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-122.49954, 37.86682, NULL), NULL, NULL)
    LOS ANGELES AIR FORCE BASE
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-118.3832, 33.94609, NULL), NULL, NULL)
    NORTH ISLAND NAVAL AIR STATION
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-117.20133, 32.70655, NULL), NULL, NULL)
    MIRAMAR MARINE CORPS AIR STATION
    SDO_GEOMETRY(1, NULL, SDO_POINT_TYPE(-117.14253, 32.868381, NULL), NULL, NULL)

    Hi Scott,
    it may be related with your render style. Is it stored on your database? Try to use another style, for example a marker style M.CIRCLE (if you have it stored). If you don't get the right result, then post the log information.
    Joao

  • Dynamic  theme generation

    Hi,
    I need to change during runtime the portal theme in EP6 SP4.
    1)The theme must chnage for different user groups.
    2)If i have an user with a default theme and, when I click over an entry in top level navigation, the portal theme should change depending on then choosen entry.
    Do you have any idea? Where can i find documentation
    Thank you. Regards

    Hi Damodhar
    --The theme must chnage for different user groups.
      for this check out the following link
      http://help.sap.com/saphelp_nw04/helpdata/en/f4/bb7a3b688d3c1de10000000a11402f/frameset.htm
    ---If i have an user with a default theme and, when I click over an entry in top level navigation, the portal theme should change depending on then choosen entry.
    Check the above weblog and also Changing Portal Themes from Role to Role...
    Regards
    Rajeev.

  • ITS Theme Generation question

    can colors and links be imposed onto child ITS iViews?  We have EBP 3.0 and the standard color scheme is blue.  Our portal is a different color scheme.  In the ITS Theme Generator of the Portal, there only seems to be the option of changing icons, but not base colors like you can do in the portal theme editor.
    I know we could go into the ITS itself and modify the style sheets there, but if they could be captured from EP, that would be a little easier.

    We had the same problem with one EP 5
    When you creatte a style sheet for the portal it create
    some css files for the ITS server aswell .. We ended up
    chaging the css files for ITS manually...
    Theo

  • Can a Hyperlink be created based on the results of a Dynamic Theme Query?

    What I would like to do is create a link from the results of a dynamic theme. The following code displays the names of locations on my map, is there any way that the location name once placed on the map can be a hyperlink that will run a SQL statement that will show the status of that name. My map is based on 3 status levels identified by markers, green marker is up, red is down, amber is degraded. If the Marker is red I want to be able to click the name or the Marker that is on the map to find out what the problem actually is.
    Thanks in advance!
    &lt;mv:addJDBCTheme
         name="Locations_Names"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         label_style="T.CITY NAME"
         label_column="location"
         min_scale="7.05" max_scale="0"&gt;     
              select l.location, l.map_loc_data
              from resources.locations_test l
              where l.location_id IN
              (Select distinct d_loc_id
              from cii.devices
              HAVING max(d_ops_status) &lt;= 2 GROUP BY d_loc_id)
    &lt;/mv:addJDBCTheme&gt;

    LJ,
    Any chance you can see what is wrong with the following code. I have gone over it line by line with an example out of the Oracle Pro spatial Data book, but I can not see what the problem is.
    I know you will not be able to run it but the error I am getting is:
    500 Internal Server Error
    java.lang.NoSuchMethodError at Oracle.lbs.mapclient.MapViewer.getUserPoint(MapViewer.java:3512)
         at oracle.lbs.mapclient.MapViewer.identify(MapViewer.java:4560)
         at oracle.lbs.mapclient.taglib.MapViewerIdentifyTag.doEndTag(MapViewerIdentifyTag.java:171)
         at tnoscmaps.MapofUS._jspService(_MapofUS.java:286)
         [SRC:/TNOSCMAPS/MapofUS.jsp:130]
    To me this is pointing to the following section:
    <mv:identify
    id="identifyResults"
    datasource="mvdemo"
    table="locations_test"
    spatial_column="map_loc_data"
    srid="8307"
    x="<%= imgCX %>"
    y="<%= imgCY %>"
    >
    location, state
    </mv:identify>
    This is my complete set of code for this page:
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@ taglib uri="/WEB-INF/mvtaglib.tld" prefix="mv" %>
    <%@ page session="true" %>
    <%@ page import="oracle.lbs.mapclient.MapViewer" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>CONUS TNOSC SITES</title>
    </head>
    <body bgcolor="#FFFF00">
    <%
    // Name of this File
    String jspURL = response.encodeURL(request.getRequestURI());
    // URL of Mapviewer servlet
    String mapViewerURL =
    "http://"+ request.getServerName()+":"+request.getServerPort()+
    request.getContextPath()+"/omserver";
    String[][] featureInfo = null;
    if( request.getParameter("session-initialized") == null ||
    request.getParameter("new-session") == "true") {
    %>
    <!-- Initialize MapViewer handle.and save it in the session -->
    <mv:init
    url="<%=mapViewerURL%>"
    datasource="mvdemo"
    id="mvHandleSimpleViewerTags" />
    <!-- Set map format and size -->
    <mv:setParam
    title="CONUS TNOSC SITES"
    width="800"
    height="500"/>
    <!-- Add themes from the base map -->
    <mv:importBaseMap name="US_MAP"/>
    <!-- Dynamic Themes -->
    <mv:addJDBCTheme
         name="Locations_Names"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         label_style="T.CITY NAME"
         label_column="location"
         min_scale="7.05" max_scale="0">     
              select l.location, l.map_loc_data
              from resources.locations_test l
              where l.location_id IN
              (Select distinct d_loc_id
              from cii.devices
              HAVING max(d_ops_status) <= 2 GROUP BY d_loc_id)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_Green_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.GREEN"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 0)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_AMBER_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.AMBER"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 1)
    </mv:addJDBCTheme>
    <mv:addJDBCTheme
         name="Locations_RED_Status"
         datasource="mvdemo"
         spatial_column="map_loc_data"
         srid="8307"
         render_style="M.RED"
         min_scale="50" max_scale="0">     
    SELECT l.map_loc_data, l.location_id
    FROM resources.locations_test l
    WHERE l.location_id IN (SELECT d_loc_id
    FROM cii.devices
         GROUP BY d_loc_id HAVING MAX(d_ops_status) = 2)
    </mv:addJDBCTheme>
    <!-- Set initial map center and size -->
    <mv:setParam
    centerX="-96.0"
    centerY="39.0"
    size="37" />
    <%
    MapViewer mvHandle = (MapViewer) session.getAttribute("mvHandleSimpleViewerTags");
    String userAction = request.getParameter("userAction");
    String imgCX = request.getParameter("userClick.x");
    String imgCY = request.getParameter("userClick.y");
    if("identify".equals(userAction)) {
    %>
    <mv:identify
    id="identifyResults"
    datasource="mvdemo"
    table="locations_test"
    spatial_column="map_loc_data"
    srid="8307"
    x="<%= imgCX %>"
    y="<%= imgCY %>"
    >
    location, state
    </mv:identify>
    <%
    featureInfo = identifyResults;
    else {
    %>
    <mv:run
    action="<%=userAction%>"
    x="<%= imgCX %>"
    y="<%= imgCY %>" />
    <%
    %>
    <!-- Output the HTML content -->
    <center><h1>CONUS TNOSC SITES</h1></center>
    <form name="viewerForm" method="post" action="<%= jspURL %>" >
    <center>
    <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" >
    <tr bgcolor="#FFFFFF">
    <td valign="top">
    <table border="0" cellpadding="0" cellspacing="0">
    <!-- Map display -->
    <tr>
    <td valign="top" align="center" >
    <input type="image"
    border="1"
    src="<mv:getMapURL />"
    name="userClick"
    alt="Click on the map for selected action"
    >
    </td>
    </tr>
    <!-- Map click action -->
    <tr>
    <td align="center">
    <input type="radio" name="userAction" value="recenter"
    <%= "recenter".equals(userAction)?"checked":""%> ><B>Re-center</B>
    <input type="radio" name="userAction" value="zoomin"
    <%= "zoomin".equals(userAction)?"checked":""%> ><B>Zoom In</B>
    <input type="radio" name="userAction" value="zoomout"
    <%= "zoomout".equals(userAction)?"checked":""%> ><B>Zoom Out</B>
    <input type="radio" name="userAction" value="identify"
    <%= "identify".equals(userAction)?"checked":""%> ><B>Identify Issue</B>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <!-- Current position -->
    <tr>
    <td align="center">
    <i>Center</i>[<b><%=mvHandle.getRequestCenter().getX()+","+
    mvHandle.getRequestCenter().getY()%></b>]  
    <i>Scale</i>[<b><%=mvHandle.getMapScale()%></b>]
    </td>
    </tr>
    <!-- Identification result -->
    <% if (featureInfo !=null && featureInfo.length>0) {%>
    <tr><td align="center">
    <table border="1">
    <% for (int i=0; i<featureInfo.length; i++) {%>
    <tr>
    <% String[] row = featureInfo;
    for (int k=0; k<row.length; k++) {%>
    <td><%= row[k] %></td>
    <% } %>
    </tr>
    <% } %>
    </table>
    </td></tr>
    <% } %>
    </table>
    </center>
    <input type="hidden" name="session-initialized" value="true" >
    </form>
    </body>
    </html>

  • Map Viewer Query Rewriting for Dynamic themes and  Materialized Views.

    Hi,
    I am usng a WMS request to render FOI points in my map.
    Internally query rewrite is happening in Mapviewer for this dynamic theme and my data points query is getting converted as
    select FROM
    ( select status, shape from MatView.MyTab where id = '3' )
    WHERE MDSYS.SDO_FILTER(shape, MDSYS.SDO_GEOMETRY(2003, 4283, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(144.948120117188,-37.8162934802451,144.950866699219,-37.8141237016045)), 'querytype=WINDOW') = 'TRUE'
    here the rewritten query is not correct and is throwing exceptions in mapviewer log
    How can I make this query to be written correctly.
    (My orginal query before rewrite is: select status,shape from MatView.MyTab where id='3' )
    I am using a materialised view : MatView is a materialized view.
    When I used normal tables, the query is re written correctly.But for this materialized view this is happening.
    How can I correct the error?
    Is this has something to do with some Spatial Indexing in Materialised view or Query Rewriting for materialized view?
    Edited by: 841309 on Mar 10, 2011 11:04 PM

    Oops!
    The Materialized view was not accessible from the schema I tried :)
    And so when I gave permissions,it formed the correct query.
    So if permission is not there,map viewer will rewrite the query in a wrong way! New information.

  • Dynamic Themes in mapinit.jsp

    Hi ,
    How can I pass dynamic themes using mapinit.jsp ,
    For example alongwith all the parameters like map size , basemap etc..
    I want to give a new date parameter . based on the given date I need to put a where clause in my themes like where date=parameter.date.
    I have salesperson whose location changes on daily basis and user need to see their location on date basis , for example where all the salesman were on 28-10-2006 and where all the sales man were on 25-10-2006 and so on ..
    Please help

    Thanks a lot that worked out.But still as I have my complete requirement is I need to display set of radio buttons when I click on this link.
    Can this be possible by javascript.Can anyone give me an idea of how to do this. The actual scenario is like I get the a list of 30 dates and their corresponding radio buttons from a webservice. What I do is I read all the values from that webservice and convert them into text( actually I get the codes) and need to display that as a calendar to the user and when they click on a particular date { I copied a calender from the net and placed that code in my jsp to display the calender)
    the set of radio buttons should be displayed underneath the calender.That is both the calender and the list of radio buttons should be on the same page.
    Thanks in advance.
    Pavan.

  • UIX: how to get dynamic image generation working on ias10G?

    Hi,
    Anybody got UIX Dynamic Image Generation working on ias10G, on unix? My Images do not get generated (the page only shows the plain links)
    My env:
    - ias10G
    - AIX Version 5
    - java version: unknown, do not know what version ias10G is using
    On earlier versions (OC4J 903) we had to make sure an XServer was running and pointed our DISPLAY variable to that server. When the XServer was down, we got a nice error message in the application logs. However on ias10G I cannot figure out where to set this variable and I cannot find any error messages.
    Can anybody please help me out a bit?
    Cheers,
    Martijn

    Hi Andy,
    Thanks for your reply. However, I have not yet been able to get it working.
    I have verified that the java version is indeed (this is what the oc4j logfile shows when I supply the -showversion parameter)
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
    Classic VM (build 1.4.1, J2RE 1.4.1 IBM AIX build ca1411-20030930 (JIT enabled: jitc))The relevant fragment of the opmn.xml:
              <process-type id="oc4j_cif_mh" module-id="OC4J">
                   <module-data>
                      <category id="start-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true -Xmx75m -Xms75m -showversion"/>
                         <data id="oc4j-options" value="-properties"/>
                      </category>
                      <category id="stop-parameters">
                         <data id="java-options" value="-Djava.security.policy=/oracbd/j2ee/oc4j_cif_mh/config/java2.policy -
    Djava.awt.headless=true"/>
                      </category>
                   </module-data>
                   <start timeout="900" retry="2"/>
                   <stop timeout="120"/>
                   <restart timeout="720" retry="2"/>
                   <port id="ajp" range="3301-3400"/>
                   <port id="rmi" range="3201-3300"/>
                   <port id="jms" range="3701-3800"/>
                   <process-set id="default_island" numprocs="1"/>
                </process-type>Finally, your JSP passes the test. I can access it. But still no uix image generation. Are there any logfiles I can check for error messages on the failing image generation? May it be a web cache problem?
    Thanks in advance

  • Theme / CSS question

    Hello!
    I have a very basic theme / csss question:
    Working with Oracle XE and Apex I want to create my own theme. Therefore I tried to use
    http://wiki.shellprompt.net/bin/view/Apex/ThemeTips
    But thereit says:
    1. Copy the theme_4 images directory to theme_100
    But where do I find the theme_4 images directory???
    All I found was:
    Shared Components -> Themes
    But how can I open the css file (2nd step)??
    Excuse me for beeing this stupid...
    Thank you
    Johann

    Searching the XE Threads I found out, that
    http://myserver.com:8080/i/themes/theme_4/
    shows me the themes 4 directory using webdav.
    But how writing there?
    Bye
    Johann

  • Dynamic Component Creation Question

    I have a process that looks up fields names from a database. I then loop through and create HtmlInputText components dynamically. The question I have is how do I create a value binding to these components? I have been trying to think of a way to create a separate class that can be applied to each field name I retrieve from the database. But I just can't think of a good solution for this. I assume people have had to do this before.
    Thanks

    Let it bind to a List<String> or Map<String, String>. To get/set elements in a List you can use the brace notation, e.g. #{list[0]} for the 1st element (list.get(0)). For map you can use the key name as propertyname, e.g. #{map.key} for the entry associated with key "key" (map.get("key")).

  • How do u use SDO_RELATE for dynamic theme

    Hi ,
    I have line geometry. For this line geometry I have to create a buffer using SDO_GEOM.SDO_BUFFER and I have to check whether the given point geometry is with in this buffer.
    How can i do it?
    i have used buffer and SDO_RELATE but its giving error as
    "SDO_RELATE can not be used with out Spatial Index". Here my buffer is a dynamic theme.
    Is there any possibility to create index for dynamic theme?
    Thanks and Regards
    Aravindan

    Hello
    We did something familiar in a sence.
    We used an analysis based sdo_NN.
    Also therefor the spatial index is required and used.
    We created a Materialized view containing the sdo_buffered result geometry, based on additional where clauses for the base table..
    We defined a spatial index on the materialized view result table, and an additional view containing the sdo_nn operator to this materialized view result table.
    So when we changed the requirements in which geometry had to be buffered in the first step, we refreshed to materialized view. This caused the de sdo_index being updated. this way the view with the operator was actualized.
    I hope this explained a little bit the way we did this, maybe this can help you out.
    Luc

  • Mapviewer topology theme

    Can someone provide the syntax for a predefined topology theme rendering primitives (node/edge/face). I've seen the examples for dynamic themes, but not for predefined stored in user_sdo_themes.
    Thanks, David

    Hi David,
    currently there is no predefined theme definition for a topology "debug" mode, which shows the topology primitives (node/edge/face). We may consider this later.
    But for topology features, the predefined theme definition is similar to the geometry theme, with some additional parameters (topology name for example).
    INSERT INTO user_sdo_themes  VALUES (
       'NECOUNTIES',
       'Topology theme',
       'SC_AREAS',
       'FEATURE',
       '<?xml version="1.0" standalone="yes"?>
        <styling_rules theme_type="topology" topology_name="SC">
          <rule >
            <features style="C.COUNTIES"></features>
            <label column="F_NAME" style="T.CITY NAME"> </label>
          </rule>
        </styling_rules>' );Joao

  • My security questions keep changing.  I want to change them to questions I choose.  I did not choose these questions, nor do I know the answers to all.

    My security questions keep changing.  I want to change them to questions I choose.  I did not choose these questions, nor do I know the answers to all.  I recently changed my password successfully, and I wanted to change the security questions and could not.

    Welcome to the Apple Community.
    Start here, and reset your security questions, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help or you don't have a rescue address, you might try contacting Apple through iTunes Store Support

Maybe you are looking for

  • HP Pavilion g7 can't find or re-install HP Support Assistant & HP Solution Center

    After a week or so ago, I discovered my printer could no longer scan. Made several (& I mean several) attempts at following the instructions to install the full driver for my HP Photosmart C7180 printer. I then ordered the full drive CD for Window 7

  • Why does Command+Z enable zoom sometimes?

    I've tried to nail down exactly when and why this happens but have yet to figure it out. Usually happens (but not all the time) when I'm using the path tool and hit command+z to reverse a node I've created, but then the cursor swtiches to the magnify

  • Using Smart Build with Text of a Title

    I'm brand new to Keynote. I have successfully put in text for a title where the words of the title are in separate text boxes and move into a straight mid line. I tried to put a smart build of a sunrise in the background, but for some reason I could

  • Keyboard shortcuts return to default

    I am trying to set my shortcuts so when I hit F11, I get the dashboard, f12 for all windows. But when I restart my machine, it resets those commands to the default setting. Why is it resetting like this only on these commands? Other shortcuts I've se

  • ASMLibs - How often are these updated?

    I am working with Red Hat Enterprise Linux and there is a new kernel that has come out to fix a security issue, but I cannot update this due to the version of ASM that is posted on Oracle's site. How often are these items updated compared to when a n