Cflocation not working when code is part of a query

I've got a template page that runs a query based on the page name in the url. The query gets all the code for that page from the database. No problems there. The data is mostly html and the page displays wonderfully.
The trouble I'm having is that any included CF code doesn't run.
How do I get the server to evaluate the code coming back in the query so it properly runs the code prior to dumping it on to the page?
Thanks in advance.

Write it to a file and cfinclude the file.

Similar Messages

  • Css3 animation does not work when triggerd by backing bean method

    Hi,
    I use Jdev 11.1.1.4 (but I guess the Jdev/ADF version does not matter in this case) and Firefox 15.0.1.
    I tested some parts of article https://blogs.oracle.com/groundside/entry/css_animations_the_panel_flip from Duncan Mills.
    The CSS3 animation for styleClass "rotateOut" works fine when I trigger it from mouse hover.
    The problem is that the animation does not work when I set the styleclass in a backing bean.
    In this case the UI component to rotate (in my case the calender component) changes immediatelly to the transition target without the transition-duration of 2 seconds and therefor there is no animation effect visible for the user.
    Here the backing bean code:
        public void doRotate() {
           afCalender.setStyleClass("rotateOut");
           AdfFacesContext.getCurrentInstance().addPartialTarget(getAfCalender());
        }Here the skin:
      .rotateOut {
        -moz-transition-property: -moz-transform;
        -moz-transition-delay: 2s;
        -moz-transform: rotateY(45deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      .rotateReturn {
        -moz-transition-property: -moz-transform;
        -moz-transform: rotateY(0deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      }In Duncan's article java script is used to change the style class.
    Does the CSS3 animation only work when java script is used to change the style class or shoud java in a backing bean also work?
    Any hints?
    regards
    Peter

    I have tested several other settings but no success.
    Any ideas?
    regards
    Peter

  • Partner function not working when creating PO with ref to PReq

    Partner function is not working when creating a Purchase Order with ref to a Purchase Requistion, Partner functions maintained in the vendor master are VN, OA & PI.
    But OA & PI are not appearing in the PO header partner tab when created with ref to PR.
    however it works when i create the PO directly ( without the PR ref )
    I am using the same material & Plant for both manual PO & PR to PO.
    Any idea what could be wrong .
    I have maintained the settings for schema groups for vendor master & purchasing doc in the partner determination.
    Thanks
    Dkmurthy

    Hi,
    I have also an issue that seems similar to one you are discussing.
    When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent.
    When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N
    Note: If I try ME21N, and enter the output type and partner, manually, I receive a warning message
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent. However I can not overcome the warning message, if it plays any role, because I can not assign partner function LS to the vendor.Then I receive message CZ 327 (Can not use this partner role).
    Any input is wellcome.

  • Authorization Object is not working when report is modified.

    Hi BW Guru's
    We have Company Code as Authorization Object .and we have 3 company Codes (xxxx,yyyy,zzzz).where the users under Company code xxxx are not supposed to view company code yyyy,zzzz data etc.
    I modified an existing Report and transported to production.But the Authorization Object is not working for that report.The Report is defaultly displaying all the company codes data(xxxx,yyyy) for all the users.But for the other reports its(company code ) is working fine.
    What could be the problem?Is theproblem in transporting the objects.But i transported all the objects inluding auhorization object.
    Please send me the solution as it is very much urgent.
    The solution will be def. awarded with full points.
    Regards
    Sanjay

    hi Sanjay,
    please don't post the same question again, check and response back from your previous thread
    Re: Authorization Object is not working when report is Modified.
    hope this helps.
    would be nice if you reward for helpful answers to all of your previous postings, e.g
    docs related to RRI

  • Screen variant not working when assigned to transaction variant in SHd0

    Dear All,
    User requires tax code column for line items in MIRO to be made non-editable. I am using SHD0 transaction for the same. I am able to make the column grey-off by creating screen variant. The program is SAPLMR1M and screen number 6310. When tested individually thru SHD0 the variant is working perfect. But it is not working when assigned to a transaction variant. Any clues on the same would be really helpful.
    Thanks in advance
    Komal

    Hi,
    Try to record again for the whole set of screens instead of doing that for the individual tax screen and only for the tax screen make the required field disable.
    Once done and saved, you can see all the screens variants in the transaction variant.
    Use the Change WITH PROCESSING OPTION.
    Hope this solves your problem
    Regards
    Shiva

  • The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using. Now, no reactions. What should I do?

    The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using (ex. ITunes or Safari to main screen) . Now, no reactions. When I press the button, it appears to be more indented then it was before. What should I do? Do I need to get it fixed or replaced, or is this a problem I can fix on my own? Whatever it is, I really need some advice. Thanks in advance.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • Printer will not work: error code 0xc19a0022

    Printer will not work: error code 0xc19a0022

    Hello citizenED,
    Welcome to the HP Forums.
    I see that you are getting the error code " 0xc19a0022 " .
    I do have a few steps that we can try. 
    First off, please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    I have also located a document that deals with a 'Problem with Printhead,' 'Printer Failure,' 'Ink System Failure,' or a '0x...' or a 'C2...' Error ...
    If the troubleshooting does not help resolve your issue, I would then suggest calling HP's Technical Support to see about further options for you. If you are calling within North America, the number is 1-800-474-6836 and for all other regions, click here: click here.
    Thanks for your time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro

    My HP ProBook 440 G2, Finger print reader not working when I upgraded form Win 7 Pro to Win 8.1 Pro.
    In device manager showing that biometric reader is working properly. But actually the finger printer reader is not reading or senseing. It seems like "dummy" part. Please help me to correctly configure step by step for this issue.
    thankyou
    Hillet
    This question was solved.
    View Solution.

    Have you installed the Validity Sensor Fingerprint driver software for Windows 8.1?
    http://h20564.www2.hp.com/hpsc/swd/public/detail?sp4ts.oid=6943811&swItemId=ob_134806_1&swEnvOid=415...
    See page 64 in the following Windows 8.1 user manual for Validity Fingerprint setup information
    http://h20565.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=6943810&docId=emr_na-c04371762&docLocale...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Form in Dynamic page not working when checkbox is used.

    I have created a form using dynamic page. The form most have display fields and a checkbox field. When I check a box, it assigns 'Y' value and when unclick, it assign 'N' to the database field.
    When I submit the form, the procedure which is supposed to save the form data never gets executed. Well, at least it says, page not found HTTP 404 error.
    Interestingly if I make this field a text box and manually enter 'Y' or 'N', and then submit the form, the procedure is executed. Data gets saved.
    Is the checkbox not supposed to be used for a database field because checkbox value can be assigned only using javascript and the procedure never get that value ?
    Can you please tell me how to use a checkbox for a database field using dynamic page ?
    thanks,
    Mainak

    Sharmila,
    When I said, the form does not get submitted, I meant that the procedure does not work. The form gets submitted but the procedure does not work. It gives HTTP 404 error. That is what perplexes me. I am unable to understand why the procedure does not work when I click a checkbox.
    May be you can make this work. I am hopeless about this.
    Here is the code for the procedure sumbit_form:
    NOTE: I ADDED TWO FIELDS CALLED PROMOT VARCHAR2(1), PROMOTID NUMBER(4) TO THE EMP TABLE AND CREATED A NEW TABLE CALLED PROMOTEMP. THIS IS A TEST CASE.
    create or replace procedure sumbit_form
    (p_empno IN portal30.wwv_utl_api_types.vc_arr, p_promot IN portal30.wwv_utl_api_types.vc_arr, p_action IN VARCHAR2)
    is
    begin
    if p_action = 'save' then
    for i in 1..p_empno.count LOOP
    update scott.promotemp
    set promot = p_promot(i)
    where empno = p_empno(i);
    END LOOP;
    end if;
    commit;
    htp.p('<b>Saved Successfully</b>');
    htp.p('<table border=1 bordercolor="red">');
    for c1 in (select * from promotemp where promot='Y')
    LOOP
    htp.p('<tr><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.sal);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    EXCEPTION
    when others then
    raise;
    end;
    Here is the code for the dynamic page.
    <HTML>
    <HEAD>
    <TITLE>Promot Emp</TITLE>
    <script language="JavaScript1.1">
    function include(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements.type == 'checkbox') {
              if (thisform.elements[i].checked) {
                   thisform.elements[i].value = 'Y'; }
              else { thisform.elements[i].value = 'N'; }
    form.submit();
    function show(form) {
    var thisform = form;
    for (var i=0; i<thisform.length; i++) {
         if (thisform.elements[i].type == 'checkbox') {
              if (thisform.elements[i].value = 'Y') {
                   thisform.elements[i].checked = true; }
              else { thisform.elements[i].checked = false; }
    </script>
    </HEAD>
    <BODY>
    <FORM action="scott.sumbit_form" method="post">
    <table border=1 bordercolor="red">
    <tr>
    <td> </td>
    <td>Name</td>
    <td>Job</td>
    <td>Manager</td>
    <td>Hire Date</td>
    <td>Commission</td>
    <td>Department#</td>
    <td>Include</td>
    </tr>
    <ORACLE>declare
    i number;
    begin
    i := 0;
    for c1 in (select * from scott.promotemp where promotid = :promotid)
    loop
    htp.p('<tr><td>');
    htp.p('<input type="hidden" name="p_empno" value='||c1.empno||'>');
    htp.p('</td><td>');
    htp.p(c1.ename);
    htp.p('</td><td>');
    htp.p(c1.job);
    htp.p('</td><td>');
    htp.p(c1.mgr);
    htp.p('</td><td>');
    htp.p(c1.hiredate);
    htp.p('</td><td>');
    htp.p(c1.comm);
    htp.p('</td><td>');
    htp.p(c1.deptno);
    htp.p('</td><td>');
    if (c1.promot = 'Y') then
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">Yes
    <OPTION VALUE="N">No
    </SELECT>');
    else
    htp.p('<SELECT NAME="p_promot" SIZE="1">
    <OPTION SELECTED VALUE="'||c1.promot||'">No
    <OPTION VALUE="Y">Yes
    </SELECT>');
    end if;
    htp.p('</td></tr>');
    end loop;
    htp.p('</table>');
    htp.p('<input type="submit" value="save" name="p_action">');
    end;
    </ORACLE>
    </form>
    </BODY>
    </HTML>
    thanks,
    Mainak

  • JSObject programming was not working when compiled in JSDK1.4.2_06

    JSObject programming was not working when compiled in JSDK1.4.2_06.
    But problem solved when i compiled with JSDK1.3.1_15 and tested with JVM 1.3.1_15.
    Still I could not run the class file generated in JSDK1.3.1_15 in JVM 1.4.2_06.
    What do you think happened across the SDK versions? Shouldn't the JSObject
    and other classes be part of the browser JVM.
    I want to know whether JSObject supports in JSDK1.4.2_06.
    It goes into the loop. It neither say error nor execute.

    Do not spam the site by posting to 4 forums

  • Thunderbolt ethernet not working when computer wake up from sleep.

    thunderbolt ethernet not working when computer wake up from sleep.
    it will not happen in Mountain loin.

    I had this problem on SL and on Lion as well, and it occures for WiFi and Ethernet connections.
    In fact the internet connection was not broken as I could ping the destination usin the IP (not DNS name).
    In this case the problem was related to mDNSResponder task which handles all dns queries.
    It was the most frequent problem in my day to day work with SL and now Lion. It was never fixed by any patch from Apple. I tried almost all voodoo including fresh install, all possible config changes - no solution.
    The only version with no problems related to network was 10.5.8. All the other versions had issues of different kind (WiFi instability (lost signal), DNS problems (for wireless and wired connection) sometimes associated with machine sleep and wake up and sometimes with no reason.
    QUESTION: Is your problem independent of the access point / router you connect to.
    I must say networking was (and still is) the weakest part, besides the other OS X weaknesses I experienced during 4 years of OS X usage.
    No problems in the same network with Linux or Windows beeing ran natively on my iMac So hardware is OK.
    Software is of poor quality. Not much more to say in this matter.
    I found a very interesting article dated 1996 about programming which I think is still valid.
    Link to the article: http://www.fastcompany.com/magazine/06/writestuff.html
    Below the fragment (with some connection to Apple)
    Software is everything. It also s***s.
    "It's like pre-Sumerian civilization," says Brad Cox, who wrote the software for Steve Jobs NeXT computer and is a professor at George Mason University. "The way we build software is in the hunter-gatherer stage."

  • Jsp:useBean  not work when I install aplication!!

    Hi
    I developing an application with UIX JSP on Jdeveloper 9.0.2 and i using something like this:
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session" />
    <jsp:setProperty name="cbean" property="dataSource" value="jdbc/BiblosConnectionCoreDS" />
    </jsp:useBean>
    <%
    try{
    cbean.connect();
    This code work fine in standalone mode, but when i install this application on 9IAS, with an archive War, the code <jsp:useBean, not work.
    What is missing for? o What is the reason for this situation
    Thanks for some help?

    many thanks for your reply, and I have download new updates driver from your website (http://consumersupport.lenovo.com/en/DriversDownloads/drivers_show_890.html) and Installer it on my Y410 but it still does not work!!!
    the firstly: when I star up with win7, I can see a speaker icon right down near the clock, when I click mouse on it, I can see: Volume Mixer - Speaker with Device(Speaker Hight definition Audio Device, Digital Audio(S/PDIF) ( Hight definition Audio Device) ).
    Look in devicemanger I can see "Sound , video and game controll " has already installer with 'Hight definition Audio Device ' & 'Unimodem Hafl-Duplex Audio Device' below... but I cannot hear the sound when I play music, video, games...etc...
    the second: when laptop wakeup after 'sleep' mode, I can hear sound on speaker! but headphone jack does not work when I plug my headphone jack into it (I cannot hear sound with headphone), however I still hear sound from speaker, in this case!  
    Can you help me or tell me how I can do ?!
    Thanks and Best Regards,
    jupitervn

  • AS3 not working when uploaded to linux server

    Works like a charm when I preview it but when I upload to the
    server (tried 3 different ones) it just ignore the actionscripts
    all together no matter what I use.
    What I have is a rotating banner system. I set it up to
    randomly start at a specific one. If I preview it locally or run in
    in my .html file locally (just using preview in dreamweaver) it
    works like a charm and starts at a random one. When I upload it it
    just starts at the first one like the actionscripts do not exist.
    Using Flash CS3 and AS3.
    Thanks

    Pretty sure it is not a problem with the upload as I have
    been doing this for years the same way with Dreamweaver. In
    diagnosing the issue I rebuilt it and in place of the movie clips I
    just put text and uploaded it. Worked like a charm. Added the movie
    clips and again does not work when I upload it. Ignores the
    actionscript and just plays them in order. Did a build from top to
    bottom and from bottom to top also. Something in the movie clips is
    causing it but darned if I can find the answer. I have done this
    same thing before and it worked just fine. Just at a loss. I am
    attaching the code inside the movie scripts which work just fine.
    It is just ignoring scripts on the Scene 1 level.

  • Microphone not working when using a phone call, Microphone not working when using a phone call

    Microphone is not working when i use my iphone 4, first day when i installed a iOS 7 , was all good, second day this happened. Please help me. When i use a Viber microphone working. I think this is not a hardwear problem.

    Hi Mike
    That was very helpful thank you.
    I did as you suggested and found the "switch" was already turned on green. I swiched it off waited a while then turned it back on and microphone was back in use in viber. I have a sneaky feeling I may have to do this again in the future.  I am not aware that I did anything that led to the microphone going off, but having said that I have only had the phone for a few days so may have done something when checking it out.
    The phone has been a lot of fun after replacing my ancient Nokia with it. That Nokia worked in Morse code!
    Best wishes
    Rob

  • HT203172 my dvd player is not working when i try disk U  i get this massage  Warning: SUID file "usr/libexec/load_hdi" has been modified and will not be repaired.


    my dvd player is not working when i try disk Utility  i get this massage  Warning: SUID file "usr/libexec/load_hdi" has been modified and will not be repaired.

    Is this bad?
    No. Ignore it.
    What does this mean?
    That you have the current OS version installed.
    As far as I know, I have not installed any Remote Access software on my Mac.
    It's part of the OS.
    (55800)

Maybe you are looking for

  • Exception in RFC Lookup

    Hi Experts, I have a query in Graphical RFC Lookup function. I am working on Pi 7.1 and scenario is File to Idoc. In the file, material number is coming, and I have to find out the corresponding Customer number from ECC table using RFC Lookup. I know

  • How to change file name of duplicated audio track??????

    I option-clicked-dragged an audio track vertically to create a new track (the manual says to drag the track number but that doesn't seem to work - I dragged the single region). I created a new track name. I then dragged the new track to the right, so

  • GOS - Services for Object attachment icon

    I may be posting this in the wrong forum, but my question is this.  Is the Services for Object button ICON supposed to change colors or something when there is an attachment?  How can you tell if there is an attachment for the object?

  • Sending images from lightroom 5 to elements 12 for panorama.

    Hello. I have elements 12 and lightroom 5 installed. I go to send 5 images from lightroom to send to elements to do the pano. When I select the 5 images I want I click go to edit and then select merge in panorama. It then opens up elements 12 but aft

  • Small help is needed

    hi guys I have a small perl prgram which accept two number and print their sum. the following is perl program. $y=<>; $x=<>; chomp($y); chomp($x); $sum=$x+$y; print $sum; when I run it from prompt. It waits for the user to enter two numbers and the p