Embedding ADF UI in BAM pages.

I have some ADF pages (taskflows). I want to show them in BAM pages. I can expose ADF taskflows as portlet but not sure how to consume it in BAM pages.
Is there any way we can add portlets in BAM pages?
Or Is there any way to put an iframe on BAM pages?
Or is there any other way to show ADF UI on BAM pages?
Is there any way to edit BAM pages like we do in webcenter?
If its not possible I am thinking to add a link on BAM pages which can open ADF pages in a new tab. Is it possible? May be I have to create a dataobject with complete html code as a data and then show that data as a report. Not sure if it will appear as a link.
Any suggestion?

Hi YJ,
Yes, we (ATG) are still working on session management between OA Framework and Oracle ADF, as well as other features of the Oracle E-Business Suite SDK for Java. Stay tuned for an announcement on Steven Chan's blog at https://blogs.oracle.com/stevenChan when that becomes available. My Oracle Support Note 974949.1 will be updated with further information at that time.
Embedding an Oracle ADF region in an OA Framework page requires, at a minimum, that you create an EBS function security function for your ADF page and add a richContainer item to your OA Framework page that calls the function. You may need session management features depending on what you are trying to do with it. We haven't worked out all the nuances yet for more specific guidelines, sorry.
Thanks,
Sara
(PS--I posted this in the OA Framework forum too)

Similar Messages

  • Embedding ADF page in OAF

    Hi,
    We have a requirement where we have to call ADF page as a region in OAF page.
    We are able to deploy ADF application on Web logic server and call them as a standalone application in OAF using "Function and Menu".
    Also, I understand that ADF and OAF interaction back and forth is not possible. ATG seems to be working on this for handling session management.
    However, I need to understand if there is any mechanism by which ADF pages can be embedded in OAF page as a region and work as a region in Oracle Ebiz Suite OAF pages?
    It seems that OAF Rich Interface allows embedding ADF pages in OAF.
    Appreciate some guidance on this.

    Hi YJ,
    Yes, we (ATG) are still working on session management between OA Framework and Oracle ADF, as well as other features of the Oracle E-Business Suite SDK for Java. Stay tuned for an announcement on Steven Chan's blog at https://blogs.oracle.com/stevenChan when that becomes available. My Oracle Support Note 974949.1 will be updated with further information at that time.
    Embedding an Oracle ADF region in an OA Framework page requires, at a minimum, that you create an EBS function security function for your ADF page and add a richContainer item to your OA Framework page that calls the function. You may need session management features depending on what you are trying to do with it. We haven't worked out all the nuances yet for more specific guidelines, sorry.
    Thanks,
    Sara
    (PS--I posted this in the OA Framework forum too)

  • Code for Embedding Quicktime Movies in Web Pages-Question

    I have been embedding QT movies in web pages for years. I used to use the embed and object tags, but due to the problems with the default settings of IE7, in regards to ActiveX, I recently changed to the javascript method.
    I will paste sample code below, of how I use it, with the movie title change to sample: (of course I change the dimensions, depending on the movie size.)
    <script language="JavaScript" type="text/javascript"><!--
    QT_WriteOBJECT('sample.mov', '644', '76','','controller','true','autoplay','true','showlogo','true','cache','false' ,'enablejavascript','true');
    // --></script>
    and I put at the top of the page, right before </head>
    <script src="AC_QuickTime.js" language="JavaScript" type="text/javascript"></script>
    I forgot where I got this code. Perhaps from someone on this forum, or elsewhere. It seems to work with the default settings on most browsers.
    I have a couple questions, however, regarding fine-tuning it a little more.
    1) If it takes a while for the movie to load, users who open my pages see a static Q QT icon. How would one make the icon flash, with flashing text that says "Loading", so that the user knows that the video is loading? (I have seen that on other sites, and don't know how to do that.)
    2)As said the javascript works with most browser default settings, as most have javascript enabled by default. But what if a user does not have javascript enabled? Could the code sense that, and if non-existent, tell the user to enable javascript? Or, if javascript is disabled, could the embed and/or object tags be activated?
    3) The code above, that I got from someone, says "cache=false". That means that each time someone sees the movie, it has to be reloaded from the net, and not from the browser cache, correct? If so, why would one want it to be set that way? If it's a large movie, a user with a slower computer and/or internet connection would certainly prefer if it could play from the cache the next time, loading much faster. Is there any reason to prefer "cache=false"?
    4)Is there any code that could be put in, to allow the user, if they prefer, to download the file,(perhaps with a right-click or CTRL-Click), instead of playing it in the browser?
    Thank you very much in advance, to whomever can help with these code questions.

    Thank you for your reply, Kirk,
    1)Yes, I do have "fast start" enabled in my files, and they were made with QT Pro, newest version. So no, there is no "trouble with my files".
    However, I would still like to have that flashing "Loading" icon when the file is loading, as I see on other sites. (And yes, even with "Fast Start" enabled, depending on the size of the file, the speed of the computer and internet connection, it can take a little time beforeit starts.) Anyone know how to create that flashing "Loading" icon, rather than just the static Q?
    2)I just wondered if there was a way for the javascript to recognize if the user does not have javascript, and bring up a message if that is the case, telling the user they need to enable it to see the content. (As would happen if the user does not have the QT plugin installed.) Yes, I realize it would not work to include in the normal way the embed and object tags as well, I wondered if there was a way to invoke them only if the user doesn't have javascript. Perhaps impossible, but I thought I'd ask, in case someone knows of a way to do that.
    4)Yes, I guess I could just put a separate direct text link to the movie file for downloading. I just wondered if there was a way to put that in the javascript, so that if someone right-clicks on the QT icon, they can download rather than view it, rather than use a separate link. That may also be impossible, but I thought I'd ask, and see if there is a way to do that.
    Your question to me regarding dimensions--I forget which was the QT movie, that I took that sample from. Yes, I have some in unusual sizes. They are not normal movies. I don't have time to explain more now though, and that has no bearing on the questions I asked.
    Once again, thanks for replying, and if you or someone else could help further with my questions, I would appreciate it very much.
    Have a nice day!

  • Oepe-12.1.2.1-kepler how to use ADF Templates in JSP page

    Hi all,
        I use oepe 12.1.2.1 kepler 4.3 and creating JSP page but I can't see any ADF Rich Faces Page in JSP Templates Page of Preferences Dialog. How to use ADF Templates in JSP page?
    Thanks,
    Thomas

    Select the JSP Templates link. Is the ADF Rich Faces Page template listed? Refer Creating the Login Page/4.
    Introduction to the Oracle Enterprise Pack for Eclipse (OEPE) IDE

  • How to initialize an adf component before a page loads

    Hi all
    I use JDeveloper 11.1.2.2.0
    I have two pages:
    first page has a link to a second page
    <af:document title="first.jspx" id="d1">
      <af:form id="f1">
        <af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleLinkActionEvent}"/>
      </af:form>
    </af:document>and the second page has an inputText component:
    <af:document title="second.jspx" id="d1">
      <af:form id="f1">
        <af:inputText label="Text" id="it1" binding="#{Bean.inputText}" readOnly="true"/>
      </af:form>
    </af:document>First I load first.jspx and than I click the link. This event is handled in handleLinkActionEvent() method, in which I want to set a value to the inputText component of the second page. But I can't do it, because as expected I get NullPointerException.
    So the question is how to initialize an adf component before a page loads?
    Evgeny Michuk
    Edited by: Evgeny Michuk on Oct 4, 2012 11:30 PM

    Thanks a lot for your replies and links, it gives me some new knowledges.
    I got your approach and achieved the aim for the described situation with tag <f:setPropertyActionListener>:
    <af:commandLink text="Page 2" id="cl1" action="goToSecondPage"
                           actionListener="#{Bean.handleLinkActionEvent}" binding="#{Bean.firstPageLink}">
      <f:setPropertyActionListener target="#{pageFlowScope.text}" value="Hello, World!"/>
    </af:commandLink>and for the inputText component I set the value:
    <af:inputText label="Text" id="it1"  binding="#{Bean.inputText}"
                                  readOnly="true" value="#{pageFlowScope.text}"/>I used request scoped managed bean and it is shared for both pages.
    I understand that I can set a value of some attribute for managed bean
    and use it to set a value for inputText component of the second page,
    but as I understand it is almost the same way as usage of tag <f:setPropertyActionListener>.
    In my real situation on the second page I have a dynamic table, and it's field is read only.
    Structure of this table depends on a link clicked on the first page.
    So I define components for table columns in runtime, it may be outputText, inputDate, goLink and some others.
    And I have to get table through the UIComponent binding to set columns.
    Certainly I can define all needed components for all columns
    and render it according to the column types
    <af:table value="#{Bean.collectionModel}" var="row" id="t1" binding="#{Bean.mainTable}">
       <af:forEach items="#{Bean.columnDescriptionList}" var="column">
          <af:column headerText="#{column.caption}" id="c1">
             <af:outputText value="#{row[column.fieldName]}" id="ot1" rendered="#{column.type == '1'}"/>
             <af:inputDate value="#{row[column.fieldName]}" id="ot2" rendered="#{column.type == '2'}"/>
             <af:selectBooleanCheckbox id="sbc1" selected="#{row[column.fieldName] == '1'}" rendered="#{column.type == 'n'}"/>
          </af:column>
       </af:forEach>
    </af:table>but I think it is not very good.
    Have you any idea?
    P.S. I hope I clearly explained my situation =)
    Evgeny Michuk

  • How to prevent embedded images falling off the page

    I have embedded images in a multi-column document. It's great to have the images flow with the text, but sometimes they flow over the edge of the page. Is there a way to set the keep options so that embedded images stay on the page?

    Again, I'm going to ask what behavior you expect for this? Where would you have that image move? If what you want is for the entire paragraph to go to the next page, you are using the correct mothod by adding a keep option that will keep sufficient lines together  to match the image height. Adding the keep within the top and bottom boundaries of the column (rather than the page) for inline anchored images might be useful if it behaved like a keep option forcing the containing paragraph to the next page, but not so good if it pushed the position of the image up or down relative to its anchor point.
    What you are learning is that anchored objects are extremely useful, but that they are problematic when they fall at the bottom of a column. You almost always need to som manual editing to accomodate the odd case.

  • ADF Tutorials: Edit/Search Page

    Hi,
    I am new to ADF and started to look through the ADF Tutorials. Most ADF Tutorials have seperate pages for viewing, editing and searching. In Oracle Forms all three features were usually possible in one form. So why are they seperated in ADF?
    Thanks,
    Peter

    You can actually get a page that does all three quite simply.
    Drag a view object from the data control palette to your page and drop as an ADF Form.
    The drag the operations Create, Find, Execute and Delete that are under the VO in the data control palette onto the page as buttons - and now run the page.

  • Detect absolute ID for an ADF component on the page

    Hi All,
    I need to locate an ADF component on the page using ADF Client javascript framework. I'm trying to locate it using following method AdfPage.PAGE.findComponentByAbsoluteId()
    The problem is this component is placed in a page fragment inside page template with several levels of nested naming containers. And I don't have access to the source code of the page template, hence it's quite hard for me to detect the correct absolute id for the component.
    So the question is: how can I know the final value for the absolute id of the component? Can I look it somewhere at runtime? Or if not, is there any alternative way to locate ADF component using just the design time id attribute set for the component?
    Thanks in advance.

    Hi Arun,
    Do you mean the id of the component in the final DOM? I tried to use that but didn't work. In my case, I need to find inputText component on the page. After page is loaded I can select it via Firebug and it has an id like 'pt1:USma:0:MAt1:0:pt1:reportXml::content'. If I then call following method:
    AdfPage.PAGE.findComponentByAbsoluteId('pt1:USma:0:MAt1:0:pt1:reportXml::content')
    I get null. Am I missing something?
    Thanks,
    Maksym

  • Calling a method in the Custom ADF component from JSF page

    HI.
    I have created some custom compoents by extending the core ADF Components. Like i have a ComboBoxDefault component with it's ComboBoxDefaultTag.java and Controls.tld file.
    Now my requirement is i want to bind my label to this component from the JSF page. like
    <fwcontrols:label binding="#{listComponents.comboBoxDefaultLabel}" id="label1"/>
    <fwcontrols:comboBoxDefault binding="#{listComponents.cmbLocales}"
    value="en_GB" id="comboBoxDefault" autoSubmit="true" label="label1">
    <f:selectItems value="#{listComponents.locales}"/>
    </fwcontrols:comboBoxDefault>
    In my JSF page the label will have an id, and that id will be specified in the label tag of the component.
    In Tag.java file i have overrided the setProperty(FacesBean facesBean). In this method i have bind all my properties. In core JSF the setProperty method is provided with the UIComponent parameter, so i can call my method in component also. Which is not in case of ADF Faces.
    My main point is how i can call my method setLabel() which is in ComboBoxDefault.java so that i can set the label.
    Thanks in Advance.

    Thanks for all your replies. I want this kind of a functionality because Im trying to invove a DC (Child DC) from a Parent DC such that the Child DC's view is displayed onto the view container of the Parent DC. I have embedded using 'interface view of a component instance' in the Parent Window and am able to create the component and set usage though the onPlugDefault of the Child View.
    But I observe that when i make a call from the parent, the flow is like this:
    1. The wdDoInit of the Child Component Controller gets triggered first.
    2. Then the wdDoInit of the Child's <b>VIEW</b> gets triggered
    3. and <b>THEN</b> the onPlugDefault of the Child Component Interface View
    What I had actually wanted was to Fire onPlugDefault where Im calling a method LoadData(), after which the Child DC's view must be triggered so it can display the fetched data.
    What is actually happening is the view gets displayed, but no data is displayed in the view.
    Right now I have just given a work around where Im triggering <b>LoadData()</b> of the <b>COmponent COntroller</b> from the <b>wdDoInit</b> of the <b>VIEW</b>.
    Is there a better way to do this? I find it strange that I have to load the Data from the view.
    Thanks
    Jack

  • Hp officejet 4500 adf only scans one page at a time

    When I try to scan multiple pages with the adf, it will scan one page and stop - have to tell it each time to scan another page. I want separate files - but use to be able to scan several pages without stopping. Have downloaded the latest driver and still not sure what to do. Can anyone help?

    Hi JulesGreek,
    Welcome to the HP Forums!
    I understand that after recent upgrade and re-install, your scanner options do not list 'scan another page' as an option to scan multiple pages into one file. I am happy to help you with this scanning issue!
    For futher assistance, I will need to know the following information:
    The Product/Model Number of your printer. Follow instructions in this link. Finding Your HP Product Model Number.
    If you are using a Windows or Mac Operating System, and the version number. To find the exact version, visit this link. Whatsmyos.
    If the printer is able to make copies by itself.
    If the power cable is plugged into a surge protector, or directly to the wall outlet. Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector. This applies to Inkjet printers as well.
    Most likely you will need to uninstall and re-install the printer software after an upgrade.
    Hope to hear from you, and thank you for posting!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Adding ADF task flow to page as region fails on first request

    Using JDeveloper 11.1.1.1.0, I've created a simple task flow that executes a method call (to set some bind variables and issue a SQL query), then forwards to a jsff page. I've then added a region to another page and dragged this task flow onto my region.
    When I run the page, I see the following in the log:
    <24-Jul-2009 14:22:29 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext@19304275[app:pipeline module:pipeline path:/pipeline spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:234)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1187)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:751)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
         Truncated. see log file for complete stacktraceAnd the Page Loading animation continues indefinitely. If I make a second request to the same page, the same NullPointerException appears in the log but the page loads successfully. It seems that the first request from any new session doesn't complete, but subsequent requests do.
    Can anyone give me any hints about what might cause the oracle.adfinternal.view.faces.renderkit.rich.FormRenderer to throw a NullPointerException at line 234?

    Hi Branislav.
    Since I don't have the source code for oracle.adf.* and oracle.adfinternal.*, it's very difficult to do any meaningful debugging. Debugging the code that I do have access to (apache packages), appears to show that the oracle rendering class fails when it gets to closing my af:form tag. I've removed the af:form and the page is now working correctly.
    At some point I'm going to have to reinstate this form though :-\

  • IPC Between Two ADF Portlets on Same Page using Events Failure

    Considering that a full page submit is required for the passing of parameters to work properly, I am trying to use IPC Events to pass a parameter from one ADF Portlet to another. There are no good examples out there, but I am trying to use what is out there in many different generic forms to make this happen with no success.
    One portlet contains an ADF Table with a select column, I have a BackingBean to process the choosing of a row and that value is being retrieved and I am calling the set event.
    public void selectPatient(ActionEvent e) {
    FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding) tblPatients.getSelectedRowData();
    String username = node.getAttribute(0).toString();
    System.out.println("Selected Patient: " + username);
    ActionResponse response = (ActionResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
    response.setEvent("selectPatientResult", username);
    I then have a second portlet that is supposed to retrieve the value being passed from within the portlet class and then the second ADF portlet is supposed to display. I will eventually do more work with the value, but I am just trying to get the events to work properly first. Here is the code within the receiving portlet class:
    public class drugallergies extends ADFBridgePortlet {
    @ProcessEvent(name="selectPatientResult")
    public void processSelectPatientEvent(EventRequest request, EventResponse eventresponse) throws PortletException, IOException {
    Event event = request.getEvent();
    String username = (String)event.getValue();
    System.out.println("Selected Patient: " + username);
    eventresponse.setRenderParameter("patient", username);
    I have also made sure that I have put the following within my web.xml file for the application so that the events are being passed as portlet events and not faces events. I am still fairly new to ADF, but not to portals or portlets, which is why I am going this route.
    <context-param>
    <description>Allows for fired events to go to the portlet and not to the faces layer</description>
    <param-name>javax.portlet.faces.autoDispatchEvents</param-name>
    <param-value>false</param-value>
    </context-param>
    I am never seeing the receiving event get processed, meaning that I never see the println get processed with the receiving value. Please help because there are no examples out in the world for going this route. There are examples, but they require you to create an ADF application first and then convert the application to a portlet. I am using the Portlet Creation wizard within JDeveloper but creating ADF based pages for the Views modes.

    Wait... You have to make a distinct difference between portlet events and contextual events in ADF.
    Contextual events in ADF can be converted to portlet events.
    If the full refresh of a portlet is an issue for you then even contextual events will not solve your problem.
    Regardless the use of parameters or events, portlets do not support partial page rendering or ajax. In order for a parameter to pass or an event to be triggered, it need to have a reference to the ActionResponse or RequestResponse. If they don't have the proper reference they will not be able to trigger the event.
    In the case you are talking about, the selection of a record, this won't be able to trigger an event because the selectionModel will be triggered by a partial submit.
    The only work around for this problem is by adding a "select" button that will do a full submit.
    This is not a limitation of ADF, it is a limitation of the portlet standar because the standard itself does not have anything that supports partial page rendering or ajax...

  • How to get radio behavior for multiple embedded movies on a single page?

    Hi,
    I've got a single XHTML page with multiple embedded movie objects. The movies all play fine. I would like to convert the page to achieve a radio-style behavior for the movies so only one is running at any time. That is, if I click on a movie that's not running, the movie that is running will stop before the new movie begins. Any ideas on how this can be achieved? This might be more of a javascript question, but I was hoping somebody might have already done something similar. Thanks.
    Paul

    Roy,
    It's an ugly solution but you can always add a hidden dummy structure item or KF and add all variables in the first executed query in the workbook.
    - Find the query that has the most of the infobjects used in the other queries.
    - Make sure this query is executed first in WB by removing/adding it in WB.
    - Create the hidden dummy KF and add all the extra variables to this KF.
    Solution usually works fine for me, but its not really feasible if the queries are have to many different infoobjects.
    BR //Joakim

  • 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.

  • Embedding video in a dinamic page loaded using ajax

    I've been trying to do this for some days now, and still couldnt find a solution.. this is the story:
    I need to embed a movie (.mov, mp4, m4v) in a dynamic page loaded by an ajax call, i followed the recommendations specified in apple's page so i can monitor progress, and listen DOM events:
    QuickTime and JavaScript
    on Firefox, everything works very well, i can monitor progress, listen events, etc.. etc... (this app is intended to be multi browser)
    On the contrary, IE is driving me crazy, it does not do anything.
    So to debug this i did the following (for IE):
    i tried then, creating a simple STATIC page in my computer, that loads the movie, and listens to its events, it worked good.
    Then i put that html file in a web server, and every "first time" that i open the page, it wont work at all. After a reload, it will work good.
    Then i created a simple page with an ajax call that will insert the html embedding the movie, and again it wont work in IE.
    I want to be able to listen DOM events in IE in a dynamic page
    Please help me with this.
    <Edited by Moderator>

    I've been fighting this last couple days as well.
    Somehow the dom events are not fired
    –in win explorer that is– when the movie is
    inserted after the document loaded.
    I've been trying many variation to get it to
    work and just found a hackish way:
    After you have added the movie via javascript
    use the movie.SetURL('/movie.mov') function
    and then the RegisterListener() function.
    This enabled the Dom event for me.
    Additionally you can use
    movie.SetResetPropertiesOnReload(false) to
    keep the movie properties.
    function insertMov() {
    var embtxt = QTGenerateOBJECTTextXHTML("../movies/main.mov",
    477,
    268,
    'obj#id', 'mainobjId12',
    'emb#id', 'mainembId12',
    'emb#name', 'mainembName12',
    'EnableJavaScript', 'True',
    'postdomevents', 'True',
    'autoplay', 'False',
    'controller', 'False'
    var mov_container = document.getElementById('mov_container');
    mov_container.innerHTML= embtxt;
    setTimeout('reg()',100);
    function reg(){
    document.getElementById('mainobjId12').SetResetPropertiesOnReload(false)
    document.getElementById('mainobjId12').SetURL("../movies/main.mov");
    RegisterListener('qt_canplaythrough', 'mainobjId12', 'mainembId12', aallrrtt);
    function aallrrtt(){
    alert('qt_canplaythrough');
    }

Maybe you are looking for

  • Family Sharing - Your Family Is Managed By Alternate Apple ID

    All, I asked this in the iCloud Forum, but, now I think my problem needs to be discussed here based on on what I have discovered...... I just got a new iPhone 6 Plus.  I set it up as new rather than restore from backup of my old iPhone.  I signed int

  • Table name for opening and closing stock

    Hi gurus, i want table name for opening and closing stock .  How to calculate this opening and closing stock in report. Murali.

  • Is there a way to delete an app when you can't see the app's icon?

    Is there a way to delete an app when you can't see the app's icon? I have so many apps that they don't all show up on the existing screens. I know it can be done by connecting to a computer and using iTunes, but I'm on the road away from my Mac.

  • Similar channel into single channel

    Dear All, Is there any way to merge the multiple similar channel to single channel without flattening layers. If pantone reflex blue 3 times is there means i need to merge it into single reflex blue channel. Pls help.. Thank you, Joe

  • Loading Exception.jar from NERP

    Hi everyone, I am getting XI started on my sytem first time but i have had some problems. After i try to start Integration repository , Java webstart is starting and immediately i get this message it says " Loading Exception.jar from NERP". Read 53k