LineChart works not when using Flex with joint & amp; JBoss

This is my first use of Flex with JBOSS Seam and I tried the incorporation of LineCharts Flex with seam on helloworld.mxml. I get this compile error when trying to compile/deploy JBOSS task. I was able to get other parts like the Label, Button, TextInput working. Single line graphs or Bar seems to have problem with the compilation.

C:\projects\GraniteDSHelloWorldSeam\view\helloworld. MXML (55): error: Type was not found or is not a constant of compilation: LineChart.
[mxmlc] < mx:LineChart id = "myChart".


Please provide any suggestions if you have encountered a similar problem.

I appreciate your help.


The code below for the helloworld.mxml

<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml " xmlns:seam =" org.granite.seam. * ">

< couture: SeamRemoteObject id = "HelloWorldRO" destination = "destSeamHelloWorld" fault = "onRemoteFault (event); ">
< couture: addOperations >
< name of couture: SeamOperation = "sayHello" result = "sayHelloResult (event); "/ >
< / couture: addOperations >
< / couture: SeamRemoteObject >

< mx:Script >
<! [CDATA]
Import mx.collections.ICollectionView;
Import mx.collections.ArrayCollection;
Import mx.rpc.events.ResultEvent;
Import mx.utils.ObjectUtil;
Import mx.rpc.events.FaultEvent;
Import mx.controls.Alert;

private var startTime:Number;
private var endTime:Number;

private void sayHelloResult(event:ResultEvent): void {}

endTime = getTimer();
outputText.text = event.result.toString ();

Alert.Show ("response:" + number (endTime - startTime) + "ms \nServer response:"+ event.result.toString () ');
}

private void onRemoteFault(event:FaultEvent):void {}
trace (ObjectUtil.ToString (Event.Fault));
Alert.Show ("fault:" + event.fault.faultCode + '-' + event.fault.faultString + '.) toString() is ["+ ObjectUtil.toString (event.fault) + '"]');
}

private void sendServerRequest(): void {}
startTime = getTimer();
HelloWorldRO.sayHello ();
}

[Bindable]
public var fresh: ArrayCollection = new ArrayCollection([) collection
{Month: "Jan", result: 2000, expenses: 1500, amount: 450},
{Month: "Feb", result: 1000, expenses: 200, amount: 600},.
{Month: "Mar", result: 1500, expenses: 500, amount: 300}
]);

[]] >
< / mx:Script >

< mx:Label text = "Send the request to the server" x = "244" y = "192" fontSize = "16" fontWeight = "bold" width = "209" height = "24" color = "#A9CCD3" / >
< mx:Button '494' = x y = "195" label = "click on" click = "sendServerRequest (); "/ >
< mx:TextInput name = "outputText" id = "outputText" width = "350" x = "244" y = "243" editable = "false" text = "" / >

< mx:Panel title = "Graphic line" >
< mx:LineChart id = "myChart".
dataProvider = "{cost} '.
showDataTips = "true".
>
< mx:horizontalAxis >
< mx:CategoryAxis
dataProvider = "{cost} '.
categoryField = 'months '.
/ >
< / mx:horizontalAxis >
< mx:series >
< mx:LineSeries
yField = "Profit".
displayName = "Profit".
/ >
< mx:LineSeries
yField = "expenses".
displayName = "expenses".
/ >
< / mx:series >
< / mx:LineChart >
< mx:Legend dataProvider = "{myChart}" / >
< / mx:Panel >


< / mx:Application >
Text

I used GraniteDS earlier and it did not work.
Now, I tried to use BlazeDS and it seems to work fine. Atleast bringing Flex components with graph correctly.

Tags: Flex

Similar Questions

  • Micro works not when using Skype. Problem is not with the microphone, but with Skype. Ive tried

    When you use Skype, my internal microphone does not work - friend says that he can not hear the voice, but he can hear other sounds - music on youtube for example. Ive tested the microphone on Skype Echo - it wasn't working at all. I tested it on a voice recorder - MIC was working properly. Also when I just started to use this laptop (3 days ago), I spoke with a friend through Skype for about 3 hours, and then he couldn't hear me suddenly annymore. If something is wrong with Skype. Computer consultant suggested me to contact Skype support technicians.

    In Skype, open Tools-> Options-> Audio settings. There is more than one option available in the selection box for Microphone?

  • App works not when you deploy with 0.9.4

    Hi guys. I had created originally from my application using the 0.9.3 sdk and had no problems. I submitted my app and it was approved, but now I'm trying to re - submit with 0.9.4 and I even can't deploy on the Simulator. I get this error message:

    Deployment failed: send request to launch...
    Info: Action: launch
    Info: Launch of PocketPhotoOrg.debug.testaG90b09yZy5kZWJ1ZyAgICA...
    result::failed
    Info: done

    Also, I get this error message when I run it on the desktop:

    VerifyError: Error #1014: class qnx.pps:PSChannel could not be found.

    to test2 / ___test2_MobileApplication1_creationComplete () [/ users/AP_Photography/Documents/Adobe Flash Builder Burrito Preview/test2/src/test2.mxml:6]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent() [E:\dev\hero_private_beta\frameworks\projects\framework\src\mx\core\UIComponent.as:12977]
    to mx.core::UIComponent / set initialized() [E:\dev\hero_private_beta\frameworks\projects\framework\src\mx\core\UIComponent.as:1757]
    at mx.managers::LayoutManager/doPhasedInstantiation() [E:\dev\hero_private_beta\frameworks\projects\framework\src\mx\managers\LayoutManager.as:819]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback() [E:\dev\hero_private_beta\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1157]

    Could someone tell me why this is happening? I already had 3 approved applications. It's the first time I met this problem and all my other apps went well with 0.9.4 signature and all.

    Try to uninstall previous app and install from scratch. If you try to deploy your signed application which you did with 0.9.3 to 0.9.4 sim does launch?

  • Dynamic record group works not when using apostrophes

    Hello world

    I developed a form most of the time, everything works as expected. However, there is a search feature that gives me problems. The problem is that when the user enters the search criteria for last_name with an apostrophe (O'brian) lov research get filled because the dynamic disk group is not created when the string contains an apostrophe (i.e. O'brian). I have a dynamic disk group that takes the user's search criteria and fills a LOV on the screen with the corresponding records to their criteria.

    Here is the code that is behind my search button where the dynamic RG is created. It works very well for any research that does not contain an apostrophe. BTW, the Oracle Forms version is 10g.

    DECLARE

    p_where_debtor varchar2 (2000);
    p_where_liab varchar2 (2000);
    RG_ID RecordGroup;
    v_query varchar2 (2000): = null;
    rg_name varchar2 (2000): = "RG_LIAB_LST";
    ERRCODE NUMBER;
    BEGIN

    IF: SEARCH.cd_nb is null and
    : SEARCH.cd_seq is null and
    : SEARCH.f_name is null and
    : SEARCH.l_name is null and
    : SEARCH.mi_name is null
    then
    display_message (' search criteria must be entered ");
    raise form_trigger_failure;
    END IF;

    v_query: = ' SELECT name, middle_name, c_no, c_seq
    FROM TABLE_VW2 WHERE 1 = 1';
    / * Search criteria entered by the user * /.

    IF: SEARCH.l_name_srch IS NOT NULL THEN
    v_query: = v_query | "AND UPPER (last_name) AS"' | Upper(:Search.L_Name) | » %''';
    END IF;

    IF: SEARCH.f_name_srch IS NOT NULL THEN
    v_query: = v_query | "AND UPPER (first_name) AS"' | Upper(:Search.F_NAME) | » %''';
    END IF;

    IF: SEARCH.mi_srch IS NOT NULL THEN
    v_query: = v_query | "AND UPPER (middle_name) AS"' | Upper(:Search.mi_name) | » %''';
    END IF;

    IF: SEARCH.cdcs_nbr_srch IS NOT NULL THEN
    v_query: = v_query | "AND UPPER (c_no) AS"' | Upper(:Search.cd_nb) | » %''';
    END IF;

    IF: SEARCH.cdcs_seq_srch IS NOT NULL THEN
    v_query: = v_query | "AND UPPER (c_seq) AS"' | Upper(:Search.cd_seq) | » %''';
    END IF;

    / * Make sure that the record group exists * /.

    RG_ID: = Find_Group (rg_name);

    / * If there are then create record group * /.

    IF id_null (rg_id) THEN
    RG_ID: = create_group_from_query (rg_name, v_query);
    END IF;

    IF this is id_null (rg_id) THEN
    delete_group (rg_id);

    RG_ID: = create_group_from_query (rg_name, v_query);
    END IF;

    Errcode: = Populate_Group (rg_id);

    Any help would be greatly appreciated.

    Thank you

    Adrian

    For each item where an apostroph may occur, make a

    REPLACE(:BLOCK.ITEM, '''', '''''');
    
  • update firmware 3.0.0f0 in 1900 to 3.5.0f0 and propellant myrio works not when use turn the engine.

    Dear Sir

    I run this problem when I updated the firmware in myrio 1900 version 3.0 to 3.5. Before update, thrusters worked fine using the runtime engine, after update, propellers no longer exists. Any help will be much appreciated!

    Thank you

    Long

    Hey Tao!

    I'm glad to hear that your ports are now displayed in MAX. And I think it is a good idea to use the outputs analog on the myRIO. As long as you know the needs of the motor controller to order the right moves tension and a control loop in place, you should be good to go.

  • BCC works not when using custom property accessors

    Hello

    In the integration of the ATG-short, I try to use "custom property accessors" in my "product-sku-output - config.xml". I'm including the sub modules in the classpath of build.xml.

    < dir = "${dynamo.home}" / fileset... / DAF/Research/Base/lib ' > "

    < name = "" * / *.jar "/ >"

    < / fileset >

    < dir = "${dynamo.home}" / fileset... / DAF/Search/Index/lib ' > "

    < name = "" * / *.jar "/ >"

    < / fileset >

    When I Isaiah to compile the project, these modules have been included in my atg_bootstrap.war of the file .ear as '/atg_bootstrap.war/WEB-INF/ATG-INF/DAF/Search/Index/'. However, when I start the server, in the instance server log merchandising get the below error and for this reason the server has been stopped and cannot access the BCC.

    I try to use the custom property accessor class - PropertyAccessorImpl

    2013-07-03 11:04:46, 418 INFO [STDOUT] Configuration directory (principal) or the /var/jboss/versions/jboss-eap-5.1/jboss-as/server/merch/deploy/ulta.ear/atg_bootstrap.war/WEB-INF/ATG-INF/DAF/Search/Index/configlayers/stagingandprod/config.jar file does not exist or is not readable

    2013-07-03 11:04:46, 903 ERROR [STDERR] java.util.zip.ZipException (principal): problem opening /var/jboss/versions/jboss-eap-5.1/jboss-as/server/merch/deploy/ulta.ear/atg_bootstrap.war/WEB-INF/ATG-INF/DAF/Search/Index/configlayers/stagingandprod/config.jar zip file: error in opening zip file

    2013-07-03 11:04:46, 904 ERROR [STDERR] (principal) at atg.vfs.zip.ZipFileSystem. < init > (ZipFileSystem.java:124)

    2013-07-03 11:04:46, 904 ERROR [STDERR] (principal) at atg.vfs.zip.ZipFileSystem. < init > (ZipFileSystem.java:97)

    2013-07-03 11:04:46, 904 ERROR [STDERR] (principal) at atg.vfs.zip.ZipFileSystem. < init > (ZipFileSystem.java:142)

    2013-07-03 11:04:46, 904 ERROR [STDERR] (principal) at atg.nucleus.ConfigurationFileSystems. < init > (ConfigurationFileSystems.java:124)

    2013-07-03 11:04:46, 904 ERROR [STDERR] (principal) at atg.nucleus.ConfigurationFileSystems. < init > (ConfigurationFileSystems.java:244)

    2013-07-03 11:04:46, 905 ERROR [STDERR] (principal) at atg.nucleus.Nucleus.createConfigFileSystems(Nucleus.java:1827)

    2013-07-03 11:04:46, 905 ERROR [STDERR] (principal) at atg.nucleus.Nucleus. < init > (Nucleus.java:842)

    2013-07-03 11:04:46, 905 ERROR [STDERR] (principal) at atg.nucleus.Nucleus. < init > (Nucleus.java:766)

    2013-07-03 11:04:46, 905 ERROR [STDERR] (principal) at atg.nucleus.Nucleus. < init > (Nucleus.java:747)

    Please help me to solve this error.

    Thank you

    There is typo in the ATG installation that creates this problem.

    For example, change the file C:\\DAF\Search\Index\META-INF\MANIFEST. MF

    ATG-StagingConfig-path: configlayers/stagingandprod/config.jar

    Peace

    Shaik

  • Why doesn't a USB drive I have previously used with AirPort extreme appear in the finder when used locally with my Mac?

    Why doesn't a USB drive I have previously used with AirPort extreme appear in the finder when used locally with my Mac?

    I tried to plug it into my mac to transfer files locally but will not be displayed in the finder or disk utility. Anyone know why?

    MacBook Pro (2015 retina) OS X 10.11.2 El Capitan

    Have you shut down / turning your Mac off... power off the USB drive... Connect the drive to the Mac... start up the Mac... then, turn on the USB drive?

    If no help, there are a number of posts to the thread in the forum El Capitan of support from users who have problems on their Mac USB.  You can post there to see if anyone has the answers.

    OS X El Capitan

  • My Apple iPhone 5 touchscreen doesn't work not when the call comes. This problem is only in locked mode and mode unlocked when the call come it works normally. The problem is only locked Iphone and a just coming guard time. give soltn

    Hello can anyone give solution to my problem.

    my iPhone touch 5 works not when it is in locked mode and it's time all incoming call came the touch works do not. other times, the touch works normally wat is the problem. ?

    If you disturb not activated. Settings > do not disturb.

  • Ports USB U2312HM works not when connected to USB 3

    I use a U2312HM to work, but when I plug the USB connector to a USB 3 port on my laptop, the USB 2 ports on the monitor are not recognized. Device Manager shows it as an unknown device and no drivers to install can be found. When I use a tool like slim or driveridentifier drivers it doesn't ID the device but shows not all compatible drivers.
    When I connect the monitor to the only USB 2 port, I have on my laptop that hub is USB monitor comes to life, but I'm already using this USB port for another purpose. Can anyone tell my where I can find the correct drivers?
    I'm running Windows 7 Pro SP1 on a Dell Latitude E6530, processor Intel Core i7 3770QM with 8GM ram.

    Kvwielink,

    Install this driver, restart when done, repeat the test.

    Intel USB 3.0 eXtensible Host Controller Driver
    https://Downloadcenter.Intel.com/Detail_Desc.aspx?DwnldID=21129

  • trace works not when creating application air Flash cs6

    Hello

    When I compile the application air Flash cs6, function trace not workk and flash cs6 error expedition with that title: movie lunch doesn't have a test, please help me

    AIR uses the ADL (AIR Debug Launcher) to run applications so there is not anything in the output window output until ADL closes and even in this case it does not use trace();

    If you want to see your comments that the app works that you use an application like arthropods (http://arthropod.stopp.se) that displays the instructions using Debug.log (); instead of trace().

    So the arthropod window open and change all your instructions trace() Debug.log () as in Debug.log ("hello"); and the output when you run the application.

  • Cannot see previous work site when using design or split in CS5

    I have several sites that I have developed in CS3 and works perfectly well.  Just upgraded to CS5.

    However, when I go into each design view or split view, I can see the code of the page on the left, but just a shadow with six symbols in the top box on the right.  I can't see the page layout.  This is why I can't change the design.  This is true for all pages.

    I can see the site if I use mode live view - just as it is in the direct environment.

    The tab above confirms that I'm looking at the source, not the CSS files.  I have all the files in a local view.  I can see all perfectly in CS3 * (which makes me wonder why I've updated)

    Please can someone tell me what's wrong as I am stumpted on a very simple question - looking at an html work

    Thank you

    Phil

    The icons see you in Design view are how DW denotes head content: title, keywords, meta description, etc.  It is normally indicated (when you activate with this keypress or with VIEW |) Head of content), in a row at the top of the Design view.  Your screenie suggested that somehow, this line had been pulled down to obscure the rest of the page.  I had my fingers crossed!

    How would you know to do that?  Familiarity with the program, I guess.

  • Aggregation in IR works incorrectly when using calculated columns breaks

    I have a problem with the aggregation in IR when using stops on calculated columns.

    Please see the exact steps to reproduce the problem in my next post below

    Martin

    Published by: Martin Krepelka, October 22, 2008 11:18

    Martin,

    I filed a bug about the problem you are having. The problem is when you control break on a calculated column with defined format mask and aggregates, the aggregate information is not displayed correctly. When I run the interactive report in debug mode, I see that analytical for aggregated information function partitions incorrectly. Using your example:

    IR runs this query to get the counts for each month of posting:

    count("AMOUNT") over (partition by "POSTING_DATE")
    

    Instead, it should run this query:

    count("AMOUNT") over (partition by to_char("POSTING_DATE",'RRRR/MM'))
    

    To work around the problem, you can change the calculation month without the format mask view and set to_char(F,'RRRR/MM'). Aggregates will display correctly.

    Christina

  • How to use Flex with EJB3?

    Anyone know how to integrate Flex with Java?

    I have a project EJB3 with JPA etc...

    Must use Eclipse with the Flex plugin or can I only use Flex Builder and Eclipse for java classes? (preferring the second option)

    I'm going crazy, this need for my college work, as quickly as possible.

    Please an explanation or a sample.

    Thank you all.

    1. I need to write any Servlet to use the HTTP protocol to connect with Flex, then create the wsdl for my EJB3.

    There are many free tools that helps you to convert a Java application to webservice.  Other tools

    2 - this wsdl will create client side of my application, so I create my Flex normally using Blaze DS HTTP interface?

    I never used to Blaze DS, but it is based on Java.

  • HP ProBook 440 G2, fingerprint reader works not when I upgraded the Win 7 Pro form to win 8.1 Pro

    My HP ProBook 440 G2, finger print reader does not when I upgraded the Win 7 Pro form to win 8.1 Pro.

    Device manager showing the biometric reader works correctly. But in fact, the finger printer reader is not reading or senseing. It seems that the part "dummy". Please help me to correctly configure step by step for that matter.

    Thank you

    Hillet

    Have you installed the software driver validity sensor fingerprint for Windows 8.1?

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943811 & swItemId = ob_134806_1 & swEnvOid = 4158

    See page 64 in the manual Windows 8.1 according to the configuration of fingerprints of validity information

    http://h20565.www2.HP.com/hpsc/doc/public/display?sp4ts.Oid=6943810 & docid = emr_na-c04371762 & docLocale = en_US

  • How can I get the sim unlock card or carrier unlock t mobile USA, I use my phone in India and my sim card does not work and when I checked with the apple support, they said, it can be locked my previous carrier T-mobile USA, which is a solution

    How to unlock carrier T - Mobile USA, that I'm unable to use my phone in India as it says sim does not, I checked with Apple support they said previous carrier may have locked

    You will need to contact the carrier, it is locked to and follow their unlocking procedure. Only the carrier to ensure that it is locked can allow and process a request for unlocking.

Maybe you are looking for