Retrieving parameter properties

Hi all,
almost ashamed of posting this since the sollution must be so simple. I however fail to see it
I have a wrapper loading an SWF.
That swf loads all kinds of assets using LoaderMax and dispatches progressEvents
The wrapper listens for those events to update a progressbar.
attached is a screenshot from Flash Builder 4.
The progress eventhandler from the wrapper is where the breakpoint is.
Somehow I cannot get to the event.target (local var t == null) to retrieve information on the loaded bytes. However, the information does show up in the variables screen when I debug. Anyone know what I'm missing?
Thanks in advance,
Manno

Hi,
This link is very useful,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/knowledge management and collaboration developers guide.html
Patricio.

Similar Messages

  • Retrieve usebean properties in servlet

    Hi,
    I'm trying to retrieve useBean properties in my servlet, but continue getting a nullPointerException. I use the useBean action and the setProperty action in my JSP like this:
    <jsp:useBean id="invoerFilm" class="films.Film" scope="session" />
    <jsp:setProperty name="invoerFilm" property= "*"/>
    </jsp:useBean>
    The class Film resides in the package films and is a valid Bean class. All the properties of the Film class appear as equally named textboxes on the jsp. Furthermore there is a post action on the jsp that points to the servlet in which I try to retrieve the usebean data.
    In my servlet I try to retrieve the ' invoerFilm' usebean like this:
    Film aFilm = (Film) getSession().getAttribute("invoerFilm");
    I keep getting a null pointer exception when I try to access the 'aFilm' object.
    Can someone tell me what it is I'm doing wrong (might be a lot of things; I'm quite new at this)?
    Thanks already and greetings,
    dampe hin

    Hi,
    Thank you for your reponse. The bean class is indeed in the WEB-INF/classes directory. I also use the bean class in a different jsp to forward a bean to some other jsp and then it works alright.
    regards,
    dampe hin

  • Retrieving parameter and assign it to double variable

    I have quick question.
    Can I retrieve parameter value and assign it to a previously
    defined double variable?
    For example, if there is a previously defined
    double variable named cost and a following tag
    <PARAM NAME=price VALUE=10.00>
    can I just do
    cost = getParameter("price");
    to retrive the value?
    Thanks

    Hi Kei,
    No you can't do
    cost = getParameter("price");because method "getParameter()" returns a "String" (not a 'double').
    But you can do something like this:
    String price = getParameter("price");
    double cost = Double.parseDouble(price);Note that the above is incomplete. The "parseDouble()" method may throw an exception. PLease check the relevant javadoc for more details.
    Hope this helps.
    Good Luck,
    Avi.

  • JMX question: how to retrieve system properties, DataSource attributes ?

    Hi,
    I need to retrieve some parameters from my JEE application (*.ear) my collegues will deploy soon on Netweaver 7.2
    I found documentation about how to connect to the server with JMX, that works fine:
    http://help.sap.com/saphelp_nw04/helpdata/en/64/617cfb94845d468b0498b4b2c53d74/content.htm
    But how can I come to the system properties for example? Which ObjectName do I have to use and what methods should be called? Are there some more examples for common operations based on the default (monitoring) MBeans?
    Thanx a lot,
    Bob

    http://www.dagira.com/2007/08/22/dynamic-dates-part-i-yesterday-and-today/
    That blog post includes functions to get "today" for:
    DB2     current date
    Oracle     sysdate
    Informix     TODAY
    MySQL     CURDATE()
    SQL Server     getdate()
    Sybase     getdate()
    Teradata     DATE or CURRENT_DATE
    It is also the first in a series of posts that show you how to create other creative time objects for use in your universe. Hope this helps.

  • Retrieve system properties, eg. weblogic.system.home

    Hi!
    I am trying to retrieve the value of the system property weblogic.system.home. Note
    that it is not defined in the weblogic.properties file in WL5.1 with SP8, but specified
    in a start WL batch script.
    The code snippet
    .. System.getProperty("weblogic.system.home") ...
    returns null.
    Any ideas on what I'm doing wrong?
    Regards,
    Jan

    T3ServicesDef t3 = T3Services.getT3Services();
    home = t3.config().getProperty("weblogic.system.home");
    Mike
    It is weblogic.system.home - do not confuse.
    Fri May 11 11:40:26 PDT 2001:<I> <Config> Property name: 'weblogic.system.home',
    current value: '/home/weblogic/weblogic51_lab'
    "Giri Alwar" <[email protected]> wrote:
    The property is called "weblogic.home" not "weblogic.system.home".
    Giri
    "Jan Nygaard Nielsen" <[email protected]> wrote in message
    news:3b028e0b$[email protected]..
    Hi!
    I am trying to retrieve the value of the system propertyweblogic.system.home. Note
    that it is not defined in the weblogic.properties file in WL5.1 with SP8,but specified
    in a start WL batch script.
    The code snippet
    .. System.getProperty("weblogic.system.home") ...
    returns null.
    Any ideas on what I'm doing wrong?
    Regards,
    Jan

  • Need help for retrieving parameter containing "\" char from ServletRequest

    I'm implementing a portal using Jetspeed 1.4, and I would like to include the "\" character in the login name of a HTML form like below:
    login_name=INTRANET\Guest
    And in many parts of the programs, it needs to interpret the path to identify the login name via the code segments below:
    StringTokenizer st = new StringTokenizer(req.getPathInfo(), "/");
    boolean name = true;
    String pathPart = null;
    while (st.hasMoreTokens()) {
    if (name == true) {
    tmp = URLDecoder.decode(st.nextToken());
    name = false;
    else {
    pathPart = URLDecoder.decode(st.nextToken());
    if (tmp.length() != 0) {
    /* start debug */
    System.out.println(pathPart);
    /* end debug */
    add(convert(tmp), pathPart);
    name = true;
    I expect that I should be able to be retrieved the login name as INTRANET\Guest. However, this is not the case, and I got INTRANET/Guest instead. By looking at the value of req.getPathInfo() of the 1st line, the path has already been wrongly interpreted as:
    /media-type/html/user/INTRANET/Guest/page/...
    Is there any way I can get the same parameter if "/" character is included? On the other hand, I want to reference the source code of Servlet 2.2 or above, but I can't find it available from java.sun.com, while the only v2.1.1 available here is simply a rubbish. Please help.
    Thank you for your attention.

    Thank you for your reply. However, because I'm trying to modify the open source, and the login name is hard-coded appended into the path, where effort modifying this is very huge. It will be very convenient if I ca n find an alternative to get the value of getPathInfo() but with "\", or I can reach the source code and modify it straightly.
    However, I can't imagine even Servlet 2.2+ source code (2.1.1 is available, but no use) is not made available by anywhere of java.sun.com, including the SCSL. What's so-called open source?!

  • Create Parameter  and set Parameter properties using API

    I want to create a parameter with RAS API.
    Here I want to create a string parameter and initialize it and set the values.
    This is the code I use to create a parameter.
    I use here the RAS API, because I want to create a parameter
            Dim myParameterField As New CrystalDecisions.ReportAppServer.DataDefModel.ParameterField
            myParameterField.ParameterType = CrParameterFieldTypeEnum.crParameterFieldTypeReportParameter
            myParameterField.ValueRangeKind = CrParameterValueRangeKindEnum.crParameterValueRangeKindDiscrete
            myParameterField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField
            myParameterField.Name = "mystring"
            m_RasDoc.DataDefController.ParameterFieldController.Add(myParameterField)
    later, I call the following code to set the values of the parameter "mystring".
    I use DOTNET-SDK, because I dont know how to do this with the RAS API
            Dim crParameterDiscreteValue As ParameterDiscreteValue
            Dim crParameterFieldDefinitions As ParameterFieldDefinitions
            Dim crParameterFieldLocation As ParameterFieldDefinition
            Dim crParameterValues As ParameterValues
            crParameterFieldDefinitions = m_crNetDoc.DataDefinition.ParameterFields
            crParameterFieldLocation = crParameterFieldDefinitions.Item("mystring")
            crParameterValues = crParameterFieldLocation.CurrentValues
            crParameterDiscreteValue = New CrystalDecisions.Shared.ParameterDiscreteValue
            crParameterDiscreteValue.Value = "myvalue"
            crParameterValues.Add(crParameterDiscreteValue)
            crParameterFieldLocation.ApplyCurrentValues(crParameterValues)
            crParameterFieldLocation.ApplyDefaultValues(crParameterValues)
            crParameterFieldLocation.IsOptionalPrompt = False
    later, I save this report to disk.
    When I open the generated report in the Crystal Designer, there are no default values for this created parameter 'mystring'.
    Is it possible to set DefaultValues using RAS API?
    Can I populate the combobox for a parameter in parameter Dialog? Can I set the standard value field?
    Thank you
    Otto

    Hello,
    at first i want to create a new parameter. Then set the parameter value in the parameterlist and store a standard default value.
    I want if this stored report will be opened with the Crystal Reports Designer and I start with the view button, the default values should be set in the parameter text field, so that the user must not type in the parameter values.
    Please help me!
    Thank to all helpers.

  • Big Data Extension Serengeti Server setup Error : Failed to Retrieve VC Properties.

    Hello,
    I installed the Vsphere Big Data Extension 2.0.0.951. i connected the vcenter server with serengeti server, configured big data cluster
    But when i logged in to management server i am getting following initialization status Error.
    i checked the VC FQDN and ips are correct.
    I unregistered and register big data extension but still this error exist
    what could be the issue and how can i resolve it?

    on the vsphere big data extension management server its shows initialization status success but i when i look the cluster i am getting following error.

  • Retrieve parameter from an Object (Xml reader)

    hi,
    I have 2 classes and im trying to receive the variable "xmlResult" from the object my_XML, but its always null.
    I understand that is an asynchronous problem, but I dont know how to resolve this.
    Thanks for you help.
    XmlClass.as
    package  {
       import flash.net.URLLoader;
       import flash.net.URLRequest;
       import flash.events.Event;
       import flash.events.EventDispatcher;
       import flash.display.Loader;
       import flash.events.MouseEvent;
       import flash.display.Sprite;
       import flash.display.SimpleButton;
       import flash.text.TextField;
       public class XmlClass  extends Sprite{
          public var loader:URLLoader;
          public var xmlResult:XMLList;
          public var pathXml:String;
            public function XmlClass(pathXml:String) {
             retrieveData(pathXml);
             //trace(xmlResult);
          private function retrieveData(pathXml:String):void{
             loader=new URLLoader();
             loader.addEventListener(Event.COMPLETE,onCompleteLoading);
             //var urlRequest:URLRequest= new URLRequest(pathXml);
             loader.load(new URLRequest(pathXml));                      
          private function onCompleteLoading(e:Event):void{
             xmlResult=(XMLList(e.target.data));
    Main_1.as
    package  {
       import flash.display.MovieClip;
       import flash.events.Event;
       public class Main_1 extends MovieClip{
          //private var xmlList:XMLList;
          private var my_Xml:XmlClass;
          public var resultXml:XMLList;
          //PATH TO XML File
          private var pathXml:String="assets/color.xml";
          public function Main_1() {
             createXml(pathXml);
          public function createXml(pathXml){
             my_Xml=new XmlClass(pathXml);
             trace(my_Xml.xmlResult);
    }

    I suppose the simplest way would be to redispatch Event.COMPLETE. Something like this:
    <SNIP>
      public class XmlClass  extends Sprite{
          public var loader:URLLoader;
          public var xmlResult:XMLList;
          public var pathXml:String;
            public function XmlClass(pathXml:String) {
             retrieveData(pathXml);
             //trace(xmlResult);
          private function retrieveData(pathXml:String):void{
             loader=new URLLoader();
             loader.addEventListener(Event.COMPLETE,onCompleteLoading);
             //var urlRequest:URLRequest= new URLRequest(pathXml);
             loader.load(new URLRequest(pathXml));                      
          private function onCompleteLoading(e:Event):void{
             xmlResult=(XMLList(e.target.data));
              dispatchEvent(e);
    Main_1.as
    package  {
       import flash.display.MovieClip;
       import flash.events.Event;
       public class Main_1 extends MovieClip{
          //private var xmlList:XMLList;
          private var my_Xml:XmlClass;
          public var resultXml:XMLList;
          //PATH TO XML File
          private var pathXml:String="assets/color.xml";
          public function Main_1() {
             createXml(pathXml);
          public function createXml(pathXml){
             my_Xml=new XmlClass(pathXml);
                        if(my_Xml.xmlResult){doXMLDataReady();}
                       else{
                   my_Xml.addEventListener(Event.COMPLETE, onXMLDataReady);
         function doXMLDataReady(){trace(my_Xml.xmlResult);}
         function onXMLDataReady(event:Event)
            my_Xml.removeEventListener(Event.COMPLETE, onXMLDataReady);
                   doXMLDataReady();

  • SSRS parameter date/time properties

    Hello,
    I wanted to see if someone could help me with a SSRS parameter issue.
    I’m using parameters to create user defined @BeginDate and @EndDate for the report.
     I’m formatting the parameter properties as a Date/Time format to get calendar controls in the report.
    The problem I’m having is the ‘date field’ in underlying data set is formatted as (char(8), not null). 
    I believe this is causing problems with the Date/Time format in SSRS parameter properties.
    The data field would look like this 20500401.
    Is there any way that someone could show me how to format my @BeginDate and @EndDate in my dataset query to work with the SSRS parameter properties Date/Time format?
    Any information would be greatly appreciated.
    x

    Hi Tracy,
    The dates aren't field that are in my SSRS dataset.  They filters in query though
    Originally my query was before I added parameters:
    ...Where TRANS_DATE between '20140101' and '20140331' 
    After adding parameters:
    ....Where TRANS_DATE between @BeginDate and @EndDate
    Is there anyway that I could convert the TRANS_DATE field in my dataset query to work with SSRS Date/Time format instead?
    If I was returning the TRANS_DATE field in my dataset I think I could use your expression in the filter.
    Thanks,
    x

  • Calling a multi value parameter seems to slow down report

    Hi
    Nearly all of my datasets use a multi value parameter at present which from testing seems to be causing a long delay.
    If I change the dataset to not call the parameter and manually enter the values in this works quicker, the only issue being if I need to add an additional value I need to then do it on multiple datasets rather than one parameter.
    A way around this I thought was to do the below which doesn't seem as slow as my original method.
    To try better explain I have done this
    SELECT
    Practice.ibvSalesByJob.JobType
    FROM
    Practice.ibvSalesByJob
    WHERE
    Practice.ibvSalesByJob.JobType IN (N'1', N'4', N'5', N'8', N'12', N'17', N'40', N'45', N'60')
    I then have a parameter which has default values > dataset > JobType
    The actual dataset shown in the report then shows 
    WHERE
    Practice.ibvSalesByJob.JobType IN (@ABSJobs)
    Does this make sense or is there a better way of doing what I am trying to do?
    Is there a known issue with Report Builder 3.0 and multiple parameters?
    Any help/advice appreciated.
    Cheers
    Cheers Chris

    Hi Chris,
    According to your description, when you create a multivalued parameter, then specify its values from a dataset, the report is running slower.
    In Reporting Services, all datasets within a report will be retrieved when running the report. In your scenario, if you specify the parameter values from a dataset, it’s possible to cause performance issue. If parameter doesn’t have too many values, you
    could specify the values for the parameter with specified values in Report Parameter Properties.
    Besides, in Reporting Service, the total time to generate a report include TimeDataRetreval, TimeProcessing and TimeRendering. In your scenario, you could run the report in report server, check the table
    Executionlog3 in the ReportServer database to analyze which section take much time. Then you can refer to this article to optimize your report:
    Troubleshooting Reports: Report Performance.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • HOW TO PASS A PARAMETER TO UIX PAGE FROM APPS' FUNCTIONS FORM?

    Hello,
    We created a form function (in Sys Admin resp) for a UIX page. The Type field
    is 'SSWA plsql function that opens a new window (Kiosk Mode)'. The HTML Call
    field is 'POBarCode.uix'.
    We have to pass the username (who logs in) to the UIX page. If we pass it
    literaly, (e.g. POBarCode.uix?MyParam1=BBASTIN), it works. We tried following
    two options to pass it as a variable in HTML Call field:
    POBarCode.uix?MyParam1=fnd_profile.value('USER_ID')
    POBarCode.uix?MyParam1=$PROFILE$.USERNAME
    Both variable show up as is in the UIX page. How can we pass the username as a
    variable on tHe HTML Call?
    Thanks, Ali.

    Hi guojun yu,
    As per my understanding, you use parameters related to country and office UI langs as search condition in the report, you want to provide part of countries/office UI langs values as values of parameter, then all records will be displayed in the report.
    In Reporting Services, parameters are used to filter data, after we selected values of parameter and preview the report, only data meets search condition will be displayed in the report. To display all records in the report, we need to use all values of
    countries/office UI langs as values of parameter. For detail information, please refer to the following steps:
      1. Create separate dataset for each parameter with the query like below:
    Select distinct CountryRegion from TableName
      2. In design mode, right-click Parameters and click Add Parameter.
      3. In Parameter Properties dialog box, in name and prompt text box, type CountryRegion. Select Allow multiple values.
      4. Click Available Values in left pane, select Get values from a query, select dataset from drop down list, select CountryRegion from Value field and Label field drop down list.
      5. Create parameter @OfficeUiLang, @OsLocale, @IsMobile like step1 to 4 above.
      6. Modify the stored procedure used to retrieve data for the report like below:
    SELECT *
    FROM AggregateDataByDate AllSessions
    WHERE UserID != 'NULL'
    AND CountryRegion in @CountryRegion
    AND OfficeUiLang in @OfficeUiLang
    AND OsLocale in @OsLocale
    AND IsMobile in @IsMobile
    AND [UsageDate] >= @DataCutOffDate
    For detail information about Adding a multi-value parameter to a Report, please refer to the following document:
    https://msdn.microsoft.com/en-us/library/dn385719%28v=sql.110%29.aspx?f=255&MSPPError=-2147217396
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • Mdrmsap - retrieve SAP variables

    I'm trying to retrieve the properties of the SAP variables, used in a BI query, using a VB 6 application.
    Using the following command :
    Dim myObj As Object
    Set myObj = m_cube.GetSchemaObject(adObjectTypeMember, "SAP VARIABLES")
    generates the error : "Internal error when creating MEMBER SCHEMA ROWSET. Error #MEMBER"
    How do I retrieve the properties of the SAP variables in VB 6 ? I need to retrieve the VARIABLE_SELECTION_TY
    PE.
    Thanks in advance

    Hi Sat,
    I've checked following objects within the references  :
    Microsoft ActiveX Data Objects (Multi-dimensional) 2.8 Library (MSADOMD.DLL)
    Microsoft ActiveX Data Objects 2.8 Library (MSADO15.DLL)
    Microsoft DAO 3.6 Object Library
    so the version of MSADOMD is newer than the one you mentioned.
    Data of the info provider is read fine, using the cellset.open function.
    I need the properties of the parameters of the query, because I have to build a filter screen in my VB application, and I
    need to know whether or not it's a required parameter and what kind of parameter is used (single entry, single input list, range
    regards,
    Danielle

  • Unable to get parameter values from a remote database

    I am linking to a remote database view via a synonym in Oracle and trying to retrieve parameter values from it.  The username and password are the same for the local and remote database and I can run the SQL query using SQL plus against the database and values are returned.  However, when I try and run the same query in Crystal Reports (XI) I receive an Oracle error:
    "An attempt was made to connect or log in to a remote database using a connection description that could not be found.
    Action: 
    Specify an existing database link. Query the data dictionary to see all existing database links. See your operating system-specific Net8 documentation for valid connection descriptors. "
    How can it be that Crystal cannot run the query when it is valid in SQL plus?
    Any tips/info would be appreciated.
    many thanks
    Claire
    Oracle is version 10

    When running one of the reports in VS.Net this is the error I receive:
    "A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in crystaldecisions.crystalreports.engine.dll
    Additional information: Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2019 ]
    Failed to retrieve data from the database.
    Error in File C:\DOCUME1\CLAIRE1.REE\LOCALS~1\Temp\{0C6C6DD5-B958-4E10-A2AA-928C58E1B7CE}.rpt:
    Failed to retrieve data from the database.
    Details:  [Database Vendor Code: 2019 ]"
    When running the same report in Crystal Reports designer I receive this error message:
    "Prompting failed with the following error message: 'List of Values failure: fail to get values. [Cause of error: Failed to retrieve data from the database.  Details: [Database Vendor Code: 2019].  Failure to retrieve data from the database.  Error in File UNKNOWN.RPT.  Failure to retrieve data from the database.  Details: [Database Vendor Code: 2019]]'.
    Error source: prompt.dll Error code: 0x8004380D"
    So this one is also failing in the designer.
    All the parameters in the main report are static and the ones in the subreport are passed in from the main report.

  • How to display properties of dimension on the input form and report in bpc

    Dear Expert,
    Please tell me how to display properties of dimension on the input form and report in bpc. I can only display dimension number.
    thanks so much
    hungth

    Hi Hungh,
    If your are using BPC 10 with EPM add in client, you can use the function:
    EPMDimensionProperty ()
    This function retrieves the properties of a specified dimension in a specified cell range.
    Thanks, Safa

Maybe you are looking for

  • Will an X220 drive a Dell UP2414Q 4K 3840 x 2160 Monitor via Display Port?

    I've not been able to find any information about this on the web and there is definitely some confusion about DisplayPort versions - could some one answer the question will an X220 drive a Dell UP2414Q 4K IPS Monitor at it's native resolution of 3840

  • Service billing for inspection testing

    Hi folks, My client is a testing laboratory where they receive samples from external company. Tested results are sent back to the customer along with a test certificate and is billed for the testing carried out. I have two things to clarify 1) how is

  • Problem with message delivery time in C201

    Hello All, I am facing a strange problem in my recently purchased C201 handset.Whenever i get the delivry report of a sent messge , the report shows wrong time. One sample delivery reprt is here : Recipent : xxxxxxx Content : xxxxxxxx Sent : 08:39:56

  • Scrolling a long list?

    I'm sure this is simple - how do you build a long list of names to scroll up the screen, like movie credits? thanks

  • Error in WSDL v2

    Dear *, I downloaded the Wsdl for "Service Request". Unfortunatly, it doesn't pass the W3C validation rules.[http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#NCName|http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#NCName] actually, it contains