EdgeMetrics or viewMetrics from a Spark Container/Component?

Is there a way to get the edgeMetrics or viewMetrics from a spark container like there was in Flex 3?
Thanks,
- Cliff

The only way I've found to pass properties or styles to a skin is through CSS or extending the host component and adding the styles or properties onto it. However this seems like a hack. Shouldn't the skin expose it's configuration to the host component? I think that is what Flex themes are doing.

Similar Messages

  • Parameter Passing from UWL to WebDynpro Component

    Hi Everyone,
    I m having a small problem in parameter passing from the UWL to the Webdynpro component(EP6 SP16).
    The UWL shows a list of shopping carts and I ve configured it such that the Shopping carts open in the webdynpro application. Now the requirement is that I want to pass the shopping cart number from the workitem container and retrieve it in the webdynpro component.
    The only thing that i m able to retrieve is the work-item ID. I ve followed the documentation on help.sap.com but I m not able to figure out how to move ahead with this.The code which i m using to retrive the dynamic parameter is
    String text = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("DynamicParameter");
    Can somebody please help me with this..
    Regards,
    Prathamesh

    Have you looked at this weblog by Ginger Gatling?
    Create new UI's for existing workflow tasks with ABAP Web Dynpro and Universal Worklist!
    Hope this helps.
    Sudha

  • Spark container with data property

    Which Spark container (analogy to VBox) has a data property?

    Is this for use in a List?  I think you're looking for the spark ItemRenderer component.

  • Can't reference methods in a Bean from a Composite JSF Component.

    I have the following composite component TestCC.xhtml:
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
    xmlns:cc="http://java.sun.com/jsf/composite" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <cc:interface>
    <cc:attribute name="manager" method-signature="java.lang.String helloTest()" required="true"/>
    </cc:interface>
    <cc:implementation>
    Hello #{cc.attrs.manager} !!!!!!!!!!!!!!!!!!!!!
    </cc:implementation>
    </html>
    When I try to call it in a JSFF file:
    <?xml version='1.0' encoding='UTF-8'?>
    <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:icc="http://java.sun.com/jsf/composite/IchipComponent">
    <icc:TestCC manager="#{viewScope.PatientClinicalBean.helloTest}"/>
    The page crashes at my composite tag with the following message in the console:
    javax.el.ELException: //C:/Documents and Settings/tlam/Application Data/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/iCHIP/ViewControllerWebApp.war/WEB-INF/classes/META-INF/resources/IchipComponent/TestCC.xhtml: javax.el.PropertyNotFoundException: //C:/Documents and Settings/tlam/Application Data/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/iCHIP/ViewControllerWebApp.war/Patient/Profile/Clinical.jsff @13,86 manager="#{viewScope.PatientClinicalBean.helloTest}": The class 'patient.profile.PatientClinicalBean' does not have the property 'helloTest'.
    But my managed bean does have a public String helloTest() method, as well as other methods that work fine elsewhere in my JSFF page:
    public class PatientClinicalBean{
    String test = "TESTING";
    public String helloTest() {
    return test;
    I have tried this many times with different methods, all with the same result. Yet if my composite component outputs just a string and I enter the expression <icc:TestCC manager="#{viewScope.PatientClinicalBean.test}"/> to access the String test field directly it executes properly. I can't seem to reference any of the methods in PatientClinicalBean from only my composite component, when other method calls work fine in the same JSFF page. All other examples I've seen on the web have no problems doing this the same way I have, am I missing something?!
    Edited by: tnology on 24-Oct-2012 14:13
    Edited by: tnology on 24-Oct-2012 14:14
    Edited by: tnology on 24-Oct-2012 14:16

    What if you change the method in the class like this?
    public String getHelloTest() {
      return test;
    }If you attempt to read a property call abc from a bean, you need to have a method called getAbc(). If you attempt to set a property called abc, you need to have a method called setAbc(...). This is JavaBeans convention.

  • How can I find the index from a specific container?

    How can I find the index from a specific container?
    For example, if I'm traversing through textframes like so (an example, not tested):
    var doc = app.activeDocument;
    var story = doc.pages[0].textFrames[0].parentStory;
    for (var i=0, l=story.textContainers.length; i<l; i++) {
         var textFrame = story.textContainers[i];
         if (textFrame.constructor.name == "TextFrame") {
              var lastPara = textFrame.paragraphs.lastItem();        //How can I find the index of this in relation to the story?
    How can I find the index of "lastPara" in relation to the story rather than the current container?
    I tried:
    var newPara = story.paragraphs[lastPara.index];
    but this results in an invalid object. . .
    alert(newPara.isValid);      //returns false

    The .index property is the character offset. So lastPara will begin at story.characters[lastPara.index].

  • Syntax for retrieving data from a task container

    Hello Workflow Fans !
    I have a Task with the following configuration:
    BASIC DATA - Object Method :
    Object Category: BOR Object Type
    Object Type: ZBusObj1
    Method: 022_Data_Upd
    CONTAINER :
    I have added a second BOR Object in the container called ZBusObj2
    In conclusion, when the task is executed within my WF run, the method ZBusObj1.022_Data_Upd is executed and both business objects (ZBusObj1 and ZBusObj2) should be available in my Task container.
    My question:
    How, in my method 022_Data_Upd, can I retreive (get) the value of the ZBusObj2 key field (Customer No)?
    Here is what I tried... obviously... without any success:
    BEGIN_METHOD O22_Data_Upd CHANGING CONTAINER.
      break-point.
    * Variable declarations
      DATA: lva_Risk_Cat    TYPE ZTCOMP_PDV-CTLPC.
      DATA: lva_Montant_V TYPE ZTCOMP_PDV-MONTANT_V.
      DATA: lva_Custno       TYPE KNA1-KUNNR.
    * Data retreival from the task container 
      SWC_GET_PROPERTY self 'RiskCategory' lva_Risk_Cat.
      SWC_GET_PROPERTY self 'MONTANT_V'    lva_Montant_V.
      SWC_GET_ELEMENT container 'ZBUSOBJ2.Customerno' lva_Custno.
    The last line (SWC_GET_ELEMENT...) is the one I'm strugling with...
    Any help will be appreciated.
    Thanks in advance.
    José

    So, my understading is that you need an instance of the second object OBJ2 inside the method of the first object OBJ1.
    First, if you only need the customer number, I recommend that you only pass the number itself. Here is what you need to do:
    1- Add an "Import" parameter to method 022_DATA_UPD and call it anything (I'll use PARAM): the parameter can be either an object or a field. You specify the type when you define the parameter. Parameters are added by "single" clicking the method name in SWO1 so that the pointer is on the method name then clicking the "Parameters" button.
    2- Inside the method, add the following code
    Case 1: parameter is an object
    DATA: lvo_custobj  TYPE swc_object.
    DATA: lva_custno TYPE KNA1-KUNNR.
    swc_get_element container 'PARAM' lvo_custobj.
    swc_get_property lvo_custobj '<CUSTOMER_NUMBER_PROPERTY_NAME>' customer_number.
    Case 2: parameter is just a field
    DATA: lva_custno TYPE KNA1-KUNNR.
    swc_get_element container 'PARAM' lva_custno.
    As you can see, adding only the customer number is easier to read. The method should work when you test it in SWO1 before you proceed into the next steps.
    3- Make sure the standard task calling the method is updated with the new parameter. Basically open the task in change mode and type an extra space in the description field then hit Enter. The system will ask you if you want to update the list of parameters.
    4- Update the binding of the task in the workflow template to pass either the customer object or customer number.

  • How to revert to diagnostics.wadcfg configuration from wad-control-container blob.

    Hello all,
    In our project at some point in the past we have enabled Diagnostics module for getting our log entries in Azure Storage. We added <Import moduleName="Diagnostics" /> to ServiceDefinition.csdef file and then enabled logs transfering and performance
    counters gathering in WebRole.OnStart method via DiagnosticMonitor.Start():
    DiagnosticMonitorConfiguration cfg = DiagnosticMonitor.GetDefaultInitialConfiguration();
    cfg.OverallQuotaInMB = 8192;
    cfg.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;
    cfg.Logs.ScheduledTransferPeriod = TimeSpan.FromSeconds(30);
    cfg.Logs.BufferQuotaInMB = 1000;
    // Define performance counter configuration.
    foreach (var counterName in PERFORMANCE_COUNTERS_NAMES)
    PerformanceCounterConfiguration perfCounterConfiguration = new PerformanceCounterConfiguration();
    perfCounterConfiguration.CounterSpecifier = counterName;
    perfCounterConfiguration.SampleRate = TimeSpan.FromSeconds(5);
    cfg.PerformanceCounters.DataSources.Add(perfCounterConfiguration);
    cfg.PerformanceCounters.BufferQuotaInMB = 1024;
    cfg.PerformanceCounters.ScheduledTransferPeriod = TimeSpan.FromMinutes(1);
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", cfg);
    Then using Windows Azure Management Portal we activated Verbose monitoring mode and added several additional performance counters there in order to try the feature. I assume that doing that through the portal we actually modified wad-control-container blob
    so we got new performace counters configuration.
    Later we've realized that it would be better to manage all diagnostic configuration in diagnostics.wadcfg. We removed the code from role start and added diagnostics.wadcfg file to the project that declares the same we did before via code. When we redeployed
    we saw that the configuration remained as it was before - it didn't change at all. It still included new performance counters we added through the portal. It is because the order of precedence, where wad-control-container blob has the highest priority. So
    we deleted all the blobs from wad-control-container in order to revert back to diagnostics.wadcfg and redeployed the service. New blob was created in wad-control-container. It included everything from diagnostics.wadcfg as we expected and
    again we saw these custom performance counters we added via portal time ago. See below the blob content:
    <?xml version="1.0"?>
    <ConfigRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <DataSources>
    <OverallQuotaInMB>8192</OverallQuotaInMB>
    <Logs>
    <BufferQuotaInMB>1024</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>1</ScheduledTransferPeriodInMinutes>
    <ScheduledTransferLogLevelFilter>Verbose</ScheduledTransferLogLevelFilter>
    </Logs>
    <DiagnosticInfrastructureLogs>
    <BufferQuotaInMB>1024</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <ScheduledTransferLogLevelFilter>Warning</ScheduledTransferLogLevelFilter>
    </DiagnosticInfrastructureLogs>
    <PerformanceCounters>
    <BufferQuotaInMB>4096</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <Subscriptions>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Memory\Available Mbytes</CounterSpecifier>
    <SampleRateInSeconds>10</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Processor(_Total)\% Processor Time</CounterSpecifier>
    <SampleRateInSeconds>10</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests/Sec</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Executing</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests In Application Queue</CounterSpecifier>
    <SampleRateInSeconds>5</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Failed</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Requests Timed Out</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Requests Rejected</CounterSpecifier>
    <SampleRateInSeconds>30</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Worker Process Restarts</CounterSpecifier>
    <SampleRateInSeconds>600</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <!-- OLD unnecessary counters that were added manually through the portal START-->
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Memory\Available MBytes</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Web Service(_Total)\ISAPI Extension Requests/sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\Web Service(_Total)\Bytes Total/Sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET Applications(__Total__)\Errors Total/Sec</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <PerformanceCounterConfiguration>
    <CounterSpecifier>\ASP.NET\Requests Queued</CounterSpecifier>
    <SampleRateInSeconds>180</SampleRateInSeconds>
    </PerformanceCounterConfiguration>
    <!-- OLD unnecessary counters that were added manually through the portal END-->
    </Subscriptions>
    </PerformanceCounters>
    <WindowsEventLog>
    <BufferQuotaInMB>0</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>0</ScheduledTransferPeriodInMinutes>
    <Subscriptions />
    <ScheduledTransferLogLevelFilter>Undefined</ScheduledTransferLogLevelFilter>
    </WindowsEventLog>
    <Directories>
    <BufferQuotaInMB>256</BufferQuotaInMB>
    <ScheduledTransferPeriodInMinutes>5</ScheduledTransferPeriodInMinutes>
    <Subscriptions>
    <DirectoryConfiguration>
    <Path>C:\Resources\directory\ac17d63416cf41c8acfebbbcb3d90052.Mbo.Services.Web.DiagnosticStore\CrashDumps</Path>
    <Container>wad-crash-dumps</Container>
    <DirectoryQuotaInMB>256</DirectoryQuotaInMB>
    </DirectoryConfiguration>
    </Subscriptions>
    </Directories>
    </DataSources>
    <IsDefault>false</IsDefault> <!-- DEFAULT IS SET TO FALSE AGAIN -->
    </ConfigRequest>
    We tried to directly edit this XML. We removed redundant counters and changed IsDefault to "true" value in the XML and updated the blob in the wad-control-container using Azure Management Studio. Next time we redeployed the service - the counters
    again appeared in the configuration and IsDefault reverted to false again.
    Does anyone know how to permanently revert to managing diagnostics configuration only via diagnostics.wadcfg file and force the Azure to forget about manual edits we did via the portal?
    We use Azure SDK 1.4. 
    Thanks in advance for any insights!
    Vitaly

    Hi Vitaly,
    Did you try to change diagnostics configuration in VS? Like this:
    I suggest you could click the "Edit", and select your diagnostics metrics. Also, I want you double check your  re-deployment  project whether is right. Please try it.
    By the way, I suggest you could upgrade your SDK version and refer to this sample:
    http://www.windowsazure.com/en-us/develop/net/common-tasks/performance-profiling/
    http://msdn.microsoft.com/en-us/library/windowsazure/hh411542.aspx
    Any question or result, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [svn:fx-trunk] 10075: Cleanups from the spark text changes and some bug fixes for VideoElement.

    Revision: 10075
    Author:   [email protected]
    Date:     2009-09-08 18:01:58 -0700 (Tue, 08 Sep 2009)
    Log Message:
    Cleanups from the spark text changes and some bug fixes for VideoElement.  Also some PARB changes for UIComponent.
    TitleBar: Changing the skin part type from Label to Textbase
    UIComponent: skipMeasure()->canSkipMeasurement() to be in line with GraphicElement.  This has been PARB approved.
    UIComponent: same with hasComplexLayoutMatrix...this replaces hasDeltaIdentityTransform.  This has been PARB approved.
    StyleProtoChain: cleanup around what interfaces to use
    TextBase: clean up code that?\226?\128?\153s no longer needed.
    VideoElement: Fixing 4 bugs:
    SDK-22824: sourceLastPlayed keeps track of what video file we?\226?\128?\153ve called play() with last.  This way if a user pauses the video and wants to start it up again at the same point, we can call play(null) on the underlying FLVPlayback videoPlayer.  However, anytime the souce changes, we want to null out sourceLastPlayed.  This was causing a bug when someone set the source to null and then reset it to it?\226?\128?\153s previous value.
    SDK-23034 (GUMBO_PRIORITY): This deals with some FLVPlayback quirks around sizing.  I had put in a fix so we weren?\226?\128?\153t setting width/height on the underlying videoPlayer too many times, but apparently we need to make sure it always gets called once.  Hopefully when switching to Strobe we can cleanup this logic...I put a FIXME in to do this.
    SDK-21947/ SDK-22533 - some video files don?\226?\128?\153t always send out a metadata event.  I?\226?\128?\153m not quite sure why this is, but in case this happens, we do a check in the ready handler to see whether we should call invalidateSize() to make sure it gets sized properly.
    QE notes:-
    Doc notes:-
    Bugs: SDK-22824, SDK-23034, SDK-21947, SDK-22533
    Reviewer: Glenn, Corey
    Tests run: checkintests, Button, GraphicTags, VideoElement, and VideoPlayer (some VideoPlayer were failing, but I think it should be fine)
    Is noteworthy for integration: Yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22824
        http://bugs.adobe.com/jira/browse/SDK-23034
        http://bugs.adobe.com/jira/browse/SDK-21947
        http://bugs.adobe.com/jira/browse/SDK-22533
        http://bugs.adobe.com/jira/browse/SDK-22824
        http://bugs.adobe.com/jira/browse/SDK-23034
        http://bugs.adobe.com/jira/browse/SDK-21947
        http://bugs.adobe.com/jira/browse/SDK-22533
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleB ar.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as
        flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
        flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstan ce.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransfor mInstance.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionIns tance.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as

  • Html snippet not working; created from Taco html edit Component Library

    Ok, I've searched for days on the discussion board for the answer to this one..... hopefully someone can give me a couple of pointers....
    I have a component created from Taco html edit Component Library that I cannot get to work as an inserted snippet into iWeb 3.0.2.
    Why can't I get this to work? I've seen first hand that they work on someone else's website that she constructs in html directly, not using iWeb. Any help greatly appreciated.
    Taco created three files. They are:
    TSWAccordion.css
    TSWDomUtils.js
    TSWAccordion.js
    Here is the code:
    <html>
    <head>
    <title></title>
    <script type="text/javascript" src="Scripts/TSWAccordion.js"></script>
    <script type="text/javascript" src="Scripts/TSWDomUtils.js"></script>
    <link rel="stylesheet" type="text/css" href="Scripts/TSWAccordion.css" />
    <!-- BEGIN COMPONENT Accordion - Taco HTML Edit -->
    <style type="text/css">
    #myAccordion.tswAccordion
    width: 200px;
    height: 400px;
    background-color: #f0f0f0;
    #myAccordion .tswAccordionActiveSection, #myAccordion .tswAccordionInactiveSection
    background-color: #f0f0f0;
    width: 100%;
    height: 400px;
    #myAccordion .tswAccordionHeader
    text-align: center;
    padding: 2px;
    font-family: Verdana;
    font-size: 16.0px;
    #myAccordion .tswAccordionActiveSection .tswAccordionHeader
    background-color: #7086aa;
    color: #ffffff;
    border: 1px solid #cccccc;
    #myAccordion .tswAccordionInactiveSection .tswAccordionHeader
    background-color: #f0f0f0;
    color: #000000;
    border: 1px solid #cccccc;
    #myAccordion .tswAccordionHeader
    #myAccordion .tswAccordionBody
    padding: 5px;
    </style>
    <!-- END COMPONENT Accordion - Taco HTML Edit -->
    </head>
    <body>
    <!-- BEGIN COMPONENT Accordion - Taco HTML Edit -->
    Title 1
    <!--Content for section 1-->
    Title 2
    <!--Content for section 2-->
    Title 3
    <!--Content for section 3-->
    <script type="text/javascript">
    var accordion = tswAccordionGetForId('myAccordion');
    </script>
    <!-- END COMPONENT Accordion - Taco HTML Edit -->
    </body>
    </html>

    You need to upload these three files in a folder to the root folder on your server:
    TSWAccordion.css
    TSWDomUtils.js
    TSWAccordion.js
    The folder cannot be named "Scripts" as shown in your code as you already have one of that name.
    Say it is named "Accordion". You then need to give the absolute URL to these files rather than the relative one shown in the code....
    http://www.yourdomainname.com/Accordion/TSWAccordion.css
    http://www.yourdomainname.com/Accordion/TSWDomUtils.js
    http://www.yourdomainname.com/Accordion/TSWAccordion.js

  • Squiggly_p4, problem with Spark Container

    Hi,
    Environment: Flex SDK 4.5 Hero, Win7 64 bit, Flash Builder 4
    Code snippet
    <s:Panel>
         <mx:TextArea id="myTextArea" width="300" height="200" />
    </s:Panel>
    <s:TitleWindow>
         <mx:TextArea id="myTextArea" width="300" height="200" />
    </s:TitleWindow>
    Result:
    There are no suggestions for thos Halo TextArea if it belongs to Spark Container.
    Maybe: ContextMenu is not initialized or not intialized properly.
    Thanks,
    Jing

    This is a known issue with spark panels. Please refer to http://forums.adobe.com/thread/706416?tstart=0
    Thanks,
    Ravi

  • Changing state of application from within a custom component

    Hello, I have several custom components all of which are included in the parent application.
    When I try to change state from a custom component, I get an error  saying "undefined state: state name". How do I change the state of the  application from within a custom component ? All the states are defined in the parent application.

    @linrsvp,
    If you are using Flex3 try Application.application.currentState = "somestate";
    If you are using Flex4 try FlexGlobas.topLevelApplication.currentState = "somestate";
    Don't forget to import the corresponding namespaces for the above.
    Thanks,
    Bhasker

  • Redirecting from an abstract portal component

    Hi,
    I'm trying to redirect from an abstract portal component to a quicklink. I do it like told in this thread:
    Redirecting to external website from abstract portal component?
    private void redirectUrl(String target, IPortalComponentRequest request) {
      try {
        HttpServletResponse resp = request.getServletResponse(true);
        resp.sendRedirect("../../../../portal/" + target);
      } catch (IOException e) {}
    It works, but the content of my target-URL is still in the Portal-Frame. So I've two time the Portal-Framework-Navigation. Something like this:
    | Welcome         |
    | Welcome         |
    | content         |
    |                 |
    |                 |
    |                 |
    My goal is to redirect the whole page, not only the frame.
    Thanks for any help...
    Regards, Markus

    Perhaps I can do it with
      public void doOnNodeReady(IPortalComponentRequest request){
        request.redirect("http://www.google.de");
    But like in this Tread, it didn't work AbstractPortalComponent and doOnNodeReady

  • [svn:fx-trunk] 8024: Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow .

    Revision: 8024
    Author:   [email protected]
    Date:     2009-06-19 16:59:25 -0700 (Fri, 19 Jun 2009)
    Log Message:
    Fixed an injection where setting the 'content' property of Spark text component to a TextFlow would cause you to get a TextFlow nested inside a TextFlow.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-21906
    Reviewer: Carol to review
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21906
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as

    Well, I've already solved one of the two issues
    In order to display the icons on my buttonbar buttons, I just needed to point at {hostComponent.data.data} instead of {hostComponent.data}. I'm not sure why, but {hostComponent.data} in my skin class is a handle on my instance of ButtonBarButton, not its "data" property. Any explanation is welcomed
    I still have got the first issue though. Oddly enough my design works if I put an mx Image instead of the spark BitmapImage for the client logo. That will do the trick for the moment but I'd prefer to deliver a 100% pure spark component in my prototype, and I can see no reason why BitmapImage works inside my ButtonBarButtons and doesn't otherwise...

  • Paging data in Spark list component

    I'm wondering if paging data for Spark list components will be available in the final release of FB 4 / Flex SDK 4? Currently you will get an error when trying to bind a paged service method to a Spark list component: "Paged operations are not supported by this component".
    I'm asking this because of some problems we currently have with paging data in a Flex 3 TileList. See Jira issue: http://bugs.adobe.com/jira/browse/SDK-18758
    The suggested solution in this issue is to use a Gumbo Spark TileLayout instead of a TileList. That's currently not a suitable solution since the list doesn't support paging...

    Hi Jacob and Ram,
    Thank you for the information. Not the type of info I was hoping for of course . Do you guys know what I have to do to re-open my bug report (http://bugs.adobe.com/jira/browse/SDK-18758)? I'd really like to have the Halo TileList fixed so we are able to use it properly.
    Thanks,
    Jaap

  • To contact 3rd party application from within EJB container

    What are the possible options to communicate with an external application from within EJB container? Options that I can think of are
    - RMI
    - JMS
    - Socket communication
    - HTTP
    - any other option???
    And if anyone can give the pros & cons of the different approaches, based on their experiences it will be great.

    Hi,
    There is one more.
    Web Services which is much powerful than any other.
    Ofcourse for this also u have to use socket communication and http protocol.
    SOAP(Simple Object Access Protocol).. I think u got it..
    I prefer SOAP as it has many adavantages over RMI and other.
    Thanks,
    All the best.
    What are the possible options to communicate with an
    external application from within EJB container?
    Options that I can think of are
    - RMI
    - JMS
    - Socket communication
    - HTTP
    - any other option???
    And if anyone can give the pros & cons of the
    different approaches, based on their experiences it
    will be great.

Maybe you are looking for

  • Can I compare bind variable with fixed value in where cause

    I found the problem buffer hit ratio < 70%. From monitoring, this below query is full table scan(8.5G) I think full table scan is a problem from scanning 720MB buffer cache. SELECT CT.LENS_ID, TO_NUMBER (TO_CHAR (CT.EXPIRED_DATE, 'YYYYMMDD')) AS EXP_

  • How to create hyperlinks in Acrobat 9 Pro?

    Hi everyone, Is there a way to create hyperlinks from within Acrobat 9 Pro? If so, can you let me know how? I am having a hard time finding out how to do so. Thank you in advance for your help:) Christine

  • Connecting Bold 9700 (T-Mobile) with the Enterprise Server

    I just got Bold 9700 and was able to activate all my private accounts. However, for work E-mail I need to activate it through the Enterprise Server. When I followed the instructions of my company's IT Department to go to Settings/Options/Advanced Opt

  • 20 inch screen not as good as 24 inch screen?

    Leaving aside the whole matte/glossy issue for a minute, I've heard that the quality of the 20 inch screen isn't as good as the 24 inch screen. Is this the case? Or are people just being picky?

  • Audio Not Matching Up after Log and Capture

    After I log and capture my film on my computer a message puts up and says something like your audio is not aligned with your film you may want to fix the audio. The audio is way off from what I was filming. I tried 3 different Mini DVs and all had th