[XHTML] sacar marco de un object

Como consigo sacar el marco gris de un object en IE (que
funciona como un
iframe)?

Por si no queda claro, aqui pongo el codigo (para quien lo
necesite).
<script type="text/javascript">
function pop(a,w,h)
url = a.getAttribute("href");
window.open(url,'popup','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizabl e=0,width='+w+',height='+h);
return false;
</script>
<a href="
http://www.google.com"
target="_blank" onclick="return
pop(this,470,350);">Google</a>
"Itzi" <[email protected]> escribi� en el
mensaje
news:e7dfia$qm4$[email protected]..
> Buenos dias:
> Necesito alguna forma de sacar info en una ventana
aparte a un tama�o
> determinado. Esto seria sencillo usando los
comportamientos de
> dreamweaver, si no fuera porque ese comportamiento usa
un javascript NO
> ACCESIBLE. �Algun modo/truco para hacerlo de
forma estandar??
>
> Saludos
>

Similar Messages

  • Parsing XHTML as XML

    Is it possible to get a XHTML stream and parse it as XML?

    look, I used the xhtml file from http://en.wikipedia.org/wiki/XHTML:
    test.xhtml
    <?xml version="1.0" encoding="UTF-8"?>
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>XHTML 1.0 Example</title>
    <script type="text/javascript">
    <!--//--><![CDATA[//><!--
       function loadpdf() {
       document.getElementById("pdf-object").src="http://www.w3.org/TR/xhtml1/xhtml1.pdf";
    //--><!]]>
    </script>
    </head>
    <body onload="loadpdf()">
    <p>This is an example of an
    <abbr title="Extensible HyperText Markup Language">XHTML</abbr> 1.0 Strict document.<br />
    <img id="validation-icon"
       src="http://www.w3.org/Icons/valid-xhtml10"
       alt="Valid XHTML 1.0 Strict" /><br />
    <object id="pdf-object"
       name="pdf-object"
       type="application/pdf"
       data="http://www.w3.org/TR/xhtml1/xhtml1.pdf"
       width="100%"
       height="500">
    </object>
    </p>
    </body>
    </html>I used the sax parser below:
    import java.io.IOException;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    public class SAXParserExample extends DefaultHandler {
         StringBuffer buffer;
         public SAXParserExample() {
         public void runExample() {
              parseDocument();
         private void parseDocument() {
              // get a factory
              SAXParserFactory spf = SAXParserFactory.newInstance();
              try {
                   // get a new instance of parser
                   SAXParser sp = spf.newSAXParser();
                   // parse the file and also register this class for call backs
                   sp.parse("D:/test.xhtml", this);
              } catch (SAXException se) {
                   se.printStackTrace();
              } catch (ParserConfigurationException pce) {
                   pce.printStackTrace();
              } catch (IOException ie) {
                   ie.printStackTrace();
         // Event Handlers
         public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
              System.out.println("+++ start of element: "+qName);
              buffer = new StringBuffer();
         public void characters(char[] ch, int start, int length) throws SAXException {
              buffer.append(ch, start, length);
         public void endElement(String uri, String localName, String qName) throws SAXException {
              System.out.println(buffer.toString());
              System.out.println("+++ end of element "+qName);
         public static void main(String[] args) {
              SAXParserExample spe = new SAXParserExample();
              spe.runExample();
    }this works fine for me

  • WAD: Problems when exporting to PDF with embedded .swf

    I'm using Web Application Designer (WAD) 7 and have created a template with an "Export to PDF" button and an embedded .swf flash file which is an Xcelsius dashboard.
    What i'm trying to do is show the information I want on my dashboard and then export that to a PDF to email out to multiple users who would be interested in the data each month.  If exporting to PDF isn't the best route to get a snapshot of this dashboard out to other users and there's an easier way please let me know, but here are the issues i'm having:
    1) When I have the dashboard showing the information I want and click the "Export to PDF" button, the dashboard reloads as the PDF settings window pops up and gets reset back to it's initial state.
    2)  If I ignore problem #1 and click on 'OK' in the Export dialog anyway after selecting PDF settings, my Adobe Reader pops up but then shows a message saying "The file cannot be opened because it has no pages".  Basically it doesn't see the .swf as being a component to take a snapshot of and print on a PDF. I did try adding a text component just so there was something on the template and I then get a PDF with that text component showing and no .swf snapshot.
    Has anyone come up with a workaround for this?  I've tried using the BEx Broadcaster with the 'Send' option but get the same results in regards to the blank page.
    Thanks as always for the help!

    Thanks for the reply.
    The dashboard is connected to a query in NetWeaver BI to get its data.  So the request of the user is to be able to adjust the dashboard to show the information they need (well say of a certain region) and then take a snapshot of that and email it out to co-workers in Group A.  Then the user will adjust the dashboard to show other data (for a different region we'll say) and take a snapshot to email out to co-workers in Group B. etc and etc.
    I have looked into installing a PDFCreator print driver but that wouldn't be feasible to get it on all machines in the business.  I've also looked into getting it as a .jpeg which would suffice, but am unsure if there is a way to do it with script and connect that to the dashboard when a button is pushed (will look into this).  This seems like a topic for over in the Xcelsius forum now.
    I used the following code within the <body></body> tags of the WAD's xhtml to embed the .swf:
    <object id="dashboard" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="600" width="800" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >
    <param name="Movie" value="bwmimerep:///sap/bw/mime/Customer/JavaScript/dashboard.swf" />
    <embed src="bwmimerep:///sap/bw/mime/Customer/JavaScript/dashboard.swf" name="dashboard" type="application/x-shockwave-flash" />
    </object>

  • Indesign export to Dreamweaver XHTML, error undefined is not an object

    Please could you read the following email and make any suggestions, greatly appreciated.
    Hi Guys,
    Exporting it to a pdf and then again to HTML works okay so long as the text isnt in columns. Acrobat doesnt put the text in the right order which is a pain. Here is a breakdown of what i am doing and whats happening.
    1. Opening an indd file in SERVER NAME/Data/ONLINE/FOLDER NAME/
    2. Going to File à Cross-media Export à XHTML/Dreamweaver
    3. Saving the file in SERVER NAME/Data/ONLINE/FOLDERNAME/indd exports/
    4. In the export settings i am changing the Advanced settings to make sure there is No CSS
    5. I hit Export and get this error message: undefined is not an object
    If you go in to the indd export folder you can see that i have managed to export about half the files, the rest all have the same error message and i have no idea why.
    I have tried the following:
    1. Substituting all fonts it couldnt find on my computer for the default fonts
    2. Taking out all the images (we dont need them, just the text)
    3. Closing everything down and rebooting CS3
    4. Closing everything down and rebooting the Mac
    5. Saving the file on to the local machine and trying again

    Hi all,
    I'm getting this error "undefined is not an object" and can't get past it.
    What do you mean by "nested paragraph styles in your document"? How do I find these in my document?
    I went to all the Paragraph Styles Options -> Drop Caps and Nested Styles that I've defined im my doc and none of them have these (Drop Caps and Nested Styles) configs. Is this what you refer to?
    Thank you.

  • [XHTML y CSS] Sacar a a ventana aparte de tama�o determinado y que sea ACCESIBLE

    Buenos dias:
    Necesito alguna forma de sacar info en una ventana aparte a
    un tama�o
    determinado. Esto seria sencillo usando los comportamientos
    de dreamweaver,
    si no fuera porque ese comportamiento usa un javascript NO
    ACCESIBLE. �Algun
    modo/truco para hacerlo de forma estandar??
    Saludos

    Por si no queda claro, aqui pongo el codigo (para quien lo
    necesite).
    <script type="text/javascript">
    function pop(a,w,h)
    url = a.getAttribute("href");
    window.open(url,'popup','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizabl e=0,width='+w+',height='+h);
    return false;
    </script>
    <a href="
    http://www.google.com"
    target="_blank" onclick="return
    pop(this,470,350);">Google</a>
    "Itzi" <[email protected]> escribi� en el
    mensaje
    news:e7dfia$qm4$[email protected]..
    > Buenos dias:
    > Necesito alguna forma de sacar info en una ventana
    aparte a un tama�o
    > determinado. Esto seria sencillo usando los
    comportamientos de
    > dreamweaver, si no fuera porque ese comportamiento usa
    un javascript NO
    > ACCESIBLE. �Algun modo/truco para hacerlo de
    forma estandar??
    >
    > Saludos
    >

  • Attach file via RFC on an object in SAP R/3 4.6c

    Hi experts,
    I have to attach a file via a RFC into a Business Object of PM module; could be an Order (IW32) or a Note (IW22).
    I had tried the sample codes I saw in here, but none of them proved to be useful - some were not in use for me because of the lack of FM to convert from XSTRING to BINARY in 4.6c, some because of the code (not functional for RFC's)... I am searching (desperately) for directions, or a sample code (that works in 4.6c)!
    The requirements of the function I have to develop is:
    We will use R/3 4.6c integrated via RFCs with the PORTAL.
    For this FM (RFC) we have to:
    1- Receive file content directly into a XSTRING type IMPORT PARAMETER (using GOS resources).
    2- Get this content and save it on a table or ATTACH this content (file) to an PM Order or Note.
    Well, am I in the right way?! Can I develop a RFC like this in 4.6c, or is it impossible?!
    I haven't seen a solution yet for this kind of problem, and ask for your kind help, friends.
    Thanks!
    Marcos Paulo
    SAP/ABAP consultant
    Brazil

    Thanks for welcoming me, friend. Hope I can help you as much as I need your help now...!
    Unfortunately, the method you're counseling me to follow don't fit, as one of my big problems in this case is to convert the Hexadecimal value (XSTRING) brought to the RFC to a binary one BEFORE I can send it to a internal table, thus calling the FM you mentioned, as it expects a TABLE parameter filled with a binary value.
    I know that in earlier versions, there is a conversion routine that could be helpful... I think it is "SCMS_XSTRING_TO_BINARY"... but it isn't found here in 4.6c.
    Neither notes on trying this solution on a DIALOG landscape would help me, I guess. I've tryed every and each program or snippet found here in SDN, unsucessfully though...
    Guess here's the trick: the lack of built-in types and FM on this version of SAP that could help us, desperate developers, find a generic solution in time...
    Thank you, though.
    Is there any other solution? please answer in this topic.
    Marcos

  • Re : select-options in abap objects

    Dear friends,
    I want to give select-options in abap-objects program. How to give that.
    Thanking You
    with regards,
    Mani

    HI Mani,
    It's common mix ABAP Procedural with ABAP Objects in the same program.
    You should use the same way used in ABAP procedural program as Marco Cerdelli sad.
    But inside ABAP OBJECTS classes you can't use is these statement type.
    Don't forget to close this thread and all yours previous when your question be answered ! In case of doubt read the [rules of engagement|https://forums.sdn.sap.com/].
    Best Regards.
    Marcelo Ramos

  • Ie9 flash object not showing when wmode is set

    I'm searching and searching but do not find any solution for this.
    We're having a flex web application that is working fine until now. We're using until recently the google maps flash api, unfortunately this is already deprecated and will disappear completely in september 2014. Therefor we moved the whole integration to the js v3 api, which is working fine. The whole thing is an overlay over the application, since everything is moved to js, I added the property wmode to the object in html and set it to opaque in order to be able to layer everything. It's working fine for most people, but some (including my boss) are seeing a blank screen. Seems that nothing happens (although the swf loads), and I can not figure out why. Same browser (ie 9 or 10), same flash player version (11.6.xxx). Browser cache cleared, flash player cache cleared...
    Somebody having a clue? Removing the wmode-property solves the issue, but then I'm not be able to get my map on top of the application.
    The swf is definetly loading since I see calls made to the server in order to login etc. It's also not a flash player issue. The swf-file is directly accessable and rendering if done so.
    Thanks
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <!--
    Smart developers always View Source.
    This application was built using Adobe Flex, an open source framework
    for building rich Internet applications that get delivered via the
    Flash Player or to desktops via Adobe AIR.
    Learn more about Flex at http://flex.org
    // -->
    <head>
        <title>${title}</title>
        <meta name="google" value="notranslate" />  
        <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9;"/>     
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
             the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
             the percentage of the height of its parent container, which has to be set explicitly.  Fix for
             Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show
             if JavaScript disabled.
        -->
        <style type="text/css" media="screen">
            html, body  { height:100%; }
            body { margin:0; padding:0; overflow:hidden; text-align:center;
                   background-color: ${bgcolor}; }  
            object:focus { outline:none; }
            #flashContent { display:none;}
        </style>
        <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
        <!-- BEGIN Browser History required section ${useBrowserHistory}>
        <link rel="stylesheet" type="text/css" href="history/history.css" />
        <script type="text/javascript" src="history/history.js"></script>
        <!${useBrowserHistory} END Browser History required section --> 
        <!--  BEGIN OogScreening -->
        <script src="PlusOptixSync.js" language="javascript"></script>
        <!--  END OogScreening -->
         <script language="javascript">
            function getEIDxml()
              var strXML = document.MirageApplet.readCardAsXMLString() + " ";
              return strXML;
            function setOuterSize()
                var nomWidth = 1280;
                var nomHeight = 800; // 786 viewable in fullscreen
                var actWidth = nomWidth;
                var actHeight = nomHeight + 150 - 30; // fullscreen change coeff (ruimte die we winnen door f11) - taakbalk
                window.resizeTo(actWidth, actHeight);
                //window.outerWidth = actWidth;
                //window.outerHeight = actHeight;
                //script die de F1 help functionaliteit van de browser afzet. Dit is nodig omdat IE de F1 functionaliteit van de flex applicatie onderdrukt
                document.onhelp=new Function("return false");
                window.onhelp=new Function("return false");
        </script>  
        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
            var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string.
            var xiSwfUrlStr = "${expressInstallSwf}";
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.bgcolor = "${bgcolor}";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode = "transparent";
            var attributes = {};
            attributes.id = "${application}";
            attributes.name = "${application}";
            attributes.align = "middle";
            swfobject.embedSWF(
                "${swf}.swf", "flashContent",
                "${width}", "${height}",
                swfVersionStr, xiSwfUrlStr,
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        </script>
          <!-- Groeicurven 5.0 scripts -->
          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
          <script src="http://code.highcharts.com/highcharts.js"></script>
          <script src="http://code.highcharts.com/modules/exporting.js"></script>
          <script type="text/javascript" src="../js/util/Namespace.js"></script> 
          <script type="text/javascript" src="../js/util/mirage-services.js"></script>
          <script type="text/javascript" src="../js/util/mirage-binding-utils.js"></script>
          <script type="text/javascript" src="../js/util/mirage-event-dispatcher.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-constants.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-theme.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-config.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-factory.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-zoomer.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-formatter.js"></script>      
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-prototype.js"></script>
          <script type="text/javascript" src="../js/groeicurven-events.js"></script>             
          <script type="text/javascript" src="../js/groeicurven-controller.js"></script>
          <script type="text/javascript" src="../js/groeicurven-flex-bridge.js"></script>
          <script language="javascript">
                initGroeicurvenFlexBridge("${application}");
          </script>           
        <!--  BEGIN GoogleMaps -->
        <link rel="stylesheet" href="../css/google-maps.css">
        <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js"></script>
        <script type="text/javascript" src="../js/util/cvi_busy_lib.js"></script>
        <script type="text/javascript" src="../js/google-maps-events.js"></script>
        <script type="text/javascript" src="../js/google-maps-controller.js"></script>
        <script type="text/javascript" src="../js/google-maps-mediator.js"></script>
        <script language="javascript">
            function openMaps(data)
                document.getElementById('mapsContent').style.visibility ="visible";
                document.getElementById('optionsList').style.visibility ="visible";
                document.getElementById('activeCheckboxDiv').style.visibility ="visible";
                document.getElementById('mapsContent').style.zIndex = 100;
                onLoadHandler(data);
            function adresFoundHandler(marker, filtereEnabled){
                document.getElementById('mapsContent').style.visibility ="hidden";
                document.getElementById('optionsList').style.visibility ="hidden";
                document.getElementById('activeCheckboxDiv').style.visibility ="hidden";
                document.getElementById('activeCheckbox').style.visibility ="hidden";
                document.getElementById('mapsContent').style.zIndex = 0;
                clearLocations();
                ${application}.responseGoogleMaps(marker, filtereEnabled);
        </script>         
        <!--  END GoogleMaps -->   
    </head>
    <body scroll="no" onLoad="setOuterSize();">
        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
             JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
             when JavaScript is disabled.
        -->
        <div id="flashContent">
            <p>
                To view this page ensure that Adobe Flash Player version
                ${version_major}.${version_minor}.${version_revision} or greater is installed.
            </p>
            <script type="text/javascript">
                document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
            </script>
        </div>
        <noscript>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
                <param name="movie" value="${swf}.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="${bgcolor}" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="${bgcolor}" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                <!--<![endif]-->
                <!--[if gte IE 6]>-->
                    <p>
                        Either scripts and active content are not permitted to run or Adobe Flash Player version
                        ${version_major}.${version_minor}.${version_revision} or greater is not installed.
                    </p>
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflashplayer">
                        <img src="get_flash_player.gif" alt="Get Adobe Flash Player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </noscript> 
        <noscript>Your browser does not support JavaScript!</noscript>
        <applet
          id ="MirageApplet"
          codebase = "AppletLibs"
          archive  = "kg-eid-tools-2.6.jar,beidlib-1.1.jar,jdom-1.0.jar,joda-time-1.6.jar,commons-lang-2.4.jar"
          code     = "be.kg.mirage.MirageApplet.class"
          name     = "MirageApplet"
          hspace   = "0"
          vspace   = "0"
          style="width: 0px; height: 0px;">
            <param name="Reader" value="">
            <param name="OCSP" value="0">
            <param name="CRL" value="0">
            <param name="DisableWarning" value="true">
        </applet>
        <div id ="mapsContent">
            <h3 id="typeLabel">Google Maps</h3>
            <select id="optionsList"></select>
            <input id="searchInput" type="text"></input>
            <div id="activeCheckboxDiv">
                <input id="activeCheckbox" type="checkbox"></input>
                <label for="activeCheckbox">Toon enkel actieve locaties</label>
            </div>
            <button id="searchButton" type="button" class="secondElementButton">Zoeken</button>
            <button id="annuleerButton" type="button" class="annuleerButton">Annuleer</button>
            <ul id="locations" class="thirdElement"></ul>
            <div id="canvasMap"></div>
        </div>

    This means that the SWF is written so that it only works when
    embedded in a web page. When you add the SWF to the stage as a
    stand-alone display object using addChild() it is not being hosted
    in the web page.
    You have 2 options:
    1. Modify the SWF code (if possible) to remove the
    ExternalInterface requirement. You can write code in your AIR
    application javascript to subscribe directly to events from the SWF
    using addListener() and call functions directly on the SWF object
    (Flash/Actionscript is not my primary development environment... so
    if I have gotten the terminology wrong I apologize, but I HAVE
    written a flash application that worked as I describe). My SWF
    actually works embedded in HTML or not using the code "if
    (ExternalInterface.available) {
    ExternalInterface.addCallback("setIsPlaying", setIsPlaying ); }"
    2) Somehow add a HTMLLoader in a new child window (with
    transparent = false) to the stage as a new child. I have not yet
    figured out exactly how to do this, so If anyone can provide
    information on how to do this, I too would be appreciative.

  • [SOLVED] Multiple Dynamic View Objects and View Links - ADF Tree Table

    Hi all,
    I've got a method that creates 3 dynamic viewobjects using this:
                ViewDefImpl Level1ViewDef = new ViewDefImpl("Level1View");
                Level1ViewDef.addViewAttribute("LevelDescription","LEVEL1_DESCRIPTION",String.class);
                Level1ViewDef.addViewAttribute("SetOfBooksId","SET_OF_BOOKS_ID",Number.class);
                Level1ViewDef.addViewAttribute("CodeCombinationId","CODE_COMBINATION_ID",Number.class);
                Level1ViewDef.addViewAttribute("Level1","LEVEL1",String.class);
                Level1ViewDef.addViewAttribute("AccountType","ACCOUNT_TYPE",String.class);
                Level1ViewDef.addViewAttribute("PeriodYear","PERIOD_YEAR",Number.class);
                Level1ViewDef.addViewAttribute("PeriodNum","PERIOD_NUM",Number.class);
                Level1ViewDef.addViewAttribute("PeriodName","PERIOD_NAME",String.class);
                Level1ViewDef.addViewAttribute("PtdActual","PTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("YtdActual","YTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("LtdActual","LTD_ACTUAL",Number.class);
                Level1ViewDef.addViewAttribute("BudgetName","BUDGET_NAME",String.class);
                Level1ViewDef.addViewAttribute("BudgetVersionId","BUDGET_VERSION_ID",Number.class);
                Level1ViewDef.addViewAttribute("PtdBudget","PTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("YtdBudget","YTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("LtdBudget","LTD_BUDGET",Number.class);
                Level1ViewDef.addViewAttribute("EncumbranceType","ENCUMBRANCE_TYPE",String.class);
                Level1ViewDef.addViewAttribute("EncumbranceTypeId","ENCUMBRANCE_TYPE_ID",Number.class);
                Level1ViewDef.addViewAttribute("PtdCommitment","PTD_COMMITMENT",Number.class);
                Level1ViewDef.addViewAttribute("YtdCommitment","YTD_COMMITMENT",Number.class);
                Level1ViewDef.addViewAttribute("LtdCommitment","LTD_COMMITMENT",Number.class);
                Level1ViewDef.setQuery(sql_level1);
                Level1ViewDef.setFullSql(true);
                Level1ViewDef.setBindingStyle(SQLBuilder.BINDING_STYLE_ORACLE_NAME);
                Level1ViewDef.resolveDefObject();
                Level1ViewDef.registerDefObject();
                ViewObject vo1 = createViewObject("Level1View",Level1ViewDef);I can create the view objects fine and create a single viewlink between two of them, however i'm getting problems with 2 view links.
    This is how I'm creating a view link:
                ViewLink Level2Level1FKLink = createViewLinkBetweenViewObjects("Level2Level1FKLink1",
                                                        "Level2View",
                                                        vo1,
                                                        new AttributeDef[]{
                                                          vo1.findAttributeDef("Level1")
                                                        vo2,
                                                        new AttributeDef[]{
                                                          vo2.findAttributeDef("Level1")
                                                        "LEVEL1 = :Bind_Level1");
                ViewLink Level3Level2FKLink = createViewLinkBetweenViewObjects("Level3Level2FKLink1",
                                                        "Level3View",
                                                        vo2,
                                                        new AttributeDef[]{
                                                          vo2.findAttributeDef("Level2")
                                                        vo3,
                                                        new AttributeDef[]{
                                                          vo3.findAttributeDef("Level2")
                                                        "LEVEL2 = :Bind_Level2");I can get the data to display on an adf tree table if i'm only using a single view link, but when i try and implement 2 view link (for 3 levels on the adf tree table) i'm getting problems displaying the data.
    I'm getting the following error:
    Aug 10, 2007 2:44:39 PM oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer encodeAll
    SEVERE: Error during partial-page rendering
    oracle.jbo.NoDefException: JBO-25058: Definition Level3View of type Attribute not found in Level2View_Level2Level1FKLink1_Level2ViewThe thing is, Level3View isn't in the Level2Level1FKLink viewlink.
    I've been reading about something similar here
    BC4J Master-Detail-Detail
    but I am still unsure of what the problem is.
    Thanks in advance.

    I found the answer here:
    http://radio.weblogs.com/0118231/stories/2004/06/10/correctlyImplementingMultilevelDynamicMasterDetail.html

  • How to ouput a text as xhtml format in AIF

    Dear Gurus:
        Would you like to help me on output a text as xhtml format in AIF?
        E.g.  i would like to output a text as  "M2M" ,the text is passed from one field of  interface structure, I try to put the text as "M<sup>2</sup>M"  in the field of interface structure , but it just outputs full text "M<sup>2</sup>M" , doesn't show "M2M" as my expectation, I already set the field format as "Rich Text" and data format as "XHTML"  for the object of text field in AIF.
       Please help. thank you very much .

    Hi Naveen:
      please find below screen-shots , thanks
    1) the content from interface
    2)Output in the AIF form
    My requirement is Prize is M2M, like left cell Prize2
    3) field property

  • Error in using Dynamic View Object

    Hi
    I am doing a experiment to create dynamic VO and using it.
    Experiment details:
    I want to create dynamic VO and dynamic message choice and associate the dynamic VO to dynamicaly cretaed message choice.
    code scriplet
    In AM
    public void dynamicVO()
    OADBTransactionImpl txn =(OADBTransactionImpl) this.getTransaction();
    OAViewDef viewDef = txn.createViewDef();
    // viewDef.addEntityDerivedAttrDef();
    viewDef.setSql("select EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.DEPTNO from EMP EmpEO");
    viewDef.setExpertMode(true);
    viewDef.addEntityUsage("EmpEO","va.oracle.apps.fnd.experiment.server.EmpEO",false);
    viewDef.setViewObjectClass("oracle.apps.fnd.framework.server.OAViewObjectImpl");
    viewDef.setViewRowClass("oracle.apps.fnd.framework.server.OAViewRowImpl");
    viewDef.addPersistentAttrDef("Empno", "EmpEO", "Empno", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Ename", "EmpEO", "Ename", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Job", "EmpEO", "Job", true, AttributeDef.UPDATEABLE);
    viewDef.addPersistentAttrDef("Deptno", "EmpEO", "Deptno", true, AttributeDef.UPDATEABLE);
    // OAViewObject
    // ViewObject
    ViewObject vo = createViewObject("MyEmpVO", viewDef);
    In Controller
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("dynamicVO");
    System.out.println("am.invokeMethod dynamicVO");
    OAMessageChoiceBean popList = (OAMessageChoiceBean)this.createWebBean(pageContext,OAMessageChoiceBean.MESSAGE_CHOICE_BEAN);
    //popList.setListViewObject(pageContext,MyEmpVO);
    popList.setPickListViewUsageName("MyEmpVO");
    popList.setListDisplayAttribute("Job");
    popList.setListValueAttribute("Job");
    webBean.addIndexedChild(popList);// when i comment out this a blank page runs otherwise following error appears
    Error stack
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: select EmpEO.EMPNO, EmpEO.ENAME, EmpEO.JOB, EmpEO.DEPTNO from EMP EmpEO
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2898)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01003: no statement parsed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
    at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:1002)
    at oracle.jdbc.dbaccess.DBAccess.executeFetchNeedDefines(DBAccess.java:283)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2604)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:973)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:818)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:446)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:403)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01003: no statement parsed
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
    at oracle.jdbc.ttc7.TTC7Protocol.executeFetch(TTC7Protocol.java:1002)
    at oracle.jdbc.dbaccess.DBAccess.executeFetchNeedDefines(DBAccess.java:283)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2604)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2854)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:550)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:627)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:515)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3347)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:825)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4465)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3311)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3298)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.createListDataObject(OAWebBeanPickListHelper.java:973)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getListDataObject(OAWebBeanPickListHelper.java:818)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:446)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListHelper.getList(OAWebBeanPickListHelper.java:403)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getList(OAMessageChoiceBean.java:762)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListData.getValue(OADataBoundValuePickListData.java:86)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(OADataBoundValuePickListSelectionIndex.java:61)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1760)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(OAMessageChoiceBean.java:369)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3209)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2888)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2700)
    at OA.jspService(OA.jsp:48)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    Mithun

    Mithun,
    Don't repost the issues. Follow the original on Re: Error in using Dynamic view object
    --Shiv                                                                                                                                                                                                                                                                                       

  • How to bind a complex object to a composite component

    I'm using JSF2 and having an issue binding an object (EL Expression) as a parameter to my composite component.
    I have written a composite component (not very complex) that will display a drop-down list of countries and should bind the selection to a provided target bean.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:composite="http://java.sun.com/jsf/composite"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
    <!-- INTERFACE -->
    <composite:interface>
    <composite:attribute name="label" required="true" />
    <composite:attribute name="requiredMessage" required="true"/>
    <composite:attribute name="target" required="true" type="com.mycompany.entity.Country"/>
    </composite:interface>
    <!-- IMPLEMENATION -->
    <composite:implementation>
    <h:panelGrid columns="2">
    <h:outputLabel for="country-list" value="#{cc.attrs.label}"/>
    <h:panelGrid id="country" columns="1" styleClass="select-one-menu-panel" >
    <h:selectOneMenu id="country-list"
    enabledClass="select-one-menu-enabled" disabledClass="select-one-menu-disabled"
    layout="pageDirection"
    value="#{cc.attrs.target}"
    required="true" requiredMessage="#{cc.attrs.requiredMessage}"
    >
    <f:selectItem itemLabel="#{msgs['label.pleaseSelect']}" itemValue="" />
    <f:selectItems value="#{countryController.countries}" />
    <a4j:ajax />
    </h:selectOneMenu>
    <a4j:outputPanel id="country-list-error-panel" ajaxRendered="true">
    <h:message id="country-list-error" for="country-list" style="color:red"/>
    </a4j:outputPanel>
    </h:panelGrid>
    </h:panelGrid>
    </composite:implementation>
    </html>
    I want to be able to use the composite component in the following way:
    <util:country-select
    label="#{msgs['label.countryOfBirth']}"
    requiredMessge="#{msgs['error.birthCountryRequired']}"
    target="#{participant.countryOfBirth}"/>
    When I load the page everything renders correctly, but when I select an item from the drop-down I get a validation error.
    apply-form:j_idt77:country-list: Validation Error: Value is not valid
    I know that it must be something with the way that I have the parameters defined but I simply can't find any information to help me figure this out.
    Any light that you might be able to she on this would be greatly appreciated.
    Thank you for the help...

    Hi,
    well, you can. What the ADF Data Control and thus the binding gives you is the JSF component binding and the business service access.
    If you don't want to use ADF, then what you can do is
    - Create an ADF BC root Application Module from a managed bean
    e.g. see http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcservices.htm#CHDDDBFC
    - Access the View Object for querying the data to display
    - Expose the queried data so the component can handle it e.g. setter/getter for input components, ArrayList for tables (or you create the more complex component models like table and tree models)
    Having outlined the above, here are some gotchas to watch out for
    - Make sure creating the root application module is done such that you don't create/release it with each request. So you may consider a data serving managed bean in a scope like page flow or session
    - Ensure you have helper methods that allow you to query and CRUD operate the View Object data
    Frank

  • Recent loss of embedded QT movies on many page for IE7 using ActiveX object

    I have many pages that allow you to select from 4 video formats including QT .mov. An example is at http://www.cwdjr.net/video4/cancanL.php . The QT object uses ActiveX when on IE only(I use Windows conditional comments) and an ordinary object for most other browsers. Until sometime very recently all of these pages worked when you select the QT file. Now QT works on none of them. I suspected the problem might be due to a very recent Windows XP update which is a large one including .NET updates and other things(K8951847) X 86. I was able to restore to a day before this update, but this did not solve the problem. Of course some portions of some updates can not be removed be restoring to an earlier time, so the result does not prove the update was not at fault.
    The involved pages are mostly written in php on the server, so you will not be able to see very much by viewing the source code. To make the problem more simple to view, I made a test page for QT only and with the ActiveX object only. Thus this test page can not be viewed on most browsers that do not support ActiveX. The test page is at http://www.cwdjr.info/broadbandMedia/formatsAX/qtmovtest2.php . Since I serve pages as valid xhtml 1.1 using the correct mime type application xhtml+xml, no IE browser can view the page, since no IE browser can support xhtml served properly. Thus I have a php include at the very top for header exchange between the browser and server. If this says the page does not support the mime type for xhtml, then php using regular expressions, etc is used to rewrite the page as html 4.01 strict for the outmoded browser. Thus don't be surprised if you find some pages in xhtml and others in html when you check properties.
    The ActiveX object used for QT on the test page is below:
    QT MOV
    (CLICK ABOVE LINK IF NO PLAYER)
    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="295" codebase="http://www.apple.com/qtactivex/qtplugin.cab">
    <param name="autoplay" value="true" />
    <param name="controller" value="true" />
    <param name="kioskmode" value="true" />
    <param name="src" value="http://www.cwdjr.info/movie/cancan.mov" />
    </object>
    Once the page comes up on IE7, it is rather slow to respond. Then it gives:
    "Web site wants to install the following ActiveX control: 'Quick Time' from 'Apple Inc'".
    If you do try to install, nothing happens. In contrast to my regular pages, I added the code show above just before the start of the object. Clicking this on will bring up the QT video, but of course it is not embedded on the desired page. This may work as a temporary fix for IE. I likely can hide it from other browsers by enclosing it in Microsoft conditional comments.
    I would be interested if anyone else has had such a problem recently or any ideas concerning this strange response on IE7. I am talking about viewing the page on the server. Since this is a php page it can be viewed locally only if you have a server installed on your computer and I do not. The pages with the first url example given above have operated well on IE7, Firefox, Opera, Safari for Windows, Flock, K-Meleon, Google Chrome and SeaMonkey. There are a few players that have some issues with some of the formats, but this and the fact that some players may not be installed is the reason for offering the video in 4 formats. I sometimes offer high broadband versions as well as low broadband versions.
    It seems I spend more time correcting IE issues than for all of the other mentioned browsers combined.

    Thanks for the reference. I use nearly no JS anymore, since it often causes problems with true xhtml served properly even when you use external script files. Often one can use php script on the server and avoid these problems. When one serves as true xhtml using the correct mime type of application/xhtml+xml, the page is parsed with a very strict xml parser rather than a loose-as-a-goose html parser. (If one serves a page written in xhtml code as mime text/html, as is incorrectly done perhaps 99% of the time, you are using only html, not xhtml, and are fooling only yourself. The page is parsed as html instead of xhtml.) The xml parser has to be very strict to account for any possible xml content. Even a single, or even several, errors often will not prevent a html page from showing, but even a single error on an xhtml page served properly will often get an error report from the xml parser rather than a view of the page. One of the most laughable examples of misunderstanding of this issue is the home page of Microsoft. It claims to be xhtml. However it is served as text/html and thus would be better written in html 4.01 in the first place. Moreover, if you validate the page as xhtml at w3c, you find hundreds of xhtml errors. If Microsoft served their home page properly as application/xhtml+xml it of course would not work on any IE browser, at least through IE7, since none of these IE browsers can handle true xhtml. In addition the page likely would not show up on any browser if served as true xhtml until all of the hundreds of xml and other errors on the page were corrected. Instead, one likely would get a very long error report rather than a view of the page.
    Back to JS, document.write will not work in properly served xhtml, because it easily could produce code with XML errors. For instance it might produce code that contains an unclosed tag, which is a major xml error that can cause an xml device to malfunction. The xml parser thus rightly finds document.write as an error and prevents viewing of the page. However one often can generate the same code as document.write would produce on a browser with php on the server. The finished code is what gets downloaded to the browser, so the xml parser can check everything in the finished code rather than quess what a JS document.write might produce. And don't think you can sweep document.write under the rug by using an external JS file. The very strict xml parser finds it.
    Of course embed has never been a w3c tag, but rather is a bad hangover from the browser war era, a gift of Netscape. No page that includes embed can validate as w3c xhtml or xml of any flavor, at least through xhtml 1.1. However the page may work, despite the error, if server as text/html.
    All I know is that something has happened recently that has caused my problem to surface. It likely has to do with some change in the XP OS or IE browser. I have tried viewing several pages written by others that use many types of code for .mov, and all of them I have viewed that use an ActiveX embed for the benefit of IE now have the problem I mentioned. If anyone else with XP and nearly all updates, including the very recent one I mentioned, and the most recent version of QT has had this problem, I could be more confident that the problem comes from an external source. If not, it is still possible the sudden change could be something concerning a specific issue that has developed in my computer.
    Again, thanks for the JS reference. Some of this likely can translate into php so I can compare how the JS and php server script I am using relate.

  • FABridge.flash.root() is null or not an object

    Hello everyone! I'm having a problem with Flex-Ajay Bridge in
    an aspx page. Days ago I could access flex variables from
    javascript without problems, but now I can´t. This is my flex
    code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*" layout="absolute" height="194" width="374"
    creationComplete="init()">
    <fab:FABridge xmlns:fab="bridge.*" bridgeName="flash"
    id="flash"/>
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    public function init():void
    mx.controls.Alert.show("ready");
    ]]>
    </mx:Script>
    <mx:Label x="227" y="171" text="Probemos......"
    fontSize="14"/>
    <mx:TextInput x="140" y="27" id="pki"/>
    <mx:TextInput x="140" y="76" id="pkf"/>
    <mx:TextInput x="140" y="122" id="nc"/>
    <mx:Label x="27" y="29" text="PKI" fontSize="14"/>
    <mx:Label x="27" y="78" text="PKF" fontSize="14"/>
    <mx:Label x="27" y="123" text="Max. Carriles"
    fontSize="14"/>
    </mx:Application>
    It's just some text boxes and labels. I want to access those
    labels from javascript, so I wrote in my html page this:
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    >
    <head runat="server">
    <title>Inventario de Carriles con Flex</title>
    <script
    src="JS/FABridge.js"type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
    function setMessage()
    var flexApp = FABridge.flash.root();
    alert("1");
    alert("2");
    flexApp.pki().setText("1");
    flexApp.pkf().setText("2");
    flexApp.nc().setText("3");
    </script>
    </head>
    <body>
    <form id="form1" runat="server">
    <div>
    <table>
    <tr>
    <td>
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="374"
    height="194" >
    <param name="movie" value="FlexApp\Inventario.swf"/>
    <param name="quality" value="high"/> <
    <embed src="FlexApp\Inventario.swf" width="374"
    height="194" align="middle" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"></embed>
    </object>
    </td> (...............)
    When I click in the button, the js fuction starts executing
    but when it tries to initialize the flexApp variable it shows an
    error: flexApp.flash.root() is null or not an object.......... can
    you please help me? I tried everything and didn't manage to solve
    this problem, I know that the flex .swf is initialized but I don't
    know why the javascript can't access it :(
    Does someone knows what can I do in order to solve this???
    Thanks!!!
    Regards,
    Mariana

    Hi,
    javascript isn't made by sun, so you won't find it here, but google can help you out:
    http://www.google.se/search?hl=sv&ie=UTF-8&q=javascript+forum&btnG=S%C3%B6k&meta=
    /Kaj

  • Flash Video / XHTML

    When I use the Insert > Media > Flash Video function in
    Dreamweaver CS3, the code that is automatically generated does not
    validate as XHTML. The errors are mainly in the code I have copied
    below.
    Here are some of the errors I get when I try to validate the
    code with W3C:
    1) S separator in comment declaration
    2) Invalid comment declaration: found name start character
    outside comment but inside comment declaration.
    3) Character "<" is the first character of a delimiter but
    occurred as data.
    4) Cannot generate system identifier for general entity
    "MM_ComponentVersion".
    5) general entity "MM_ComponentVersion" not defined and no
    default entity.
    6) reference not terminated by REFC delimiter.
    7) general entity "skinName" not defined and no default
    entity
    8) cannot generate system identifier for general entity
    "streamName".
    9) general entity "autoPlay" not defined and no default
    entity.
    etc etc
    Is this to do with the deprecated <embed> tag? How do I
    get around this? The video plays fine on the latest versions of IE,
    FireFox, Safari and Opera.
    Many thanks,
    Sue

    <embed> is not deprecated. It's invalid HTML. It was
    never part of the
    HTML specification.
    There are a number of ways around these warnings, and you can
    'cloak' the
    code so that the validator never sees it, but I just ignore
    them. It's very
    easy to do after you've had the first few cups of coffee.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "suesam" <[email protected]> wrote in
    message
    news:[email protected]...
    > When I use the Insert > Media > Flash Video
    function in Dreamweaver CS3,
    > the
    > code that is automatically generated does not validate
    as XHTML. The
    > errors are
    > mainly in the code I have copied below.
    >
    > Here are some of the errors I get when I try to validate
    the code with
    > W3C:
    > 1) S separator in comment declaration
    > 2) Invalid comment declaration: found name start
    character outside comment
    > but
    > inside comment declaration.
    > 3) Character "<" is the first character of a
    delimiter but occurred as
    > data.
    > 4) Cannot generate system identifier for general entity
    > "MM_ComponentVersion".
    > 5) general entity "MM_ComponentVersion" not defined and
    no default entity.
    > 6) reference not terminated by REFC delimiter.
    > 7) general entity "skinName" not defined and no default
    entity
    > 8) cannot generate system identifier for general entity
    "streamName".
    > 9) general entity "autoPlay" not defined and no default
    entity.
    > etc etc
    >
    > Is this to do with the deprecated <embed> tag? How
    do I get around this?
    > The
    > video plays fine on the latest versions of IE, FireFox,
    Safari and Opera.
    >
    > Many thanks,
    > Sue
    >
    >
    > <noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=8,0,0,0" width="400" height="224"
    id="FLVPlayer">
    > <param name="movie" value="FLVPlayer_Progressive.swf"
    />
    > <param name="salign" value="lt" />
    > <param name="quality" value="high" />
    > <param name="scale" value="noscale" />
    > <param name="FlashVars"
    >
    value="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=video/are_you_wat
    > ching&autoPlay=false&autoRewind=true" />
    > <embed src="FLVPlayer_Progressive.swf"
    >
    flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_3&streamName=video/are_you
    > _watching&autoPlay=false&autoRewind=true"
    quality="high" scale="noscale"
    > width="400" height="224" name="FLVPlayer" salign="LT"
    > type="application/x-shockwave-flash"
    > pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versio
    > n=ShockwaveFlash" />
    > </object></noscript>
    >

Maybe you are looking for

  • Cannot Send Email Notification Using Stored Procedure.

    Hi Friends, I tried to execute this job scheduler... begin dbms_scheduler.create_job( job_name => 'ILMS_JOB_SCHEDULE' ,job_type => 'PLSQL_BLOCK' ,job_action => 'begin ilms.check_reminder(); end; ' ,start_date => SYSTIMESTAMP ,repeat_interval => 'FREQ

  • 60GB iPod and Error 1418

    A week or so ago, I was updating my iPod when I was told there was a writing error, and the update stopped. Since then, my iPod has not worked. I've tried to reset and restore it to no avail - when I try to restore it (at which point iTunes states th

  • HOW LONG CAN I STILL USE Firefox/3.6.17. DON'T LIKE Firefox/4

    firefox 4 to difficult to work with so uninstalled and went back to 3.6. Why change everything when upgrading

  • Array init in formula node

    I would like to cut and past in a list of comma seperated numbers and initialize an array of float32.  Something like this would work in C. float32 data[5] = {0,1,2,3,4}; Labview does not like this syntax when using a formula node.  I have to do the

  • Farm Configuration SQL Server 2012 - Different licences

    Hello! Is it possible to run the following farm configuration: SSRS Server 1 ( SQL Server 2014 Enterprise Edition) SSRS Server 2 ( SQL Server 2014 Enterprise Edition) SSRS Server 3 ( SQL Server 2014 BI Edition) SSRS Database is hosted on Server 1. Th