Correct way to implement cache as bitmap to deeply nested movieclips? help!

I've been really stuck at this problem for a number of days and cant find any help online as to where im going wrong.
1119: Access of possibly undefined property CloudsNAnim through a reference with static type Class.
the setup as of now, there are 4 movieclips i want to cacheasbitmap. two copies of a vector movieclip called CloudS2 and two copies of one called CloudS4
those are in a movieclip holding them called CloudsNear and another movieclip holding that which holds an animation of the CloudsNear movieclip moving past the screen in a loop which is called CloudsNAnim
and that is inside the main level which is added to the stage called PlaneLevel
where do i place the cacheasbitmap lines in my code to load them into memory before I load the main movieclips
package
      // all my imports etc //
    public class MightyMend extends MovieClip
        public function MightyMend()
            // constructor code
            addChild(PLoading);                      //this loads my loading screen png to the stage
            stage.addEventListener(Event.ENTER_FRAME, loading); //reoccuring event listener happens as often as is set by FPS
            PlaneLevel.CloudsNAnim.CloudsNear.CloudS2.cacheAsBitmap = true;    
            PlaneLevel.CloudsNAnim.CloudsNear.CloudS4.cacheAsBitmap = true;     //these lines dont work
        private var PLoading:Bitmap = new Bitmap (new PlaneLoading());       
        private var PLevel:PlaneLevel = new PlaneLevel();   
        public function loading(e:Event):void //
            var total:Number = this.stage.loaderInfo.bytesTotal;
            var loaded:Number = this.stage.loaderInfo.bytesLoaded;
            var percent:Number = loaded/total * 100;
            trace (percent);
            if (total == loaded) //checks if all bytes for all movieclips have been loaded
                stage.removeEventListener(Event.ENTER_FRAME, loading);
                onComplete();
                 //the rest of the code staes that when oncomplete it will remove the loading screen and add the plevel to the stage etc..

The movieclip is called Plane_Level but i had linked it to actionscript as a class nameed PlaneLevel
im not sure if that makes a difference but when iadded that declaration
the line :
private var PLevel:PlaneLevel = new PlaneLevel();
now gives an error
1046: Type was not found or was not a compile-time constant: PlaneLevel.
1180: Call to a possibly undefined method PlaneLevel.

Similar Messages

  • ADF correct way to implement simple login?

    I have an ADF app that just needs some simple login functionality.
    I found a tutorial somewhere and did the following:
    Put this in my jazn-data.xml file
    <login-config>
        <auth-method>FORM</auth-method>
        <form-login-config>
          <form-login-page>/login.html</form-login-page>
          <form-error-page>/login.html</form-error-page>
        </form-login-config>
      </login-config>
    Created static page login.html
    Created the users
    And it works!
    Problems:
    - I would like to have an ADF page as my login page, not some simple HTML page that looks nothing like the rest of my application. If I replace the html page with a jspx in the above xml file then I get java.lang.RuntimeException: Cannot find FacesContext
    - On failed login it should redirect to login page and provide an error message, not just redirect.
    I have not been able to find a definitive tutorial on how to do this. Help would be appreciated, thanks.
    JDeveloper 11.1.1.6

    Hi,
    because you have to use faces/filename.jspx
    Frank

  • How to implement cache-aside pattern in coherence.

    Hi,
    Is there a way to implement Cache-Aside pattern in Coherence. ?!

    We use cache aside in the following way:
    At startup ALL data ftom a database is loaded to a near cache (with unlimited non evicting back tear). All updates in the application then goes to both the cache and in our case TWO databases (one for the new system (the one we are loading from) and one belonging to our legacy environment (a hierarchical database!) that will be phased out over several years time) using XA transactions.
    The new database is only used for loading the cache and for persistence. The legacy database is only updated by this XA-transaction but is also read by a bunch of legacy applications. Our application is extremly read heavy (like three orders of magnitude difference) so the relativly poor performance of XA is not a problem.
    We use the cache to not only speed/scale out reads (that are helped by both the front and back cache) but also queries (that are handled by the back cache rier). Since the back cache tier contains all data our query results will be "complete" (i.e. give the same result as if answered by any of the databases) and we can therefore off-lload the databases significantly and that way postpone the point where they becomes a scalability bottleneck (we also dramatically reduce the number of CPUs and licenses for the database saving a lot of moiney).
    We can not use "write though" in this case since this results in a bulk update to be partitioned into several database transactions (performed by the various back cache nodes) that may suceed or fail individually (due to database contraints checks) of each other and that is not acceptable in this case (a bulk update must either completly fail or succeed). Nor can we use "read through" (with load on demand) since we need to keep trhe full data base content in the cache - if we did not we would need to send queries to the database instead of the cache loosing the performance / scalability improvement that we need.
    Now one can of course say that this is not a "normal cache" scenario since we load ALL data to the "back cache" but I anyhow wanted to mention it as one case where "cache aside" makes sense (or at least it worked for us) :-)
    /Magnus

  • Correct Process of clearing cache in R12?

    Hi All,
    DB:10.2.0.3.0
    OS:AIX 5.3 L (64 bits)
    We read in some of the metalink documents:
    1)
    Clearing cache –> clearing the contents of _pages directory.
    In R12 this cache is dynamically generating and will not hold unnecessary cache and also it will have JSP contents
    If we clear the cache from pages directory then we have to recompile JSP’s also.
    2)Go to functional administrator, under core services in global configuration you can clear the cache
    Is the second one the correct way of clearing cache?
    Thanks for your time!

    Hi,
    Do not remove files from $COMMON_TOP/_pages to clear the cache in R12, instead compile JSP manually (or enable Automatic JSP compilation).
    Note: 467562.1 - Blank Page Accessing R12 - 'Missing class: _RF' in OACore application.log
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=467562.1
    Note: 433386.1 - JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=433386.1
    Note: 458338.1 - How to Enable Automatic Compilation of JSP pages in R12 Environment
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=458338.1
    Second method should also work.
    Regards,
    Hussein

  • Attaching and Detaching Observers to a document, what is the  correct way?

    Hi,
    I came across below code snippet in many of the sample PLugins where Observer is being:
    Attached on the kAfterOpenDocSignalResponderService
    Detached on the on kBeforeCloseDocSignalResponderService
    Same DocRef is being used in both the cases but the Observer being referenced is new each time, so is it a correct way to do it? and Will it work?
    GTTxtEdtResponder::attachDetachStoryObserver(UIDRef storyUIDRef, bool16 bAttach)
      ErrorCode status = kFailure;
      do{
      // while we observe all stories (whether they are accessible or not), we only let accessible
      // stories affect the cache. See the observer implementation for this logic.
      InterfacePtr<IObserver> iGTTxtEdtObserver(storyUIDRef,IID_IGTTXTEDTSTORYOBSERVER);           //<--new reference created
      if (iGTTxtEdtObserver == nil){
      ASSERT_FAIL("GTTxtEdtResponder::attachDetachStoryObserver - no observer on story?");
      break;
      bAttach ? iGTTxtEdtObserver->AutoAttach() :iGTTxtEdtObserver->AutoDetach();
      status = kSuccess;
      }while (kFalse);
      return status;
    If you look closely, you can see that every time a detach is being called after attach, a new Observer reference is created.
    Is correct way to do it?

    Hello kapoor_aman27,
    with InterfacePtr you create a new reference to the observer not a new instance of the observer. The reference will be destroyed at the end of the function or code block. The instance of the observer will be destroyed if the reference Counter will be 0. So the instance of the observer is the same at attach and detach. The InterfacePtr (i.e. the reference to the observer) is temporary in each function.
    Markus

  • [JSF 1.2] - Role Based Web Application: Whats the correct way of doing it?

    Hello,
    i have a web application that in some pages is role based. I have two database tables, Role and Permissions. Role can have 1..N Permissions and vice versa.
    In one page i need to render some forms depending on user role.
    What is the best approach to this?
    1. I have a sessionBean and on login load all the permissions (it's less secure but faster) based on user role;
    2. Everytime i use rendered="#{sessionBean.checkPermissions['can-create']}" i query the database. This checkPermissions gets the user role and retrieve all permissions of that user on demand;
    The first option is faster but while the user is logged if permissions changes we might have problems.
    The second, if i user 3 rendered attributes i do 3 queries to the database.
    Is rendered attribute the correct implementation?
    Regards.

    Yes, the rendered attribute is the correct way to accomplish this.
    As to the question of caching the result or querying the database each time, that is something that needs to be answered on an application by application basis.

  • Correct way to restore from Time Machine backup - Lion clean install

    I did a clean install of Lion, and am wondering — what's the correct way to restore files in my Home folder to my new installation?
    For example, I simply dragged over my iTunes folder from the "Latest" Time Machine backup.
    Perhaps instead I should restore from the backup differently? For example, open the ~/Music folder, then open Time Machine.app, and restore that folder through that?
    I always thought that manually dragging the "Latest" backup from the disk should do the trick the same way? Or an important question is — can some files be somehow excluded?
    I did everything through dragging, and haven't noticed problems... BUT, perhaps I should go back and re-do everything the "right" way if there is one?
    (I purposefully avoided doing a Restore, as I didn't want any of the caches, Applications and Library items restored — wanted to start fresh.)

    For convenience mostly. I use the Terminal a lot so I have lots of "dot files" that are at the root of my home directory and hidden.
    One problem is that many of those programs have data in Music, Photos, etc all organized by databases somewhere in ~/Library. You have to make sure to get them re-joined. It can be done. You just have to be careful with it. If you lose your iPhoto archive in the process, the first thing someone is going to ask is why didn't you use Migration Assistant.
    Until recently, I performed all my major MacOS X upgrades using this manual procedure and, for me, the extra hassle was worth the cleanliness. I have lost a couple of software registration codes that I couldn't ever get back. C'est la vie. I would keep my old Library folder around for quite some time until I was sure I wouldn't need anything out of it. These days, I'm too busy and too lazy. I just use one of the automatic methods.

  • Best way to implement m to n relation?

    Could you please give me some advice on the best way to implement m-n relations in apex?
    Example: I want to store server and database info. A server can have multiple database of course. But in case of a RAC database, the database can be running on multiple servers. So I have tables:
    create table SERVERS (id number primary key, name varchar2(30));
    create table DATABASES(id number primary key, name varchar2(30))
    and an m-to-n table
    create table SERV_DB(serv_id number references SERVERS(id), db_id number references DATABASES(id), instance_name varchar2(30))
    So the table SERV_DB can tell me e.g. that database PROD is running on server 'prdsrv1' with instance PROD1 and on server 'prdsrv2' with instance name PROD2
    How would you design an apex page to maintain this information (adding relations, updating instance names, etc)? I have a solution using checkboxes and 2 for-loops over htmldb_application.g_f40 (to process checkboxes) and g_f41 (to process text fields with instance names) and some delete statements but the logic behind it looks too complex for me. I am convinced that this can be done more simpler. Seems like a common problem to me, so I wonder if there is no out-of-the-box solution in apex for this?
    Could you please show me or create a small demo application with the solution that looks most elegant to you?
    Thanks,
    Geert

    Thanks for your reply. You modified the question slightly, but conceptually it is still the same. What you call the instances table corresponds with my serv_db table. I understand the solution you propose using the tabular report. If I see it correctly, you would have an insert button above the tabular report for each new relation (instance - server) you would want to add. This is ok for the case i used (databases, servers, instances) because there are relatively few relations. However I would not like this solution for other cases. E.g.:
    case: you have a list of persons and a list of tasks. You want to assign tasks to persons in a way that each person has multiple tasks to do and each task can be assigned to multiple persons.
    Suppose you add a new person, and you want to assign 15 tasks to him. The solution above (with the tabular report) would be quite some work because you would have to click 15 times on the insert button and on each click select a task from the select list. In this case it would be more appropriate to, after selecting the new person, see a list of all tasks (e.g. 30 tasks) with a checkbox in front, so you can mark 15 out of the 30 checkboxes and press submit. It gets more complex when you want to assign also an attribute to the relation, i.e. showing the list with all tasks, a checkbox in front and a select list next to each task where you can choose from e.g. "priority high" or "priority low" to indicate that this task is high or low priority for that person. Is there an easy way to implement that?

  • Is there a way to implement a breadcrumb turnaround for RoboHelp7 HTML?

    Hello everyone,
    I have a unique situation on my hands.  I would like to implement breadcrumb functionality for RoboHelp7 HTML Help.  I am aware of the following items (feel free to correct me if I'm wrong about any of this):
    Breadcrumbs can be automatically populated using RoboHelp7 WebHelp;
    Breadcrumb functionality is available for RoboHelp 8, for both WebHelp and HTML Help
    Despite my pleas, our company is not yet able to upgrade to RoboHelp8, so I've been hard at work developing a JavaScript file that creates a breadcrumb trail (certainly open to error as this is not an automatic process).  It's gotten to be an exhaustive process, as I'm trying to extract the Help system name (not topic name) for the script.
    So my question is this: is there an easier way to implement breadcrumb functionality for RoboHelp7's HTML Help, or is this the best I can do?
    Any help or referral is much appreciated.
    Thanks in advance,
    Sick of Scripting

    Hi there
    I have RoboHelp 7 and Breadcrumbs aren't offered there as a feature for CHM ouptut. Sorry.
    Anything you do will most certainly involve some custom coding or manual input.
    I suppose one possibility would involve creating a few templates. You would need one for each book path in your project. Then build a breadcrumb trail leading to the book. Apply the template to the appropriate topics.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Implementing cache for dropdown values in Web Dynpro Iview

    Hi All,
             I am currently in the processing of enhancing a web dynpro application which contains among other things around 15 drop down boxes. The values in these drop down boxes are coming from oracle database and these values change occasionally.
            To optimize the response time, I have implemented simple caching machanism using static  variable in plain java class. The objective is to retrieve the values for the first time from oracle db and use the same datastructure for subsequent calls. Though I have found that the number of calls to the database reduced significantly I am facing some problem understanding and implementing the cache refresh behaviour.
          I want to implement a cache refresh machanism for every 12 hours.
        Solutions tried.
                   Creating a thread to refresh the cache for every 12 hours.
                   Creating a timer for refreshing the cache for every 12 hours.
        Problems encountered :
        1.  Is it appropriate to use threads in a web dynpro app?
        2.  What I have observed is that  the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code.  When I deploy a new code is it not supposed to remove all copies from the memory?
           If using a daemon thread is appropriate, What is the web dynpro
              framework's class loading behavior when a new copy of code is deployed?
             Does it completely unload existing classes (there by killing the daemon thread
                   created in previous deployment)?
       3. Assuming that we have found suitable solution for thread issues, what would  happen when the application is deployed on a cluster? Can we send a message to
            all the nodes in the cluster?
    I would like to understand what other developers has done in these kind of situations. Your experience and insight will be valuable and help me decide to implement caching or not in  the first place.   
    Thanks in advance.
    Regards
    Pallayya Batchu

    Pallayya,
    <i>1. Is it appropriate to use threads in a web dynpro app?</i>
    Not recommended as with any J2EE application
    <i>2. What I have observed is that the thread (I have created a daemon thread) is alive even after I have deployed a new copy of the code. When I deploy a new code is it not supposed to remove all copies from the memory?</i>
    Re-deployment doesn't mean stopping all user spawned threads. It just causes unloading of classes if there are no hard references from anything but deployed application. In your case, there are probably references from Thread/Runnable so your previous version is not unloaded on redeployment.
    <i>3. Assuming that we have found suitable solution for thread issues, what would happen when the application is deployed on a cluster? Can we send a message to all the nodes in the cluster?</i>
    Probably you can, probably you cannot. Even if you can it would be complex.
    My advise -- abandon threads altogether, use real cache instead:
    package com.yourcompany.yourapp.utils;
    import java.util.HashMap;
    import java.util.Map;
    public class ValueHelpCache {
      private static class Entry {
        long lastLoadTime;
        Map  payload;
        Entry(final Map payload) {
          this.payload = payload;
          this.lastLoadTime = System.currentTimeMillis();
      final private Map _entries = new HashMap();
      private ValueHelpCache() {}
      synchronized public Map getValueHelp(final String valuyeHelpKey) {
         Entry entry = (Entry)_entries.get(valuyeHelpKey);
         if ( entry == null) {
           entry = new Entry( loadValueHelpFromDatabase(valuyeHelpKey) );
           _entries.put(valuyeHelpKey, entry);
         } else {
           final long now = System.currentTimeMillis();
           if ( now - entry.lastLoadTime > ENTRY_TTL ) {
             entry.payload = loadValueHelpFromDatabase(valuyeHelpKey);
             entry.lastLoadTime = now;
        return entry.payload;
      private Map loadValueHelpFromDatabase(final String valuyeHelpKey) {
        /* @TODO implement loading values from database */
        return null;
      public static ValueHelpCache getInstance() { return INSTANCE; }
      final public static long ENTRY_TTL = 12 * 60 * 60 * 1000;
      final private static ValueHelpCache INSTANCE = new ValueHelpCache();
    This way client code tracks itself what entries are stale and need to be reloaded. No threads at all and no problems in cluster. You may alter time tracking mechanism to reload at given time of day, say at 12AM and 12PM -- just use java.util.Calendar and change code accordingly.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Correct way of using LayeredPane for animation

    Hi,
    before I post my questions some background info (it has become quite a long story sorry for that, you can skip to the bottom if you want):
    i'm not an expert java programmer so I appologize for any stupid questions or remarks.
    Currently i'm implementing a road traffic simulation. Cars drive over roads, intersections etc. To make the movements/animation look smooth i've used doublebuffering or page flipping (I'm not sure while I used the getBufferStrategy() from a JFrame: strategy = frame.getBufferStrategy(); )
    To add my own JButtons created from .png file I've switched off the RepaintManager by creating a NullRepaintManager. The simulation thread is responsible for calling the repaint function, which is done every few milliseconds after the positions of the cars are updated. These buttons are added to the ContentPane of the frame which is made non-opaque to make the roadnetwork and cars visible (*i don't understand this)
    Btw I've 'borrowed' these ideas from 'developing games in java ' from Brackeen: http://www.brackeen.com/javagamebook/
    The roadnetwork and cars are drawn on the a Graphics2D by calling: (Graphics2D)strategy.getDrawGraphics(); first I draw an image of the roadnetwork to clear the old vehicle positions and then the new positions of the cars are drawn. after that the screen/frame is updated: strategy.show();
    This all works fine.
    The problems start when I want to have a popup JPanel to appear on the screen after I clicked somewhere on the roadnetwork. According to Brackeen this can be done by initializing a JPanel and add it to the LayeredPane of the JFrame and make it visible when needed. This does not work while the JPanel never pop's up and I don't understand why not, because the demo from brackeen works fine. When I add this JPanel to the contentPane it does popup but the buttons are shifted to the right which is not what i want.
    Also I want to add a JMenuBar to the frame, i thought I could simply used: frame.tsetJMenuBar(menuBar);
    however the menubar shows up next to my custom JButtons....
    ====>My Questions:
    What is the correct way to draw smooth animations inJava without slowing down the whole program when quite a large area has to be draw... this seems to happen e.g. in the Java demos: ..\jfc\Java2D
    How can I popup JPanels or internalFrames ontop of the animation?? probably by using the LayeredPane?
    I also want to add a JMenuBar in the normal position.
    Sorry for the long text and questions... but I'm struggling for almost two month with this now (using an increadible number of java books) and haven't solved it yet.
    Any suggestions are welcome Thanks in advance!!
    Rens

    It gets the first address from the pxelinux.0, another one is usually handed down after it boots, but sometimes it reuses it again. 
    Usually what happens on a diskless system is it tries to use the dhcpcd lease from the last diskless workstation (or possibly reuses the same one it gets from pxelinux.0).  But it has enough logic built into that it looks for another unique address for the next diskless workstation. 
    Do you have your pxeclient.cfg/default appended options set correctly to be ip=::::::dhcp? 
    Of course from the diskless wiki:
    label archxx
    kernel archxx/boot/vmlinuz-linux
    append init=/usr/lib/systemd/systemd initrd=archxx/boot/initramfs-linux.img root=/dev/nfs rootfstype=nfs nfsroot=xx.xx.xx.xx:/srv/tftp/archxx,v3,rsize=16384,wsize=16384 ip=::::::dhcp

  • Correct way to stream audio

    Pardon my ignorance. I have tried to search the forums, but the search box on this site hasn't got the possibility to limit the search to only this forum.
    My question is simple: If I capture audio from the microphone on my computer using a TargetDataLine and want to stream it over the internet to some other computer with some other software somewhere, what is the correct way to do so?
    Alternative 1: I create a ByteArrayOutputStream and a ServerSocket
    Alternative 2: I missed something in the documentation and should actually have constructed some other Line object connecting to an outgoing port on the computer.
    Thanks for any help

    rebol wrote:
    Pardon my ignorance. I have tried to search the forums, but the search box on this site hasn't got the possibility to limit the search to only this forum.You're fine...Ignorance is what forum questions are all about ;-) No point asking a question you already know the answer to...
    My question is simple: If I capture audio from the microphone on my computer using a TargetDataLine and want to stream it over the internet to some other computer with some other software somewhere, what is the correct way to do so?JavaSound doesn't have any way to do this. You do have a bunch of options about how to go about doing it, though...
    Alternative 1: I create a ByteArrayOutputStream and a ServerSocketThat would certainly work, but there are a handful of problems with it.
    (1) ServerSocket = TCP, and TCP = resends dropped packets. If you resend dropped packets, your stream will progressively get further and further behind "real-time" because every resent packet will add some delay that will never be made up.
    (2) This is probably going to take up a fair bit of bandwidth if you're capturing decent quality audio.
    So you'd definately want to use UDP instead to avoid the delay thing. Problem there is...
    (1) UDP packets aren't guarenteed to be delivered in order, so you'll want to drop the out of order packets.
    Actually, there's a method out there that's widely used to send media across a network that's implemented in UDP that's called RTP (Real-time Protocol). RTP is implemented in an add-on package for Java called JMF (Java Media Framework).
    With JMF, you can capture audio, transcode it into a different transmission-friendly RTP format, send it over the network, receive it on the other end, and play it using the built-in JMF player object. And if you're just wanting to do RTP and Sound, you can do it all just by including an extra JAR file.

  • What is the correct way to destory a Thread?

    Just wondering what is the correct way to destroy a thread? I am currently using the stop() method, but i noticed that it has been depreciated (along with other methods used to destroy a thread) when i looked at the thread documentation. Since this is so, then how can one correctly destroy a thread? Thanks in advance for the help.

    There is an awful lot of bad advice in this thread about what null does. Please in future check on your own with working code before offering up misguided and very wrong advice. Particularly when your advice contradicts that previously given.
    Please compile and run the following
    public class Test implements Runnable{
      public static void main(String args[])throws Exception{
        Test test = new Test();
        Thread t= new Thread(test);
        t.start();
        // have delay wait a few seconds to demonstrate
        Thread.sleep(3000);
        System.out.println("Setting reference to thread to null");
        t = null; // what does this do?
        // jack all
        System.out.println("Exiting main");
      public void run(){
        while(true){
          System.out.println("Hello from test thread!");
          try{ Thread.sleep(750); }catch(InterruptedException iDontCareAboutThis){}
    }This will output the following
    C:\>java Test
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!
    Setting reference to thread to null
    Exiting main
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!
    Hello from test thread!And continues on endlessly. Setting the reference to null is NOT an answer to this problem.

  • Which of of these two choices is the correct way to call a report ?

    Environment is 9iAS.
    Which of of these two choices is the correct way to call a report from the menu?
    Choice 1) CGNV$INVOKE_REPORT('W02226.adinfra.net:8888,reports9i', 'rv043knd.rdf', CACHE, '', 'HTML',NULL );
    Coice 2) qms$menu.set_current_action('LAUNCH_REPORT','rv043knd.rdf'); execute_trigger('QMS$MENU_ITEM');

    although the menu-preference MNUDRC has the value qms$menu.set_current_action('LAUNCH_REPORT','<MODULE>'); execute_trigger('QMS$MENU_ITEM');
    the generated code for calling the report in the menu is like the code under option 1).
    What else do we need to set (in the preferences or elsewhere) to use the Headstart Report Launch Form ???
    thanks! Bart

  • Is it a correct way to get oracle skin?

    I have created a custom skin by coping oracle’s css file (oracle-desktop-10_1_3_1_0-en-ie-6-windows-s) from the cache memory of the solution of SRDEMO application. Then registered that with a name (eg MySkin) in adf-faces-skin.xml and configured an application to use this new skin.
    When I did the SRDEMO again with the new skin that I created, the pages look completely different even though I didn’t modify the original skin copied from the solution of SRDEMO.
    1.     Why does it give different look and feel?
    2.     Is it a correct way to create a custom skin?
    3.     If the answer to the question is no, is there any way to get oracle skin?
    Thank you

    Hi Frank,
    Thank you for your reply,
    I don’t think that I messed up the configuration file. I have done the following.
    1. Copied css file from cache and saved that file as css/myskin.css
    2. Then I registered myskin.css in adf-faces-skins.xml as follows
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <skins xmlns="http://xmlns.oracle.com/adf/view/faces/skin">
    <skin>
    <id>myskin.desktop</id>
    <family>myskin</family>
    <render-kit-id>oracle.adf.desktop</render-kit-id>
    <style-sheet-name>css/myskin.css</style-sheet-name>
    </skin>
    </skins>
    3. Then I configured SRDemo to use that skin in adf-faces-config.xml as follows.
    <?xml version="1.0" encoding="windows-1252"?>
    <adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
    <skin-family>myskin</skin-family>
    </adf-faces-config>
    Could you please let me know whether it is correct or not?

Maybe you are looking for