Debugging code inside the library of the ADF

Hello

I use JDeveloper 11.1.2.1

I created the library of the ADF with general code for my project.
Is it possible to tracking within this library code ADF from a project that use this library for debugging this project?

Anatolii

Hello

A library contains the class files, you must have the source of debug and trace.

For more information about debugging:

http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/web_testdebug.htm

Hope this will help.

-Prasad

Tags: Java

Similar Questions

  • The code inside the mc

    Hey guys,.

    I have this code inside a Mc called 'classes '.

    var myMenuArray = [headquarters, barracks, tank, anti-tank, artilleryantiair, airfield, prototype];

    for each {(var btn in myMenuArray)

    btn.addEventListener (MouseEvent.CLICK, onBtnClick);

    }

    function onBtnClick (event: MouseEvent): void {}

    var classVar:String = countryVar + "/" + event.target.name;

    trace (classVar);

    I want to take this outside the Mc code, what should I change?

    Thanks in advance.

    Tim

    Just objects via the movieclip containing their target, the rest of the code remains as it is... two approaches...

    with {(classes)
    var myMenuArray = [headquarters, barracks, tank, anti-tank, artilleryantiair, airfield, prototype];

    }

    OR

    var myMenuArray = [classes.headquarters, classes.barracks, classes.tank,...];

    I don't know if you will have problems using 'prototype' as the instance name.

    Edit: Another thing you can do is to use 'currentTarget' instead of 'target '.  It is possible that objects within these buttons can end up being the target, but the currentTarget will always be the object that has the assigned listener

  • Popup of console log in Chrome for the Javascript code for the Adf application

    Hello

    I use JDev 11.1.1.7.

    In our application, I used the same code as in the example (http://www.oracle.com/technetwork/testcontent/27-long-running-queries-169166.pdf) adf code corner next.

    I used this code to my command button on my page.

    The problem is, when you run the application in the browser Chrome, clicking this command button displays a warning for javascript popup (Please find below printscreen).js_error_popup.png

    The application is not break and continues to work even if this popup comes.

    I tried with other browsers, it is works well and do not show this javascript error.

    You can all help to suggest? Is there something wrong with the javascript code? Thank you.

    Best regards

    cmoster

    Hi Timo,

    The problem is now resolved.

    We have corrected by adding these params of context in the web.xml file to work around the problem.

        org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT

        fake

     

     

        oracle.adf.view.rich.profiler.ENABLED

        fake

     

     

        oracle.adf.view.rich.LOGGER_LEVEL

        OFF

     

     

        oracle.adfinternal.view.faces.DISABLE_CONTENT_COMPRESSION

        fake

     

    Best regards

    cmoster

  • fielset inside the adf page

    Hello

    I try to use fieldset ADF inside page with the following approach, but it displays the components outside the fieldset. I used the div
    inside and outside the fieldset also. But it's always the outdoor components display the fieldset. Can someone help me get the fieldsetset with the behavior of the legend.

    < fieldset >
    the legend <>process < / legend >
    < af:panelGroupLayout id = "pgl24" layout = "horizontal" >
    < af:inputDate value = "#{bindings." RenewalProcessDate.inputValue}.
    label = 'renewal '.
    required = "#{bindings." RenewalProcessDate.hints.mandatory}.
    shortDesc = "#{bindings." RenewalProcessDate.hints.tooltip}.
    ID = "id3".
    inlineStyle = "" white-space: nowrap; ">"
    < f: validator binding = "#{bindings." RenewalProcessDate.validator} "/ >"
    < af:convertDateTime pattern = "#{bindings." RenewalProcessDate.format} "/ >"
    < / af:inputDate >
    < af:inputText value = "#{bindings." RenewalProcessLevel.inputValue}.
    simple = 'true '.
    required = "#{bindings." RenewalProcessLevel.hints.mandatory}.
    columns = "#{bindings." RenewalProcessLevel.hints.displayWidth}.
    maximumLength = "#{bindings." RenewalProcessLevel.hints.precision}.
    shortDesc = "#{bindings." RenewalProcessLevel.hints.tooltip}.
    ID = "it30" >
    < f: validator binding = "#{bindings." RenewalProcessLevel.validator} "/ >"
    < af:convertNumber groupingUsed = "false".
    model = ' #{bindings. " RenewalProcessLevel.format} "/ >"
    < / af:inputText >
    < / af:panelGroupLayout >
    < / fieldset >

    Thank you and best regards,

    S R Prasad

    Hi prasad,.

    Add one more default panelGroupLayout before your fieldset



    Process of


    label = 'renewal '.
    required = "#{bindings." RenewalProcessDate.hints.mandatory}.
    shortDesc = "#{bindings." RenewalProcessDate.hints.tooltip}.
    ID = "id3".
    inlineStyle = "" white-space: nowrap; ">"




    simple = 'true '.
    required = "#{bindings." RenewalProcessLevel.hints.mandatory}.
    columns = "#{bindings." RenewalProcessLevel.hints.displayWidth}.
    maximumLength = "#{bindings." RenewalProcessLevel.hints.precision}.
    shortDesc = "#{bindings." RenewalProcessLevel.hints.tooltip}.
    ID = "it30" >


    model = ' #{bindings. " RenewalProcessLevel.format} "/ >"



    Kind regards
    Rami

  • Javascript code for the ADF to complete a field entry date

    Hey guys,.

    I have a field of adf entry date

    < af:inputDate value = "#{MyBean.date}" >
    < af:clientListener method = "onEnterDate" type = "keyPress" / >
    < / af:inputDate >

    I would like to implement a javascript function that complements the date field, means: when the user inserts 10 in the field and press the ENTER key on the keyboard, I want to fill the date with the time current system, like this (11/10/2011), so how can I do this...

    Thanks in advance...

    AccadSoft

    You can write a client-side converter [url http://myfaces.apache.org/trinidad/devguide/clientValidation.html] to do this.

    John

  • Download pdf inside the adf region question

    All,

    I am trying to download a PDF within a region. Is my code to download
            InputStream ios = Thread.currentThread().getContextClassLoader().getResourceAsStream("StatementReport.jrxml");
            Map parameters = new HashMap();
            parameters.put("PAR_CUSTOMER_ID", customerId.toString());
            parameters.put("SUBREPORT_DIR", "./");
            parameters.put("rowid", statementRowId.toString());
            Connection connection = null;
            try {
                HttpServletResponse response =  (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
                ServletOutputStream servletOutputStream;
                servletOutputStream = response.getOutputStream();
                byte[] bytes = null;
                //this will give us the existing connection from the AM
                ob = bc.getOperationBinding("getCurrentConnection");
                ob.execute();
                connection = (Connection)ob.getResult();
                //This will create a new connection alltogether.
                /* Context ctx = new InitialContext();
                Context envCtx = (Context)ctx.lookup("");
                DataSource ds = (DataSource)envCtx.lookup("jdbc/om");
                if (ds != null) {
                        connection = ds.getConnection();
                }  */
                JasperDesign jasperDesign = JRXmlLoader.load(ios);
                JasperReport jasperReport =   JasperCompileManager.compileReport(jasperDesign);
                bytes = JasperRunManager.runReportToPdf(jasperReport, parameters,  connection);
                response.addHeader("Content-disposition",  "attachment;filename=statement.pdf");
                response.setContentType("application/pdf");
                response.setContentLength(bytes.length); //commented this also as mentioned in a number of post. Also tried adding buffersize to the response object but no progress
                servletOutputStream.write(bytes, 0, bytes.length);
                servletOutputStream.flush();
                servletOutputStream.close();
                context.responseComplete();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (JRException e) {
                e.printStackTrace();
            } /*catch (NamingException e) {
                e.printStackTrace();
            } catch (SQLException e) {
                e.printStackTrace();
            } */catch(Exception e){
                e.printStackTrace();
            }
    I get the following error and her dosent open pdf

    < Sep 28, 2011 10:12:04 GST > < error > < HTTP > < BEA-101104 > < Servlet running in the servlet context "[path of the module: DealerOnline ServletContext@8594227[app:DealerOnline: / DealerOnline spec-version: 2.5 version: V2.0]" failed, java.net.ProtocolException: did not said Content-Length, wrote: '0' bytes instead of a said: '325047' bytes...
    java.net.ProtocolException: did not said Content-Length, wrote: '0' bytes instead of a stated: '325047' bytes.
    at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:446)
    at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1432)
    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1511)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    Truncated. check the log file full stacktrace
    >

    I tried on all browsers, but the error persists


    thnks
    11.1.1.5 Jdev

    Hello

    Do you use the fileDownloadActionListener - http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_fileDownloadActionListener.html? Otherwise I try

    Frank

  • Refactor code in the ADF

    Hi all
    I wrote an ADF application to help users move through the records of the database in a friendly manner. However, the underlying database has been developed by the DBA recently to delete a key referential. This has a significant impact on my application. How can I go on it the refactoring effort and make it work.

    Thank you

    See here: http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/bcentities.htm#sthref217

  • Java code in the expression editor

    The Java tab in the expression editor makes me think it should be possible to write a bunch of lines of code java, somehow but no matter what I try it always refused. The java code only I got to work was create a set command, and then write the right side a

    var x = something;

    statement. Since there is no try/catch, if, while, instructions etc. in the java tab, should not be possible to use somehow? And if so, what can they be used in (quite apparently the game is bad)?

    I use IPCC 4.5 with Premium license and I am able to write java code inside the set command.

    The java code must be writing in brackets {}; for example

    {

    try {}

    int i = 0;

    int result = 0;

    for (i = 0; i<>

    result = result + i;

    }

    return the result;

    } catch (Exception ex) {}

    Returns - 1;

    }

    }

    Hope this helps.

    Stefano

  • Works Datapump inside the SQL worksheet...

    Hi all

    "running the following code inside the spreadsheet and he just spits ' anonymous block completed.

    *****************************

    Set scan off

    Set serveroutput on

    escape game off

    whenever sqlerror exit

    DECLARE

    number of H1;

    errorvarchar varchar2 (100): = "ERROR";

    tryGetStatus number: = 0;

    Start

    H1: = dbms_datapump.open (operation = > 'IMPORT', job_mode = > job_name 'FULL' = > 'IMPORT_JOB_SQLDEV_73', version = > 'COMPATIBLE');

    tryGetStatus: = 1;

    dbms_datapump.set_parallel (handle = > h1, degree = > 1);

    dbms_datapump.add_file (handle = > h1, filename = > 'IMPORTtest2.LOG', directory = > 'DATA_PUMP_DIR', filetype = > 3);

    dbms_datapump.set_parameter (handle = > h1, name = > 'KEEP_MASTER', value = > 0);

    dbms_datapump.add_file (handle = > h1, filename = > ' ORAEU_COPIED.) (DMP", directory = >"DATA_PUMP_DIR", filetype = > 1);

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\APT_SYS_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/APT_SYS_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\APT_SYS_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/APT_SYS_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATA_MART_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_MART_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATA_MART_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_MART_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > UPPER ('C:\ORACLE\ORADATA\ORCL/DATA_STORE_DATA01.) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_STORE_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATA_STORE_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_STORE_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\RNET2_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/RNET2_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\RNET2_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/RNET2_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATA_AMA_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_AMA_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATA_AMA_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATA_AMA_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATASERVICES_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATASERVICES_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\DATASERVICES_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/DATASERVICES_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\ARC_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/ARC_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\MCSS_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/MCSS_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\MCSS_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/MCSS_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\IPAS_DATA01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/IPAS_DATA01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\IPAS_IDX01.)) DBF'), value = > SUPERIOR ('/ rdsdbdata/db/ORAEU_A/file/IPAS_IDX01.) DBF'));

    dbms_datapump.metadata_remap (manage = > h1, name = > 'REMAP_DATAFILE', old_value = > SUPERIOR ('C:\ORACLE\ORADATA\ORCL\PFIZERCMS_DATA01.)) DBF "), value = >"

    dbms_datapump.set_parameter (handle = > h1, name = > 'INCLUDE_METADATA', value = > 1);

    dbms_datapump.set_parameter (handle = > h1, name = > 'DATA_ACCESS_METHOD', value = > "AUTOMATIC").

    dbms_datapump.set_parameter (handle = > h1, name = > 'REUSE_DATAFILES', value = > 0);

    dbms_datapump.set_parameter (handle = > h1, name = > 'TABLE_EXISTS_ACTION', value = > 'REPLACE');

    dbms_datapump.set_parameter (handle = > h1, name = > 'SKIP_UNUSABLE_INDEXES', value = > 0);

    dbms_datapump. START_JOB (handle = > h1, skip_current = > 0, abort_step = > 0);

    dbms_datapump. Detach (handle = > h1);

    errorvarchar: = "NO_ERROR"

    EXCEPTION

    WHILE OTHERS THEN

    BEGIN

    IF ((errorvarchar = ' ERROR') AND (tryGetStatus = 1)) THEN

    DBMS_DATAPUMP. Detach (H1);

    END IF;

    EXCEPTION

    WHILE OTHERS THEN

    NULL;

    END;

    LIFT;

    END;

    /

    *****************

    all entries are appreciated

    Thank you

    Please let me know if you see a code problem

    What is your question has to do with Sql Developer?

    Unless you can connect you must mark ANSWERED thread and repost it in Sql and Pl/Sql forum

    the Japan Government says:

    Hi Jeff

    I expect that it runs the import at least.

    Get this error now on line 66:

    EXCEPTION

    WHILE OTHERS THEN

    BEGIN

    IF ((errorvarchar = ' ERROR') AND (tryGetStatus = 1)) THEN

    DBMS_DATAPUMP. Detach (H1);

    END IF;

    EXCEPTION---> line 66

    WHILE OTHERS THEN

    NULL;

    END;

    When you repost you should post the EXACT code you use. The code you posted is NOT valid: you must also REMOVE the WHEN of OTHER or you can expect everyone to book you to INTENTIONALLY HIDE any exceptions that occur. Why do you NOT want to know if Oracle finds problems in your code? That makes NO sense at all.

    IF ((errorvarchar = ' ERROR') AND (tryGetStatus = 1)) THEN

    There is NO SPACE after the "and" what is garbage just as far as Oracle are concerned.

    Either you have posted an incorrect code or your code has syntax errors and will not compile or run anyway.

    I suggest that correct you your syntax errors before reposting in the Sql forum. If you have pain to find their delete ALL unnecessary code to reduce the problem to the example as SIMPLE as possible, until you find the code causing errors.

  • Select the event inside the nested symbol does not

    It's actually based on a previous thread located here: http://forums.Adobe.com/message/5596353#5596353

    I thought about adding to this thread, but in many ways it deserves it's own separate discussion.

    I used the Zaxist examples and AMULI put in place successful. On a navigation bar located directly in the root.

    Now, the question is the same thing with a menu that is nested inside a symbol.

    In my example, I have a button that when you click on anime a symbol of navigation bar down. This works. Also, the LINK button retains its background color set to black until the user clicks another button in the main navigation bar. OK, he has no other button in this example. So just pretend and believe me, it works.

    Now in the nested clip, there is a similar function I Illustrazione in the compositionReady. Then I added my actions to each of the four buttons inside the symbol navlink nested. The rollover/rollover effects work well. But the click event shows an error. It is basically the same click event in the navigation bar on the root, which does not have an error.

    My code inside the compositionReady is;

    Reset the State of each button

    buttons = {}

    Reset: function() {}

    sym.getSymbol("btnLink").$("back").css ({"opacity": "0"})

    }

    }

    which button?  Zero means no!

    We set this variable to get know e what button

    WB = 0;

    Reset each State buttons Sub

    buttonsub = {}

    Reset: function() {}

    sym.getSymbol("btnCommunication").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnIndividuality").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnCreativity").$("back").css ({"opacity": "0"})

    sym.getSymbol("btnInclusivity").$("back").css ({"opacity": "0"})

    }

    }

    which button?  Zero means no!

    We set this variable to get know e what sub button

    SB = 0;


    I would like to only it where there are two functions. One for all main buttons and the other for all the buttons of the child. This way I can have two buttons stuck to the hover effect when you click them in order. If all goes well, that makes some sense.

    Here is my event click in the button "btnIndividuality" inside the symbol navLink nested:

    buttonsub. Reset();

    sym.getSymbol("btnIndividuality").$("back").css ({opacity: 1})

    SB = 1;

    The other three buttons are basically the same.

    So I tried a number of ideas. Especially goes directly from the stage and drilling down into JQuery. Nope.

    So the Firebug error is 'Javascript error in the event handler. Type of event = 162 item line ' we of edge.2.0.0.min.js. It's this line:

    function (a) {if (a) {if(!this.aSymbolInstances) this.aSymbolInstances = []; this.aSymbolInstances.push (a.getSymbolElement ())}}; Y = Function (a, b, c) {function f (c, b) {if (b.length > = 2 & & typeof b [0] = 'object' & & typeof b [1] = 'object' & & b [1] .Guy! == "onError") {var e; e = d.Event ("onError"); if (g) e.compId = g.getComposition () .compId; e.originalEvent = b [1]; d (doc indicator) .triggerHandler (e)} window.console.log ("Javascript error in the event handler.}} Type of event = "(+a)} var e = this [b [0]], g;" = If (typeof e = "function") if (b.slice (1), a = 'element') return function() {var;

    Why would I get this here and not on the root? What is the correct path to make it all work? If close, but not home right now.

    Files are located in:

    https://www.dropbox.com/s/xlgfeeyam9hyuf3/nested.zip

    Oops! Sorry, without my knowledge, that it was published before it is completed

    (3) thus, using Firebug, you get this when you trigger a click event

    In other words, sym.getSymbol ("btnCommunication"), the first statement in your buttonsub.reset function fails.

    In your mind, sym points to the instance of navLink, parent of the instance of btnCommunication.

    But the buttonsub.reset function is defined in the compositionReady event handler, so when it runs sym points until the symbol of the scene, which has no child symbol instance named btnCommunication. Where the bug.

    Therefore, the context of symbol should be past to the function as a parameter. Set it like this:

    buttonsub = {}

    reset function: ( symClick)

    {

    symClick.getSymbol("btnCommunication").$("back").css ({"opacity": "0"})

    And call it like this:

    buttonsub. Reset ( sym);

    In other words, the formal parameter symClick will receive as the effective setting, this actually sym sym pointing to the instance of navLink.

    Gil

    .

  • To access the elements of the scene, via a SWF file that is loaded inside the scene

    -J' I A.fla.

    -A.fla includes buttons, video clips and also B.swf is loaded in A.fla with a CHARGER

    -I want to access the elements in A.fla, from codes actionscript inside B.fla to change these video clips and buttons based on the actions going on in B.swf

    for example, lets say there is an X button in A.fla and there is a button there B.fla, B.swf is loaded into A.fla, and I want the key Y to delete X when you click the button.

    General question: to access the elements in a stage, via a file SWF loaded in this stage.

    This is a way silly to explain: there is this pregnant mom, a child is loaded inside him, now, I want the codes inside the child, access to MOM

    elements, such as lets say, I want the code of the child can make the eyes of MOM flashing faster. logically there is something inside something else, but I want to have access to the bigger picture of what is loaded. I hope I can get my point across.

    I repeat what I replied to your other psoting for this same question and adding just a little bit more...

    If you load a swf into another using the Loader class, then the charger itself is the parent of the loaded swf file, so MovieClip (parent.parent) could help you target the timeline that the charger was born.

    The way to have a loaded file to speak to a parent file is through the sending of events that the parent assigns headphones for after the file has been loaded.  Here is a link to an announcement that could help explain how to implement this.

    http://forums.Adobe.com/thread/470135?tstart=120

    And here's a quick example...

    Example:

    Add something to raise the event in the child:

    dispatchEvent (new Event ("eventTriggered"));

    In your SWF to loading/parent, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf file.

    triggered when external swf loading event handler
    function loaderCompleteHandler(event:Event) {}
    (event.currentTarget.content as MovieClip) .addEventListener ("eventTriggered", eventHandler);
    }

    function eventHandler(event:Event):void {}
    trace ("event sent in loaded swf");
    }

    So in your A.swf, you should have the other event and functions of event handler that would take care of control buttons.   Event listeners could be assigned to the B.swf after that that it has loaded.  In your B.swf you just have it dispatches an event and the A.swf manage self adjustments you need taken care of.  This allows the two files to be independent of each other on a functional level.

    Regarding the buttons that you want to disable, you can either use the removeEventListener() method to remove the listeners you have assigned, or you can set the mouseEnabled property to false, or you can set the visible property to false.

  • Library of the skin of the ADF in JDev 11.1.1.7.0

    Hello

    I use JDev 11.1.1.7.0. I have created a Web Application from merger for skins-in order to create a shared library for Skinning. I created this as an ADF library JAR. Also, I created another Web Application of merge to use the ADF to skinning library. I associated the ADF counting library to the Application.

    Problem:

    The application is not made according to the defined CSS.

    Warning message:

    < SkinFactoryImpl > < getSkin > cannot find a skin that matches org.apache.myfaces.trinidad.desktop SkinTemplate and renderkit family, so we'll use the simple skin

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 1.9.2

    Not a valid @agent CSS property < SkinCSSDocumentHandler > < _parseAgentProperties > address: max-version: 532

    Code:

    The project, the counting

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Trinidad - skins.xml:

    <? XML version = "1.0" encoding = "UTF-8"? >

    "< skins xmlns ="http://myfaces.apache.org/trinidad/skin">."

    < skin >

    MySkin.custom.desktop < id > < /ID >

    < Home > SkinTemplate < / family >

    org.Apache.MyFaces.Trinidad.desktop < render-kit-id > < / render-kit-id >

    < extends > skyros < / extends >

    < style-sheet-name > skins/skintemplate/SkinTemplate.css < / name of style sheet >

    < / skin >

    < / skins >

    On demand,

    Trinidad - config.xml:

    <? XML version = "1.0" encoding = "windows-1252"? >

    "< trinidad-config xmlns ="http://myfaces.apache.org/trinidad/config">."

    SkinTemplate < skin-family > < / skin-family >

    skin v1 < version > < / skin-version >

    < / Trinity-config >

    Are there any errors recorded just before getSkin? In my case, I do not use the version, but the main is always the same.

    Try to give skyros - v1.desktop in in the main application.

    Trinidad - skins.xml:

    http://MyFaces.Apache.org/Trinidad/skin">

    MYSKIN. Custom.Desktop

    SkinTemplate

    org. Apache.MyFaces.Trinidad.Desktop

    Skyros - v1.desktop

    skins/skintemplate/SkinTemplate.css

  • DataControls to consume the application and the library working individually ADF

    Hi all

    need advice.

    JDev 11.1.2.4

    Integrated WebLogic

    My requirement:

    I want to create a reusable component that I can use in different applications. This reusable component must have a table ADF wherein I can do CRUD operations based on an input value.

    For this I created an ADF with stubborn taskflow application that has input parameters.

    I created the EO, the VO and her I'm in the model layer and controls using data, I created the table of the ADF inside the stubborn taskflow jsff page.

    I have a method call before the page to make the pre treatment.

    I created the ADF of Jar file library of the ViewController project with the release of generation of model project.

    I added this ADF Lib pot file to the consumer through the range of resources demand.

    Usage application has its own control Module of the Application data.

    So now, in the consumer application, I can see the two data controls, second in the ADF lib pot.

    I have a page in the application consumer with two things,

    1. a form I created using the control data of the Application Module consumes,

    2. a table I created using the taskflow bounded as a region of ADF library Jar file,

    Now am not able to save the form data and the table using the data control consume Application Module validation operation. Using individual validation operations, they work. Having said that, that my request has two working both datacontrols that says two transactions.

    My question is, if the approach I took for my requirement is correct or not. If not, please give me the right to another approach help me with the solution to my problem.

    Please let me know if you want more details.

    Thank you

    BSBhat.

    If you do not want to use individual validation operations then you must use 'management of the transaction ADF task flows', you can define under options on your narrow-minded taskflow and test your usecase.

    -> set Transaction "always start the new transaction.

    -> set Taskflowreturn component > behavior > final commit Transaction property.

    This will take care of transactions for the AM of the same application and AM of the ADF libraries.

    I hope this helps.

    ~ Judy Sai.

  • inside the cod

    Hi all

    I developed an application. When I compile the .cod file the application will be built. but inside the cod I get myapp.cod, myapp - 1.cod, mapp - 2.cod,... like cod file 6 is there next. When I create a new project with the same source, this time also I get the same. Why... ?

    If your main COD has more than 64 k, it will be to have the cod inside SIbiling files. You can extract them using zip or winrar.

  • Taskflow-ADF are not displayed in the library of the ADF

    Hi all

    I use Jdev 11.1.6

    I have deployed my project (contains model and View Controller) such as ADF library Jar. then I created the new connection file added this pot. It does not project taskflows show. Even as a sample project, I created and deployed as ADF library jar. added this pot on connection files. It shows the workflow. why it shows no taskflows for the first project. You can help me pls.

    Thank you

    Hello

    Check if you have followed these steps:

    • In the ADF wondering where you have the task of flow select View Controller project and go to the deployment project properties tab
    • Then create an ADF library JAR file
    • Generate the jar
    • Go to your first application, select the view controller project and go to the libraries tab
    • Select the pot that you have previously built
    • Refresh your project, you can even close your JDev.
    • From the components tab, you will find your library

Maybe you are looking for