Tricky issue with $FLEX$

Hi All,
I have a concurrent program with three parameters(say A, B,C)
My requirement is to
a) derive B using parameter A (I guess it can be done using $FLEX$)
b) dervice C using both parameters A, B
Is it possible to use $FLEX$ to fetch values of both A,B parameters.
Could someone please assist.
Regards
Kiran

Kiran
I think you can do that. As when you flex you give value set name along with it. So you should be able to write in the query with $FLEX$.VALUE_SET1 and $FLEX$.VALUE_SET2
I think it should work

Similar Messages

  • Issue with flex lifecycle

    I am trying to address an issue with flex lifecycle
    There is a ui component ( say CompA) comprising of multiple tabs with individual components used in each of them.
    CompA uses a data object that is used to populate the fields.
    On click of a button in another panel, I am setting the current state of the application to this view component and after CompA is completely rendered I would like to load the data object and populate the fields.
    The issue here is I cannot use the creationComplete event of CompA to load this data object because at this time not all components are  completely created. (creationComplete of each of those components is not completed yet),.
    When exactly can I load this data object into the UI fields. I am not able to figure out where even callLater() can be used .
    applicationComplete 
    Event doesn’t seem to be an option, in this case.

    You can load the data when the state changes.  There are events for that.
    You could also look into updateComjplete which may work for you.

  • Tricky Issue with connecting to Lync server from my desktop lync client 2010

    I am facing a tricky situation here,
    Firstly i have 3 modes of connecting my laptop to the internet as follows:
    1)Using Wi-Fi connection.
    2)A physical LAN cable connection
    3)An internet data card (A USB data card).
    Now, i can comfortably use my Lync using 1st and 2nd mode of connectivity. But i am having a real issue using the 3rd mode of connectivity i.e using internet data card, it just doesn't connect to the Lync server at all, even though i can browse internet
    very well.
    Later i got a workaround to solve this, what i did was, i connect to internet first with 1st and 2nd modes i.e wifi or lan cable and then i also connect to internet using 3rd mode i.e data card.
    After this i start my Lync, which  now connects perfectly and then when it is connected and working.
    I disconnect my WiFi or LAN cable this causes Lync to restart, but this time it connect within minutes again using internet of my datacard, isn't this Bizarre ??
    Now Could someone please help me to connect the Lync just  by using my internet datacard?
    Atlast 2 thing which may be of help is :
    1)I can easily connect Outlook to the exchange server using my datacard and retrieve my mails.
    2)When i connect to internet using my internet datacard, I can still see "Not Connected Symbol"  in my network indicator on my Win7 PC, But i can still Brows
    internet.
    This problem may have something to do with networking, not sure. Please Help me to solve this !!!
    Ambrish

    Infact it was a Network Issue, found following on technet and solved the issue:
    I found a solution for (my version of) this problem.  My tray icon never showed the red X, but if I clicked on the icon, the popup showed a bigger icon with a red X, and said "Not connected".  As in your case, Internet worked, but I'm unable to setup
    a VPN connection because it insists on using a non-existent modem, obviously because I'm "not connected" (which I am). 
    I monitored the processes running the NlaSvc and Netprofm services (using ProcMon), and noticed that both were denied read/write access to subkeys within the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList hierarchy.  
    The processes were running as NetworkService and LocalService, respectively, so I tried adding full access for these service accounts to the entire subkey
    mentioned above.  Notice that permissions are not automatically inherited in the registry, so you may need to explicitly "replace all child object permissions with inheritable permissions from this object".
    Within seconds, Network and Sharing Center tells me I'm connected to my domain.  Yay!
    A reboot was required to fix the tray icon and its popup.
    However, I'm still unable to add my VPN connection.
    I'm interested in hearing from you guys if your registries miss the same permissions?  If so, Windows 7 must have a bug somewhere with misaligned service permissions/rights.
    Ambrish

  • Issue with $FLEX$ and populating dates.

    Hello,
    I'm creating a custom report for a HR report. I have a requirement to enter a report type, if that report type <> 'DATE' then the parameters to enter dates are to be disabled. I when through the following steps.
    Steps:
    1. Define controlling parameter, XXRPT_TYPE
    2. Define parameter - P_HIDDEN_PARAM. As it's name suggests, this is a hidden parameter, which will not be visible when we submit the conc. program.
    Set it's Default Type as "SQL Statement " and
    Default value as - "select decode(:$FLEX$.XXRPT_TYPE,'DATE','Y',null) from dual".
    3.Define custom valueset, which will used for the date parameters - " Date From" and "Date To".
    a) Click on Edit Information and enter forllowing query in Table Name field.
    (SELECT (TO_DATE (SYSDATE - 200 + LEVEL, 'DD-MON-RRRR')) date_range FROM DUAL CONNECT BY LEVEL <= 1000)temp_tab
    I am using "CONNECT BY LEVEL" concept to produce dates with the range of 1000 days.
    You can modify 1000 to any other figure as per your requirement.
    b) Set Value Name as date_range, which is nothing but the alias name in the query above.
    c) I Entered following WHERE clause in Where/Order By field.
    WHERE :$FLEX$.AMS_SRS_CHAR50='DATE RANGE'
    When I run the concurrent program, the date field will disable if the report type will is on something other than Date Range, however when the report type is date range, I get an error (No Entries found for List of Values) If I comment the where clause then the date are displayed, but the disabling doesn't work. Does anyone have any ideas for me?

    not sure what do you want but
    >
    if that report type 'DATE' then the parameters to enter dates are to be disabled.
    >
    >
    1. Define controlling parameter, XXRPT_TYPE
    >
    >
    3.Define custom valueset, which will used for the date parameters - " Date From" and "Date To".
    >
    for each date parameters
    WHERE :$FLEX$.XXRPT_TYPE != 'DATE'

  • Issue with Flex Profiling

    I am trying to run memory profiling for a flex application. But when I run the profiler, it does not open up the window for me to select options to do profiling on. I followed a link on http://stackoverflow.com/questions/2354891/flex-profiler-doesnt-do-anything and updated the mm.cfg file didnt help either. Can any one help me with this?
    Thanks.
    KM

    Reboot.  Make sure debugging works.  Then try profiling again.

  • Issue with Flex field context value

    Hello all,
    I have changed the seeded flexfield context segments to customize based on our requirement for the "Additional Period of service" DFF. It looks good but the segments still point to the old value sets validation. Please advice how to fix it.
    thank you
    KK

    Hi Kalyan,
    Just check out if some kind of conversions are possible. You haven't specified the type of the parameters - both the search help parameter and the screen field parameter. Specify that too.
    Regards
    Anil Madhavan

  • Issue with child items of flex tree using QTP

    Hi,
    We are trying to automate Flex web application using QTP10.
    We are facing below issue with Flex tree when we try to automate a scenario of selecting a child item displayed in flex tree.
    Issue:
    On recording the step of selecting an item from Flex tree using QTP, the script displayed is .Select Index1. But when we replay it back no action is being performed.
    Also on object spy we are able to navigate only till flex tree and we are not able to spy child items of flex tree.On the web page the child items are displayed as radio buttons/checkboxes.
    Please provide a solution for me to this problem.
    Thanks

    Hi,
    You could perform a HTTP trace (using HTTP watch) and compare the OCI data in POST method for both users (the correct and incorrect ones).
    Perhaps there is some additional/missing information being passed from catalog to SRM.
    Kind regards,
    Ricardo

  • Issue with graphics tearing on thumb scroll in Flex 3

    We are seeing some off issues with graphics (one using the charting package and the other using degrafa) tearing on thumb scrolling in a large Flex 3 app.  It's very hard to reproduce on OSX with the latest versions of Safari and Firefox, but it shows almost immediately when you run the app on Windows or Linux (regardless of the browser).  I took one of the pieces out of the app and put it into a very simple testbed app and can't get the problem to show on Windows (i was hoping to isolate the issue in a smaller test case, but no such luck).
    So, ii've got a few idea's on how to work around the issue, but i was wondering if anyone else has seen this type of problem before?
    Problem:   
         - graphics tear on thumb scroll
         - doesn't happen if you click in the track or use the arrows
         - one view is using the charting package, the other view is using degrafa
    Thanks for any comments or suggestions...
    Richard

    SOLUTION:  changed wmode from "opaque" to "window" in the jsp serving as the wrapper for the app's main swf...
    Here's the reference we used to determine the proper setting for wmode;
    http://kb2.adobe.com/cps/127/tn_12701.html
    Thanks again for the response...  Richard

  • Flex Module issue with Panel

    Hello everyone. I have the following problem.
    In my application I have several modules and each of them have components CollapsableTitleWindow (extends Panel). After opening the window it is added to the container which is in the main application (CollapsableTitleWindowContainer). In these windows you can open another window (and so on).
    Now, what is the problem. When I change (reload) any module and I want to open a new window (sub window) with the already loaded window I get this error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.containers::Panel/layoutChrome()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\Panel.as:1405]
    at com::CollapsableTitleWindow/layoutChrome()[D:\Flex 3 Workspace\WesobCrm\src\com\CollapsableTitleWindow.as:216]
    at mx.core::Container/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\Container.as:2867] (...)
    Indicates that the main applications have object Panel
    Please help.
    P.S. I found a similar problem on http://www.nabble.com/Flex-Module-issue-with-Panel-td20168053.html
    ADDED: I extendes the Panel class and do something like that:
    override protected function layoutChrome(unscaledWidth:Number, unscaledHeight:Number):void
                    use namespace mx_internal;
                    if(!(mx_internal::titleBarBackground is TitleBackground)) {
                            mx_internal::titleBarBackground = new TitleBackground();
                    super.layoutChrome(unscaledWidth, unscaledHeight);                     
    But now i had something like that: Before After
    You can see that it loos style declaration.H

    Thanks for the anserw.
    I don't exacly understand all but i found a solution for my problem and it works.
    Could you tell me if this is ok ?
    I Add in my main app
    public function getProductWindow():ProductWindow {
        return new ProductWindow();
    And in the module i change
    From var productWindow:ProductWindow = new ProductWindow();
    To var productWindow:ProductWindow = Application.application.getProductWindow();

  • Issues with file upload in flex mobile application (sharepoint as backend)

    Hello,
    I am working on flex mobile application for android platform for which we are having sharepoint as a backend.
    (Flex SDK 4.6 and AIR 3.9)
    Issue which we are facing is as follows:
    We are communicating with the backend server using webservices: example:
    <s:WebService id="kWebService" wsdl="http://www.kservice.net/kdatabaseservice.asmx?WSDL" >
                <s:operation name="AddPost"
                             resultFormat="object"
                             result="addPostResult(event)"
                             fault="postsfaulterr(event)" />
    </s:WebService>
    Above services are working fine but we are facing issue with one service which is related to file upload.
    File upload for <10 MB is working fine but when we try to upload larger file on server it fails to process.
    We are sending bytearray to the backend and backend code is writing those bytearray into file.
    We have tried many ways to overcome from this situation. like we have checked configuration for file upload size on server , we have tried wcf services as well. Please help us on this criticle point as soon as possible
    Thanks
    Dhwani

    Prashant8809 wrote:
    Hi
    >
    > I have already gone through the video by Thomas Jung for multiple file upload but it saves the contents in server and not in >transparent table. So please suggest me alternative solutions.
    >
    >
    > Regards
    > Prashant Chauhan
    What do you mean that my video saves the contents int he server and not in transparent table?  I save the data into a temporary database table so it can be accessed by the parent WDA session. From there the WDA session can do whatever it wants with it.  What do you mean by transparent table - that would be a database table. Do you actually mean internal table?  if so, just read the data from the temporary database table into memory.

  • Flex file upload issue with large image files

         Hello, I have created a sample flex application to upload an image and also created java servlet to upload and save image and deployed in local tomcat server. I am testing the application in LAN. I am able to upload small as well as large image file(1Mb) from some PCs but in some other PCs I am getting IOError while uploading large image files however it is working fine for small images. Image uploading is hanging after 10%-20% and throwing IOError. *Surprizgly it is working Ok with XP systems and causeing issues with Windows7 systems*.
    Plz give me any idea to get a solution.
    In Tomcat server side it is giving following error:
    request: org.apache.catalina.connector.RequestFacade@c19694
    org.apache.commons.fileupload.FileUploadBase$IOFileUploadException: Processing of multipart/form-data request failed. Stream ended unexpectedly
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:371)
            at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.ja va:126)
            at flex.servlets.UploadImage.doPost(UploadImage.java:47)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
            at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProto col.java:594)
            at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
            at java.lang.Thread.run(Thread.java:722)
    Caused by: org.apache.commons.fileupload.MultipartStream$MalformedStreamException: Stream ended unexpectedly
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStre am.java:982)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:8 86)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:96)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:66)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:366)
    UploadImage.java:
    package flex.servlets;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import java.text.*;
    import java.util.regex.*;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    import sun.reflect.ReflectionFactory.GetReflectionFactoryAction;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class UploadImage extends HttpServlet{
             * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
             *      response)
            protected void doGet(HttpServletRequest request,
                            HttpServletResponse response) throws ServletException, IOException {
                    // TODO Auto-generated method stub
                    doPost(request, response);
            public void doPost(HttpServletRequest request,
                            HttpServletResponse response)
            throws ServletException, IOException {
                    PrintWriter out = response.getWriter();
                    boolean isMultipart = ServletFileUpload.isMultipartContent(
                                    request);
                    System.out.println("request: "+request);
                    if (!isMultipart) {
                            System.out.println("File Not Uploaded");
                    } else {
                            FileItemFactory factory = new DiskFileItemFactory();
                            ServletFileUpload upload = new ServletFileUpload(factory);
                            List items = null;
                            try {
                                    items = upload.parseRequest(request);
                                    System.out.println("items: "+items);
                            } catch (FileUploadException e) {
                                    e.printStackTrace();
                            Iterator itr = items.iterator();
                            while (itr.hasNext()) {
                                    FileItem item = (FileItem) itr.next();
                                    if (item.isFormField()){
                                            String name = item.getFieldName();
                                            System.out.println("name: "+name);
                                            String value = item.getString();
                                            System.out.println("value: "+value);
                                    } else {
                                            try {
                                                    String itemName = item.getName();
                                                    Random generator = new Random();
                                                    int r = Math.abs(generator.nextInt());
                                                    String reg = "[.*]";
                                                    String replacingtext = "";
                                                    System.out.println("Text before replacing is:-" +
                                                                    itemName);
                                                    Pattern pattern = Pattern.compile(reg);
                                                    Matcher matcher = pattern.matcher(itemName);
                                                    StringBuffer buffer = new StringBuffer();
                                                    while (matcher.find()) {
                                                            matcher.appendReplacement(buffer, replacingtext);
                                                    int IndexOf = itemName.indexOf(".");
                                                    String domainName = itemName.substring(IndexOf);
                                                    System.out.println("domainName: "+domainName);
                                                    String finalimage = buffer.toString()+"_"+r+domainName;
                                                    System.out.println("Final Image==="+finalimage);
                                                    File savedFile = new File(getServletContext().getRealPath("assets/images/")+"/LowesFloorPlan.png");
                                                    //File savedFile = new File("D:/apache-tomcat-6.0.35/webapps/ROOT/example/"+"\\test.jpeg");
                                                    item.write(savedFile);
                                                    out.println("<html>");
                                                    out.println("<body>");
                                                    out.println("<table><tr><td>");
                                                    out.println("");
                                                    out.println("</td></tr></table>");
                                                    try {
                                                            out.println("image inserted successfully");
                                                            out.println("</body>");
                                                            out.println("</html>");  
                                                    } catch (Exception e) {
                                                            System.out.println(e.getMessage());
                                                    } finally {
                                            } catch (Exception e) {
                                                    e.printStackTrace();

    It is only coming in Windows 7 systems and the root of this problem is SSL certificate.
    Workaround for this:
    Open application in IE and click on certificate error link at address bar . Click install certificate and you are done..
    happy programming.
    Thanks
    DevSachin

  • Any issues using ALCS with Flex 4?

    We're about to move some of our code base to Flex 4, and I wanted to check in advance if there would be any issues with ALCS using Flex 4 Beta 2 and Flash Builder Beta 2.
    Thanks,
    Rick

    Hi,
    If you are using player 10 ALCS swc and Whiteboard with Flex 4 and Flash Builder beta 2, it might throw an exception sometimes which has been fixed recently and will be updated in the next drop.
    Player 9 ALCS swc should work fine. We haven't done testing extensively on Flex 4 for our framework, so if there are any issues that you come across, please report to us.
    Thanks
    Hironmay Basu

  • Ideapad Flex 14 issue with Windows 10

    I had this with Windows 8.1 for almost 2 years.  It works fine.  Now i upgraded it to windows 10 and everything went ok but both Wired internet connection LAN and Wireless internet connection was not working.  I have downloaded the drivers by myself and also what Lenovo support suggested but it is not working.    Has anyone with Lenovo Flex 14 upgraded to Windows 10 successfully. In some ways Lenovo was advocating to update to windows 10 but they don't want to help me but send me to premium support where i have to pay :-( Thanks in advance for any help.  

    This really is a driver issue with Nvidia SLI or not, but it has to do with this monitor and possibly it's 75Hz refresh rate.  I thought I'd share and hopefully Acer can work with Nvidia to make their new monitors compatible with Win10.  I know we are using bleeding edge tech here, I don't mind doing the troubleshooting as long as someone acknowledges the issue and will fix it. Serious memory leak with 355.60 as soon as the monitor goes to sleep. I've done extensive testing with poolmon, xperf, etc to see if any other drivers cause this, but nothing, this is a brand new win10 fresh install. Easiest way I can show this is via MSI afterburner. Monitor is set to sleep after 1 minute so I can do this quick test.    You can see less than 2 minutes in, pagefile usage already jumped up 4gb.Unless I wake the monitor, this will eventually eat up all virtual memory resulting in:  

  • I'm having issues/glitches with Flex Pitch

    When I analyze any vocal track with flex pitch, It messes up quite a few of my notes and tunes with weird buggy sounds,skips & stutters.
    sometimes with gargly noises as well. When I decide I just won't flex pitch that area and delete the flex pitch, it's already messed up my track and won't go back to sounding normal. I want to know how to get rid of it! or at least how to fix that problem. even if there's an easier way to just actually delete it. I've even tried to make a seperate track for just the vocal parts that are haing issues, but it's still there when i move it. I feel like it's corrupt my vocal track and i'd like to use to one i already have instead of rerecording all the time .
    Any help would be greatly appreciated
    Here is a small sample of my problem in the vdeo link below and one of the smaller glitches. it's very noticable when the whole track is playing too.
    https://vimeo.com/78046518

    Same issue for me. Has happened on different projects and different kinds of tracks (vocals and guitars)

  • Flex RSL issue with SDK version change?

    Hi Friends!
         I am facing very crucial common problem when using Flex RSL feature.
    Problem:  My Custom component library is compiled with Flex 3.0 and more than 50 applications are using it. Now some of our new applications needs to use the features from Flex 3.2 SDK(like increased control width and height) and those controls should also be in same library.
    So, the library should be common for application which are using 3.0 as well as 3.2.
    My requirement is
    "Without recompiling all Flex 3.0 applications, I need to run both Flex 3.0 and 3.2 applications using library compiled in Flex 3.2"
    now I am getting some errors like,
         Error #1063: Argument count mismatch on mx.core::CrossDomainRSLItem()  -- from systemmanager
         VerifyError: Error #1053 -- mx.managers.SystemManagerProxy.
         ReferenceError: Error #1065: Variable _*_mx_managers_SystemManager
    Is it possible to win this?
    I hope flex is having backward compatibility.
    Please help me on this.
    Thanks,
    Ananth.

    The only cross-version compatibility is called the Marshall Plan.  It is described on the open source wiki and on my blog.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for

  • Suddenly the text on my screen is blurry.

    My computer was fine earlier today. I went out (left it on and it went into sleep mode). When I returned, the text on the screen was all blurry. Not only that, but it changed the size of the screen so that nothing that's on it fits as it is supposed

  • VAT Code invisible in dropdown

    Hi, When posting a transaction, the client doesn't want to see all the VAT codes defined in table 007A. Is this possible? Annelize

  • JSP Code completion fails

    The code "insight" isn't working when I edit JSP pages. The page has include directives that were wizard generated and the JSP compiles and runs successfully. I see no indication as to why it's failing. Does anyone know a solution to this? -s- ps. i'

  • Special Periods and Variable Offset

    Our fiscal year variant includes 12 periods and one special period (Period 13).  I created a rolling 12 month query which uses variable offsets to define each column.  If the user enters 3/2006, I would expect to see the next columns to show 2/2006,

  • Command-F window no longer displays folders on left

    Hi -- [using 10.7.5] when I open up the Finder window via Command-F, the window does not display the folders on the left (I believe under a title "favorites"). It used to do this.  I can still get it by clicking on the harddrive icon on my desktop.