Styling Rules, can anyone explain to me why this will not work?

I am creating a Custom Theme, for some reason Mapviewer generates the first two rules of this and then ignore the last two rules. It does not matter if the 2nd rules is any of the last 3, it will generate the markers associates with the query, but after it does that it ignore the last two styles. In the code below, the state labels all work fine. M.Green is displayed but not M.Amber or M.Red, if I was to put M.Red or M.Amber in the place of M.Green it will only display that style. So I know the queries are correct. I their some sort of limit on the amount of Rules I can have? In the MapDef tool it all looks correct but I can't edit the queries as I reach the character limit of the tool so I have to do this in SQL.
INSERT INTO user_sdo_themes VALUES(
'FORSCOM',
'FORSCOM Sites',
'MAP_DATA',
'MAP_LOC_DATA',
'<?xml version="1.0" standalone="yes"?>
<styling_rules asis="true">
<rule>
<features style="RESOURCES:C.SEQ6_02" ASIS="TRUE"> (US_ID IN(''AR'',''AZ'',''CA'',''LA'',''NM'',''NV'',''OK'',''TX'',''AL'',''FL'',''GA'',''KY'',''MS'',''NC'',''PR'',''SC'',''TN'',''MA'',''ME'',''NH'',''MD'',''RI'',''CT'',''NY'',''PA'',''DC'',''WV'',''DE'',''NJ'',''VA'',''VT'',''CO'',''IA'',''ID'',''IL'',''IN'',''KS'',''MI'',''MN'',''MO'',''MT'',''ND'',''NE'',''OH'',''OR'',''SD'',''UT'',''WA'',''WY'',''WI''))</features>
<label column="US_ID" style="RESOURCES:T.STATE NAME">1</label>
</rule>
<rule>
<features style="RESOURCES:M.GREEN" asis="true">
SELECT location,
map_loc_data
FROM resources.map_data ml
WHERE ml.location_id IN (SELECT d_loc_id
FROM cii.devices
WHERE d_loc_id IN (SELECT DISTINCT l.location_id
FROM resources.locations l,
resources.activity_locations al,
resources.activities a,
resources.sub_commands sc,
resources.commands c
WHERE l.location_id = al.location_id
AND al.activity_id = a.activity_id
AND a.ac_sc_id = sc.sc_id
AND sc.sc_cmd_id = c.command_id
AND c.acronym = ''FORSCOM''))
</features>
</rule>
<rule>
<features style="RESOURCES:M.RED">
SELECT location,
d_dev_name device,
DECODE(d_ops_status,2,'Red') status,
et_type type,
ev_down_gmt down,
ev_etr_gmt etr,
ev_description description,
map_loc_data
FROM resources.map_data ml,
cii.devices d,
cii.events e,
cii.event_types et
WHERE ml.location_id = d.d_loc_id
AND d.d_dev_id = e.ev_dev_id
AND e.ev_type = et.et_id
AND e.ev_os_id IN (2)
AND d.d_loc_id IN (SELECT l.location_id
FROM resources.locations l,
resources.activity_locations al,
resources.activities a,
resources.sub_commands sc,
resources.commands c
WHERE l.location_id = al.location_id
AND al.activity_id = a.activity_id
AND a.ac_sc_id = sc.sc_id
AND sc.sc_cmd_id = c.command_id
AND c.acronym = 'FORSCOM')
</features>
</rule>
<rule>
<features style="RESOURCES:M.AMBER">
SELECT location,
d_dev_name device,
DECODE(d_ops_status,1,''Amber'') status,
et_type type,
ev_down_gmt down,
ev_etr_gmt etr,
ev_description description,
map_loc_data
FROM resources.map_data ml,
cii.devices d,
cii.events e,
cii.event_types et
WHERE ml.location_id = d.d_loc_id
AND d.d_dev_id = e.ev_dev_id
AND e.ev_type = et.et_id
AND e.ev_os_id IN (1)
AND d.d_loc_id IN (SELECT l.location_id
FROM resources.locations l,
resources.activity_locations al,
resources.activities a,
resources.sub_commands sc,
resources.commands c
WHERE l.location_id = al.location_id
AND al.activity_id = a.activity_id
AND a.ac_sc_id = sc.sc_id
AND sc.sc_cmd_id = c.command_id
AND c.acronym = ''FORSCOM'')
</features>
</rule>
</styling_rules>');

Hi LJ,
I should have all this figured out. I have created my advanced theme, and it seems to be working fine. The problem I am running into is when I try and get the data for my mouseover infotip window the Mapviewer is failing saying that the decription string I am trying to display in my infotip window is failing whenever it is trying to display any text string:
05/05/05 11:14:27 Thu May 05 11:14:27 GMT-07:00 2005 ERROR [oracle.lbs.mapserver.core.RealWorker] java.lang.NumberFormatException: For input string: "DEVENS RESERVE FORCES TRAINING AREA"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1207)
at java.lang.Double.valueOf(Double.java:202)
My query is as follows:
INSERT INTO user_sdo_themes VALUES(
'FORSCOM',
'All Forscom',
'ALL_MAP_LOCATIONS',
'MAP_LOC_DATA',
<?xml version="1.0" standalone="yes"?>
<styling_rules >
<rule >
<features style="RESOURCES:A.STATUS">
     SELECT md.map_loc_data, me.LOCATION, me.DEVICE, me.STATUS, me.TYPE, me.DOWN, me.ETR, me.TITLE, cl.location_id
     FROM resources.MAP_LOCATION_EVENTS_VIEW me, resources.MAP_DATA md, command_locations_view cl
WHERE cl.location_id = md.location_id AND md.location = me.location(+) AND acronym = 'FORSCOM'
</features>
</rule>
</styling_rules>');
If I just have the following SQL this works fine and the infotip window will show me the status of the locations, but of course I need to have the descrition, and title, etc.. Any strings that are called seem to fail.
SELECT cl.location,
md.map_loc_data,
cl.status
FROM command_locations_view cl,
map_data md,
map_location_events_view mle
WHERE cl.location_id = md.location_id
AND md.location = mle.location(+)
AND acronym = 'FORSCOM'
My 2 views are as follows:
SELECT cl.location,
md.map_loc_data,
cl.status
FROM command_locations_view cl,
map_data md,
map_location_events_view mle
WHERE cl.location_id = md.location_id
AND md.location = mle.location(+)
AND acronym = 'FORSCOM'
SELECT location,
d_dev_name device,
DECODE(d_ops_status,1,'Amber',
2,'Red') status,
et_type type,
ev_short_desc title,
ev_down_gmt down,
ev_etr_gmt etr,
ev_description description,
map_loc_data
FROM resources.map_data ml,
cii.devices d,
cii.events e,
cii.event_types et
WHERE ml.location_id = d.d_loc_id
AND d.d_dev_id = e.ev_dev_id
AND e.ev_type = et.et_id
AND e.ev_os_id IN (1,2)
Any ideas??
Thanks!!!

Similar Messages

  • Can ANYONE explain to me why I've not posted to any forum?

    It's been at least a year and I know you guys must have been thinking I'm DEAD.
    I've must have been in a time warp or something, or a narcotic induced haze (I have another back fusion coming up in a month for the chronic pain)
    Sewermonger AKA Felton (or is it the other way around?)

    Felton:
    It's nice to see your smiling face again.
    Susan
    Novell Community Chat Moderator
    http://forums.novell.com/faq.php?faq=novfor#faq_rules
    http://www.ncci.org NCCIrregulars Web Site
    https://www.facebook.com/groups/NCCIrregulars
    Please read the following before posting in here:
    http://preview.tinyurl.com/27zopdy

  • Can anyone explain to me why some of my photos are landing in events and others are appearing only in photo stream?

    I want to delete photos from camera roll on my iPhone to clear space to install ios7 but after importing photos to iPhoto on my macbook pro only 4 out of 339 photos taken in September landed in events, though all 339 are in Sept photo stream. It seems like on previous uploads all photos "fell" into events according to the day they were taken, as well as into photostream. I want to make sure these photos stick around permanently and do not exist only in photo stream where I imagine they will eventually be bumped from my computer (photostream). Can anyone explain why some of my photos are landing in events and others are appearing only in photo stream?

    You have uploaded two different things - pHotos are in one and only one event - if you have the same photo in two different events then you have imported it twice
    Please explain what you want - your initial question and yoru current comments are 180 degrees apart
    You say they are not all in events
    Can anyone explain to me why some of my photos are landing in events and others are appearing only in photo stream?
    Now you say they are
    All 15 pics appear in  Sept 2013 PS
    It sound to me like you have no problem except you imported some photos twice adn you may not understand how the automatic import form PS works - but that is not clear
    you can choose to have all of your My Photo Stream photos automatically downloaded. In iPhoto or Aperture preferences on your Mac, to select Photo Stream > My Photo Stream > Automatic Import. All of your photo stream photos will be imported into your Events, Projects, Photos, Faces, and Places folders in iPhoto or Aperture.
    The event they are imported into is MMMM YYYY PS
    If you import via iTunes sync or by connecting your IOS device via USB then they are importeed into the regular event structrue as defined in your iphoto preferences - and if you imoport via two or more different methods you will ahe duplicates
    LN

  • Can anyone explain to me why on god's green earth....

    ....Apple doesn't allow me the ability to turn off automatic downloads for TV Shows/Movies? It boggles my mind. I watch a TON of TV shows. I cut the cord a year ago and I have 12 shows that I have purchased season passes for. Every single episode gets queued up on my iPhone, my iPad, and my Mac. And they start downloading right away!! I don't even get a notification, a simple pop-up ASKING me if I would like this to happen. The only notification I get is when my iPhone is about to run out of space because GIGS AND GIGS of content is being forced onto it.
    Again, BAFFLED. It seems like a no-brainer. They have options in place for music and apps, why not for TV Shows?
    Is this part of Apple's assumption strategy? "Well, we just figured that once you purchase a TV show, of course you're going to want it on all of your iDevices. I mean, why wouldn't you? I honestly don't really see any reason why we should give the user a choice here."

    You have uploaded two different things - pHotos are in one and only one event - if you have the same photo in two different events then you have imported it twice
    Please explain what you want - your initial question and yoru current comments are 180 degrees apart
    You say they are not all in events
    Can anyone explain to me why some of my photos are landing in events and others are appearing only in photo stream?
    Now you say they are
    All 15 pics appear in  Sept 2013 PS
    It sound to me like you have no problem except you imported some photos twice adn you may not understand how the automatic import form PS works - but that is not clear
    you can choose to have all of your My Photo Stream photos automatically downloaded. In iPhoto or Aperture preferences on your Mac, to select Photo Stream > My Photo Stream > Automatic Import. All of your photo stream photos will be imported into your Events, Projects, Photos, Faces, and Places folders in iPhoto or Aperture.
    The event they are imported into is MMMM YYYY PS
    If you import via iTunes sync or by connecting your IOS device via USB then they are importeed into the regular event structrue as defined in your iphoto preferences - and if you imoport via two or more different methods you will ahe duplicates
    LN

  • Hi can anyone explain to me why I sometimes can answer a call with just to push the answer "button" and sometimes I must slide it to answer ?

    Hi
    Can anyone explain to me why sometimes can answer a call by just "push" the answer "button", but then sometimes
    I nede to slide to answer ?

    When your iPhone is locked/sleep, you slide to answer otherwise tap to answer.

  • I have a new I Pad air and I am trying to use it with a projector and a whiteboard, unfortunately the two are not connecting. Can anyone give me reasons why this might be happening.

    I have a new I Pad air and I am trying to use it with a projector and a whiteboard, unfortunately the two are not connecting. Can anyone give me reasons why this might be happening.

    You can connect via a cable or wireless using an Apple TV.
    http://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htm
    Connect an iPad to a Television or Projector
    http://www.everymac.com/systems/apple/ipad/ipad-faq/how-to-connect-ipad-to-tv-te levision-projector.html
    Connecting iPad iPhone or iPod to TV or Projector
    http://www.disabled-world.com/assistivedevices/computer/ipad-tv.php
    iPad Accessories: Connections for a TV or Projector
    http://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.html
    You may be interested in AirPlay on the Apple TV:
    http://www.apple.com/airplay/
    http://www.apple.com/airplay/
    Alternately, there are Apple Digital AV Adapters for hardwired connections:
    http://support.apple.com/kb/ht4108
    http://support.apple.com/kb/ht4108
     Cheers, Tom

  • In the latest upgrade for iMovie 11' there is no "export to QuickTime" or other way to set your preferred export settings? can anyone explain how to do this now?

    In the latest upgrade for iMovie 10' there is no "export to QuickTime" or other way to set your preferred export settings? can anyone explain how to do this now?

    Export to Quicktime file in imoie 10 is explained here:
    http://help.apple.com/imovie/mac/10.0/#move6e0cb2ad
    Geoff.

  • Can anyone explain how to create this effect in Deamweaver and Fireworks?

    This site was oriinally done in dreamweaver - but the shadow
    effect was done
    outside of Dreamweaver. When I save to html and load into
    Dreamweaver it
    makes no sense to me.
    Can anyone explain how to create this effect in Deamweaver
    and Fireworks?
    http://www.fundflowsystems.com/test.php
    Thanks in advance,
    Joe

    Thank you so much...
    You is da bomb!
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Yes - a blank (completely blank) page.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Ken Binney" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Murray, one more favor if you would be so kind...
    >> Do you recall how this page degraded in Safari?
    >>
    >>
    http://www.binney.us/table-allcode.htm
    >>
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>> Nope. Sorry. You need a Mac.
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Ken Binney"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> Thanks Murray...
    >>>>
    >>>> Is there a way I can test for Safari on my
    PC XP ?
    >>>>
    >>>> "Murray *ACE*"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Fails in Safari, Ken.
    >>>>>
    >>>>> --
    >>>>> Murray --- ICQ 71997575
    >>>>> Adobe Community Expert
    >>>>> (If you *MUST* email me, don't LAUGH
    when you do so!)
    >>>>> ==================
    >>>>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>>>> ==================
    >>>>>
    >>>>>
    >>>>> "Ken Binney"
    <[email protected]> wrote in message
    >>>>>
    news:[email protected]...
    >>>>>> Here is a solution requiring NO
    images.
    >>>>>> The CSS and the Javascript can
    easily made remote the page
    >>>>>>
    >>>>>> <!DOCTYPE HTML PUBLIC
    "-//W3C//DTD HTML 4.01 Transitional//EN"
    >>>>>> "
    http://www.w3.org/TR/html4/loose.dtd">
    >>>>>> <html>
    >>>>>> <head>
    >>>>>> <title>Shadow</title>
    >>>>>> <meta http-equiv="Content-Type"
    content="text/html;
    >>>>>> charset=iso-8859-1">
    >>>>>> <script
    type="text/javascript">
    >>>>>> var depth = 6 // in pixels
    >>>>>>
    >>>>>> // addLoadEvent t
    >>>>>> function addLoadEvent(func) {
    >>>>>> var oldonload = window.onload;
    >>>>>> if (typeof window.onload !=
    'function') {
    >>>>>> window.onload = func;
    >>>>>> } else {
    >>>>>> window.onload = function() {
    >>>>>> if (oldonload) {
    >>>>>> oldonload();
    >>>>>> }
    >>>>>> func();
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>>
    >>>>>> addLoadEvent(function() {
    >>>>>>
    >>>>>> var a = document.all ? document.all
    >>>>>> document.getElementsByTagName('*');
    >>>>>> for (var i = 0;i < a.length;i++)
    >>>>>> if (a
    .className == "shadow") {
    >>>>>> for (x = 0;x < depth;x++) {
    >>>>>> var newSd =
    document.createElement("DIV")
    >>>>>> newSd.className = "shadow2"
    >>>>>> newSd.style.background = a.id
    >>>>>> newSd.style.width = a
    .offsetWidth + "px"
    >>>>>> newSd.style.height =
    a.offsetHeight + "px"
    >>>>>> newSd.style.left = a
    .offsetLeft + x + "px"
    >>>>>> newSd.style.top = a.offsetTop +
    x + "px"
    >>>>>> document.body.appendChild(newSd)
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> }
    >>>>>> );
    >>>>>>
    >>>>>> </script>
    >>>>>> <style>
    >>>>>> .shadow {
    >>>>>> border: 1px solid silver;
    >>>>>> padding: 2px;
    >>>>>> font: 10pt arial;
    >>>>>> position: relative;
    >>>>>> display: inline;
    >>>>>> background: white;
    >>>>>> z-index: 100
    >>>>>> }
    >>>>>> .shadow2 {
    >>>>>> overflow: hidden;
    >>>>>> position: absolute;
    >>>>>> filter: alpha(Opacity=15); /* modify
    to change the shade
    >>>>>> solidity/opacity, same as below */
    >>>>>> opacity: 0.1; /* firefox 1.5 opacity
    >>>>>> -moz-opacity: 0.2; /* mozilla
    opacity */
    >>>>>> -khtml-opacity: 0.1; /* opacity */
    >>>>>> z-index: 10
    >>>>>> }
    >>>>>> </style>
    >>>>>>
    >>>>>> </head>
    >>>>>>
    >>>>>> <body>
    >>>>>> <table width="800" border="0"
    align="center" cellpadding="0"
    >>>>>> cellspacing="0" class="shadow"
    id="#000000">
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> <tr>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> <td> </td>
    >>>>>> </tr>
    >>>>>> </table>
    >>>>>> </body>
    >>>>>> </html>
    >>>>>>
    >>>>>>
    >>>>>>
    >>>>>> "Joe"
    <[email protected]> wrote in message
    >>>>>>
    news:[email protected]...
    >>>>>>>
    >>>>>>> This site was oriinally done in
    dreamweaver - but the shadow effect
    >>>>>>> was done outside of Dreamweaver.
    When I save to html and load into
    >>>>>>> Dreamweaver it makes no sense to
    me.
    >>>>>>>
    >>>>>>> Can anyone explain how to create
    this effect in Deamweaver and
    >>>>>>> Fireworks?
    >>>>>>>
    >>>>>>>
    http://www.fundflowsystems.com/test.php
    >>>>>>>
    >>>>>>> Thanks in advance,
    >>>>>>>
    >>>>>>> Joe
    >>>>>>>
    >>>>>>
    >>>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • TS1559 hi can anyone help my iphone 4s wifi is not working it is grayed out or dim but the is a wifi address on the about  menu.

    hi can anyone help my iphone 4s wifi is not working it is grayed out or dim but the is a wifi address on the about  menu.

    hello Masonti
    I  am not computer expert it happen to me. I think it is not working for a  touch on/ off so you have to push using your finger and  hold and open  to the right (like when you open a door). That worked for me I call it  mannual opening. I did not get any help so I figured out the hard  way.Let me know but I am for sure
    yeee haa

  • Hi can anyone help me, my daughters macbook will not pick up the wireless signal in her bedroom when me and my wifes iphone picks it up easy. any ideas to help please.A

    Hi can anyone help me, my daughters macbook will not pick up the wireless signal in her bedroom when me and my wifes iphone picks it up easy. any ideas to help please.Andy

    P.S i;ve heard a comment about the G5 case not being
    great for wireless so the cards come with a plastic
    antena that connects to the back of the machine - i
    never recieved one of these - could that be the
    problem?
    Newer G5 PowerMacs don't require the external t-shaped aerial, earlier models do and that is probably the cause of the problem.
    iFelix

  • Unsure why this is not working?

    Can anyone give me a pointer as to why this is not working? I put the code from line 16 through 50 in the "...before displaying the page" additional pl/sql section of the wizard. The form wizard created the code from 5 through 15 and 51 through 55. The first error I understand because I think the wizard forgot to end the procedure correctly by saying "end beforeModuleDisplay;" instead of just putting "end;".
    If I am right, how can I fix this since the wizard is the one putting in this info? I tried putting the correct end statement in where I put the rest of my code, but that created even more errors.
    Error creating package SOCSBO_USER.ACCT_INFO
    Error creating package SOCSBO_USER.ACCT_INFO
    Line/ColumnError
    56/5PLS-00103: Encountered the symbol "PROCEDURE" when expecting one of the following: begin declare end exception exit for goto if loop mod null pragma raise return select update while <an identifier> <a double-quoted delimited-identifier> <a bind variable> << close current delete fetch lock insert open rollback savepoint set sql execute commit forall <a single-quoted SQL string> The symbol "declare" was substituted for "PROCEDURE" to continue.
    2128/5PLS-00103: Encountered the symbol "END" when expecting one of the following: begin function package pragma procedure form
    -- PACKAGE BODY SOCSBO_USER.ACCT_INFO
    -- created Monday 05-NOV-2001 16:52
    create or replace
    1 package body ACCT_INFO as
    2 --
    3 -- Created by ASAPP using WebDB at 15:16:46, Mar 04, 2002
    4 --
    5 procedure beforeModuleDisplay
    6 (
    7 p_block_name in varchar2,
    8 p_object_name in varchar2,
    9 p_instance in integer,
    10 p_event_type in varchar2,
    11 p_user_args in varchar2,
    12 p_session in out PORTAL30.wwa_api_module_session
    13 )
    14 is
    15 begin
    16 declare
    17 l_fs varchar2(200);
    18 l_cv varchar2(200);
    19 l_sv varchar2(200);
    20 l_lang varchar2(100);
    21 l_idx integer;
    22 begin
    23 l_lang := portal30.wwctx_api.get_nls_language;
    24 l_fs := p_session.get_value_as_varchar2(
    25 p_block_name => 'DEFAULT',
    26 p_attribute_name => '_FORM_STATE');
    27 l_cv := p_session.get_shadow_value(
    28 p_block_name => 'DEFAULT',
    29 p_attribute_name => 'A_ACCOUNT_COURSE',
    30 p_language => l_lang);
    31 l_sc := p_session.get_shadow_value(
    32 p_block_name => 'DEFAULT',
    33 p_attribute_name => 'A_ACCOUNT_SUBPROJECT',
    34 p_language => l_lang);
    35 if upper(l_fs) = 'UPDATE_AND_DELETE' then
    36 l_idx := row_function.get_index('COURSE_BOTTOM');
    37 if upper(l_cv) = 'Y' then
    38 p_form.items(l_idx).visible := 'Y';
    39 else
    40 p_form.items(l_idx).visible := 'N';
    41 end if;
    42 end if;
    43 if upper(l_fs) = 'UPDATE_AND_DELETE' then
    44 l_idx := row_function.get_index('SUBPROJECT_BOTTOM');
    45 if upper(l_sv) = 'Y' then
    46 p_form.items(l_idx).visible := 'Y';
    47 else
    48 p_form.items(l_idx).visible := 'N';
    49 end if;
    50 end if;
    51 exception
    52 when others then
    53 PORTAL30.wwerr_api_error.add(PORTAL30.wwerr_api_error.DOMAIN_WWV,'app','generic','SOCSBO_USER.ACCT_INFO.beforeModuleDisplay', p1 => sqlerrm);
    54 raise;
    55 end;
    56 procedure row_function
    REST OF CODE NOT RELEVANT

    Hello Albert,
    You open a new pl/sql block on line 16, but you have only one 'end' statement.
    You can correct this by adding another 'end' statement after line 55 or you can remove the inner PL/SQL block and place it in the procedure itself. Variables can be declared after 'is' on line 14. In your example it's better to do it this way. See example.
    Hope this helps...
    Nancy.
    Example solution 2:
    -- PACKAGE BODY SOCSBO_USER.ACCT_INFO
    -- created Monday 05-NOV-2001 16:52
    create or replace
    1 package body ACCT_INFO as
    2 --
    3 -- Created by ASAPP using WebDB at 15:16:46, Mar 04, 2002
    4 --
    5 procedure beforeModuleDisplay
    6 (
    7 p_block_name in varchar2,
    8 p_object_name in varchar2,
    9 p_instance in integer,
    10 p_event_type in varchar2,
    11 p_user_args in varchar2,
    12 p_session in out PORTAL30.wwa_api_module_session
    13 )
    14 is
    15 l_fs varchar2(200);
    16 l_cv varchar2(200);
    17 l_sv varchar2(200);
    18 l_lang varchar2(100);
    19 l_idx integer;
    20
    21 begin
    22
    23 l_lang := portal30.wwctx_api.get_nls_language;
    24 l_fs := p_session.get_value_as_varchar2(
    25 p_block_name => 'DEFAULT',
    26 p_attribute_name => '_FORM_STATE');
    27 l_cv := p_session.get_shadow_value(
    28 p_block_name => 'DEFAULT',
    29 p_attribute_name => 'A_ACCOUNT_COURSE',
    30 p_language => l_lang);
    31 l_sc := p_session.get_shadow_value(
    32 p_block_name => 'DEFAULT',
    33 p_attribute_name => 'A_ACCOUNT_SUBPROJECT',
    34 p_language => l_lang);
    35 if upper(l_fs) = 'UPDATE_AND_DELETE' then
    36 l_idx := row_function.get_index('COURSE_BOTTOM');
    37 if upper(l_cv) = 'Y' then
    38 p_form.items(l_idx).visible := 'Y';
    39 else
    40 p_form.items(l_idx).visible := 'N';
    41 end if;
    42 end if;
    43 if upper(l_fs) = 'UPDATE_AND_DELETE' then
    44 l_idx := row_function.get_index('SUBPROJECT_BOTTOM');
    45 if upper(l_sv) = 'Y' then
    46 p_form.items(l_idx).visible := 'Y';
    47 else
    48 p_form.items(l_idx).visible := 'N';
    49 end if;
    50 end if;
    51 exception
    52 when others then
    53 PORTAL30.wwerr_api_error.add(PORTAL30.wwerr_api_error.DOMAIN_WWV,'app','generic','SOCSBO_USER.ACCT_INFO.beforeModuleDisplay', p1 => sqlerrm);
    54 raise;
    55 end;
    56 procedure row_function
    REST OF CODE NOT RELEVANT

  • Ok can anyone explain how to create this algorithm?

    Thanks very much to Jos for helping me with my previous question, but unfortunatly I now have dif algorithm that I again cannot figure out. Here is the question:
    What is the algorithm for the following?
    I have three locations _,_,_
    The first can have 0-2,
    The second can have 0-4,
    The third can have 0-3
    I need to be able to generate the following list:
    000
    001
    002
    003
    010
    011
    012
    013
    020
    021
    022
    023
    030
    031
    032
    033
    100
    101
    102
    103
    110
    ..and so on.
    Can anyone explain how this can be done?

    Works for any length and any digit size from 0 to 9
        public static void main(String[] args) {
            List combinations = generateNumbers(new int[]{2, 4, 3});
            System.out.println(combinations);
        public static List generateNumbers(int[] limits) {
            int combinations = 1;
            for (int j = 0; j < limits.length; j++)
                combinations *= limits[j] + 1;
            List list = new ArrayList();
            for (int j = 0; j < combinations; j++) {
                String s = "";
                int n = j;
                for (int k = limits.length - 1; k >= 0; k--) {
                    int digit = n % limits[k];
                    n /= limits[k];
                    s = digit + s;
                list.add(s);
            return list;
        }

  • Why Roboform will not work with 4.0

    Roboform works fine until I installed Firefox 4.0. Now it will not work. Can 4.0 be made compatible with 4.0 like it is with previous Firefox versions?

    It is the other way actually. It is not uncommon for the Roboform toolbar to need to be updated for every new Major release however thankfully they do not do the need to update toolbar for every little minor update patch like they did in past and drove Rf users nuts.
    Actually the Roboform extension should work on Firefox 4.0 if you have the recent version though it is not problems free.

  • Can anyone explain to me why my picture looks like this?

    Okay, I'm new to this forum so I hope I'm not breaking any rules by posting a link to another forum. The reason I'm doing this is so that I don't have to keep covering the same questions over and over again. In this previous forum I have already answered probably most of the questions you  might ask, plus I have posted a picture of what my computer is doing to some of my pictures and I've posted a link to a RAW file where so far no one else has been able to duplicate the problem. Last week I downloaded the latest update to CS6 and since then I'm having this problem which is why I don't believe this is an issue with my CF card, camera, cable, or card reader. Again, if I'm violating proper forum etiquette I'm sorry, I just didn't want to have to keep repeating myself. Thanks for any help and advice you guys can give me. http://photography-on-the.net/forum/showthread.php?t=1276253

    Hi folks - I am a member of the Canon "Photography On The Net" (POTN) forum where the OP has asked the same question and to which she attempted to link in this forum.  The problem she appears to be having is that when she opens and edits 5DII raw files and saves them in PSCS6 as JPEGs the JPEGs end up with the appearance typically seen with a corrupt raw file (like one in which a read or write problem has occurred with a card reader).  The strange thing is, the raw file itself can be opened within ACR and brouhgt into PSCS6.  There appears to be some issue, according to the OP, with a particular threshold of JPEG compression that may be resulting in the bad JPEG file's appearance.  She is trying to find out if anyone is having similar issues with their most recent update to PSCS6 possibly causing similar problems.
    The workflow, as much as I have been able to gather, is that the OP does not have a CF card reader, so she downloads the raw files via USB.  Although she has not stated explcitly how she does it, she then converts the raw files to DNG.  Each DNG is opened in ACR via mini-bridge and then brought into PS for editing.  Once the edits are performed, the file is saved as a JPEG.  For purposes of her print work, she decided that saving at max JPEG quality 12 was imperative. 
    Initially, turning down the quality to <10 cleared up the issue, but then some images that were converted to black and white (although I do not know if the files themselves were still RGB or grayscale) and saved at quality level 8-9 caused the same saved JPEG appearance, as one would tpyically see in a corrupt raw file.  Although the black and white versus color thing may be a red herrring, the sporadic issue apparently persists under certain circumstances that may or may not be niformly reprodicible.
    So, the bottom line is that the OP is trying to find out where in the workflow chain this error might be occurring and how to fix it.  I also tried breaking the raw file linked above via yousendit and had no problems saving it to sRGB, aRGB, grayscale, using both Save As... and Save for Web in CS6 with no problems.  I tried all of these variations at both JPEG 12 and JPEG 8-9.
    Apparently the computer and install of CS6 is new as of late last year.  I do not know the OS, but it is a Windows machine.  All of the "testing" I did was on a Mac.
    My guess is that the OP is trying to find out if anyone in the Adboe forum community has heard of similar issues, especially after the latest update to PSCS6, as this problem has just started to occur and the recent upate is the most obvious thing, timing wise, that would coincide with the issue's appearance.  It could also be a corrupt hard disk, or computer-related issue, but I am not a Windows user so I will defer in that regard.
    I'll also take this opportunity to introduce myself to the Adobe forum - hello everyone!  Post number one complete.
    Hope this helps.
    kirk
    Here is an example of one of the saved-from-within-PSCS6 JPEG files with the issue, posted by the OP in the thread on the other forum - I ahve reposted it here with assumed permission from the OP - if this presents a problem (forum rules, etc.) please notify me and I will remove it.  Frankly, I don't think it would be objectionable to the OP and will hopefully serve to clarify the issue furhter.

  • Can anyone explain the results of this

    Hi,
    When I compile and run the following:
    public class Test {
    public static void main (String args []) {
         Double a = new Double(Double.NaN);
         Double b = new Double(Double.NaN);
         if (Double.NaN == Double.NaN)
              System.out.println("True");
         else
              System.out.println("False");
         if (a.equals(b))
              System.out.println("True");
         else
              System.out.println("False");
    The result is
    False
    True
    Can somebody explain why ??
    Sincerely,
    Basant Gupta

    The latter comparison is true because the two Double objects are equal; ie. they have the same value (even though it's NaN. And what comes to the first one (JLS 4.2.3):
    NaN is unordered, so the numerical comparison operators <, <=, >, and >= return false if either or both operands are NaN (�15.19.1). The equality operator == returns false if either operand is NaN, and the inequality operator != returns true if either operand is NaN (�15.20.1). In particular, x!=x is true if and only if x is NaN, and (x<y) == !(x>=y) will be false if x or y is NaN.

Maybe you are looking for

  • Downloading Report output to a Local File

    Hi, I want to download the my ALV Report output to a local file. I am following the menu options from ALV output:   LIST --> Export --> Local File --> Unconverted Format  --> I entered a text file name on the desktop. The data is being downloaded to

  • ISE 1.1.1 Iphones Guest CWA connection dropouts

    Hi all I have deployed wireless guest access utilising CWA. I have no posture or client provisioning enabled on the deployment therefore it is a straightforward configuration. In short my issue pertains directly to Iphones (I haven't tested with othe

  • Final Cut Pro X 10.1.1 keeps crashing

    I'm using the very latest version of FCP X and just started on a new project using mainly stills and audio.  Will be inserting some video clips but haven't attempted it at this stage due to the following problem.  The project is 720p x 29.97p. Howeve

  • Create a button

    Hi I'm using Xcelsius in bw. And I would like to create a button to exit application And another button to refresh the data (I want to execut the prompts) And finally a button to save the query output in excel? best regard francoise

  • BT don't want my money...

    Just got my PAC code to leave BT anywhere this morning, despite having actually called to renew for a year.. BT have some bizarre pricing policies.  I was quite happy to renew for a year keeping my current S710, but they would only let me renew for 1