How to refresh canvas on every page load?

Hi,
I have a <canvas> added for electronic signature. Electronic Signature using SAPUI5?
As there is no UI5 control I am adding the canvas from controller to xml view having  <core:HTML id="signature" width="100%" />
When the page is loaded for the first time it works  fine but on successive load of the page, canvas is not being refreshed with different signature. I am getting data from backend as OData but I cant bind the property so that on model change canvas would refresh.
How to fix the issue of canvas refresh on every page load?

Hi Dennis,
There is a slight error in your code: the last Undo button is missing a closing } for the press function, and the 'enabled' property contains a rogue comma, but other than that, kudo's for your work here!
Rashmi, it seems like Dennis Seah has created the perfect case on why you should consider writing your own custom control instead of using the standard <canvas> element

Similar Messages

  • WLS 9.2.2: JSP recompile for every page load with JAR'ed tag files

    I have a small custom tag library of three tag files. With the server running in development mode and the tag files in a JAR (included in WEB-INF/lib), the server appears to be doing a JSP recompile on every page load. However, it only compiles on the first page load if the tag files are included in WEB-INF/tags (no JAR). Also, running the server in production mode with the JAR'ed tag files avoids the recompile for every page load.
              Is that how the server should behave?
              For whatever it's worth, I'm also using Eclipse 3.3.2 with WTP and WebLogic Server Tools 1.1.2. The server is running the Sun JVM (1.5_10).

    Vikram,
              I went back and created a simple example to test. Below I'm posting the Java source code generated from the two relevant files: index.jsp, and hello.tag.
              __index.java:
              package jsp_servlet;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __index extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public boolean _isStale(){
              boolean stale = staticIsStale((weblogic.servlet.jsp.StaleChecker) getServletConfig().getServletContext());
              return _stale;
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/index.jsp", 1207926672370L ,"9.2.2.0","America/Denver")) return true;
              if (sci.isResourceStale("/null", 1207926783245L ,"9.2.2.0","America/Denver")) return true;
              return false;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="<!--\n * $Id$\n-->\n \n<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \n\t\t\"http://www.w3.org/TR/html4/loose.dtd\">\n \n";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              private final static String wlblock1 =" \n \n\t";
              private final static byte[] wlblock1Bytes = getBytes( wl_block1 );
              private final static String wlblock2 ="\n";
              private final static byte[] wlblock2Bytes = getBytes( wl_block2 );
              private final static String wlblock3 ="\n\n<html>\n<head>\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n\n\t<title>Tag File Test</title>\n</head>\n<body> \n\t";
              private final static byte[] wlblock3Bytes = getBytes( wl_block3 );
              private final static String wlblock4 ="\n</body>\n</html>";
              private final static byte[] wlblock4Bytes = getBytes( wl_block4 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException, java.io.IOException {
              javax.servlet.ServletConfig config = getServletConfig();
              javax.servlet.ServletContext application = config.getServletContext();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              Object page = this;
              javax.servlet.jsp.JspWriter out;
              javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true , 8192 , true );
              response.setHeader("Content-Type", "text/html; charset=ISO-8859-1");
              out = pageContext.getOut();
              javax.servlet.jsp.JspWriter _originalOut = out;
              javax.servlet.http.HttpSession session = request.getSession( true );
              try {;
              response.setContentType("text/html; charset=ISO-8859-1");
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              {_writeText(response, out, _wl_block1, _wl_block1Bytes);}
              {_writeText(response, out, _wl_block2, _wl_block2Bytes);}
              {_writeText(response, out, _wl_block3, _wl_block3Bytes);}
              jsp_servlet._tags.__hello_tag __tag0 = null ;
              int __result__tag0 = 0 ;
              if (__tag0== null )__tag0 = new jsp_servlet._tags.__hello_tag ();
              __tag0.setJspContext(pageContext);
              __tag0.setParent(null);
              activeTag=_tag0;
              __tag0.doTag();
              {_writeText(response, out, _wl_block4, _wl_block4Bytes);}
              } catch (Throwable __ee){
              if(!(__ee instanceof javax.servlet.jsp.SkipPageException)) {
              while ((out != null) && (out != _originalOut)) out = pageContext.popBody();
              releaseTags(activeTag);
              pageContext.handlePageException(__ee);
              __hello_tag.java:
              package jsp_servlet . _tags ;
              import java.io.*;
              import java.util.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              import javax.servlet.jsp.*;
              import javax.servlet.jsp.tagext.*;
              public final class __hello_tag extends javax.servlet.jsp.tagext.SimpleTagSupport {
              private static void _releaseTags(javax.servlet.jsp.tagext.JspTag t) {
              while (t != null) {
              if(t instanceof javax.servlet.jsp.tagext.Tag) {
              javax.servlet.jsp.tagext.Tag tmp = (javax.servlet.jsp.tagext.Tag)t;
              t = ((javax.servlet.jsp.tagext.Tag) t).getParent();
              try {
              tmp.release();
              } catch(Exception ignore) {}
              else {
              t = ((javax.servlet.jsp.tagext.SimpleTag)t).getParent();
              public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {
              if (sci.isResourceStale("/META-INF/tags/hello.tag", 1207926783175L ,"9.2.2.0","America/Denver")) return true;
              return false;
              protected static final String tagxTagInfo = "-84,-19,0,5,116,0,5,104,101,108,108,111,116,0,29,106,115,112,95,115,101,114,118,108,101,116,46,95,116,97,103,115,46,95,95,104,101,108,108,111,95,116,97,103,116,0,5,101,109,112,116,121,112,112,112,112,119,5,0,0,0,0,3,116,0,10,106,115,112,67,111,110,116,101,120,116,119,1,0,116,0,28,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,74,115,112,67,111,110,116,101,120,116,113,0,126,0,4,119,1,1,112,119,2,1,0,112,112,116,0,7,106,115,112,66,111,100,121,119,1,0,116,0,36,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,70,114,97,103,109,101,110,116,113,0,126,0,6,119,1,1,112,119,2,1,0,112,112,116,0,6,112,97,114,101,110,116,119,1,0,116,0,31,106,97,118,97,120,46,115,101,114,118,108,101,116,46,106,115,112,46,116,97,103,101,120,116,46,74,115,112,84,97,103,113,0,126,0,8,119,1,1,112,119,2,1,0,112,112,119,4,0,0,0,0,112,112,";
              protected JspContext jspContext ;
              public void setJspContext ( JspContext ctx ){
              super . setJspContext ( ctx );
              java.util.List nested = null ;
              java.util.List atBegin = null ;
              java.util.List atEnd = null ;
              this.jspContext = new javelin.jsp.JspContextWrapper(ctx, nested, atBegin, atEnd, null);
              }public JspContext getJspContext() {
              return this.jspContext;
              private java.io.Writer jspxsout;
              private javax.servlet.jsp.tagext.JspTag _activeTag;
              private static void _writeText(javax.servlet.ServletResponse rsp, javax.servlet.jsp.JspWriter out, String block, byte[] blockBytes)
              throws java.io.IOException {
              if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)){
              out.print(block);
              } else {
              ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);
              private static boolean _hasEncodingChanged(javax.servlet.ServletResponse rsp){
              String encoding = rsp.getCharacterEncoding();
              if ( "ISO-8859-1".equals(encoding) || "Cp1252".equals(encoding) || "ISO8859_1".equals(encoding) || "ASCII".equals(encoding) ){
              return false;
              if (_WL_ORIGINAL_ENCODING.equals(encoding)) {
              return false;
              return true;
              private static boolean WLENCODED_BYTES_OK = true;
              private static final String WLORIGINAL_ENCODING = "ISO-8859-1";
              private static byte[] _getBytes(String block){
              try {
              return block.getBytes(_WL_ORIGINAL_ENCODING);
              } catch (java.io.UnsupportedEncodingException u){
              WLENCODED_BYTES_OK = false;
              return null;
              private final static String wlblock0 ="\n<center><h1>Hello World</h1></center>";
              private final static byte[] wlblock0Bytes = getBytes( wl_block0 );
              static private javelin.jsp.JspFunctionMapper jspxfnmap = javelin.jsp.JspFunctionMapper.getInstance();
              public void doTag() throws JspException, java.io.IOException {
              javax.servlet.jsp.PageContext pageContext = (javax.servlet.jsp.PageContext) getJspContext();
              javax.servlet.http.HttpServletRequest request = (javax.servlet.http.HttpServletRequest) pageContext.getRequest ();
              javax.servlet.http.HttpServletResponse response = (javax.servlet.http.HttpServletResponse) pageContext.getResponse();
              javax.servlet.http.HttpSession session = pageContext.getSession();
              javax.servlet.ServletContext application = pageContext.getServletContext();
              javax.servlet.ServletConfig config = pageContext.getServletConfig();
              javax.servlet.jsp.JspWriter out = jspContext.getOut();
              javax.servlet.jsp.tagext.JspTag _activeTag = null;
              try {
              {_writeText(response, out, _wl_block0, _wl_block0Bytes);}
              } catch ( Throwable t ){
              if( t instanceof javax.servlet.jsp.SkipPageException )
              {throw (javax.servlet.jsp.SkipPageException)t;}
              if( t instanceof java.io.IOException )
              {throw (java.io.IOException)t;}
              if( t instanceof IllegalStateException )
              {throw (IllegalStateException)t;}
              if( t instanceof javax.servlet.jsp.JspException )
              {throw (javax.servlet.jsp.JspException)t;}
              throw new javax.servlet.jsp.JspException(t);
              finally {
              ((javelin.jsp.JspContextWrapper)jspContext).syncEndTagFile();
              Edited by Stephen Davison at 04/11/2008 9:02 AM

  • Application cache reinitiates download on every page load (even if manifest file is unchanged)

    in safari & chrome my application cache initiates a new download only when the manifest file has been update (as expected). In FF5.0 it initiates the download on EVERY page load.
    When I view the data @ ''about:cache > Offline cache device > List Cache Entries'' I notice all of the pages listed are "0 bytes" in size, while the CSS/JS/images are given correct size data...
    Is this a bug or has anyone dealt with this issue before?

    Anybody? This is a bit of a blocker for me :(

  • How to execute a method after page Load?

    My question is very similar to what was discussed in following thread:
    How to execute a method after page Load?
    My requirement is that I want to run a method in backing bean of a page, immediately after the page gets loaded. In that method I want to invoke one of the method action included in the pagedef of this page, conditionally.
    I tried using the approach given in the above thread, i.e to use <f:view afterPhase="#{backing_security.setPermPriv}">, but the problem is that our page is not using 'f:view' , so I explicitly added one f:view with afterPhase property set , but it is not working, page it self is not getting loaded, it is throwing the error:
    Root cause of ServletException.
    java.lang.IllegalStateException: <f:view> was not present on this page; tag [email protected]e8encountered without an <f:view> being processed.
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.setProperties(UIXComponentELTag.java:108)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:733)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1354)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:71)
         at oracle.adfinternal.view.faces.taglib.UIXQueryTag.doStartTag(UIXQueryTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.UnifiedQueryTag.doStartTag(UnifiedQueryTag.java:51)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:262)
         at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
         at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
         at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:387)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:822)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:746)
    Please help to resolve this issue, or am I doing anything wrong?

    Hi,
    I assume that your view is a page fragment and here - indeed - the f:view tag cannot be used. If you use ADF then one option would be to use a custom RegionController on the binding layer to listen for the render phase to invoke the method. Another option would be to use a hidden field (output text set to display="false" and have this component value referencing a managed bean property. The managed bean property's getter method can now be used to invoke the method you want to run upon view rendering
    Frank

  • How to call java method on page load?

    How to call java method on page load?
    Thanks

    Hey Dan,
    Well, if you want to execute a java method when page is load, you need to put the clientlistener in af:document. Let me to show you an example (I can't find my post :P),
    JSPX page:
    <f:view>
    <af:document>
    <f:verbatim>
    <script>
        function loadPage(event) {
            alert('Hello World!');
    </script>
    </f:verbatim>
    <af:clientListener method="loadPage" type="load"/>
    </af:document>
    </f:view>If you try this code you can see that when the page has been load, you recieve the alert "Hello World!".
    Furthermore, this is the javascript AJAX function that let you to call a servlet:
    function ajaxFunction () {
        var httpRequest;
        if (window.XMLHttpRequest) {
            httpRequest = new XMLHttpRequest();
        } else if (window.ActiveXObject) {
            httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
            httpRequest.overrideMimeType('text/xml');
        httpRequest.onreadystatechange = function() { alertContents(httpRequest); };
        httpRequest.open('GET', '/appname/servletname', false);
        httpRequest.send('');
    function alertContents(httpRequest) {
        if (httpRequest.readyState == 4) {
            if (!httpRequest.status == 200) {
                alert('Request error. Http code: ' + httpRequest.status);
    }Where 'appname' is your application name and 'servletname' is the name of the servlet that you want to call. Obviously, you can call any URL ;)
    JVN

  • Browsers Infected and Every Page Loads With Ad Banner

    Evidently something I installed on my computer has impacted my browsers with some malware or virus.  Every page that I now load in any of my browsers (Safari, Firefox, and Chrome) comes with a small white strip across thr top of the page with this ad:  "Make Money At Home http://www.PossibilityNow.com Join Now For The Best Money Making Opportunity For 2014. Go Now."  There is an x to click on to get rid of the box, but I am trying to figure out how to get rid of this.  I installed a few pieces of software yesterday trying to be able to download flash video from Safari and one of them did this to me.  The problem is that I'm not sure which programs I installed as I was playing around with a few to try and find one that worked!  Is there a way to find this specific software that is doing this to my browsers?  Thanks.

    There's likely something similar for Chrome and Firefox, but I suggest checking exactly what you installed, in case something else that's more hidden was also placed on your computer.

  • How to display subtotals in every page and the grand total in the last page

    Hello Abapers,
                         I am working with Smartforms. I am not able to print the subtotal in every page ie the Price for that particular page alone should be summed and in the final page I want the grand total also to be displayed. I tried the Total option in the Calculations tab but the value is just getting incremented on every page..How can I achieve this..
    With Regards,
    Bennet.

    Hi,
    Declare two different variables for subtotal and total
    Use them in the calculation tab of the table node.
    After displaying the subtotal create a program lines node to clear the value of the subtotal. And dont forget to mention the condition in the condition tab of the text node of your subtotal as only before end of main window.
    display the grand total in the text another text node with condition... only after end of main window.
    regards
    padma

  • How to access the URL on page load and open it in the new tab of browser

    Hi All,
    I am using Jdeveloper 11.1.1.5 and i have one page "Hello.jspx" and one data control consist of two attributes :-one is "id" and other is "url".
    The datacontrol has been created from the WebService.
    Now my requirement is : -
    whenever i run the page "Hello.jspx" , then on page load the url attribute should get accessed and should be opened in a new window or tab of the browser.As the url contains the information about the document.
    Hello.jspx page doesn't contain any bindings of the url attribute.
    I had thought of using the PhaseListener class and use the onPageLoad method .But how do i get the url from the dataControl and open it in the other tab of the browser on page load.
    Please suggest!!!!
    Thanks.

    Hi,
    I don't think this can be done this way. I would think that you need to execute JavaScript upon Hello.jspx load to open a new window and pass the URL to it
    Frank

  • How to call a action on page load in jsf

    Hi all,
    i am having a JSF page where i want to display the records from the datatable. I have a method in bean which call database and gets the list of records. If i call this method from a link (action on this link) present on this page i can display the records on this page.
    But i want to display these records at the time of page load only. How we can do this? How to call a action at the time of page load?
    Thanks in adv.

    If i am calling the database class and get the list in constructor only i am able to display list in the datatable on page load. This works fine. But the requirment is that if there are no records in the list display a error page with message-No records found! . But how i can navigate from the constructor to error page?
    Like-
    class MyBeam{
    MyBean{
    private List requestVOList = null;
    MyDao dao = new MyDao() //for fetching list from DB
    List records = dao.getList()  //get list from dao class
    if(records==null)
        //Navigate to error page. How to do this navigation here?
    else
        requestVOList  = records;
    //setter/getters for requestVOList 
    }

  • How To Pupulate A Combobox on Page Load in JSP

    Hi All,
    How to populate a combobox on a JSP Page load.
    Please help.
    Regards,
    Dinesh

    Thanks,
    My current coding in jsp is :
    To get the ArrayList from my DAOImpl class.
    <%
    newAppDAOImpl dao = new newAppDAOImpl();
    dao.populateCombo(request);
    ArrayList filetypes = (ArrayList)request.getAttribute("FILETYPES");
    if(filetypes==null)
    filetypes=new ArrayList();
    pageContext.setAttribute("vecFileType" ,filetypes) ;
    %>
    For populating the combo:
    <html:select property="retailer" onclick="/search">
    <html:option value="----Select----"/>
    <html:options collection="vecFileType" property="value"
    labelProperty="label"/>
    </html:select>
    The above code is working for me.
    Regards,
    Dinesh

  • Why do I have to keep "Stopping + Refreashing" every page load?

    Lately it seems every time I go to a new page I Safari stops for about 20 or 30 secs before it loads unless I hit stop and then refreash.
    Any ideas Please?
    Thanks tons
    T

    Thanks Tom.
    Here's suggestions for both Airport Express and your Network settings:
    Airport Express:
    Your Intel machine has an Airport Extreme card. Not sure about your G4 machines. To determine if they do, click on the Apple Menu for each machine (Apple Logo in the upper left of your screen) and select "about this Mac". Select "more info". When the Apple Profiler opens, select Airport Card on the left. If the description says "Airport Extreme", the following suggestion applies.
    For each machine -first, open AirPort Admin Utility.app in your Utilities folder.
    Double click your Airport Unit (if it doesn't appear in the list, select "rescan"). Once the panel opens, select the "Airport panel". Down the bottom, in the 'mode' drop down menu, change the setting to 802.11g only. If you do not have an Airport Extreme card, change the setting to 802.11b only.
    Also, click on the Internet panel. Mine looks like this:
    In the Airport panel, click on base station options:
    My panel looks like this:
    Make changes as necessary.
    When you are complete, select "update". Your Airport unit will reset. Wait for the green light to appear.
    If still having a problem with your internet connection on any of the machines, these two suggestions from MacFixit may help:
    Disable Remote configuration - If you are experiencing inordinately slow transfer speeds through your AirPort Base station though a strong signal exists, you may want to try this workaround which involves disabling remote configuration on AirPort Base Stations upgraded with the firmware included in the AirPort 4.2 updater package -- resulting in the removal of a potential speed bottleneck introduced with the new firmware.
    This workaround is accomplished via the following process:
    Open the AirPort Admin Utility (located in Applications/Utilities)
    Select the desired Base Station from the availability list
    Go to the "Base Station Options" tab
    Click on "WAN Ethernet Port"
    Uncheck the box next to "Enable Remote Configuration."
    Save your AirPort Base Station settings
    Sometimes, a simple hard reset can help: Hard Resets of Airport Express
    Network connection suggestions:
    Network Panel - these suggestions seems to help:
    Go to the System Preferences>Network panel
    - Location - set up a personal location by clicking on the drop down menu and selecting "add a location". Use a name familiar to you. Once established, select "apply".
    - Next, click on the "Show" drop down menu and select Network Port Configurations. Only Airport ought to be checked, unless you are using a Bluetooth device. Move Airport to the top of the list (you can drag it). Select "apply".
    - Back to the "Show" menu, select "Airport". Click on the TCP panel. There, enter 208.67.222.222 and
    208.67.220.220 (separate lines) in the DNS servers box and select "apply". Note: If you use Verizon, best code to use is 4.2.2.2. Also, some other Internet Providers have their own specific codes, such as Comcast. If in doubt, check with your Internet Provider.
    Creating a personal location, plus adding the DNS codes seems to speed things up. Otherwise, the "automatic" function has a tendency to "search" for available locations creating lag.
    Lastly, in the Finder for each machine, go to your Utilities folder and select "Terminal". Once the screen is open enter lookupd -flushcache (copy/paste this) and press return. This clears out the DNS cache. Once done, quit Terminal.
    Post back and let me know how this worked out.
    iMac G5 Rev C 20" 2.5gb RAM 250 gb HD/iBook G4 1.33 ghz 1.5gb RAM 40 gb HD   Mac OS X (10.4.8)   LaCie 160gb d2 HD Canon i960 printer, Airport Express (2 units)

  • Firefox freezes/script errors with every page load

    Have had this issue for about a week now where every single page I load freezes for 20-30 seconds and comes back with a script error of some kind asking me to either stop it or continue on. Appears to be Java related but have tried everything to clear the errors (cleared Java cache, Reset Firefox, ran TFC) and they are still coming up.
    Both Chrome and IE work fine loading the same pages.
    Troubleshooting info from FF below if it helps
    Thanks,
    Application Basics
    Name: Firefox
    Version: 31.0
    User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
    Crash Reports for the Last 3 Days
    All Crash Reports (including 3 pending crashes in the given time range)
    Extensions
    Graphics
    Adapter Description: NVIDIA GeForce GT 240
    Adapter Drivers: nvd3dumx,nvwgf2umx,nvwgf2umx nvd3dum,nvwgf2um,nvwgf2um
    Adapter RAM: 512
    Device ID: 0x0ca3
    Direct2D Enabled: true
    DirectWrite Enabled: true (6.2.9200.16571)
    Driver Date: 1-18-2013
    Driver Version: 9.18.13.1106
    GPU #2 Active: false
    GPU Accelerated Windows: 1/1 Direct3D 10
    Vendor ID: 0x10de
    WebGL Renderer: Google Inc. -- ANGLE (NVIDIA GeForce GT 240 Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote: false
    AzureCanvasBackend: direct2d
    AzureContentBackend: direct2d
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    Important Modified Preferences
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.cache.frecency_experiment: 1
    browser.places.smartBookmarksVersion: 7
    browser.sessionstore.upgradeBackup.latestBuildID: 20140716183446
    browser.startup.homepage_override.buildID: 20140716183446
    browser.startup.homepage_override.mstone: 31.0
    dom.mozApps.used: true
    extensions.lastAppVersion: 31.0
    gfx.direct3d.last_used_feature_level_idx: 0
    network.cookie.prefsMigrated: true
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    privacy.sanitize.migrateFx3Prefs: true
    JavaScript
    Incremental GC: true
    Accessibility
    Activated: false
    Prevent Accessibility: 0
    Library Versions
    NSPR
    Expected minimum version: 4.10.6
    Version in use: 4.10.6
    NSS
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSSMIME
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSSSL
    Expected minimum version: 3.16.2 Basic ECC
    Version in use: 3.16.2 Basic ECC
    NSSUTIL
    Expected minimum version: 3.16.2
    Version in use: 3.16.2
    Experimental Features
    ---------------------

    Hi,
    I am sorry to hear about Firefox not responding on many websites. Please try to change the max time a script can load with these noted config preferences: [https://support.mozilla.org/en-US/kb/warning-unresponsive-script] The default preference may be hitting the limit?
    If it is java related, have you reinstalled Java or checked if it was up to date? [https://www.mozilla.org/en-US/plugincheck/]

  • How to print headings in every page of smartforms.

    Friends,
    we have a requirement to print hedaings in multiple pages.
    like if we have  100 line items those will accomidate more tahn one page , i need to print headings in each page.
    pls help me.
    Regards
    Jagadeeshwar.B

    hi ,
    can u check this...
    how to use new page in smartforms
    If you are calling window to display header, then just un check the output option->display on first page only.
    regards,
    venkat.

  • How to refresh captcha without full page refresh

    Hi,
    I am using simple captcha implementation using the following link.
    [http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html|http://www.oracle.com/technetwork/developer-tools/jdev/captcha-099103.html]
    Captcha image refreshes page reload but if i set partialSubmit=true It does not changes the image of the servlet . What is the way to refresh image .
               <af:image  id="iCaptcha"     
                                            source="/captchaservlet"
                                            inlineStyle="width:122px; height:49.0px;"
                                            partialTriggers="cil2"
                                            binding="#{AfProMSDSSearchAction.captchaImage}"/>When I reset the image source by reseting it by javascript it does not refreshes .
      <af:resource type="javascript">
              function loadCaptchaImage() {          
                var captchaURL = "/captchaservlet?rand=" + Math.random();           
                parent.document.getElementById("pt1:s12:iCaptcha").src=captchaURL;
            </af:resource>

    Hi frank,
    I got the solution I can change the Captcha image without full page refresh by just adding temparary request parameter to that image so that url changes and it calls servlet again.
    Below code will add random number as a request parameter to the servlet url so that url changes everytime.
                    RichImage image = (RichImage)JSFUtils.findComponentInRoot("iCaptcha");
                    String randomString= String.valueOf(Math.random());
                    image.setSource("/captchaservlet?rand="+randomString);          
                    RichPanelGroupLayout capImgPGL = (RichPanelGroupLayout)JSFUtils.findComponentInRoot("capImgPGL");
                    AdfFacesContext.getCurrentInstance().addPartialTarget(image);
                    AdfFacesContext.getCurrentInstance().addPartialTarget(capImgPGL);

  • How to leave space in every page in crystal report.

    hi.
    plz have a look on below image.
    i have one problem i need your valuable suggestions..
    I develop a layout i want to print this one on letter head ..
    in letter head at page header  all ready pre printed logos are there.
    so, in my layout i all ready leave some space..at page header.
    but i need at the next page also i want to leave some space..
    i am getting confusion.
    in my layout next page is also comming report section
    plz have a look on below image..
    Any solutions plz inform me..

    Hi Srinivas,
    Yes, you are right. If you put some space in report header it will effect only first page not second page, if you put some pace in page header it effects all pages.
    As per your requirement, you have to insert space in page header so, it will effect in all pages.
    If you don't want space to be printed in subsequent pages then we can suppress conditionally.
    -Sastry

Maybe you are looking for