Cannot pass property to Flex app

Hello:
I have the following line in some ActionScript which displays "undefined" when run.  The code is run when the creationComplete function is called.
Alert.show(Application.application.parameters.level);
I have the following in my launch page.  The Javascript alert correctly displays the value of level.  What am I doing wrong?  Thanks.
<%  String level = System.getProperty("level");  %>
<script>alert("<%= level %>");</script>
<noscript>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            id="FH6" width="100%" height="100%"
            codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
            <param name="movie" value="FH6.swf" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#869ca7" />
            <param name="allowScriptAccess" value="sameDomain" />
            <param name="level" value="<%= level %>"/>
            <embed src="FH6.swf" quality="high" bgcolor="#869ca7"
                width="100%" height="100%" name="FH6" align="middle"
                play="true"
                loop="false"
                quality="high"
                allowScriptAccess="sameDomain"
                type="application/x-shockwave-flash"
                pluginspage="http://www.adobe.com/go/getflashplayer">
            </embed>
    </object>
</noscript>
eric

Thanks for the response.  I finally found something that works, using "flashvars" as below.  Not too sexy but it'll do:
<%  String level = System.getProperty("level");  %>
AC_FL_RunContent(
            "src", "FH6",
            "width", "100%",
            "height", "100%",
            "align", "middle",
            "id", "FH6",
            "quality", "high",
            "bgcolor", "#869ca7",
            "name", "FH6",
            "flashvars", "level=<%= level %>",
            "allowScriptAccess","sameDomain",
            "type", "application/x-shockwave-flash",
            "pluginspage", "http://www.adobe.com/go/getflashplayer"
eric

Similar Messages

  • How to execute adobe air app & pass argument from Flex ?

    Helo everyone,
    May i ask a question, How to execute adobe air app & pass argument from Flex ?
    Thanks in advanced.
    Jacky Ho.

    Hello Jacky,
    You can find an example here
    http://spreadingfunkyness.com/passing-parameters-to-adobe-air-at-startup/

  • [svn] 3026: Bugs: LCDS-370 - Passing user credentials from Flex app to WAS 6.1 returns java. lang.ClassCastException

    Revision: 3026
    Author: [email protected]
    Date: 2008-08-28 11:35:50 -0700 (Thu, 28 Aug 2008)
    Log Message:
    Bugs: LCDS-370 - Passing user credentials from Flex app to WAS 6.1 returns java.lang.ClassCastException
    QA: Yes
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-370
    Modified Paths:
    blazeds/branches/3.0.x/modules/opt/src/websphere/flex/messaging/security/WebSphereLoginCo mmand.java

    Please test with the new Java Plug-In available in 6u10 at http://jdk6.dev.java.net/6u10ea.html. The Java/JavaScript bridge has been completely rewritten and is now more complete and portable than ever before. Longstanding issues should be fixed with this new version. Please try it and post if you continue to have problems.

  • Setting executeInBackground = true on iOS Cannot create property error

    I'm using Flash Builder 4.7, created a Flex Mobile project.
    When my application deactivates, it needs to send a single POSt HTTP request to my server. It takes a few milliseconds to send, and on Android it works just fine. However, on iOS, since the app is suspended, the request is not sent until I activate the app again.
    I've looked online and tried this solution:
    adding the line
        NativeApplication.nativeApplication.executeInBackground = true;
    In the home view, or just before sending the request, raises an exception:
    ReferenceError: Error #1056: Cannot create property executeInBackground on flash.desktop.NativeApplication.
              at views::BnpSampleHomeView$cinit()
              at global$init()
              at BnpSample()[C:\eclipse\projects\BnpSample\src\BnpSample.mxml:3]
              at _BnpSample_mx_managers_SystemManager/create()[_BnpSample_mx_managers_SystemManager.as:51]
              at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\ projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
              at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\fram ework\src\mx\managers\SystemManager.as:3057]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\p reloaders\Preloader.as:542]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    Help is apprecaited

    Some parts of this topic may be of help:
    http://forums.adobe.com/message/4359474

  • ReferenceError: Error #1056: Cannot create property

    Hello,
    I have been playing around with passing objects between Flex and BlazeDS.
    I have a Java VO:
    package vo;
    import java.util.Date;
    import java.util.Set;
    public class TestVO
    private long aInt;
    private double aDouble;
    private boolean aBool;
    private Date aDate;
    private String aString;
    private Set aSet;
    public void setAInt(long aInt)
    this.aInt = aInt;
    public long getAInt()
    return aInt;
    public void setADouble(double aDouble)
    this.aDouble = aDouble;
    public double getADouble()
    return aDouble;
    public void setABool(boolean aBool)
    this.aBool = aBool;
    public boolean isABool()
    return aBool;
    public void setADate(Date aDate)
    this.aDate = aDate;
    public Date getADate()
    return aDate;
    public void setAString(String aString)
    this.aString = aString;
    public String getAString()
    return aString;
    public void setASet(Set aSet)
    this.aSet = aSet;
    public Set getASet()
    return aSet;
    and the corresponding ActionScript VO:
    package vo
    import mx.collections.ArrayCollection;
    [Bindable]
    [RemoteClass(alias="vo.TestVO")]
    public class TestVO
    public var aInt : int;
    public var aDouble : Number;
    public var aBool : Boolean;
    public var aDate: Date;
    public var aString : String ;
    public var aSet : ArrayCollection = new ArrayCollection();
    When passing an instantiated object back from java I get these errors in the console:
    ReferenceError: Error #1056: Cannot create property AString on vo.TestVO.
    ReferenceError: Error #1056: Cannot create property AInt on vo.TestVO.
    ReferenceError: Error #1056: Cannot create property ASet on vo.TestVO.
    ReferenceError: Error #1056: Cannot create property ADouble on vo.TestVO.
    ReferenceError: Error #1056: Cannot create property ABool on vo.TestVO.
    ReferenceError: Error #1056: Cannot create property ADate on vo.TestVO.
    If I change my ActionScript VO to the following it works:
    package vo
    import mx.collections.ArrayCollection;
    [Bindable]
    [RemoteClass(alias="vo.TestVO")]
    public class TestVO
    public var AInt : int;
    public var ADouble : Number;
    public var ABool : Boolean;
    public var ADate: Date;
    public var AString : String ;
    public var ASet : ArrayCollection = new ArrayCollection();
    I dont particulary want to use this naming convention for my variables. Making the Java variables public also works but I dont want to do this either?
    Is there anything I can do or is this the way it is?
    Cheers

    Hey try this in your actionscript code
    package vo
    import mx.collections.ArrayCollection;
    [Bindable]
    [RemoteClass(alias="vo.TestVO")]
    public class TestVO
    private var _aInt:int;
    private var _aDouble:Number;
    private var _aBool:Boolean;
    private var _aDate:Date;
    private var _aString:String;
    private var _aSet:ArrayCollection = new ArrayCollection();
    public function get aInt():int{return _aInt;}
    public function set aInt(aInt:int):void
    this._aInt = aInt;
    public function get aDouble():Number{
    return _aDouble;
    public function set aDouble(aDouble:Number):void{
    this._aDouble = aDouble;
    public function get aDate():Date{return this._aDate;}
    public function set aDate(aDate:Date):void{
    this._aDate = aDate;
    public function get aString():String{return this._aString;}
    public function set aString(aString:String):void{
    this._aString = aString;
    public function get aSet():ArrayCollection{return this._aSet;}
    public function set aSet(aSet:ArrayCollection):void{
    this._aSet = aSet;
    ---That should work cos I had the same problem today and that was how I solved it.
    --Patrick

  • Cannot create property defaultColumnCount on mx.controls.DataGrid

    The app compiles fine but an error occurs at runtime.
    Code:
    <mx:DataGrid width="100%"
                 height="100%"
                 lockedColumnCount="6"
                 horizontalScrollPolicy="on"
                 defaultColumnCount="1">
    Error:
    Cannot create property defaultColumnCount on mx.controls.DataGrid
    Property description:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/listClasses /ListBase.html#defaultColumnCount

    it appears that datagrid does not inherite that property from listbase class or if it does its encapsulated so that is only used withing the class.
    what are you trying to do. when i look a the source code for flex datagrid i saw this.
    private var _columns:Array; // the array of our DataGridColumns
        [Bindable("columnsChanged")]
        [Inspectable(category="General", arrayType="mx.controls.dataGridClasses.DataGridColumn")]
         *  An array of DataGridColumn objects, one for each column that
         *  can be displayed.  If not explicitly set, the DataGrid control
         *  attempts to examine the first data provider item to determine the
         *  set of properties and display those properties in alphabetic
         *  order.
         *  <p>If you want to change the set of columns, you must get this array,
         *  make modifications to the columns and order of columns in the array,
         *  and then assign the new array to the columns property.  This is because
         *  the DataGrid control returned a new copy of the array of columns and therefore
         *  did not notice the changes.</p>
         *  @langversion 3.0
         *  @playerversion Flash 9
         *  @playerversion AIR 1.1
         *  @productversion Flex 3
        override public function get columns():Array
            return _columns.slice(0);
         *  @private
        override public function set columns(value:Array):void
            var n:int;
            var i:int;
            n = _columns.length;
            for (i = 0; i < n; i++)
                columnRendererChanged(_columns[i]);
            freeItemRenderersTable = new Dictionary(false);
            columnMap = {};
            _columns = value.slice(0);
            columnsInvalid = true;
            generatedColumns = false;
            n = value.length;
            for (i = 0; i < n; i++)
                var column:DataGridColumn = _columns[i];
                column.owner = this;
                column.colNum = i;
                if (column.cachedHeaderRenderer)
                    var item:DisplayObject = column.cachedHeaderRenderer as DisplayObject
                    if (item.parent)
                        item.parent.removeChild(item);
                    column.cachedHeaderRenderer = null;
            updateSortIndexAndDirection();
            fontContextChanged = true;
            invalidateProperties();
            itemsSizeChanged = true;
            invalidateDisplayList();
            dispatchEvent(new Event("columnsChanged"));
    its ovbious to me that flex is calculating how many columns will appear on the datagrid depending on the dataprovider you supply.
    Or if you would like to only show a specific amount of columns  you can futher define them in your grid like so
    <mx:DataGrid  id="grid" columnCount="2">
      <mx:columns>
    <mx:DataGridColumn headerText="column1"/>
    <mx:DataGridColumn headerText="column2"/>  
    </mx:columns>
      </mx:DataGrid >

  • Error #1056: Cannot create property metaClass

    Hello,
    I've been working on integrating an app between Grails, Flex and BlazeDS. Unfortunately, I keep running into an ' ReferenceError: Error #1056: Cannot create property metaClass' error. Googling hasn't really yielded much of a result and I'm not sure what to do at this point. Could anyone help?
    Thanks in advance.

    Any ideas so far anyone?

  • Why would I need to use LiveCycle Data Services in a Flex app?

    I cannot figure out what additional functionality is provided by using LiveCycle Data Services in my Flex apps.  I cannot get a clear understanding of how using LiveCycle Data Services would benefit my applications.  Does someone out there use LiveCycle Data Services?  If so, what do you do with it in Flex?
    Thanks!

    - data push for publish/subscribe implementations
    User has to do nothing to get updated information. You push it to their machine when new data is available, like Yahoo finance updated quotes.
    - data paging
    You don't want to display one million rows in your datagrid at once. Get a batch of data, if the user scrolls down, get the next batch, etc.
    - server side clustering
    One server does not get overloaded. High traffic sites have their large number of concurrent connections managed more efficiently.
    - JMS services
    JMS is a powerful technology for messaging throughout an application, and LCDS makes it much easier.
    - RTMP tunneling
    Allows the use of the RTMP protocol in LiveCycle Data Services applications. Makes it easier to traverse firewalls and proxies appropriately that currently prevent direct RTMP client connections to the server.
    If this post answered your question or helped, please mark it as such.

  • How to debug 4.5.1 flex app in Black Berry play book?

    Hi ,
         i do want to know how to debug the 4.5.1 flex app in Blackberry playbook and the process  or do we need do enable any properties  plz let me help on this ASAP.
    Thanks

    Simeon,
    Thanks for that, I had a brainfart and forgot you can have the properties defined in that manner.  I changed it but it still wasn't working which made me realize I had to change the backgroundColor property on the view in Away3D.  I realized this after trying the params for the class and then not adding the view (which had a white bg) and then i looked at the docs and bam, there it was.  Thanks!
    Matt

  • How to have HTML tags in Flex app wrapper.

    If I put this just below the <body> tag in my Flex app
    HTML wrapper, it displays:
    <h2>Greg Lafrance</h2>
    But if I put that tag just above the ending </body>, it
    does not show up.
    I'm sure it is something simple, but can someone please
    enlighten me?

    Hi,
    overflow property will tell the browser to hide the content
    if it is overflowing the available space. Please find more details
    at the URL below.
    http://www.w3schools.com/Css/pr_pos_overflow.asp
    IE is ignoring this style property and so we have scroll
    property for the BODY tag also. As Tracy mentioned, these are set
    to make sure Flex application occupies the browser.
    Hope this helps.

  • Embeded Flash movies in Flex app

    Hi,
    Flex noob with no real Flash experience. I have successfully
    loaded a Flash analogue clock swf file into an app I'm
    experimenting with in Flex. I used the image tag and is works well.
    I would like to also embed a Flash movie which is a news scroller.
    This movie calls in an external XML file as it's text source (who's
    content I change dynamically with php) and the original movie was
    wrapped in some html which passed in some 'param' parameters. Can
    anyone explain how Flex handles Flash movies like this?,
    many thanks,
    Mike

    I found a solution to my problem so I thought I'd answer my
    own question here for the good of others who may experience the
    same issue. When using Flex on your local machine (localhost),
    security precautions inherent in Flash prevent the movies from
    showing up in Flex. Once I tested on the production server the
    movies showed up fine. The problem was nothing to do with the
    param's being passed in and Flex did not need any of the info from
    the html wrapper as far as I can make out,
    Hope that saves another newbie from some hair pulling,
    cheers,
    Mike

  • Output CFC query to Flex app

    I have a CFC which simply calls the DB and returns the
    results to the Flex app.
    CFC:
    <cfcomponent>
    <cffunction name="runQuery" output="false"
    access="public" returntype="Query">
    <cfquery name="qry_login" datasource="EWPROJ">
    SELECT *
    FROM ROBERTTEST
    </cfquery>
    <cfreturn qry_login>
    </cffunction>
    </cfcomponent>
    Simple enough.......
    Here is my Flex file...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="initApp();">
    <mx:Script>
    <![CDATA[
    import mx.rpc.events.ResultEvent;
    import mx.collections.ArrayCollection;
    [Bindable]
    private var qry_result:ArrayCollection;
    private function initApp():void //first thing to load
    callCFC.runQuery()
    private function resultHandler(event:ResultEvent):void
    var qry_result:ArrayCollection = new ArrayCollection();
    //New Array Object called p1
    qry_result.source=event.result as Array;
    trace(qry_result);
    ]]>
    </mx:Script>
    <mx:RemoteObject id="callCFC" destination="ColdFusion"
    source="CFIDE.samples.FlexToCFC.CFC.myCFC"
    result="resultHandler(event)"
    showBusyCursor="true" />
    </mx:Application>
    my problem is within the [resultHandler] I want to simply
    create a variable that will contain my results of the object I
    passed so I can trace it to the screen.... I know that the object
    is returning correctly, by tracing result.event. What am I doing
    wrong here, cause it shows nothing.
    I'm guessing that my problem is that I am not putting the
    object into some sort of array or string where I can access it...
    How do I do this correctly? Thanks everyone.

    Ahhh,,, yes, I appologize. I will make better headings next
    time.. Okay, I tried your solution and it printed out what I wanted
    and more. SWEET!! Now I think all I need to do is put it in an
    associated array so I can reference things better. Not sure yet,
    but I'll play with it. Thanks again... Genius! BTW, here is the
    output when I ran it:
    mx.collections::ArrayCollection)#0
    filterFunction = (null)
    length = 6
    list = (mx.collections::ArrayList)#1
    length = 6
    source = (Array)#2
    [0] (Object)#3
    NAME = "Rob Capilli"
    TYPE = "Male"
    [1] (Object)#4
    NAME = "Meatball"
    TYPE = "Cat"
    [2] (Object)#5
    NAME = "Sanket"
    TYPE = "male"
    [3] (Object)#6
    NAME = "Sarah"
    TYPE = "Female"
    [4] (Object)#7
    NAME = "1"
    TYPE = "1"
    [5] (Object)#8
    NAME = ""
    TYPE = ""
    uid = "21B5BECE-6A2E-6940-9543-E830E43DAAFA"
    sort = (null)
    source = (Array)#2

  • Configuring socket policy for flex apps(with blocked port 843)?

    We have built several flex-based ecommerce apps for a fortune 500 customer of ours, that for various reasons, we need to use sockets to a different domain and requires a socket policy file, but were having trouble configuring our flex apps for deployment in thier enviornment where they are blocking virtually everything except port 80 . The current documentation in in regards to socket policy files and crossdomain files in a non-standard configuration not using port 843 is not providing any useful help to us.
    Here is the scenario:
    Flex apps are served from domain www.a.com in  to users browsers via http. The apps then make socket connections to domain www.b.com:80 where there are php scripts serving json data to the flex apps via port 80 using http(we use sockets because we need to set and read back http headers). The problem is the flex apps cannot make socket connections to the www.b.com domain without errors like below(unless we setup a socket policy server on port 843 of www.b.com, in which case everything works):
    Warning: Timeout on xmlsocket://www.b.com:80 (at 3 seconds) while waiting for socket policy file.  This should not cause any problems, but see http://www.adobe.com/go/strict_policy_files for an explanation.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Error: Request for resource at xmlsocket://www.b.com:80 by requestor from http://www.a.com.us/bin-debug/DownloadManagerFlex.swf is denied due to lack of policy file permissions.
    Since we cannot use port  843 for the socket policy file server, we setup the socket policy server on a different ip in the same domain: spf.b.com:80 (using the sample perl code Adobe provides), and per the docs(cited below), use Security.loadPolicyFile("xmlsocket://spf.b.com:80") before we invoke "socket.connect", to supposedly tell the flash player to check there for the socket policy file. The problem, as you can see from the error log, is that the  loadPolicyFile("xmlsocket://spf.b.com:80") is ignored.
    No matter what we do or how we set things up, we cannot get the flash player to recognize the loadPolicyFile(), it always wants to go to the port were making the socket connection on. It is unclear how to properly configure the flex app, socket policy file and crossdomain file for the above scenario. The docs allude to being able to serve  the socket policy file from a different port 80 in the same domain as the socket connection were trying to make, but were having no luck with that.
    ->Can anyone shed some light on how to make this work or what are we  missing/doing wrong? Also, if we can get this to work, are we  stuck with a 3 second delay because this(very large) customer is blocking port 843?
    As an aside,  the documentation for all this is a bit scattered, unclear and contrdictory:
    One document says:(http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_07.html)
    "This warning usually means one of two things: first, that you need to set up a
                socket policy file server on port 843, which is the first location that Flash
                Player checks by default; or second, that you need to provide more explicit
                guidance to Flash Player from ActionScript by calling loadPolicyFile to indicate the location
                of a socket policy file. When you call loadPolicyFile rather than allowing Flash Player to check
                locations by default, Flash Player will wait as long as necessary for a
                response from a socket policy file server, rather than timing out after 3
                seconds."
    Another document says(http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html):
    "If an ActionScript Security.loadPolicyFile() command exists within               the SWF file, then the Flash Player runtime checks that location. Flash Player checks               the destination of the loadPolicyFile() only after it has checked the               master policy file on port 843 for permission to acknowledge other policy               files. If the developer has not specified a loadPolicyFile() command,               then Flash Player checks the destination port of the connection."

    I found the reason why the Flex application was ignoring the socket policy (crossdomain.XML). I have a policy server that listens to port 843 and submits the policy to the Flex client. My policy was getting ignored by the Flex application and I was getting the sandbox security error you were getting. The solution to this problem isto write a null byte right after the policy server sends the policy. I'm using Apache Mina that is wrtten is Java and the null byte is written as follows:
    public void sessionCreated (IoSession session)
            throws Exception
            session.write(_policy);  -- > policy string
            session.write("\u0000"); --> null byte
             //session.close(true); ---> No need to close the session because it is closed by the Flex client after it receives the null byte.
    Now my Flex application can read and accept the policy from port 843 and I'm not getting more security violations.
    Thanks for your reply,
    Alberto

  • Run Flex App in Frame?

    1. Can I run a flex app in a frame? Like a nav bar at the top
    of an html page for example.
    2. Can the flex app register mouse clicks from an html frame
    that it is not running in?
    3. Can anyone point me to references on these subjects?
    Thank you very much.

    Yes you should be able to. I've personally run it in an
    iframe.
    You can use javascript and ExternalInterface to possibly have
    some message from the html frame passed to the navbar. However,
    ExternalInterface has issues with having your page open in multiple
    tabs/windows, so you may need to randomize the id of the navbar if
    that is a concern.
    Just google ExternalInterface, for the most part.

  • Dynamic Declare Component cannot find property

    We currently have one main page calls a DDC(Dynamic declarative component) page fragment to create/update a record in database. The main page pass in a key to DDC when it loads DDC. The DDC binds to a view object with bind variable (get value from the passed key and load data from table) and several LOV attributes. Once user clicks submit button in main page, we wish that all the fields displayed in DDC could be committed to a database table to save.
    I use 11.1.1.5.
    In order to assign the bind variable of VO, we wrote a method in Application Module and make it invoked as the first executable when the main page is loaded. The deployment is fine. However, the runtime always thrown some exception to complain it cannot find property definition like this:
    ####<Aug 15, 2011 6:32:24 PM CDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <curmailts1-corp> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <6b1af60b3a40d50a:-6c52e935:131cfc2d522:-8000-000000000000024c> <1313451144494> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'WorkDescription' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    Questions: 1) Why my method in Application Module not called?
    2) Whether DDC is a right solution for our use case? Any suggestion or sample are welcomed!
    Thanks,

    Hi,
    I appreciate if you can show your code, but before that, make sure if you're following this tip below:
    "Declarative Components are regular JSF components except that they are built as a composite out of existing ADF Faces components. Declarative components cannot have a PageDef file associated with it and instead use value or method attribute to communicate with the consuming page. When creating a declarative component, the attrs implicit object is defined that allow you to reference the component's exposed value attribute from ADF Faces components within.
    An input text field contained in an declarative component may reference a value attribute "compValue" defined on the declarative component by using the following EL
    #{attrs.compValue}
    The declarative component compValue attribute then would us an EL reference like shown next to read/write values from or to the ADF binding layer:
    #{bindings.attribute_name.inputValue}"
    (Oracle ADF Code Corner)
    Regards,

Maybe you are looking for

  • Is it possible to  call servlet in struts?

    hello, In struts we can submit form like this login.do likewise is it anything possible to call servlet in struts.

  • "sender email address invalid"

    I've been getting these messages when trying to send email. I go to my lap top and email these same people without problems. Any thoughts?

  • Internet suddenly extremely slow on windows 7 partition.

    Hello all, Here is my situation: I am connected to the internet via ethernet, Im on a current generation iMac, and Im running windows 7 through bootcamp. About an hour ago, I logged in on my windows partition to find that my internet connection was r

  • Call Manager 7 Documentation is missing from Documentation Center

    In the voice portion of the document center I don't see anything relating to CUCM 7.x. What's the best way to get this corrected? http://www.cisco.com/univercd/cc/td/doc/product/voice/c_callmg/index.htm

  • Apps won't open unless I open a second app...

    Anyone had this problem? I've beed using Leopard (10.5.5) with Adobe CS for ages and had no problem, then I started my work Mac on Monday, went to launch PShop and the icon just bounced forever - no message - then stopped, so I tried Illustrator - sa