Flash Not Rendered in Jspx

I wanto to show a flash in a jspx. The code is:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1" title="visor">
<af:form id="f1">
<f:verbatim>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="100%"
height="100%"
codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=8,0,0,0">
<param name="MOVIE" value="ejemplo.swf"/>
<param name="PLAY" value="true"/>
<param name="LOOP" value="true"/>
<param name="QUALITY" value="high"/>
<param name="FLASHVARS" value="zoomtype=3"/>
<embed src="visor/ejemplo.swf" width="100%" height="100%"
play="true" ALIGN="" loop="true" quality="high"
type="application/x-shockwave-flash"
flashvars="zoomtype=3"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</f:verbatim>
</af:form>
</af:document>
</f:view>
</jsp:root>
The page and the swf file are in the same folder: "visor". I cand show the swf file with a jsp or html page. I want to do it with jspx, but the swf file never loads up.I am using JDeveloper 11.1.1.3.0

Can you access your deployed swf file with a direct URL to it?
If you use that URL inside your JSF code does it work?
Here is a piece of code that worked for me:
              <f:verbatim><![CDATA[
     <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version
=10,0,0,0" width="1024" height="351" id="11gR1_aniH_grey" align="middle">
     <param name="allowScriptAccess" value="sameDomain" />
     <param name="allowFullScreen" value="false" />
        <param name="wmode" value="transparent" />
     <param name="movie" value="http://127.0.0.1:7101/AuctionSite-ViewController-context-root/Images/11gR1_aniTransp.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#4d5c64" />     <embed src="http://127.0.0.1:7101/AuctionSite-ViewController-context-root/Images/11gR1_aniTransp.swf"
quality="high" width="1024" height="351" name="11gR1_aniTransp.swf"
align="middle" allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"  wmode="transparent"
pluginspage="http://www.adobe.com/go/getflashplayer" />
     </object>         ]]>    
              </f:verbatim>

Similar Messages

  • Flash not rendering in 100% in Firefox

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3265183615_52741
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Hi!
    I have a pop up window which goes full screen when opens
    (index_pop.html).
    In index_pop.html I have a flash movie (swf) set to 100%. It
    is meant to
    take over the screen entirely. The problem I have is in
    Safari and IE, it
    works fine but when tested on Firefox, it is this tiny movie
    while
    index_pop.html opens to a full window. Is there anyway I can
    work around
    this?
    Thank you.
    °K.
    --B_3265183615_52741
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Flash not rendering in 100% in
    Firefox</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Arial"><SPAN
    STYLE=3D'font-size:12.0px'>Hi!<BR>
    <BR>
    I have a pop  up window which goes full screen when
    opens (index_pop.h=
    tml). In index_pop.html I have a flash movie (swf) set to
    100%. It is meant =
    to take over the screen entirely. The problem I have is in
    Safari and IE, it=
    works fine but when tested on Firefox, it is this tiny movie
    while index_po=
    p.html opens to a full window. Is there anyway I can work
    around this? <BR>
    <BR>
    Thank you.<BR>
    <BR>
    <BR>
    <B>&deg;K.</B><BR>
    </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3265183615_52741--

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0008_01C7B32E.D63789E0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Flash not rendering in 100% in FirefoxKelvin,
    This may be due to your HTML document's DOCTYPE. See this
    brief =
    article for details.
    http://www.quip.net/blog/2006/flash/how-to-fix-wrong-sized-firefox/
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."
    "Kelvin Chen" <[email protected]> wrote in message
    =
    news:C29EBF7F.828F%[email protected]...
    Hi!
    I have a pop up window which goes full screen when opens =
    (index_pop.html). In index_pop.html I have a flash movie
    (swf) set to =
    100%. It is meant to take over the screen entirely. The
    problem I have =
    is in Safari and IE, it works fine but when tested on
    Firefox, it is =
    this tiny movie while index_pop.html opens to a full window.
    Is there =
    anyway I can work around this?=20
    Thank you.
    =B0K.
    ------=_NextPart_000_0008_01C7B32E.D63789E0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD><TITLE>Flash not rendering in
    100% in Firefox</TITLE>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.6000.16481"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial
    size=3D2>Kelvin,</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2>    This may be due to =
    your HTML=20
    document's DOCTYPE.  See this brief article for =
    details.</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2>    <A=20
    href=3D"
    http://www.quip.net/blog/2006/flash/how-to-fix-wrong-sized-firefo=
    x/">
    http://www.quip.net/blog/2006/flash/how-to-fix-wrong-sized-firefox/</=
    A></FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV><FONT
    face=3DArial =
    size=3D2>
    <DIV><BR>David Stiller<BR>Adobe Community
    Expert<BR>Dev blog, <A=20
    href=3D"
    is the=20
    residue of good design."</DIV>
    <DIV></FONT> </DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Kelvin Chen" &lt;<A=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    wrote in=20
    message <A=20
    =
    href=3D"news:C29EBF7F.828F%[email protected]">news:C29EBF7F.828F%kelvi=
    [email protected]</A>...</DIV><FONT=20
    face=3DArial><SPAN style=3D"FONT-SIZE:
    12px">Hi!<BR><BR>I have a pop =
     up=20
    window which goes full screen when opens (index_pop.html).
    In =
    index_pop.html I=20
    have a flash movie (swf) set to 100%. It is meant to take
    over the =
    screen=20
    entirely. The problem I have is in Safari and IE, it works
    fine but =
    when=20
    tested on Firefox, it is this tiny movie while
    index_pop.html opens to =
    a full=20
    window. Is there anyway I can work around this?
    <BR><BR>Thank=20
    =
    you.<BR><BR><BR><B>=B0K.</B><BR></BLOCKQUOTE></SPAN></FONT></BODY></HTML>=
    ------=_NextPart_000_0008_01C7B32E.D63789E0--

  • Flash not rendering correctly in IE using Spry and SWFObject.

    Hi,
    Tools that I'm using (Flash, Spry and SWFObject)
    I just finished converting portions of the image gallery to a
    video gallery using FLV Files.
    It works great in FireFox and Opera, I guess all mozilla
    based browsers.
    Now my problem is that I pass the Path variable to Flash for
    it to load the FLV file using SWFObject.
    Code:
    <div spry:detailregion="dsVideos"
    class="AccordionPanelContent">
    <div id="flashcontent"> You need to upgrade your Flash
    Player. </div>
    <script type="text/javascript">
    // <![CDATA[
    var so = new SWFObject("VideoPlayer.swf", "videoplayer",
    "427", "288", "8", "#161616");
    so.addVariable("video", "{@path}");
    so.write("flashcontent");
    // ]]>
    </script>
    </div>
    The FLV files won't load at all in IE meaning the variable is
    not going thru when Flash is rendered for a second time.
    So I added another variable just to see Flash reaction once
    the page loaded for the first time.
    Code:
    so.addVariable("Variable1", "I Love This Bug!");
    I added Variable1 to the Flash Movie as a textbox and It
    loads in a split second for the first render but when Spry loads it
    datasets and renders the region where Flash resides the variable
    doesnt go thru and Flash gets a undefined variable.
    When Spry renders that region the video variable is not going
    thru and no video is shown. :(
    Any suggestion?

    Don -
    Have you had any success here? I've been trying to get any
    kind of Flash
    to load properly in IE in a spry:region (or :detailregion),
    and have
    failed entirely.
    I added spry:state="ready" to the div with the Flash movie,
    but no fix.
    I've tested with both IE 6 and IE 7 beta, and with FP 8 and
    FP 9.
    I have a few test pages (everything works great in FireFox):
    - www.imagicdigital.com/portfolios/video_state7.html
    (uses SWFObject to write the movie, with spry info as
    FlashVars)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7_noso.html
    (same page as above, but with the standard Object/Embed tags,
    no SWFObject)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7a_noso.html
    (same page as above but with hardcoded FlashVars)
    IE: Flash movie is hidden. No FlashVars are passed.
    - www.imagicdigital.com/portfolios/video_state7b_noso.html
    (a Flash movie with no FlashVars at all)
    IE: Flash movie is hidden.
    - www.imagicdigital.com/portfolios/video_state7c_noso.html
    (same as 7a but with spry:region removed from the flash div)
    IE: Works perfectly. Flash movie shows up, FlashVars are
    passed.
    I noticed a few things:
    - In IE, the spry:debug generated markup shows FlashVars="",
    empty.
    - I don't see an innerHTML fix call for the FlashVideo div,
    even if I
    make it into a spry:region instead of detailregion. Can this
    help omehow?
    - In IE 7, if I right-click where my flash movie is supposed
    to show up,
    it does become visible (with no FlashVars). However, IE often
    crashes
    after that, either right away or on window close. The error
    shown in
    the alert is "Out of Memory at Line 56". This is both with
    and without
    passing FlashVars.
    NOTE: This error was just recently discussed on the SWFObject
    mailing
    list. Geoff Stearns found a sort of bug in FP 9 that was also
    causing
    this same error when 2 Flash movies were embedded with
    SWFObject and
    each making different ExternalInterface calls. He fixed it by
    removing
    the function written by Flash when it loads called
    "__flash_unloadHandler()". Link to the relevant discussion
    thread:
    http://lists.deconcept.com/htdig.cgi/swfobject-deconcept.com/2006-July/000795.html
    It would be great (crucial, I think) to get Spry to work with
    SWFs. Any
    ideas or progress? Thanks in advance.

  • Flash not rendering properly

    Ok, I've been using all the betas til 7, til 8 came along, flash is broken for me. I've tried disabling hardware acceleration and various settings in about:config.
    Please note, I'm on beta 10 and this problem hasn't been solved for me at least.

    apsfalcons,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Design view of jspx not rendering : Error exercising tag : afh:head

    I'm using JDeveloper 10.1.3.4 and I have an intermittent problem where by the jspx does not render correctly in design view - it just shows a whole load of nested boxes.
    By following a suggestion from another website I turned on "Design time messages in log" in jdeveloper JSP visual editor preferences.
    The error messages being sent to the log window are :
    Error exercising tag : afh:head
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.AdfRenderingContext.getTranslatedString(AdfRenderingContext.java:70)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.GlobalVariablesScriptlet.outputScriptletContent(GlobalVariablesScriptlet.java:49)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.jsLibs.Scriptlet.outputScriptletImpl(Scriptlet.java:111)
    Error exercising tag : af:forEach
    javax.servlet.jsp.JspTagException: 'begin' and 'end' should be specified if 'items' is not specified
         at oracle.adfinternal.view.faces.taglib.ForEachTag._validateAttributes(ForEachTag.java:320)
         at oracle.adfinternal.view.faces.taglib.ForEachTag.doStartTag(ForEachTag.java:93)
    Error exercising tag : afh:body
    java.lang.NullPointerException
         at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.getStyleClass(CoreAdfRenderingContext.java:211)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.XhtmlRenderer.renderStyleClass(XhtmlRenderer.java:338)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer._renderLibraryDownloadElement(PanelPartialRootRenderer.java:480)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderPPRSupport(PanelPartialRootRenderer.java:340)
    How can I fix this ?
    Cheers,
    Brent

    Hi Didier,
    Sorry, intermittent problem is not very descriptive ! What I actually meant is that some of my applications have the problem while others dont. Once the problem exists, it always does regardless of restarting JDeveloper.
    Starting JDeveloper using the console provided similar error message to outputting the JSP visual editor to the log file :
    SEVERE: Element End name:head does not match start name:script
    04-Dec-2009 17:28:38 oracle.adfinternal.view.faces.io.HtmlResponseWriter endElem
    ent
    SEVERE: Element End name:html does not match start name:div
    Reading other posts, problems seemed to stem from errors within the faces-config or web.xml files so I compared them between apps displaying pages correctly and ones that weren't. I found a difference in the filter-mapping section of the web.xml. Changing the entries to match the applications that displayed correctly has worked !!
    The entries for the apps that didn't display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping> 
      <filter-mapping>
        <filter-name>adfBindings</filter-name>
        <servlet-name>ordDeliverMedia</servlet-name>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jsp</url-pattern>
      </filter-mapping>
      <filter-mapping>
        <filter-name>jhsAuthenticationFilter</filter-name>
        <url-pattern>*.jspx</url-pattern>
      </filter-mapping>... and the entries for the apps that did display correctly :
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfFaces</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <url-pattern>*.jspx</url-pattern>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>ordDeliverMedia</servlet-name>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
        <filter-mapping>
            <filter-name>jhsAuthenticationFilter</filter-name>
            <url-pattern>*.jspx</url-pattern>
        </filter-mapping>Somehow the filter-mapping entries for the adfFaces and adfBindings filter got all screwed ? Strange as the application has always worked fine, the only (obvious) problem has been the jspx pages not rendering properly in design view.
    Once updating the web.xml with the correct value for these two entries, the pages are displayed correctly :)
    While I don't like blindly making changes like this to the web.xml - the application still seems to function !
    Cheers,
    Brent

  • Flash Forms Not Rendering in IE7, Flash 9

    We're having a problem with flash forms in IE7 and Flash
    Player 9 not rendering the entire form. The form works fine in
    Firefox 2. It looks to be a problem with how the Flash player is
    able to pull back data in IE7. Likely this pertains to how IE7
    handles security of plug-ins.
    Oddly, we've noticed that uninstalling the Flash 9 player and
    then reinstalling results in the form rendering correctly the first
    time, but on subsequent views the form no longer renders correctly.
    Specifically, we're not seeing data that is being called via
    Flash remoting in cfselect tags (state and country information).
    And we're not seeing text rendered that is in cfformitem tags. Our
    dev url is:
    http://hopeequity.beaconfire.com/loggedout/index.cfm?event=StartInvesting_StartAGroupStep1
    If anyone has an idea of why IE7 might not be able to render
    the form correctly, or might have security-related issues with
    remoting and Flash 9, please reply.

    I was granted access to the manuals on our prod server (the
    site is set up where you have to log in to see the manuals). The
    manuals are behaving differently on the prod server than in our dev
    server. The following is happening on the prod server:
    - the flash menus are appearing on our prod server in FireFox
    only.
    - I had reported in our dev area that when I right clicked on
    the left hand side where the menus are to appear in IE that the
    Flash menu displayed. This is not the case in our production area.
    - I get the "This page contains both secure and nonsecure
    items" when viewing the site on our prod server through IE
    I've asked them what version of RoboHelp they are using and
    no one seems to know. It seems they don't regenerate their help
    files (manuals) very often.

  • JSPX page Not Rendering on Tomcat

    Greetings to all. I used JDeveloper10132 to develop and test my application. After deploying the application on tomcat, all is working well except one page is not rendering when I open it.
    Thanks.

    Any server side logs?
    Is it in constantly loading state?
    If other pages are rendering then its not an issue with libraries i guess.
    Venkat

  • Server Side Includes not rendering correctly in Firefox with Layers

    Hi
    The server side includes are not correctly rendering with layers in firefox. From my site here:-
    http://www.osteriastecca.com/index.php
    the home_page.php content renders above a layer on the index.php page. Initially I thought this might be a Flash layer issue but the wmode is set correctly to transparent and it works fine with a normal ssi. It also works fine in Firefox without a server side include as you can see here:-
    http://www.osteriastecca.com/index_old.php
    Works fine in IE and Safari, but not Firefox.
    How can this be rectified?
    Regards
    Glennyboy

    What testing server setup do you have? Are you using something like WAMP?
    What do you see on screen which tells you the SSIs are not rendering? Any error message?

  • Basic Layout not rendering correctly.

    ''locking as a duplicate of https://support.mozilla.org/en-US/questions/1035123''
    Hello,
    I've been trying to debug a problem I was noticing on my production websites, so I dumbed it down to a quick codepen to show off the issue. http://codepen.io/anon/pen/GgoBNJ
    Basically, standard fonts (helvetica, arial, etc.) are not rendering correctly within a div. For some reason the text is pushing itself up ~2 pixels. Not to mention, fonts are looking very jagged within the browser for no apparent reason.
    I am setting up a basic div with hardly any styles and yet this produces two different renderings within FF and Chrome
    .box{
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 14px;
    border: 2px solid #FF5500;
    display: inline-block;
    width: 100px;
    This is causing me all sorts of headaches with designers who are trying to make layouts pixel perfect as I have zero control over something like this. Any help would be greatly appreciated!
    Thanks in advance.

    You may have zoomed the page(s) by accident.
    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl/Command+0 (zero))
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    You can right-click on a web page and select "Inspect Element" to open the Inspector (Firefox/Tools > Web Developer).
    You can check the font used for selected text in the Font tab in the right pane of the Inspector.
    *https://developer.mozilla.org/Tools/Page_Inspector
    You can do a font test to see if you can identify corrupted font(s).
    *http://browserspy.dk/fonts-flash.php?detail=1
    You can try different default fonts and temporarily disable website fonts to test the selected default font.
    *Tools > Options > Content : Fonts & Colors > Advanced
    *[ ] "Allow pages to choose their own fonts, instead of my selections above"

  • JSF tags are not rendered in error page

    I have configured error page for HTTP 404 error in web.xml like this
    <error-page>
    <error-code>404</error-code>
    <location>/Common/error.jspx</location>
    </error-page>
    Faces Servlet is configured as follows
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    My error page (error.jspx) looks like this
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html" xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:tr="http://myfaces.apache.org/trinidad" xmlns:c="http://java.sun.com/jsp/jstl/core">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <html>
    <head>
    <title>Error Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    </head>
    <body id="b1">
    <h4 style="color:red">An Error Occured. Please click Back button or Signout.</h4>
    <input type="button" value="Back" onclick="history.back()"/>
    <tr:commandButton id="cb1" text="SIGN OUT" action="exit" actionListener="#{Login.LogOut}"/>
    </body>
    </html>
    </jsp:root>
    When I deploy application and run into 404 error, page displays error message with only Back button. I don't see SingOut button. I have checked url and it follows /faces/* pattern. Still to double check, I made a change and configured servlet mapping in web.xml as
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    Still commandButton is not rendered. I understand that my error page don't have access to FacesContext or not going through Faces Servlet. I know this is a small issue, but couldn't figure out what can be done. I have also tried using .xhtml and .jsf as per googled suggestion. But no luck
    I have tried different solutions to my problem and googled for solutions. But I couldn't get it resolved.
    So can you please provide any suggestions...
    Edited by: user1818355 on May 22, 2013 2:29 PM

    I think my faces servlet is configured to handle URLs having /faces/* pattern. I don't have any folder named with faces but I can access all my web pages which have /faces/ in their url. All jspx pages in application are configured in task flows. So I think they have access in FacesContext. But error page is configured in only web.xml and some how it is missing access to FacesContext and not rendering JSF tags. Any help?

  • RichTree is not rendered properly when created in Managed Bean

    HI,
    I am trying to create af:tree in managed bean using RichTree. It is not rendering the tree nodes properly. It is only showing the nodes, node text is missing. I am using EL expression to show the value in node element. But when I am creating the af:tree in jspx page, it is working properly.
    Following is the code,
    JSPX Page ------------------------------------------------------------>
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document id="document1" title="Tree Test">
    <af:form id="form1">
    <af:panelGroupLayout layout="horizontal">
    <af:spacer width="50" height="50"/>
    <af:panelGroupLayout layout="vertical">
    <h1>RCF Tree Component Test</h1>
    <af:spacer height="10" width="10"/>
    <h3>ADF Tree in JSPX</h3>
    <af:spacer height="5" width="10"/>
    <af:tree binding="#{treeTest.tree}" var="node" value="#{treeTest.treeModel}" rowSelection="multiple" rowDisclosureListener="#{treeTest.toggle}" selectionListener="#{treeTest.TableSelect}" inlineStyle="border:1px solid black;">
    <f:facet name="nodeStamp">
    <af:panelGroupLayout>
    <af:image source="#{node.icon}" inlineStyle="margin-right:3px; vertical-align:middle; height:14px; width:16px;"/>
    <af:outputText value="#{node.description}"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:tree>
    </af:panelGroupLayout>
    <af:panelGroupLayout layout="vertical">
    <af:spacer height="65" width="10"/>
    <h3>ADF Tree in UI Bean</h3>
    <af:spacer height="5" width="10"/>
    <af:tree binding="#{treeTest.treeInBean}" inlineStyle="border:1px solid black;"/>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </af:form>
    </af:document>
    </f:view>
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:treeTest-->
    </jsp:root>
    Managed Bean ------------------------------------------------------------>
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    import javax.el.ExpressionFactory;
    import javax.el.ValueExpression;
    import javax.faces.context.FacesContext;
    import oracle.adf.view.rich.component.rich.data.RichTree;
    import oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout;
    import oracle.adf.view.rich.component.rich.output.RichImage;
    import oracle.adf.view.rich.component.rich.output.RichOutputText;
    import org.apache.myfaces.trinidad.event.RowDisclosureEvent;
    import org.apache.myfaces.trinidad.event.SelectionEvent;
    import org.apache.myfaces.trinidad.model.ChildPropertyTreeModel;
    import org.apache.myfaces.trinidad.model.TreeModel;
    public class TreeTest {
    private RichTree tree = new RichTree();
    private TreeModel treeModel;
    final public static String ROOT_DIR = ".";
    private RichTree treeInBean = new RichTree();
    public TreeTest() {
    List nodes = new ArrayList();
    FileNode rootNode = buildFileTree(ROOT_DIR);
    nodes.add(rootNode);
    treeModel = new ChildPropertyTreeModel(nodes, "children") ;
    private void createTreeInBean(List rootNode){
    ChildPropertyTreeModel l_model = new ChildPropertyTreeModel();
    l_model.setChildProperty("children");
    l_model.setWrappedData(rootNode );
    treeInBean.setValue( l_model);
    treeInBean.setRowSelection("multiple");
    treeInBean.setVar( "node" );
    RichOutputText comp = new RichOutputText();
    FacesContext l_context = FacesContext.getCurrentInstance();
    ExpressionFactory l_factory = l_context.getApplication().getExpressionFactory();
    ValueExpression l_expression = l_factory.createValueExpression( FacesContext.getCurrentInstance().getELContext(),
    "#{node.description}", String.class );
    comp.setValueExpression( "value", l_expression );
    RichImage img = new RichImage();
    img.setInlineStyle("margin-right:3px; vertical-align:middle; height:14px; width:16px;");
    ValueExpression l_expressionImg = l_factory.createValueExpression( FacesContext.getCurrentInstance().getELContext(),
    "#{node.icon}", String.class );
    //img.setValueExpression( "source", l_expressionImg );
    img.setSource("images/img1.png");
    RichPanelGroupLayout layout = new RichPanelGroupLayout();
    //layout.getChildren().add( img);
    //layout.getChildren().add( comp);
    //treeInBean.getChildren().add( layout);
    treeInBean.setNodeStamp( layout);
    treeInBean.getNodeStamp().getChildren().add( img );
    treeInBean.getNodeStamp().getChildren().add( comp );
    private static FileNode buildFileTree(String dirpath) {
    File root = new File(dirpath);
    return visitAllDirsAndFiles(root);
    private static FileNode visitAllDirsAndFiles(File dir) {
    FileNode parentNode = process(dir);
    if (dir.isDirectory()) {
    String[] children = dir.list();
    for (int i = 0; i < children.length; i++) {
    FileNode childNode = visitAllDirsAndFiles(new File(dir, children));
    parentNode.getChildren().add(childNode);
    return parentNode;
    public static FileNode process(File dir) {
    FileNode node = new FileNode(dir);
    return node;
    public void TableSelect(SelectionEvent p_event) {
    System.out.println(" Selection Event = " + p_event);
    RichTree l_tree = (RichTree)p_event.getSource();
    System.out.println("Display Row = " + l_tree.getSelectedRowKeys());
    TreeModel model = ((ChildPropertyTreeModel)l_tree.getValue());
    for (Object key : l_tree.getSelectedRowKeys()) {
    model.setRowKey(key);
    System.out.println("Model Data = " + ((FileNode)model.getRowData()));
    public void toggle(RowDisclosureEvent p_rowDisclosureEvent) {
    System.out.println(" Dislosure Event = " + p_rowDisclosureEvent);
    public void setTree(RichTree tree) {
              this.tree = tree;
    public RichTree getTree() {
    return tree;
    public void setTreeModel(TreeModel treeModel) {
    this.treeModel = treeModel;
    public TreeModel getTreeModel() {
    return treeModel;
    public void setTreeInBean(RichTree treeInBean) {
    this.treeInBean = treeInBean;
    public RichTree getTreeInBean() {
    List nodes = new ArrayList();
    FileNode rootNode = buildFileTree(ROOT_DIR);
    nodes.add(rootNode);
    createTreeInBean(nodes);
    return treeInBean;
    File Node Class-------------------------------------------------------------
    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collection;
    public class FileNode {
    private Collection children;
    private boolean nodeSelected;
    private File file;
    public FileNode(File file) {
    this.file = file;
    children = new ArrayList();
    public boolean isDir() {
    return file.isDirectory();
    public boolean isFile() {
    return file.isFile();
    public String getDescription() {
    return file.getName();
    public Collection getChildren() {
    return children;
    public String getIcon(){
    if(children.size() == 0){
    return "images/img1.png";
    } else {
    return "images/img3.png";
    public int getChildCount() {
    if (children == null)
    return 0;
    else
              return children.size();
    public void setNodeSelected(boolean nodeSelected) {
    this.nodeSelected = nodeSelected;
    public boolean isNodeSelected() {
    return nodeSelected;
    public void setFile(File file) {
    this.file = file;
    public File getFile() {
    return file;
    @Override
    public String toString() {
    return getDescription();
    With Regards,
    Sujay

    HI,
    When you see the output of the code, you will find 2 different trees one with proper label and another with out labels. This tree is showing the folder structor. When i am creating the tree in managed bean, the EL expression of the component added in nodeStamp is not getting evaluated. To make sure that same component is stamped as nodeStamp, i tried by setting default value in that component, and it is showing the same hard coded value.
    But the same EL expression is getting evaluated for the tree in JSPX page.
    Sujay

  • My Components are not rendering in Application

    My ocmponents are not getting rendered on screen....
    But in Design I can see the...
    SWf is not rendered:(

    More information is needed - are you saying the entire application isn't rendering when you're running in a browser?  Does the Flash player display appear at all? (Right click to see the context menu available to verify.) Is this after you deploy the application or just when you are starting the application directly from Flex Builder?  Did you alter or remove any files in your project's html-template folder?
    If you're talking about after you've deployed to a server, and you're not even getting a Flash player view in your browser (when you right click it would say 'About Adobe Flash Player'.. at the bottom of the menu), something is probably wrong with your html template.  It could also be something wrong with your build process (are you using Ant?)

  • Adf application not rendered correctly with url ip and url localhost.

    Hi all.
    I have a strange problem. When I enter to my adf application deployed in a local stand alone weblogic server with the ip:
    http://localhost:7001/Application/faces/index
    it renders fine. But when I load it with the url:
    http://10.5.14.15:7001/Application/faces/index (private ip), it doesn´t render fine. Tables haven´t the same style, and some elements appear selected like if I have selected them with the mouse.
    This problem only happens with internet explorer, not with Chrome.
    Also when I see a table inside a region in a jspx, the with of the header of the columns is not rendered correctly, causing the width of the header row not be the same than the other rows.
    This problem also happens only with internet explorer.
    Any help please?
    Internet Explorer 8. JDeveloper 11g.2. Weblogic 10.3.5.0
    Also happens with Internet Explorer.
    Maybe encoding? doctype?
    Thanks

    What would the DOCTYPE have to do with the IP address?
    Have you looked at the HTML source in the different browsers and tried to debug what's wrong? Sounds like there may be some images/css files that aren't being downloaded in IE when you use that IP address. Are you sure IE isn't configured with a proxy?
    John

  • Translation Not Rendering Characters

    So a client asked me to translate a site I made in English,
    into Czech. The font is a shared library asset that works perfectly
    in the English site. They sent over the Czech content of the site,
    and it renders great in the MS XML reader, MS Word and Dreamweaver
    (when editing the xml document). When I go to Flash to view the new
    content, a lot of the characters are either not rendering at all,
    or not rendering the dots and squiggles that should be above some
    of the characters.
    Do I need another version of the font to Embed in the
    translation version of the site?
    Here's an example of the content:
    Představa
    Abychom docílili těch nejlepších
    výsledků, je třeba začít u
    skvělého nápadu. Proto neustále hledáme
    nové materiály, struktury, vzory či provedení a
    vymýšlíme způsoby, jak docílit
    důmyslného sladění s grafikou či logem.
    Podle našeho názoru, klíčem k dobře
    provedené technice je navrhovat v souladu s ní.

    Hi Matt,
    As these are official company audit forms, I don't have access to the originals to be able to recreate them, unfortunately.
    How do I determine if the document has subset fonts? If that's the case, I might be able to go to our contact in finance & accounting and ask her to recreate them accordingly.

  • Robohelp 9 Adobe Air Browser Based Help not rendering on IIS Server 7.5

    Hello everyone,
    I'm having an issue where the output (Adobe Air browser based help) is not rendering properly on the IIS Server 7.5 that it is published to.
    I have updated the icons in the skin, and when viewed locally the site works fine. When it is published to the webserver the new icons do not show up, and the banner does not render in the new color. The site is using the unipane adobe air browser based help template.
    I've had the dev team restart the webserver twice, and for some reason the flash object simply won't update.
    Anyone else see this before?
    Thanks,
    Jerry

    Hi Jerry
    If memory serves, Browser Based AIRHelp uses Flash elements like FlashHelp does. I recall a few years ago that FlashHelp had the same issues on some servers. Further, if memory serves, the fix was to ask your web server folks to tweak the server by adjusting the MIME types so it will properly serve Flash items.
    Adobe used to have a KB article on this. Unfortunately, time seems to have caused it to evaporate. Grrrrr
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for

  • E-mail's and HTML code

    Is there a way to set up the curve and the world edition to display HTML in the e-mail's instead of displaying the raw html code?

  • Create a screen for user input in BI

    Hi Experts, I want to know can i creat a screen for user input in BI with module pool programing and i want to store the data in ztable in SAP-BI. Moderator message: please search for available documentation, these forums are no substitute for ABAP t

  • Error msg clean local gpo

    hello ppl when  trying to clean my local gpo with the command: secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose i get this error msg: An extended error has occurred. The task has completed with an error. See log %windir%\

  • Error(12,61): Parse of component type files failed,

    I got this error when i wanted to deploy CreditCardValidation Error(12,61): Parse of component type files failed, check the adf-config.xml file : "java.lang.reflect.InvocationTargetException" how i can resolve this.

  • How to change the sequence number in the test packages?

    Hello, I need to change the sequence number in the test packages. Currently I use "move test case." However you can only move one item at a time. There is another option to make this change? Best regards, Elisabete