Javascript within an iframe is not rendering

We have an iframe on a page within our Portal that does not render completely. We are attempting to render SocialText.net within an iframe and it seems that Firefox is blocking the javascript that is attempting to run on the page. The page loads successfully in Safari, Chrome and even IE, but Firefox appears to dislike something about the page.
When I open the error console and look at the error I see one: Error: Permission denied to access property 'st'
Source File: https://map-socialtext.net/js/5.0.5.13/socialtext-starfish.jgz
Line: 23
I've ensured that the domain is correct for the iframe: https://map.socialtext.net, so this should not be a xss issue.
The page loads successfully for the most part, but the dashboard page of SocialText attempts to run several widgets, that are run with javascript. As I said, other browsers are loading this page successfully without issue. It is only Firefox that is exhibiting this behavior. I've cleared the cache, cleared all cookies, cleared offline storage, tried private browsing and nothing appears to resolve the issue. I've also restarted Firefox in Safe-mode, to disable all plugins and still no help.
Any help would greatly be appreciated.

''If I click on the error I get a window that opens displaying the javascript''
It's hard to tell where the error is when they remove all the line breaks. If "Line 23" isn't highlighted when it opens, it's very had to know which statement is causing the error. Even then, it might be impossible to figure out without actually logging in to the system.
''their stance is something along the lines of: It works in other browsers and it works in Firefox without an iframe''
If SocialText doesn't support use in an frame, I agree it will be hard to get them to solve the problem. Perhaps another customer has a workaround? You could try the SocialDev list or the general mailing list [http://lists.socialtext.net/listinfo/socialtext-user socialtext-user].

Similar Messages

  • Javascript generated validation error message not rendering properly.

    Hi guys. I am a web developer looking for some help with a Safari issue.
    I have a web form with client side validation. The page is built in asp.net and uses a validation summary to display the error messages in an unordered list. The validation is not the standard asp.net version, but a version they came up with at the company I work at.
    The validation produces some javascript in the page, which appears just before the closing </form> tag, which I understand can cause issues in Safari? However I cannot change the place it appears on the page because its part of a sort of CMS template.
    The validation text appears fine in other browsers, but in Safari it produces a white space. However if you highlight over the space, the text is revealed, and then stays on the page. Also if you scroll the page so that the space disappears off the top of the page, and then scroll back up again, the text is visible. Also if you click the submit button again the text is revealed.
    I have also found that if you use Safari in the Transparent Window mode, it all works fine.
    If anybody out there has any ideas what could be causeing the problem, I would be extremely grateful.
    Mac Mini Mac OS X (10.4.9) Safari 2.0.4

    Hi,
    no, there doesn't exist a client side JavaScript API for this. The message element is only rendered if there is a component error detected in the lifecycle. This means there is nothing you can hook into (e.g. using document.getElementById())
    Frank

  • Intrapage anchor tags not working within an iFrame

    Intrapage anchor tags are no longer within an iFrame in Firefox 4.0. It works on all the other major browsers. Is there a workaround for this bug?

    See:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=638598 Bug 638598] - Iframe parent window page does not scroll to # anchor by user interaction
    ''(please do not comment in bug reports; you can vote instead)''

  • The drop-down menu is not rendered properly with iframe where a pdf is embedded

    I want to embed a pdf in a webpage, where the drop-down menu needs to be displayed on the top of the pdf. I am using iframe to embed the pdf.
    The drop-down menu is not properly rendered (border-radius and box-shadow) in Firefox at http://mysite1.webege.com/test.html.

    *[https://bugzilla.mozilla.org/show_bug.cgi?id=779435 bug 779435] - the drop-down menu is not rendered properly with iframe where a pdf is embedded
    It is usually best to attach a minimal test case to the bug report.<br />
    In that case the code doesn't get lost if the page is removed from the server.

  • KM, HTML file, Not rendering correctly

    Hi Everyone
    I have an html file that is stored in knowledge management.  The html file references few folders/images that are also stored in KM. When I create a KM Document iView, the HTML file shows; however, the various images/style sheet that is stored along with the html file KM do not appear.  Thus the html file is not rendering properly. 
    With this being said, I can create an URL iview and everything works as it should (the html file appears correctly with the necessary images).  The problem is that I am developing a solution for an external and internal facing portal, thus the URL iView option is not going to work for me.  I need to have a way for this KM html iView to display properly...perhaps with the KM Document iView template.
    Has anyone encountered an issue such as this and can offer assistance.  Again, the KM Document iView template will work, if the html file it is calling in KM can correctly reference other folders in KM that contain various images/style sheets that are a part of the html file.
    Any help is greatly appreciated.
    Best Regards,
    Scott

    Hi Scott.
    In order to solve your problem with relative links to image and css files inside KM I suggest two variants:
    1. Replace relative links as I mentioned in this message Re: JavaScript and CSS info in WPC.
    2.The second solution is:
    a. Create an blank html file inside KM folder where the base.html file is stored.
    b. Download the newly created file for local editing.
    c. Place an iframe that points to your base html file between <BODY></BODY> tags. Use a following code as an example:
    <iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="base.html"></iframe>
    d. Upload this file back to KM.
    e. Point your KM Document  iView to the created html file.
    Best regards,
    Aliaksandr Zhukau
    Edited by: Aliaksandr Zhukau on Dec 3, 2009 11:04 AM

  • JSF Pages are not rendering correctly when  loaded using Non JSF actions

    Hi All,
    This problem is irritating me and I am posting the same query for the third time here.
    When I come from non jsf actions such as page submitting using Javascript, clicking anchor link, clicking normal Html submit button and so on my page is not rendering correctlly .
    In other words, My first GET method/Post method works perfectly for the first time when the page is loaded.
    But when we try to access the page for the second time, although logical work is perfect in bean, I am getting same old page.
    How to resolve this issue?
    or
    Is this Bug of Sun's Implementation of JSF Framework.
    Thanks,
    Sudhakar

    Hi Sudhakar,
    There is a discussion about refreshing a page, Take a look at the below thread
    http://swforum.sun.com/jive/thread.jspa?threadID=55660
    Hope this what you are looking for
    MJ

  • Open PDF from database in a browser and run Javascript within PDF

    What we're trying to accomplish is to query a PDF in the database and open the PDF in the browse. Once opened if a user click on a link to open another PDF, it launchs a URL to Coldfusion, that queries the database and opens the PDF link. This all works but we also want to have the open PDF goto a section or bookmark within the PDF. We currently have JavaScripts within the PDF links that do that but only if the PDF is in the file system. We're using the app.openDoc to get a reference to the opened PDF. But when opening the PDF from the database we pass the control to Coldfusion using app.launchURL or app.getURL. These do not pass back a reference to the opened PDF and the JavaScripts fails.
    I'm looking for different methods or ideas.
    Is there another way to do this, I'm new to acrobat JavaScripting?
    Thanks, Rob

    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app . the exhibition booth systems one would work i think
    Appreciate if someone could help

  • Adobe Form in HRFORMS: Value of Textfield on Masterpage is not rendered!

    Hi all,
    I design a new form using HRFORMS. When I put a simple textfield on a master page and give the textfield a default value and render my form using transaction PC00_M01_CALC_SIMU, the value of the textfield is NOT rendered.
    I am using Adobe LiveCycle Designer 8.0 within SAP and the Adobe Acrobat 7.0.9 for rendering PDF documents.
    The ADS Server Version is: 800.20070708051308.406522
    The funny thing is, if you do the same things in Adobe Designer (stand-alone) it works perfectly as it should.
    Is this a known bug?
    Thanks.
    Maik

    I have figured out myself.
    It is a bug in SAP and has also been reported as a bug to SAP.
    It works fine with all Adobe Designer stand-alone versions as well as Adobe LiveCycle Forms Server 7 and 8.
    As a workaround in SAP you should use STATIC TEXT with "FLOATING FIELDS" instead of TEXT FIELDS.

  • Value of Textfield on Masterpage is not rendered!

    Hi all,
    I design a new form using HRFORMS. When I put a simple textfield on a master page and give the textfield a default value and render my form using transaction PC00_M01_CALC_SIMU, the value of the textfield is NOT rendered.
    I am using Adobe LiveCycle Designer 8.0 within SAP and the Adobe Acrobat 7.0.9 for rendering PDF documents.
    The ADS Server Version is: 800.20070708051308.406522
    The funny thing is, if you do the same things in Adobe Designer (stand-alone) it works perfectly as it should.
    Is this a known bug?
    Thanks.
    Maik

    I have figured out myself.
    It is a bug in SAP and has also been reported as a bug to SAP.
    It works fine with all Adobe Designer stand-alone versions as well as Adobe LiveCycle Forms Server 7 and 8.
    As a workaround in SAP you should use STATIC TEXT with "FLOATING FIELDS" instead of TEXT FIELDS.

  • 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

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

  • RequestCenter emails not rendering correctly in Outlook 2007

    RequestCenter emails not rendering correctly in Outlook 2007
    I'm having an problem where the RequestCenter automated emails are losing most of their HTML formatting when viewed in Outlook 2007.  When I look at the same email in Outlook 2003, the HTML formatting is fine.  Here's a picture of the same email displayed in Outlook 2003 and 2007:
    When I view the source HTML of the email, I noticed that there are duplicate HTML, HEAD, and BODY tags that have been automatically added by RequestCenter.  Apparently these extra tags are ignored by Outlook 2003, but cause problems with Outlook 2007.
    This picture shows the HTML source in RequestCenter's HTML editor compared to the HTML source from within Outlook with the extra tags.
    I tried removing the HTML, HEAD, and BODY tags in the HTML editor, but the editor puts the tags back in when you save it.
    Does anyone know how to fix this?
    Thanks,
    Scott

    We've actually had the same problem and had opened a ticket with customer care - it's the editor that's in the version we have (or had, since we are going through the upgrade).  What we've had to do is embed xml tags in the body of the email too, and then the team that processes the email has a little application that will process the data in the tags and strip the HTML that the editor applies.  Not much help, I know. 
    I've heard a rumor that the issue is fixed in 2007 with the new text editor - I'

  • List items not rendering on page

    I have code that I'm querying a list and I am trying to get them into an accordion. I'm able to see the items when I do an alert to validate its connecting, however, the accordion and data items are not rendering. Am I missing something?
    <script type="text/javascript" language="javascript">
    $(document).ready(GetAllItems());
    function GetAllItems() {
    $().SPServices({
    operation: "GetListItems",
    async: false,
    listName: "Discussions",
    CAMLViewFields: "<ViewFields><FieldRef Name='Title' /></ViewFields>",
    completefunc: function (xData, Status) {
    $(xData.responseXML).SPFilterNode("z:row").each(function() {
    var liHtml = "<div class='Accordion'><div class='MenuTab'>" + $(this).attr("ows_Title") + "</div></div>";
    // var liHtml = "<li>" + $(this).attr("ows_Title") + "</li>";
    $("#Discussions").html(liHtml);
    alert(liHtml);
    </script>
    <div id="Discussions"></div>

    Hi,
    you have to append each new element instead of assign it to the "Discussions" div, try somethis like that:
    $("#Discussions").append(liHtml);
    Regards.
    If a post answers your question, please click Mark As Answer on that post and
    Vote as Helpful

  • ADF FACES: af:table not rendering all columns

    I'm using ADF EA 17 with myFaces 1.0.9 on JBoss 4.0.1/JVM 1.4.2_07-b05. The af:table is embedded within an af:panelgroup (being body of af:panelbox).
    The af:table is not rendering all columns (only last 2 out of 8 cols total). The model behind the af:table is a java.util.List. Debugging shows that the list is filled up with beans correctly and that each of the properties of such a bean corresponding to a table column are also set correctly.
    Strange thing is that sometimes all columns are rendered ok. Especially if i make heavy changes on the jsp (e.g. removing all but 2 cols from the af:table) and dropping it into the .../jboss/server/../tmp/deploy/tmpXYZ-exp.war directory. Restarting JBoss results in the old behaviour. Also closing browser and re-opening it yields to the missing columns again.
    I've set breakpoints on the bean properties representing on table column and i can see, that the getter methods aren't called (all but those 2 that get rendered finally)
    Table has multiselection enabled with 1 command button.
    This happens with both IE 6 and Firefox 1.0.4; no oracle, myFaces exceptions visible on console or any log file.
    Has anybody made same experiences so far or an idea what the problem really is ?
    best regards,
    Christoph.

    I've tried it also with a plain af:table without any surrounding af:panelgroup or/and af:panelbox. Same result.
    The bean holding the table-model (the java.util.List) is in session-scope. the table-model is update by an actionListener fetching values from an EJB. Could the session-scope be a problem ?
    Potential candidates from my point of view, that might cause trouble here:
    --) Caching (i've seen that sort of "CachedRenderers" are used
    --) partial page rendering
    --) multi-threading issue.
    --) or any silly mistake of mine :-)
    best regards,
    Christoph

  • 3rd Party Search Engine Integration - some property not rendering

    Hi,
    I have tried to integrate a 3rd Party Search Engine into TREX following the published example.
    I have successfully integrated and search results from the 3rd party engine are showing up.
    However, some properties like cm_description, cm_contentlength, cm_modifedby are not rendering; their value are null; the search layout are specified correctly.
    I only managed to set
    1) cm_displayname
    2) cm_contenttype
    3) cm_id
    and are showing up.
    The setting of the rest of the properties are done in the same way and put into the propertymap.
    Any idea why are the not rendering?? Any help appreciated. Thanks!

    Hello Thilo,
    I tried to deploy the original package com.customer.search.par, but unfortunately I got also an error with this package.
    The disadvantage is, that I don't get an error message during start-up in one of the logger - for cause analysis.
    I got the following error message within KM:
    java.lang.NullPointerException
         at com.sapportals.wcm.repository.runtime.CmSystem.getResourceImpl (CmSystem.java:774)
         at com.sapportals.wcm.repository.runtime.CmSystem.getResource (CmSystem.java:325)
         at com.sapportals.wcm.repository.runtime.CmAdapter.getResource (CmAdapter.java:81)
         at com.sapportals.wcm.portal.service.KMServiceImpl.afterInit (KMServiceImpl.java:260)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__initServiceInstanceStep2(PortalServiceItem.java:736)
    What can I do at this point?
    Best regards,
    Walter

Maybe you are looking for

  • Not reading sd card

    I am trying to read an sd card thru the camera kit. I am not getting anything, tried turning off and back on, tried different cards and nothing. I can play on my home computer but cant even get to find. Any ideas?

  • IE 8 will not display a PDF xp sp3

    Adobe reader worked fine till I was forced to reinstall IE8 on my xp sp3 machine. Now it will not open a pdf on the web, however Fire Fox using the same adobe reader has no problems on the same website. Tried all the "manage add on ideas, nothing. ge

  • I want to display one field in first page only

    Hi All I have a tipical question. I am working on invoice report in which i need to display one field which should display in the first page only. For a second invoice that field should not get displayed. In the first page only it should get display.

  • Powershell 1.0 xmlnamespacemanager - constructor not found

    Attempting to help a client who for various business requirements is stuck on Windows XP Powershell 1.0. When attempting to parse XML files, with one or more embedded namespaces, I am running into the following error when using this script example; $

  • Verizon Doesn't Care About Their Customers!

    I have been waiting for7 hours for  Verizon service to show up for installation of my internet service.  When I tried to verify if indeed they were coming, I spent an hour on the phone with their so called Custoner Service Department.  I finally foun