Very strange behavior about variable naming with DataService.fill)

I feel this behavior strange in LCDS 2.5, which refers to the variable naming for objects returned by a call to DataService.fill (). I was a simple destination with a Java adapter. the Java data object on the server side is defined as)

test of the package;

public class RepositoryObject
{
private String m_strObjectId;
Private boolean m_bIsValid;
private long m_lSize;

[public poseurs and getters here]
}

The side Flex, the ActionScript value object is defined as follows:

test of the package
{
[Bindable]
[RemoteClass (alias = "test.)] RepositoryObject")]
public class RepositoryObject
{

public var m_strObjectId:String;
public var m_bIsValid:Boolean;
public var m_lSize:Number;

public void RepositoryObject()
{
}

}
}

The definition of destination of SDS (in data-management-config. (XML):

< destination id = "testDs" >

< Ref adapter = "java-dao" / >

Properties of <>

< source > test. TestDS < / source >
application of < scope > < / scope >

< metadata >
< property identity = "m_strObjectId" / >
< / metadata >

< network >
< session-timeout > 20 < / session-timeout >
< paging enabled = "false" pageSize = "10" / >
< Butterfly-inbound policy frequency max = "ERROR" = "500" / >
< political Butterfly-outgoing = 'REPLACE' max-frequency = "500" / >
< / network >

< Server >
< fill method - >
getObjects < name > < / name >
< / fill method >
< / Server >
< / properties >
< / destination >

What I thought was in the debugging client, is the data returned by the service (I use the mx:DataService call) return objects with variable names do not match my definition:

m_strObjectId becomes objectId
m_lSize becomes size
m_bIsValid becomes isValid

I wonder why the name change? Basically the prefix "m_str" was stripped and capital "O" became tiny 'o' for my first variable, etc.

For example, in a datagrid CellRenderer I couldn't refer to the returned value as {data .m_strObjectId}, but if I use {data.objectId}, it works.

Any ideas why this behavior (which I find confusing and odd) would be greately appreciated.
Robert

How do you define your getters and setters? For example, for m_strObjectId variable, you have getM_strObjectId like getter or you getObjectId as getter? I suspect the latter.

Tags: Adobe LiveCycle

Similar Questions

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • ESX4 missmatch incompatible cpu but very strange behavior of host cpu!

    Hello

    We have a very strange problem, I have 4 ESX host, each hosts have the same hardware and same configuration of BIOS (enabled on virtualization and no.-Execute Page Protection),

    but I'm not able to migrate some (my 25 vm´s 8) online to another host, offline no problem?

    do you have someone has an idea what for the problem?

    image of the error message wouled be attached.

    BR/mfg

    Andi

    Check on the CPUID mask for these virtual machines and reset it by default.

    ---

    VMware vExpert 2009

    http://blog.vadmin.ru

  • Strange behavior of the PNG with transparent background

    Hi all

    I am facing a strange problem on a request of my friends that I'm upgrading. The application is written in CVI2009SP1 and is already running on the customer's site. I am now adding several new features and made some changes in the application file UIR and all of a sudden all the images I have show a black background instead of transparency.

    The strange thing is that I see the images correctly in the editor of the UIR, the black background being shown only at runtime, no matter if debug or release.

    It is an example of wat I see:

    I tried to reload the image in control after checking transparency but the situation has not changed. The problem is that the images in. The other images, PNG format in. Format ICO show properly.

    I see this behavior in my office on both two machines wirth 2009SP1 for 2012SP1 development and execution. The same phenomenon occurs on the client PC runtime 2010SP1 and no IDE installed. If I run the original application with the UIR unmodified, transparency is properly managed. I'm not operated by program images, which are only decorative elements on the user interface.

    What can happen?


  • strange behavior of variable?

    Hi good morning all,

    DECLARE
      l_xml      XMLType;
      l_xslt     XMLType;
      l_doc_str  VARCHAR2(1000) := '<fragment>                                  
                                      <row r="1" v="a">
                                        <c/><c/>
                                      </row>
                                      <row r="3" v="c">
                                        <c/><c/><c col="7"/>
                                      </row>
                                      <lookup>
                                        <A/>
                                        <B/>
                                        <C/>
                                        <D/>
                                        <E/>
                                        <F/>
                                        <G/>
                                      </lookup>
                                    </fragment>';
      l_xslt_str VARCHAR2(4000) := '<?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="c">
        
        <!-- version 1
        <xsl:copy>
          <xsl:if test="not(@col)">
            <xsl:variable name="colpos" select="position()"/>
          </xsl:if>
          <xsl:if test="@col">
            <xsl:variable name="colpos" select="number(@col)"/>
          </xsl:if>
          <xsl:attribute name="r">
            <xsl:value-of select="name(following::lookup/*[$colpos])"/>
          </xsl:attribute>
          <msg col="{@col}" colpos="{$colpos}"/>
        </xsl:copy> -->
        
        <!-- version 2 -->
        <xsl:if test="@col">
          <xsl:variable name="colpos" select="number(@col)"/>
          <xsl:copy>
            <xsl:attribute name="r">
              <xsl:value-of select="name(following::lookup/*[$colpos])"/>
            </xsl:attribute>
          </xsl:copy>
          <ccccc v="{$colpos}"/>
        </xsl:if>
        <xsl:if test="not(@col)">
          <xsl:variable name="colpos" select="position()"/>
          <xsl:copy>
            <xsl:attribute name="r">
              <xsl:value-of select="name(following::lookup/*[$colpos])"/>
            </xsl:attribute>
          </xsl:copy>
          <ccccc v="{$colpos}"/>
        </xsl:if>
      </xsl:template>
      
      <xsl:template match="/fragment/row">
        <xsl:apply-templates/>
      </xsl:template>
    </xsl:stylesheet>';
    BEGIN
      l_xml  := XMLType(l_doc_str);
      l_xslt := XMLType(l_xslt_str);
      l_xml  := l_xml.transform(l_xslt);
      dbms_output.put_line(l_xml.getClobVal);
    END;
    

    in the model script version 2 work as planned, but version 1 does not, why? Thank you very much!!!

    This isn't a question of Oracle, in the future, I suggest you post these questions in the appropriate forum XML space.

    For all questions related to XML technology inside the database (which covers most of your posts so far), please either post in: XML DB or PL/SQL programming in XML.

    in the model script version 2 work as planned, but version 1 does not, why?

    Version 1 works as expected too.

    An XSLT variable exists only in the scope of the element enclosing.

    Therefore, in what follows, variable $colpos can be used outside the context of xsl: if.

    
      
    
    

    It should be more like what you are looking for:

    
      
        
          
          
        
      
      
        
      
      
    
    
    SQL> DECLARE
      2    l_xml      XMLType :=
      3    xmltype('');
      4
      5    l_xslt     xmltype :=
      6    xmltype('
      7    
      8      
      9      
    10        
    11          
    12               
    13               
    14          
    15        
    16        
    17          
    18        
    19        
    20      
    21    
    22    
    23      
    24    
    25  ');
    26
    27  BEGIN
    28    dbms_output.put_line(l_xml.transform(l_xslt).getClobVal());
    29  END;
    30  /
    
    
      
    
    
      
    
    
      
    
    
      
    
    
      
    
    
    PL/SQL procedure successfully completed.
    
  • Very strange behavior of buttons AS2

    Work on the site next http://www.socialanimal.tv/

    On the 'What we Do' page (click right) each company logo is bound using the Action Script 2 below.  Only the button of "Zipfizz" works well.  The rest of the buttons operate only very rarely.  I made a stock from a white box button then turned the opacity to 0.  Put one on each logo correctly size and gave them the names of instances of right.  If you click on the logo several times in different areas, that sometimes the link works.

    Someone has an idea of what's going on? I'm not very familiar with AS2, AS3, but the site built for me by another designer some time ago.


    CODE:

    Stop();

    zip_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/zipfizz", "_new");

    };

    oreilly_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/oreilly", "_new");

    };

    filter_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/filter", "_new");

    };

    voice_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/voice", "_new");

    };

    ace_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/ace", "_new");

    };

    scion_btn.onRelease = function() {}

    getURL ("http://www.socialanimal.tv/scion", "_new");

    };

    With the exception of the use "_new", which I think should be "_blank" for the help documents don't list "_new" as an option for the argument of the window, the code is also very well.  So if you change it and the buttons still don't work, then the problem is most likely with the way in which the keys are laid out in the file.  There should be only one keyframe for all that spans some length of the scenario that they serve at the breast.

  • Strange behavior of variable (PHP)

    I created a PHP (getVars.php) script to generate variables to load into Flash. I have no problem with that and echo basically something similar to the following:
    ID = 10002 & Name = sorin & [email protected] & Check = True

    What I'm trying to do, is to have a certain load of film based on the value of the variable 'Check '. My Actionscript resembles the following:

    loadVariables ("getVars.php", _root);
    If (check! = 'True') {}
    loadMovie ("nonpay.swf", _root);
    }
    on the other
    loadMovie ("paid.swf", _root);

    The problem is that "nonpay.swf" is always loaded "Check" is True or False. A test, I deleted the conditional statements entirely and created a dynamic text box to display the value of "check". It shows the value of all time, based on what happened to her "getVars.php". For some reason, when I add the conditional statements, no value is displayed in the text box, even if the flashing is fast enough so maybe there simply not enough time to load. It seems that something weird happens to the variable 'Check' when the conditional statements are called and it was driving me crazy. I did not much with Actionscript for quite awhile, so maybe I'm just not load variables or the movies properly. Any help is greatly appreciated.

    php as above, with the following actionscript code to load variables in flash using loadVars() php, I can get a conditional statement to work based on the control variable:

    Tom = new LoadVars();

    {tom.onLoad = function ()}
    If (tom. Check == 'true') {}
    test. Text is Tom. Check + 'Hello' ;}
    If (tom. Check! = 'true') {}
    test. Text is Tom. Check + 'au revoir' ;}
    }

    Tom.Load ("getVars.php");

    I hope it works for you.

  • Strange behavior on the button with immediate delete = true

    Hi, I use JDev11.1.1.2

    I dragged a view object as an editable on the page form. I added the navigation + delete/create the buttons.
    As I see all buttons delete should be immediate = true, because I want the user to be able to delete the current line, despite validation errors (or maybe it's feasible otherwise?)

    But now when I press the button Delete, only readonly fields are updated with the next record in the iterator, but the input fields are not updated (they stay with the values of the row to delete).
    If I disable = true for an inputField value, then it is updated with the value of the following line.
    I tried with partialTriggers on the inputFields for the delete button - but no luck!

    Why I get this behavior different on inputFields and outputText when remove button is immediate = true?
    And how to deal with this problem?

    Thank you!

    http://blogs.Oracle.com/smuenchadf/examples/

    #78 can be pretty close to what you need you get, and it is a concrete example of downloadable. I haven't checked out, but Steve Muench is head of a chef here.

    Also look at the list of other available sites with documented examples of code at the top of this page.

  • Very strange behavior by application of apex

    Hi all

    I just noticed a problem, we have a table with unique primary keys, but today, we found a record wthin duplicate my apex application, a record.this of purchase order we find never before!

    Then I tried it in developer Sql so that sqplus, or in the workshop of apex sql, cannot find record duplicated, but it still shows my request to apex.

    even I delete the record, i.e., that there is no trace at all, as shown in sqlplus, but there is always a record found my application apex, the table in the view database, as well as all other views, if I tried to edited, the table in the database table, it will show record not found error.

    It's really strange!

    Any idea?

    I checked all the constraints and the definication, nothing is wrong. must be a problem of pure apex

    P

    Peter:

    Can you run the query below and post back with the results

    select TASKBILL_ID, ITEM_NO
    from taskbills
    where taskbill_id like '%102079%'
    

    CITY

  • strange behavior in the SQL with Cascaded NOT operators

    Hi yall!

    Quick Tour: I don't use real tables/columns, but simplified versions. And I know that some statements could be turned into a version more simple, but also done these request structures are generated automatically and so I have to work the way they are.

    Given a table "MyTable" like this:
    ID MyName
    -- ------
    0 AF
    1 AF
    2 null
    3 AL

    The following instructions are tested:
    SELECT id FROM myTable MyName WHERE NOT AS "AF".
    -> Result: 2.3 (as expected)
    SELECT id FROM myTable WHERE NO (NO MyName AS 'AF')
    -> Result: 0.1 (as expected)
    SELECT id FROM myTable WHERE MyName IS NULL or myName = "
    -> Result: 2 (as expected)
    SELECT id FROM myTable WHERE NOT (myName IS NULL or myName = ")
    -> Result: 0,1,3 (as expected)
    SELECT id FROM myTable WHERE (myName IS NULL or myName = ") GOLD MyName AS"AF ".
    -> Result: 2.3 (as expected)
    SELECT id FROM myTable WHERE NOT ((myName EST NULL ou myName = '') OR MyName AS 'AF')
    -> Result: empty (expected: 0, 1).

    Why on earth isn't the last statement to return any result?

    0 AF
    1 AF
    2 null
    3 AL

    SELECT id FROM myTable WHERE NOT ((myName EST NULL ou myName = '') OR MyName AS 'AF')
    -> Result: empty (expected: 0, 1).

    the result is as expected:
    (myName IS NULL or myName = ") ===>> you will give output... AF, AF and AL
    Output of GOLD MyName AS 'AF' ===>> you give: AF

    If you do IT for all of them, it will be obivioulsy give you vacuum.

  • Very odd behavior of 'for' loop with configurable class

    Who can explain to me two compile errors in this fragment?
    -----
    public class JavaBug
    {
    Public static interface bugs < TBug extends JavaBug >
    {
    Iterable < TBug > getTBugs();
    Iterable < JavaBug > getBugs();
    }


    public static why (Bugs bugs) Sub
    {
    for (bug JavaBug: bugs.getTBugs ())
    {

    }

    for (bug JavaBug: bugs.getBugs ())
    {

    }
    }
    }

    -----

    Sorry if an example like that was allredy displayed, just give me a link in this case.

    Published by: 816877 November 30, 2010 07:00

    If* 1.4 compatibility is your goal. First, you mentioned here. If this isn't a goal, it's the worst answer because you transfer all the insecurity of the run-time type.

  • strange behivor on public pages with automatically filled the field

    Hello

    I created a page (APEX 3.0) where I have two field, name/wwid, name is a LOV, when I choose the LOV NAME, the page is automatically populated with wwid field, I followed this thread (used AJAX...) and it works fine as LONG AS I'm not the public page, but when I make it PUBLIC, it no longer works, the field wwid always returns null it

    Re: AutoFill fields

    Does anyone have a similar experience or ideas/suggestions?


    Thanks in advance

    Mike

    Of course

    In your javascript, you have something like this:

    get var = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getDet',0);

    The value 0 is the page number. You can edit your public page, and then it would be pointless to have a public page 0.

    Try and tell me if it worked.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • Strange behavior with the function «Help in command line»

    So I do a little playing with the opening of the files compiled help (.chm) with the command-line help feature, and I saw a strange behavior when trying to index multi-level access keywords. According to the documentation, if you set the 'Key' operation, you can enter a value for ' string to search for "to access this section. The more precise help that:

    If this string contains a keyword index, the string must match the key of the index as it appears in the help index file. To access a topic with a multilevel index keyword, enter the keyword of the top-level index, a colon and the keyword of the second level index. Do not separate the elements with spaces. For example, a chain of error codes: GPIB jumps about a subject with a keyword of top-level index of error codes and a second level keyword index of GPIB.

    All right, seems simple enough. Except that when I tried, I couldn't work, even with the example provided. I tried the following simple test:

    Opens the help file, but it opens to this page, not to the page ' error codes: GPIB "non-descript. I saw this in 8.2 and 8.6. Anyone have any success with access to a multi-level keyword?

    Note - side

    Curiously, the Index for the help lvconcepts.chm file looks like this:

    In other words, the input index text is just "GPIB", but the text that appears in the keyword field is "codes error, GPIB. I'm curious to know how this was accomplished. I decompiled the lvconcepts.chm file and watched the .hhk file, and it is not immediately obvious to me. (By the way, if you try to use "error codes, GPIB" it does not either).

    Hello

    Please contact National Instruments!
    It is a very strange behavior.  I tested out and seen the exact
    same results you are experiencing.  This was reported to R & D (AUTO ID # 130246) for further investigations.
    From what I can tell the a possible workaround solution that we have documented
    in the post of root Canal.  I can't continue to look into this in order
    to see if there is no other workaround solution or a reason why it is
    run in this way.  Thanks much for the feedback!  If
    you have any other questions on this subject please post them here.
    Have a great day!

  • Bar chart stacked - strange behavior on display null values

    Hi all

    I'm trying to graph a county of the end dates of the activities over several years by months grouped by project.

    The problem I have is that there is a gap of 3 months where none of the activities that I am tracking complete. The default value for the stacked bar chart is to ignore the columns with no data (in my case it October-December 2015).

    To view these any given month I went to properties graphic and ticked the box "Include Null values. At this point, I get a very strange behavior. Once this option is selected, the legend explodes, showing each project in the database regardless if it meets my criteria for analysis.

    Has anyone another considering that happen? I'm doing something wrong?

    If it's important I'm in the OBI 11.1.1.7.150120

    Thank you for your help,

    Kevin Wolfe


    Hello

    You have a filter on the list of projects you want to see?

    Based on the way you describe your analysis I guess you don't have any what filter on the list of projects, but some of the filters on the other dimensions/attributes and these filters were limiting the list of projects.

    If this is the case then what you see is not a weird behavior, but everything you've asked your analysis.

    "Include null values" is not limited to the time dimension, it fits any dimension of your analysis, so no filter on projects = all projects.

  • Strange behavior of the network

    Hello. I am testing now ESXi 6.0 and I have a very strange behavior of network on Windows Server 2012 R2 and Windows Pro 8.1.

    I have the following virtual machines:

    1. Windows Server 2012 R2 domain controller;
    2. Additional server with no services on Windows Server R2 2012;
    3. Some PC on Windows Pro 8.1;
    4. Linux Debian Server 7;

    The problem is sometimes VMs Windows network connection loss.

    When I connect to the console Windows 8.1 I see icon disconnected network which changes whenever I'm online. Windows Server does not display this icon, so I can't say anything whatsoever thereon.

    After I investigate this problem, I changed network cards set by disabling the option to sleep. Also I changed eating patterns by disabling all the options of sleep.

    Now. VMs of Windows 8.1 seems to work very well, additional server seems to work fine too. VM Linux works well from the beginning. But DC VM is still periodically lose network and re-login, only when I turn off and turn the adapter by hand.

    I have no idea what to check out more. I also checked logs on DC VM and vmware.log on ESXi host and don't have not find anything this network disconnects or Power Manager.

    OK, this may be. There is no available e1000e with the stand-alone installation.

    Have a trie with the vmxnet3 map

Maybe you are looking for

  • Re: Feature VAP strange on Satellite A500-1GH

    Hi all, I recently bought my new laptop A500 and I am facing a strange problem [about the usefulness of the VAP (?)].A have installed all the drivers compatible + latest version of the bios on the official site for my model (windows 7 64-bit, a500-1g

  • Nor-5406 &amp; nor-5112 frequency sweep

    Hello I have a frequency generator (5406) that I use to generate a frequency sweep (1 ms by frequency). When I read the signal with a digitizer (5112) it seems that the duration at each frequency is bad. I've attached a photo (I hope) to identify the

  • ADB and the ZTE A2109F

    Someone at - he had there ZTE A2109 appears under adb devices? I don't understand why this is not working for me, all my other android devices appear fine.

  • Cannot create a new administrator user account

    Hi, I have a bit of a dilemma. I have a laptop which has Vista from Microsoft and I wanted to create a new administrator account, but I don't have access to the former administrator account. I know that you can not help me with recovery of lost passw

  • Unbootable and I don't have an instalation disc.

    Hello and help please. I bought Windows Vista Home premium online and downloaded. So, I don't have a Windows disc. I copied the download on a disk, but this isn't an instalation disc. Now that my system does not start. How to make and / get an instal