Question framework Cairngorm abourt?

Hello

I don't understand why put us the following line in the homepage.

< control: myController id = "controller" / >
< id: Commercial Services = 'services' / >

but no code in the homepage use the ID for the control and businesses.

Thank you

Mark

These create references to your object of service.mxml and your application controller object using the cairngorm objects by raising events and execution of services.

The service.mxml file contains all the CPP or web service config given as:

' URL =' http://localhost:8090/febatmon/XML/ControlNav.xml ' / >

The appController object must extend the FrontController and is used as a central repository for the execution of event like this:

SerializableAttribute public class AppController extends FrontController {}

public static const LOAD_CONTROL_NAV_EVENT: String = "LOAD_CONTROL_NAV_EVENT";

public void AppController() {}

addCommand (AppController.LOAD_CONTROL_NAV_EVENT, ControlNavLoadCommand);
}
}

Tags: Flex

Similar Questions

  • Cairngorm makes too rely on / promote Singletons?

    It seems to me that Cairngorm too promotes the use of Singleton classes for application development, which can cause serious headaches down the road.

    Two of their main design patterns are the CairngormEventDispatcher/CairgormEvent and the ModelLocator, as well as the FrontController. I came across a number of cases where the original design of an application was assumed to be independent, when in fact a little forethought would have made it clear that, ultimately, it is a built-in custom component more than anything else. Be able to use autonomous was useful, but in general it would be integrated as a module into another Flex application.

    The problem comes when you need to add a second instance of the Cairngorm application. I have a widget creation and a reading widget, both built from code shared since the creation widget also includes the reading widget. So now I want to integrate the TWO creating a widget AND a widget of reading in my application. Indeed, like any other component (think combobox), I might want to include several widgets reading, each showing some users personal creation, all on the same page.

    However, because my reading widget using Cairngorm, I'm practically no chance with the current code base. Assuming that I cram several widgets reading in a certain way (after all the question of departure/FrontController service) I have no way to control which of my multiple widgets responds when I hit the play button in one of them, because they are all listening for this event. Similarly my boss ModelLocator completely breaks down, since all widgets reading will share the same ModelLocator.

    Is it just me? Am I missing something? Or is the original designer of this application need to know better how he would serve a year later? What is a breakdown of the total Cairngorm design patterns?

    Yes, it looks like Cairngorm was not may not be the best choice for the 'widgets' you. I guess you have a point they should clarify better when you are not using Cairngorm. I have never tried to use when developing a component custom (or whatever it is) it's going to be added in a complete application.

    Reading various articles, I (IIRC) feel like the guys from Farata Systems (perhaps Yakov) seem not to be very keen on frameworks (Cairngorm is called a "mictoarchitecture"), but rather of focus simply on strong "design component" and using the Flex event (i.e. dispatchEvent()) system. I certainly appreciate this attitude of questioning because too often inside, it seems that people seem to accept 'best practices' and 'how it is 'supposed' to do' as bible regardless of whether she is really an added value, or add unnecessary complexity. I think that the answer to everything, always, 'it depends' and we have to use our common sense and intelligence to understand that we really gain anything by doing something 'standard' which has questionable value.

    I used the Cairngorm architecture but not meet your problem, maybe because I use it only to a "demand" level, never intend to have the product of this project integrated in what either.

    http://ColdFusion.sys-con.com/read/479472_1.htm
    (Didn't read all this, or I forgot if I did it, just put it here in case something I said about others ' opinions was not completely accurate.)

  • The multiplication within a text box...

    Hey all!

    Currently I am developing a mini-test within a project (Action Scipt 2) I created and could use some help.

    Basically, it's a multiple-choice test/questionnaire which adds 1 point to a text box (which will be the number 0 in it to start) If a wrong answer is selected.

    Example:

    Question 1 Total: 0

    (a) answer 1

    (b) answer 2

    (c) answer 3

    (d) answer 4

    Say so the answer 3 is the right answer, when you click on it it will go to the next question/framework. But if a, b, or d is clicked, I need to show some kind of 'Wrong' meesage (which will be a text box), display the 'NEXT' button (which is not visible/clickable until an answer is selected) to go to the next question/framework and add 1 to the box 'Total', at the same time.

    There will be a total of 3 sets of 20 questions (60 questions in total) and at the end of 3 rounds, if the user ends up with say 20 in the "Total" box, 5 points will be automatically deducted leaving it with a total of 15 (5 points subtracted is sort of a bonus at the end). Thus, on frame of 60 for example (the last picture), he would says the box 'Total' to subtract 5 by the end number of code. If the total is greater than 0, it will go to a certain range, and if the total is 0, it will go to a different image.

    Who is? Any ideas? I do it too hard... is there an easier way?

    var scoreVar:Number = 0;  initial scoreVar

    scoreTF (scoreVar);  update your textfield

    answer3Btn.onRelease = function() {}

    scoreVar ++;  increment scroeVar because it is a correct answer.

    scoreTF (scoreVar);  update your textfield

    }

    function scoreTF(n:Number) {}

    yourtextfield. Text = n;  assigns the value of scoreVar to the text property of yourtextfield

    }

  • How to use generated code of &amp; quot; Import Web Services &amp; quot; with Cairngorm framework

    I recently downloaded Flex Builder 3 beta 2 and try the wizard that allows you to import web services. The code that is automatically generated makes it so simple to consume web services using the types of objects defined in the WSDL file. Is no longer the developer don't need decode the XML load! The only problem I have is how you integrate the code automatically generated with the Cairngorm framework? This seems to be a huge issue for those who would exploit Cairngorm and code the proxy generated automatically in the same project (like me).

    Here are the problems I see so far.

    (1) how to configure the service generated class to work with the Cairngorm service locator? The service constructor only accepts a 'destination displays LCD chain' which means that you must use life cycle data services. Unfortunately, the project that I am in the process of renovation currently uses a Web service and does not use data services. All I really need to do is change the URL of the endpoint (that is, from the local level to a development server). This issue is noted in the bug https://bugs.adobe.com/jira/browse/FB-8456. I think there is a way to put the endpointURI in the Services.mxml file.
    (2) even if I come with a hack autour #1, I do not get a reminder for my same IResponder if I save it immediately after the method call. I can record and function of earphone within my business delegate and receive the reminder, but my command object that implements IResponder, did not call back even if it is registered. From what I've read in the ASDocs should be, but this isn't for me!

    These are the questions that I have observed in 3 hours to play with this. I hope this makes sense. I would like to integrate automatically generated in Cairngorm web service proxies, but I don't see a right lane to the front without redesign of Cairngorm. Has anyone else encountered this problem? If so, do you have any ideas on how to proceed? Any help is appreciated.

    Hi guys,.

    Now we focus on the generated code the right way and try to make it work for as many cases as possible. As soon as we receive some time we will try to see what is the best way to use Cairngrom.

    In the meantime, if you find a way or a great idea do not hesitate to post here.

    Thank you
    Cristian

  • A few questions on the framework of the actor

    Hi all

    I tried to get my head under the actor and begins to see the light at the end of this tunnel-no need of sunglasses right away, because I have a few questions remaining:

    1. data transfer :

    So far I've had a quick glance the evaporative cooler model and actor model, as well as worked through the LabVIEW actor Framework Basics by labvolution. These examples are pretty clear for me now. What I don't understand though, is how you are supposed to provide "real" data These examples use only references and then update using the "value" property This may not be very fast, but is probably still enough for user interface applications. But what happens if I have a player who generates data by reading example of a card and I have, let's say, want to detach this far from the data backup process in a file. How I would pass large amounts of data between stakeholders effectively.

    2. using the framework of the actor with RT:

    In presentations to the AF, I saw that they always mentioned that it was completely "capable RT. While this may well be true for the RT itself system, yet once I wonder how to transfer data from an actor of the RT of a player in Windows. Yet once again, suppose I want to generate data on a cRIO and save that data on the host PC. I will establish a channel of communication between the target myself by network flow or similar? It defies any sort of encapsulation of the AF in my opinion...

    3. set the actors:

    However, what worries me the most, is the definition of the actors. How can you know what is a player in your system? Each card set as an actor? Define you each device as an actor and consolidate all I/o to the breast? Is there an easy way to know how to set the actors?

    4. technical support:

    While working with the examples, I found that the debugging can be quite difficult. I had several cases of "Not executable Subvi" this point through several other live who finally call something dyynamically and from there, you discover that one of your screw is broken. Is there an easy to know what is the problem? I know there are modules for LabVIEW that are designed to turn on debugging part of the actor, but who would not be available in a review of the CLA, where you will have only a base installation of LabVIEW.

    5 root and nested actors:

    Finally, I wonder what root and nested average actor. So far my understanding is that the actor root is the parent actor you cast in the launch of VI and nested the actors are all children who serve the actor parent and are, most of the time, launched since the actor-actor of parent nucleus. Is this correct? Is there a better definition of it?

    Any help on this is greatly appreciated. I'm looking forward to the discussion and interested if you frequently use the framework of the actor or if you have abandoned it even once after using it.

    See you soon,.

    Pete

    A good place to ask the question in the framework of the actor is in the community:

    https://decibel.NI.com/content/groups/actor-framework-2011

    And Yes, I've used and uses the framework of the actor.

  • Facing the question Entity framework with Oracle 11 g using MVC 4 connecting

    Hello

    I am trying to connect to Oracle through Entity Framework data.

    I created two projects

    ((1) one for the project Web MVC4 access data) 2.

    It works fine if I am trying to connect using the console Application and App.config, but facing the question trying to connect using we.config and the web application.

    I added using Nuget packages in data access project.

    I made reference to this dll aaccess of data in the web project and try to call the oracle connection.

    Package.config:

    < Package >

    < package id = "EF" version = "6.0.2" targetFramework = "net45" / >

    < package id = "odp.net.x64" version = "112.3.20" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess" version = "12.1.021" targetFramework = "net45" / > "

    < package id = "Oracle.ManagedDataAccess.EntityFramework" version = "12.1.021" targetFramework = "net45" / > "

    < / packages >

    Web.Config:

    < configuration >

    < configSections >

    <!-for more information on the configuration of the Entity Framework, visit http://go.Microsoft.com/fwlink/?LinkId=237468 ->

    < section name = "EF".

    type = 'System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, Entity Framework, Version = 6.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'

    requirePermission = "false" / >

    "< name =" article oracle.manageddataaccess.client"type =" OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "/ >

    < / configSections >

    < connectionStrings >

    < clear / >

    < name = "OracleDbContext" providerName = "Oracle.ManagedDataAccess.Client"

    connectionString ="Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = host address)(PORT=1521)) (CONNECT_DATA = (SERVICE_NAME = oracle))); User = username ID; Password = pwd; "/ >

    < / connectionStrings >

    < Entity Framework >

    <!-< defaultConnectionFactory type = "System.Data.Entity.Infrastructure.SqlConnectionFactory, Entity Framework" / >-->

    < defaultConnectionFactory type = "Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" > "

    < / defaultConnectionFactory >

    <>providers

    < invariantName = "Oracle.ManagedDataAccess.Client provider"

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / >

    < invariantName = "System.Data.SqlClient provider" type = "System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" / > "

    < / providers >

    < / Entity Framework >

    < system.data >

    < DbProviderFactories >

    < remove invariant = "Oracle.ManagedDataAccess.Client" / > "

    "< add name =" ODP.NET, successful pilot"invariant =" Oracle.ManagedDataAccess.Client "description ="Oracle Data Provider for.NET, successful pilot"type =" Oracle.ManagedDataAccess.Client.OracleClientFactory, Oracle.ManagedDataAccess, Version = 4.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342"/ >"

    < / DbProviderFactories >

    < system.data >

    < runtime >

    < assemblyBinding xmlns = "urn: schemas-microsoft-com: ASM.v1" >

    < dependentAssembly >

    < publisherPolicy apply = "no" / >

    < name = "Oracle.ManagedDataAccess assemblyIdentity" publicKeyToken = "89b483f429c47342" culture = "neutral" / > "

    < / dependentAssembly >

    < / assemblyBinding >

    < / SPAN >

    < oracle.manageddataaccess.client >

    < version number = "*" >

    < dataSources >

    < alias dataSource = "OracleDbContext" descriptor = "(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=hostname) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = oracle)));" User = username ID; Password = pwd; "/ >

    < / dataSources >

    < / version >

    < /oracle.manageddataaccess.client >

    < / configuration >

    I am facing the sub question:

    Provider of the type EF ' Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342 "in the application for the vendor configuration file ADO.NET with invariant name 'Oracle.ManagedDataAccess.Client' could not be loaded." Make sure that the qualified assembly name is used and that the assembly is available in the currently running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.

    Hello

    I tried with what follows and it started working.

    I just pointed out that line of defaultConnectionFactory in the web.config file

    Type = "Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version = 6.121.2.0, Culture = neutral, PublicKeyToken = 89b483f429c47342" / > "

    .

  • Question of correspondence framework

    I am a recent immigrant from FCP and still learn the features of PP.  At the FCC, there is a Frame of Match function that works guarantor of the playhead to a clip on the timelime, F, hitting and loads of FCP the original clip in the Viewer, with the playhead spectator parked on the corresponding framework to what is on the timeline.  Pp, I edited together a long sequence of cuts in which I inadvertently had the wrong audio track selected.  I like to shoot these clips in the viewer and overlay the way correct and FCP, this function F has made the task very easy and fast.  The Match Frame in PP function doesn't seem to work in the same way.  It seems to load only the beaches that were initially deposited on the timeline.  I can't find a way to back up all of the original clip, which means that ALL tracks available for this clip.  Sorry for this long explanation for a simple question.  Any help would be appreciated.

    -Van

    CS6 works identically to the way that you described for FCP.  The loaded clip is up more targeted track.  If this isn't the clip you want, remember to change your track targeting properly.

  • Are there separate Forums to post Cairngorm related questions

    Hello

    I'm practicing Flex with Java using Cairngorm, I'm some queries in Cairngorm, please let me know if I can post cairngorm questions here or is it all Forum planned for it?

    Thank you.

    Hi, here is the link for the cairngorm forums.

    http://forums.Adobe.com/community/opensource/Cairngorm

  • Questions for ODI scenario as a webservice of the framework of Action of OBIEE

    Hi gurus,

    I did the web service configuration in ODI and OBIEE according the A-team link http://www.ateam-oracle.com/integrating-odi-with-obiee-how-to-invoke-odi-scenarios-load-plans-from-obiee/

    The configuration is completed, however when I try to call an ODI of OBIEE scenario, he starts a session in ODI and - error with the message next-

    java.lang.Exception: ODI-17546: specified variable not found in the repository: null

    I tried to create a variable of the global model and passing by the service Web like Global.Dummy but still does not work.

    Has anyone met with such a problem. Any help appreciated

    The solution is-

    (1) create a Dummy Global in ODI and used as a Start Up parameter variable in your package and generate the scenario

    (2) place this dummy variable of the framework of Action of OBIEE when calling the service web - name - GLOBAL setting. MODEL / parameter value - model

    OBIEE during the call to the web service ODI, passes a start setting to default ODI (which is undocumented).

  • Framework and Folder_g file question

    Hi guys,.

    Several times I noticed that if I activate component Folder_g once in any system and after that if I disable and enable the Framework folder.

    on the window screen or a search rule, if I take the folder field, he used to come as xCollectionID in the space of fParentGUID.

    as I am creating a rule XXX and in the fields tab, when I added the folder, it will show you two folder. And every time, if you select the folder to add on the rules, he'll come XcollectionID.

    As well as on the standard search screen the filed record is actually xCollectionID.

    Now can you please why the AAU behaves like that?

    Hi Shad,

    Yes, this problem came two times during the tests and in another case too. Ideally, the must have field was deleted and all the referenced location but somehow this is not the case.

    Only way is to remove CollectionID in Configuration Manager Applet - Information field, and then update DB design.

    Thank you

    Srinath

  • Interface strange question - everything that we step back, evil framework presented in preview in the comp Viewer

    Hello

    I'm trying to fix a problem with After Effects CS6 that has appeared recently. The Comp Viewer seems to be rendered behind which sits the playhead of a picture. For example if I use PageUp and PageDown move forward and backward between frames, the frame that appears is the previous frame to that indicator sits to the timeline. As soon as I hit the previous or following once again it shows the frame which would have disclosed last.

    Also if I use the mouse wheel to zoom in/out of the comp Viewer, it also accused a step behind, i.e. to zoom, nothing happens... Zoom again, zoom to the 1 step... To zoom out, zoom IN another step... To zoom out, zoom 1 step.

    Everything works perfectly until I recently updated to Quicktime, Nivida pilots and adjusted some parameters for another program (Cubase) to work with the video. After that, I was unable to get After Effects works again. The strange thing is that I now properly installed Windows 7 and tried running AE at different stages (print drivers and version of QT), then updated everything (including all Adobe, graphics drivers, Quicktime products) and I have exactly the same problem on all points. CS6 is currently the only program on the computer.

    I tested this problem with. R3D (Red camera) files with H264 'normal '. MP4 files. I also tried to use the files from an external drive. Exactly the same problems in all cases.

    Data sheet:

    Windows 7 64 bit

    16 GB of RAM

    2 x Nvidia Quadro FX1700

    Help would be greatly appreciated that I can't find anyone else encounter this problem.

    Thank you very much

    Ben

    SOLUTION:

    I diagnosed the problem; It relates to the use of dual screen with two separate graphics cards. The problem can be tested for by race AE full-screen on one monitor, then the other. The question should be on one of the two screens. Once sent, I was able to run AE on each screen OR spanning the two without problem.

    TO SOLVE:

    After effects CLOSED, open Nivida Panel and select 'manage 3D settings '. Choose "Open GL made GPU" in the list of options and select 1 of the 2' or 2 of 2' but not 'Auto '. Apply the changes and the re - open After Effects.

    I very much hope that that someone saves some time!

    Ben

  • Small Question about the Framework Services folder

    OK so I set it up and learn how to use CRMI to speak at the University Complutense of MADRID, I don't really need help in this regard.  My question is I am to read the documentation of records Services and read "FLD_CREATE_FOLDER" and has been in deficit.  A how can I find the GUID for the parent folder, and secondly I don't see a way to add the name of the new folder.  I'm a bit lost with this one hoping somone can point me in the right direction.

    Hello

    To obtain the GUID for the parent folder, you can use either the service FLD_INFO with IsJava = 1 parameter or executing the query on table FolderMetaDefaults.

    1. service a part:

    From the browser, use the following function call:

    http://ucmhostname:port/cs/idcplg? IdcService = FLD_INFO & path = / Folder1

    Here the path refers to the hierarchical structure for the real one whereby we create a new.

    For example: If Folder1 is created under the root, and unless we create a new subfolder then path = / Folder1

    If under Folder1, we subFolder1 then path = / Folder1/subFolder1.

    Than under ResultSet "FolderInfo" look for fFolderGUID and use it as the value for fParentGUID

    Sample code: https://forums.oracle.com/thread/2554885

    The code would be like this:

    dataBinder.putLocal ("IdcService", "FLD_CREATE_FOLDER");

    dataBinder.putLocal ("fParentGUID", "FLD_ROOT");

    dataBinder.putLocal ("fFolderName", "RIDCFF1");

    Example above creates a new folder under the root itself.

    I hope this helps.

    Thank you

    Srinath

  • First Pro N00b question about nested frameworks, I just can't google.

    I have two clips, one nested inside the other. The 'outside' (this shows how n00b I am, I'm sure there's a term better than this) is now displaying a frame I want to change. I open the nested (or) sequence, and it's on a different image. This framework is very hard to find. How do I automatically select two tabs?

    Nevermind guys, I thought about it. You'll probably laugh, but it seems that it does not count as 'opening' a sequence of nested at least that I've "shut, her" first. An already open opening sequence he can't frame. (Maybe a feature useful to add?)

  • Position Question AS2 framework

    I'm testing a simple Flash composed of two senior project. 1 framework has a button nextFrame upstairs and the 2nd framework has a prevFrame button at the bottom.

    My document is long measure 1000 pixels. I then insert the publication. SWF in a html in Fireworks document.

    When I preview the html page in a browser the nextFrame button takes me to frame 2, I then scroll down (with the browser window) to find the prevFrame button to go back.

    My problem is when the prevFrame button returns the swf file to frame 1, there at the bottom is scrolled position. What I want to achieve, it's when I go back to frame 1 that it returns to the top.

    Don't know if it's code AS2 to add Flash to fix this or if its something to add in Dreamweaver with html or css.

    Any advice would be greatly appreciated.

    If you scroll the browser window then you must make the window of the browser to return to the top.  You could probably do that by placing an anchor named in the html code at the beginning and have the prevFrame link button to it.  This could be the page refreshes.

    If you don't want the Flash file tell the html page to adjust the position of the scrolling window using javascript, you can use the ExternalInterface class.  Google search using 'javascript scrolling page' to the end of the javascriot of things.  Here is a link of this research: http://www.mediacollege.com/internet/javascript/page/scroll.html

  • "Floating" text / graph framework question

    Working on a Church Directory design and I have a question. I have over a hundred images on a large number of pages. Is there a way to design where each pane of content (using blocks of text currently) is floating? So say someone with the last name of Anderson is added later, I don't have to move all the entries of a table or move more than 100 text frames? In my head, I should be able to have a lot of "floating" images, and if I add a new image between two of them, everything will move accordingly.

    Not a crazy idea, but I don't know where to start with it.

    Thanks in advance for anyone who has any ideas!

    With the help of my CS4 Master Collection on a Windows machine i7, but that shouldn't matter for this.

    Discover objects anchored in the help files. You will want to consolidate your cpations and fremes for each person, and then add the group as an inline object embedded in a text frame where him consists of the history essentially these entrenched groups, with little space added between the two. They will sink as text when you add or remove one.

Maybe you are looking for

  • iPhone 6, wifi connection

    I have an iPhone of 128 GB with iOS10 6. It has always been slow to the point of connection to routers or does not connect and a recent visit to the USA took out that frustration. I was trying in vain to search Hotel / b & routers b on my phone, so m

  • XP Mode "hibernation" and he can't wake up "

    I have Windows 7 Pro and that you have installed XP Mode. I run XP Mode several times. All of a sudden, when I try to open the XP Mode I thought that 'Mode could not be restored through host processor or lack of material ast." When I opened the Virtu

  • have 8 GB of ram, but seems like all cached then run IE9 makes so slowly. Is there a way to clear the cache

    have hp computer with 8 GB of RAM running on vista 64-bit and see lately all put physical memory cached in the Manager of tasks with almost no free left. is there a way to clear the cache? Thanks in advance

  • Windows keeps asking to reboot

    Whenever I have shutdown and restart Windows, I get a request (or not) to restart Windows. If I click on YES, the system restarts and I get the same question. I'm in _ restart. How can I get rid of this. and, perhaps more importantly, why is that hap

  • Two remote subnets with the same network address

    Hello We have configured on VPN site-to-site ASA remote network 192.168.1.0/24. New requirement is to set up the new VPN site-to-site (additional) tunnel which also has remote network 192.168.1.0/24. Will this work 'out-of-the-box"with ASA - ASA will