Load Dialog on Startup

Hello Experts,
I have created a Dialog that opens on clicking a button.
At present my code looks like:
var oButton = new sap.ui.commons.Button("button1",{
                     text: "Open Dialog",
                     press:function(){
                           openDialog();
              oButton.placeAt("content");
              function openDialog() {
              var layoutNew = new sap.ui.commons.layout.MatrixLayout("layout1", {width:"auto"});
             var oVal1 = new sap.ui.commons.TextField("cArea",{tooltip: "Controlling Area", width: "200px", editable:true});
             var oVal2 = new sap.ui.commons.TextField("sDate",{tooltip: "Start Date", width: "200px", editable:true});
             var oVal3 = new sap.ui.commons.TextField("eDate",{tooltip: "End Date", width: "200px", editable:true});                
             var oExcButton = new sap.ui.commons.Button({
                 text : "Submit",press:function(){oDialog1.close();}});
                 //press : oController.callOdataService });
             layoutNew.createRow(new sap.ui.commons.Label({text: "Controlling Area: "}), oVal1 ); 
                    layoutNew.createRow(new sap.ui.commons.Label({text: "Start Date: "}), oVal2 );
                    layoutNew.createRow(new sap.ui.commons.Label({text: "End Date: "}), oVal3 ); 
                    layoutNew.createRow(new sap.ui.commons.Label(),oExcButton);
var oDialog1 = new sap.ui.commons.Dialog();
       oDialog1.setTitle("Enter Input Parameters");
       oDialog1.setShowCloseButton();
       oDialog1.addContent(layoutNew);
       oDialog1.open();
Now I want my Dialog to load on initialization as I don't want to use button.
What code should I write in onInit function to invoke the Dialog on launching index.html page
I have tried the below code but it doesn't work
onInit: function() {
  openDialog();
Regards,
Rohit

And when I added below code inside Create Content
var layoutNew = new sap.ui.commons.layout.MatrixLayout("layout1", {width:"auto"});
    var oVal1 = new sap.ui.commons.TextField("cArea",{tooltip: "Controlling Area", width: "200px", editable:true});
    var oVal2 = new sap.ui.commons.TextField("sDate",{tooltip: "Start Date", width: "200px", editable:true});
    var oVal3 = new sap.ui.commons.TextField("eDate",{tooltip: "End Date", width: "200px", editable:true}); 
    var oVal4 = new sap.ui.commons.TextField("isRead",{tooltip: "Is Read", width: "200px", editable:true});
    var oExcButton = new sap.ui.commons.Button({
        text : "Submit",press:function(){
       //var oLabel = new sap.ui.commons.Label("l1");
    //oLabel.setText(CArea);
       oDialog1.close();}});
        //press : oController.callOdataService });
    layoutNew.createRow(new sap.ui.commons.Label({text: "Controlling Area: "}), oVal1 ); 
       layoutNew.createRow(new sap.ui.commons.Label({text: "Start Date: "}), oVal2 );
       layoutNew.createRow(new sap.ui.commons.Label({text: "End Date: "}), oVal3 );
       layoutNew.createRow(new sap.ui.commons.Label({text: "Is Read: "}), oVal4 );
       layoutNew.createRow(new sap.ui.commons.Label(),oExcButton);
var oDialog1 = new sap.ui.commons.Dialog();
oDialog1.setTitle("Enter Input Parameters");
oDialog1.setShowCloseButton();
oDialog1.addContent(layoutNew);
And then tried to call oDialog1 inside OpenDialog function, I got the below error
openDialog : function(){
  oDialog1.open();
Uncaught ReferenceError: oDialog1 is not defined Test.view.js:397
sap.ui.jsview.openDialogTest.view.js:397
sap.ui.jsview.createContentTest.view.js:17
(anonymous function)JSView.js:6
sap.ui.base.ManagedObject.runWithPreprocessorssap-ui-core.js:117
sap.ui.core.mvc.JSView.onControllerConnectedJSView.js:6
sap.ui.core.mvc.View._initCompositeSupportView.js:6
sap.ui.base.EventProvider.extend.constructorsap-ui-core.js:117
sap.ui.base.ManagedObject.extend.constructorsap-ui-core.js:117
sap.ui.core.Element.extend.constructorsap-ui-core.js:117
fsap-ui-core.js:117
fsap-ui-core.js:117
osap-ui-core.js:117
sap.ui.viewView.js:6
o.(anonymous function)sap-ui-core.js:117
(anonymous function)
Regards,
Rohit

Similar Messages

  • Kernel panics, spinning wheel and restart dialogs on startup

    That's it! Time for a little help from you guys and gurus before I chuck my iMac out the window.
    Configuration info:
    iMac G5
    PowerMac8,1
    PowerPC G5 (3.0)
    CPU's 1
    1.8 GHz
    L2-cache 512 K
    Memory: 2 GB
    600 MHz
    Boot ROM-version: 5.2.2f4
    System:
    System: Mac OS X 10.4.5 (8H14)
    Kernel-version: Darwin 8.5.0
    Firewire:
    LaCie 1394 DVD-R/RW+CD drive LUN 0
    LaCie d2 Extreme LUN 0 HD 200GB
    USB:
    Canon i560 printer
    Wacom Intuos 3
    Background:
    Coputer worked fine in Mac OSX 10.4.3
    Problems:
    After updating to 10.4.5... and reinstalling the system 5-6 times from scratch I have been getting kernel panics, spinning wheels and restart dialogs on startup intermittent.
    The latest panic:
    Panic (cpu 0 caller 0x002E0368) Unable to find driver for this platform PowerMac 8,1.
    Kernel Version 8.5.0
    There have been all sorts of kernel panics but I don't get a panic log since system seems to panic in such an early stage.
    This has been done, more than once:
    - Disconnected everything
    - Reformatted HD and reinstalled from original CD
    - Downloaded combo updates from Apple website and installed them after repairing disc and permissions first.
    - Starts fine
    - Repaired permissions again, after restart.
    - installed one app at a time (latest updates on every app), allways restarting to see if everything still is fine, which it is.
    - Reconnecting external drive, burner, printer etc. allways checking if everything is fine by doing a reboot. It is.
    Computer seems happy, and so am I...
    Next morning, a kernel panic, or a reboot dialog or spinning wheel at startup. I reboot, cross my fingers, and it starts up first, second or third try. No panic log other than the screen on startup.
    - I reinstall combo update, restart and do a command-alt-P-R on the #&%?! and everything is fine... untill next day.
    - I run Apple Diagnostic and there is a problem with one of the memory cards. I try it again and again looping. Now no problems found?! So I rum Memtest and still no problems found.
    - I do this over and over againg to the point of physical illness.
    - I reboot from my external drive with 10.4.3 without any problems whatsoever.
    - Go back to 10.4.5 and the problems start again.
    - I remove Apple caches, Extension caches, ATS and all that. Boots fine... untill next day?!
    The most irritating thing is that once the computer boots up there are no apparent problems whatsoever using it.
    I have read every post on kernel panics here, at apple website and at The X Lab. Tried - in my opinion - everything without getting to the bottom of it.
    What did I forget?
    What havent I tried?
    I want my trusted Mac back!
    Very thankful for any help whatsoever.
    P.s. Since the computer works fine in 10.4.3 I don't see the point of taking it to service. It has to bee software related, no?
    iMac G5 17/1.8/2GB/80/SD/56k   Mac OS X (10.4.5)   LaCie d2 Extreme 200GB Ext. HD. / Canon i560 print / LaCie 1394 DVD-R/RW+CD driv

    Thank You for Your quick responce!
    I have 2 1GB DIMMs installed from the shop when I bought my iMac. I read http://docs.info.apple.com/article.html?artnum=86814 about iMac Memory Specs and if I understand it correctly I could remove one of the DIMMs to test if the problem goes away. Although the computer will run better with two DIMMs it will work with one slot empty as well.
    Did I understand that correctly?
    iMac G5 17/1.8/2GB/80/SD/56k Mac OS X (10.4.5) LaCie d2 Extreme 200GB Ext. HD. / Canon i560 print / LaCie 1394 DVD-R/RW+CD driv

  • Why I build program display a loading dialog?

    Hello,
    I build a exe program use labview,the program include a lot of vi, the build is successful,and the exe program run is ok,but when the program is loading display a load dialog,how can I setting would not display the dialog?
    附件:
    未标题-1.jpg ‏117 KB

    Look at attached picture, it should get you started.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV
    Attachments:
    Splash.png ‏20 KB

  • Error in loading bean on startup using jsf

    Hiii.... can anybody help to solve this problem.I want to call a class after the jsf is loaded in startup.Currently i have loaded in startup using<bean></bean> tag but when i am accessing some service classes from loaded bean i am getting error.......anybody please help.
    "FacesContext must not be null" this is the error which i am getting

    First this: what exactly do you need the FacesContext for? Also, how exactly did you do "load bean on startup"? I've never seen the <bean> tags before.

  • CSA - Ignoring modules loading after system startup

    I'm currently running CSA 5.2 r238 with all systems in Test Mode. I keep seeing events for certain modules loading after startup, such as pdcrypt2.sys in a Citrix environment. I know these events are normal and don't care to have those events logged any more.
    The events are being generated by Rule 50, a Kernel Protection rule with a monitor action in System Hardening Module [V5.2 r238]. I've copied this rule to a custom rule module and set it to priority allow and did not check the Log option.
    I created a file set for pdcrypt2.sys as follows:
    Directories Matching: **\Program Files\Citrix\system32\drivers but not <none>
    Files matching: pdcrypt2.sys but not <none>
    I'm still seeing events generated by rule 50. I know my rule is enforced by looking at an affected host and my rule appears to process beore Rule 50. Why am I still seeing events generated by rule 50?

    Tom,
    I'm just baffled. I changed my file set, AAA - Citrix pdcrypt2.sys, to look like yours does.
    Directories matching: but not:
    Files matching: but not: pdcrypt2.sys
    The change history for rule 50, which I based my rule off of, is blank.
    The rule basically reads likes this:
    Priority Allow
    Take Precedence
    Modules load after system startup is checked
    File set contains: $AAA - Citrix pdcrypt2.sys
    Based on my understanding of the rules and the previous posts in this thread it would seem that logging for these events should be suppressed, but that is obviously not the case. Does your modified file set exist in rule 50 (or the corresponding rule in another version) or did you clone rule 50 to create your suppression filter rule?
    -Mike

  • MacBook Pro, Mid 2012 slow to load applications and startup

    Problem description:
    I have a MacBook Pro 13 inch, mid 2012 computer. Over the past months it has become increasingly slower during load up, and application loads.
    Running OS X Yosemite
    Processor: 2.9 GHz, Intel Core i7
    Memory 8GB 1600 MHz DDR3
    Graphics Intel HD Graphics 4000 1024 MB
    I installed an application Memory Clean from the App Store and I need to run it every so often to keep the load down. It shows of the 8GB available, App Memory eating up 3.32 GB, File Cache 2.25 GB, Wired 1.16 GB, Compressed 122.03 MB for used 6.80 GB.
    I am considering upping the memory from 8 GB to 16 GB, but think it is something else dragging it down. I am not a total computer newbie, but am no where near a techomage so any advice given if it could be in simple to follow instructions would be greatly appreciated.
    Thanks for any advice given, have a great day.
    EtreCheck version: 2.1.5 (108)
    Report generated January 9, 2015 at 2:13:19 PM CST
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.9 GHz Intel Core i7 CPU: 2-core
      8 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1600 MHz ok
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 4000
      Color LCD 1280 x 800
      S27C570 spdisplays_1080p
    System Software: ℹ️
      OS X 10.10.1 (14B25) - Uptime: 3 days 1:49:23
    Disk Information: ℹ️
      APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Macintosh HD (disk1) / : 748.93 GB (309.72 GB free)
      Core Storage: disk0s2 749.30 GB Online
      MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
      Seagate Backup+ Desk 3 TB
      disk2s1 (disk2s1) <not mounted> : 262 KB
      Time Machine (disk2s3) /Volumes/Time Machine : 3.00 TB (1.96 TB free)
      Apple Inc. FaceTime HD Camera (Built-in)
      Sony Storage Media 15.77 GB
      UNTITLED (disk3s1) /Volumes/UNTITLED : 15.77 GB (15.74 GB free)
      Apple Computer, Inc. IR Receiver
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. Apple Internal Keyboard / Trackpad
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.leapfrog.codeless.kext (2) [Support]
      [not loaded] com.leapfrog.driver.LfConnectDriver (1.10.5 - SDK 10.8) [Support]
      [not loaded] com.nike.sportwatch (1.0.0) [Support]
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) [Support]
      /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) [Support]
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) [Support]
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) [Support]
    Launch Agents: ℹ️
      [invalid?] com.leapmotion.Leap-Motion.plist [Support]
      [running] com.nike.nikeplusconnect.plist [Support]
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist [Support]
      [loaded] com.leapfrog.connect.authdaemon.plist [Support]
      [running] com.leapmotion.leapd.plist [Support]
      [loaded] com.microsoft.office.licensing.helper.plist [Support]
      [loaded] com.oracle.java.JavaUpdateHelper.plist [Support]
    User Launch Agents: ℹ️
      [loaded] com.adobe.ARM.[...].plist [Support]
      [running] com.leapfrog.connect.monitor.plist [Support]
    User Login Items: ℹ️
      None
    Internet Plug-ins: ℹ️
      FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
      Default Browser: Version: 600 - SDK 10.10
      AdobePDFViewerNPAPI: Version: 11.0.04 - SDK 10.6 [Support]
      AdobePDFViewer: Version: 11.0.04 - SDK 10.6 [Support]
      Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
      QuickTime Plugin: Version: 7.7.3
      SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Support]
      GarminGpsControl: Version: 4.1.0.0 Release - SDK 10.7 [Support]
      Silverlight: Version: 5.1.20913.0 - SDK 10.6 [Support]
      JavaAppletPlugin: Version: Java 7 Update 67 Check version
    3rd Party Preference Panes: ℹ️
      Flash Player  [Support]
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      Volumes being backed up:
      Macintosh HD: Disk size: 748.93 GB Disk used: 439.21 GB
      Destinations:
      Seagate Backup Plus Drive [Local]
      Total size: 3.00 TB
      Total number of backups: 75
      Oldest backup: 2014-01-24 10:46:48 +0000
      Last backup: 2015-01-09 19:19:27 +0000
      Size of backup disk: Excellent
      Backup size 3.00 TB > (Disk size 748.93 GB X 3)
    Top Processes by CPU: ℹ️
          8% mds
          4% WindowServer
          1% gssd
          0% fontd
          0% netbiosd
    Top Processes by Memory: ℹ️
      146 MB mds_stores
      129 MB softwareupdated
      103 MB Finder
      103 MB Mail
      94 MB Safari
    Virtual Memory Information: ℹ️
      1.61 GB Free RAM
      3.40 GB Active RAM
      2.26 GB Inactive RAM
      1.20 GB Wired RAM
      12.90 GB Page-ins
      11 MB Page-outs
    Diagnostics Information: ℹ️
      Dec 18, 2014, 10:04:23 PM /Library/Logs/DiagnosticReports/Kernel_2014-12-18-220423_[redacted].panic [Details]

    How to manage intermittent lag in OS X Yosemite | MacIssues
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Struts servlet failed to load on application startup

    I am having problems deploying a struts application on WebLogic 8.1 SP3. I get the following error on startup.
    Call com.manu.cro.online.ui.KarmaActionServlet.addMapping(ActionMapping[path=/routingPost, type=com.manu.cro.online.ui.routing.RoutingPostAction])
    Pop org.apache.struts.action.ActionMapping
    register('-//Apache Software Foundation//DTD Struts Configuration 1.0//EN', 'jar:file:/C:/CVS_Source/NCRO/lib/GUI/struts.jar!/org/apache/struts/resources/struts-config_1_0.dtd'
    register('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'jar:file:/C:/CVS_Source/NCRO/lib/GUI/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
    register('-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN', 'jar:file:/C:/CVS_Source/NCRO/lib/GUI/struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
    resolveEntity('-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN', 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd')
    Resolving to alternate DTD 'jar:file:/C:/CVS_Source/NCRO/lib/GUI/struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
    Call com.manu.cro.online.ui.KarmaActionServlet.addServletMapping(action/java.lang.String,*.do/java.lang.String)
    <Jul 18, 2007 9:13:39 AM EDT> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "cro".
    javax.servlet.ServletException
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:909)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:873)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:812)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3281)
         at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3226)
         at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3207)
         at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:694)
         at weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
         at weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
         at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
         at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
         at weblogic.Server.main(Server.java:32)
    Any reason why my action servlet is not loading? Any help will be appreciated.
    My web.xml file looks like the following:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
    <web-app>
    <!-- Action Servlet Configuration -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>com.manu.cro.online.ui.KarmaActionServlet</servlet-class>
    <init-param>
    <param-name>application</param-name>
    <param-value>com.manu.cro.online.ApplicationResources</param-value>
    </init-param>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>validate</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>jsp/online/Logon.jsp</welcome-file>
    </welcome-file-list>
    <!-- Struts Tag Library Descriptors -->
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/croUtils.tld</taglib-uri>
    <taglib-location>/WEB-INF/croUtils.tld</taglib-location>
    </taglib>
    </web-app>
    Thanks.
    gtata

    This problem has been resolved. It was a classpath issue.

  • How can I get a webpage to load dialogs after mistakenly clicking "prevent this page from creating additional dialogs"?

    I still need to be able to have dialogs load with the webpage. I am not able to see any images on this webpage since clicking this button by mistake. Clearing the cache does not address the problem; Re-creating my profile does not correct the problem. Firefox needs to address this issue as it is happening to too many web apps.

    If the slide show is the part not working, I believe that is a Flash slide show. There are some compatibility issues between the latest Flash player and some Firefox add-ons or settings. Could you see whether anything in this article helps: [[Flash 11.3 doesn't load video in Firefox]].

  • Load servlet on startup in a cluster WebLogic Server 6.1

    I try to load my servlet on startup of Bea WebLogic Server 6.1 (SP 3) cluster.
              This load failed.
              Can you help me?
              Tank's!
              

    HOw did you specified the load-on-startup? and what error you get
              upon startup/deployment time?
              Kumar
              Giulia Esposito wrote:
              > I try to load my servlet on startup of Bea WebLogic Server 6.1 (SP 3) cluster.
              > This load failed.
              >
              > Can you help me?
              >
              > Tank's!
              >
              

  • Many Applications Not Loading - Very Slow Startup

    Hola!
    I have a MBP 15" bought last September, which I updated to Mac OS X 10.4.10 recently. The first noticeable change in performance came when I saw the fonts in my Dashboard had all changed - on the dictionary/thesaurus and stickies.
    Then came the following:
    1: Grey-screen startup went from hardly noticeable to about 40+ seconds.
    2: Desktop startup went from roughly 0.8 seconds to 30 seconds.
    3: Numerous applications will not open. At all. Activity monitor show them attempt to load, then 'not respond' and shut down. Only some applications won't open (iTunes; Photoshop CS, etc) - others like iPhoto and Firefox open then crash when loading GMail or Google/when accessing photo files/lots of data. Notepad and other smaller applications seem to work fine.
    Only 1/4 of my HD is full at the moment; and there doesn't seem to be any memory problems -- but I have no idea what is wrong, or what I am supposed to do to fix it. The disk has been scanned with Disk Utility for faults in itself and its performance and non have popped up.
    I am a heavy user (work and school!), and this is nothing short of distressing.

    Thank you for welcoming me, and for your reply; its only I carried out those suggestions and they did not improve the performance of my machine.
    However while I was carrying them out I discovered the following; that when I try to search through my Documents & etc (I was attempting to transfer files to USB flashdrive), Finder occasionally crashes and reloads the desktop. In addition, my CD drive refused to acknowledge a CD once inserted, and made a quizzical clicking-whirring noise. It refused to eject the CD until I restarted the machine and pressed eject during grey-screen startup.
    I was advised to boot from CD & load an archive of my HD; but I am afraid that wouldn't effect the problems I am having - even if my CD drive decides to work. Could this be not a software, but a hardware problem?

  • Servlet load on server startup ?

    With WebLogic 4.5.1 can you specify a servlet to load when the server
              starts ?.
              Thanks
              Peter.
              

              Hi Kumar
              I have installed BEA Weblogic through Webgain Studio. I remember to have chosen to install Weblogic with the Service Packs.
              How do I know if I have installed the correct service packs.
              I still have this problem that 'main not found' in a startup servlet.
              Thanks
              - anand
              Kumar Allamraju <[email protected]> wrote:
              >Sorry to mislead you.
              >
              >Here is the proper syntax.
              >weblogic.httpd.register.myservlet=examples.servlets.HelloWorld2
              >weblogic.allow.execute.weblogic.servlet.myservlet=everyone
              >
              >weblogic.system.startupClass.servletTest=weblogic.servlet.utils.ServletStartup
              >weblogic.system.startupArgs.servletTest=servlet=myservlet
              >
              >Unfortunately this has been broken in WLS 5.1 and the fix has been included
              >in SP-2 which is scheduled to be released in about a week.
              >If you wanna contact support , refer the Issue # 10245
              >
              >Thx, Kumar
              >
              >"Hien Q. Nguyen" wrote:
              >
              >> Hi,
              >>
              >> I think what you are talking about is the weblogic.servlet.utils.ServletStartup
              >> as mentioned in the WL5.1 docs. For example:
              >>
              >> # register myservlet
              >> weblogic.httpd.register.myservlet=com.mycom.MyServlet
              >>
              >> # Load MyServlet servlet on startup
              >> weblogic.system.startupClass.StartMyServlet=weblogic.servlet.utils.ServletStartup
              >>
              >> weblogic.system.startupArgs.StartMyServlet=\
              >> servlet=myservlet
              >>
              >> Even this didn't work!
              >>
              >> I tried what you suggested, it didn't work! Here is the starck trace:
              >>
              >> java.lang.NoSuchMethodException: com.mycom.MyServlet does not define 'public
              >> static void main(String[])'
              >> at weblogic.t3.srvr.StartupThread.runMain(StartupThread.java:208)
              >> at weblogic.t3.srvr.StartupThread.doWork(StartupThread.java, Compiled Code)
              >> at weblogic.t3.srvr.PropertyExecuteThread.run(PropertyExecuteThread.java:62)
              >>
              >> Maybe its a bug?
              >>
              >> Kumar Allamraju wrote:
              >>
              >> > You can register the servlet as a startup class.
              >> >
              >> > For e.g.
              >> > weblogic.system.startupClass.helloWorld=examples.servlets.HelloWorldServlet.
              >> >
              >> > Hope this helps
              >> > -Kumar
              >> >
              >> > "Hien Q. Nguyen" wrote:
              >> >
              >> > > See below!
              >> > >
              >> > > Kumar Allamraju wrote:
              >> > >
              >> > > > Yes, provided if you registered in weblogic.properties file.
              >> > > >
              >> > > > This will deploy the servlet whenever the WebLogic server is started (or
              >> > > > restarted).
              >> > > >
              >> > > > weblogic.httpd.register.hello = examples.servlets.HelloWorldServlet
              >> > > >
              >> > >
              >> > > But this is only to register the servlet with the servlet engine. The
              >> > > servlet itself isn't loaded at this time
              >> > > until you call http://<myserver>/hello
              >> > >
              >> > > >
              >> > > > -Kumar
              >> > > >
              >> > > > Peter Martin wrote:
              >> > > >
              >> > > > > With WebLogic 4.5.1 can you specify a servlet to load when the server
              >> > > > > starts ?.
              >> > > > >
              >> > > > > Thanks
              >> > > > > Peter.
              >
              

  • Runtime Error Dialog at Startup Time

    I posted a similar question many months ago, but I still have this problem - even after upgrading to 10.5.6 today. I have no idea where it is coming from or how to get rid of it, but apparently there is something trying to auto-launch in the background every time I restart the computer and the desktop comes up?
    The dialog says:
    Runtime Error
    Location/Volumes/RBUS/REALbasic/REALbasic Xcode/../../Common/relocentry.cpp:3374
    Failure Condition: functionPtr == oldRntry->code Failure Message:
    Then I have a choice of QUIT or CONTINUE, but of course "CONTINUE" just causes the dilog to keep reappearing.

    Have you tried uninstalling and reinstalling Real Basic?
    http://www.realsoftware.com/download/
    If it is something trying to start up then go to :
    system Prefs> Accounts> select your account> login items
    you should see a list of items which load at start up. You can add or delete items from that list...

  • Auto Load Dashboard On Startup?

    Hey,
    I'm a heavy user of dashboard, but it bugs me that I even if my computer has been on for hours, I have to view it before it loads.
    So dashboard is suppose to be a "quick" way to see vital information, but it takes 10 or so seconds for me to use it first.
    *Therefore, is there some apple script that could initialize dashboard on startup?*
    Thanks,
    Mitch

    Try DashboardKickStart (http://www.alwintroost.nl/?id=40)

  • Auto-load program at startup query

    Hi all.
    I have the app, Sparrow, which is downloaded from the app store, installed on my Mac. I have it in my startup programs so it loads automatically. However, it is a little annoying when the window automatically opens also.
    So, I'd like to know if it is possible to auto-load the app without also opening the window, so it's just open in the background?
    Thanks for all the help.

    Can you tick the box to hide it in this preference pane?

  • My loading bar at startup stops at around 50%

    Hey,
    I just turned on my MacBook Pro and the loading bar on the start-up screen stops. I have restarted many times and the loading bar stops at the same place. Could someone please help??
    Darcy

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

Maybe you are looking for