Nested object property in a form?

Hi,
I have a problem with nested object property in a form; the nested property could be business.address.zipcode, however, the Flex data binding doesn't support the "." operator. Any advice/hint/code sample will be greatly appreciated.

It does support the dot operator, there are several examples below:
http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html
Have you tried? What problems did you have?

Similar Messages

  • Adobe Form - Object property for FormCalc/Javascript

    Hi All
    I'm learning to use Adobe Form - FormCalc/Javascript - In some of the examples that I have seen fofar
    the codes (FormCalc/Javascript) used a qualified name of an object property for setting value i.e.
    In FormCalc:
    DateTimeField1.rawValue = num2date(date(), DateFmt(3))
    In Javascript:
    this.rawValue = xfa.layout.pageCount();
    pantsWaist.border.edge.color.value = "255,0,0";
    pantsLength.presence = "hidden"
    etc..
    Could someone please tell me how/where I can get the property list that available for an object ?
    (i.e. rawValue, presence, value etc...) I can't see on the Form builder (sorry for such a novice question - but as I said I am very new)
    Thanks
    Points will be rewarded for any reply -

    Hi Liem,
    Whenever u press a "." after any oject say $ in FormCalc, or this in Javascript u will find relative properties that u can set at that time for the mentioned object.
    try this, place a Text field, select that and go to script editor, select language FormCalc:
    write $. and u will find a dropdown that'll show u possible list of properties u can change.
    Similarly, if u try this with "this." in JavaScript another dropdown will show u possible list of properties that u can change.
    Hope this helps
    Regards
    Amita

  • Nested objects - populating action form - Struts

    I'll use an analogy to explain my question:
    I have a Company bean that contains a list of Employee beans. On the JSP i want to iterate through all the employees and print out their name and salary, which is fine. I just do it like this...
    <nested:root name="company">
    <nested:iterate property="employees" id="employee" type="myPackage.Employee">
    <tr>
    <td>
    <nested:write name="employee" property="name"/>
    </td>
    </nested:iterate>               
    </nested:root>
    Which is OK when im just writing out the names. but say i want to generate a text box for each employee, providing the functionality to edit any of the names, is it possible?
    I tried switching the nested:write to a nested:text but when I submit the form any edited values do not update.
    Any ideas,
    Thanks.

    I'll use an analogy to explain my question:
    I have a Company bean that contains a list of Employee beans. On the JSP i want to iterate through all the employees and print out their name and salary, which is fine. I just do it like this...
    <nested:root name="company">
    <nested:iterate property="employees" id="employee" type="myPackage.Employee">
    <tr>
    <td>
    <nested:write name="employee" property="name"/>
    </td>
    </nested:iterate>               
    </nested:root>
    Which is OK when im just writing out the names. but say i want to generate a text box for each employee, providing the functionality to edit any of the names, is it possible?
    I tried switching the nested:write to a nested:text but when I submit the form any edited values do not update.
    Any ideas,
    Thanks.

  • Can we show the nested objects in Powershell?

    I am adding a .NET type to Powershell session using Add-Type and then creating object of that type using New-Object. This is done as follows:
    Add-Type -AssemblyName OuterObj
    $a = New-Object OuterObj
    Object of type OuterObj is successfully created. Now .NET type $a has a field named innerObj which is object of another .NET type innerObject. So I add "innerObject" .NET type and create an instance using New-Object.
    Add-Type -AssemblyName innerObject
    $b = New-Object innerObject
    Object of type innerObject is also successfully created. Now I do as follows:
    $a.innerObj = $b
    Now when I print $a, it shows something like this:
    innerObj : innerObject
    Thus it does not display the contents of innerObject by default. When I go and explore, innerObj has the fields. I know Powershell does not show the nested objects by default but instead just shows their types, but is there a way I can specify that what
    level of nesting of objects powershell should show by default? Is there something to specify to show 1 or 2 levels of nested objects?
    Any help would be highly appreciated.

    The simplest approach, if you're writing these C# classes yourself, is probably to override the class's ToString method.  That way it will just display that way by default in PowerShell, without any extra effort on the scripter's part.
    If that's not an option, then you can write PowerShell code to accomplish something similar.  Here are examples of both:
    # C# ToString version:
    Add-Type -TypeDefinition @'
    public class innerObject
    public string Property1;
    public string Property2;
    public override string ToString()
    return string.Format("Property1: {0}, Property2: {1}", Property1, Property2);
    public class OuterObj
    public innerObject innerObj;
    $a = New-Object OuterObj
    $b = New-Object innerObject -Property @{ Property1 = 'First Property'; Property2 = 'Second Property' }
    $a.innerObj = $b
    $a | Format-List
    # PowerShell version using constructed property values with
    # Format-List.
    Add-Type -TypeDefinition @'
    public class innerObject
    public string Property1;
    public string Property2;
    public class OuterObj
    public innerObject innerObj;
    $a = New-Object OuterObj
    $b = New-Object innerObject -Property @{ Property1 = 'First Property'; Property2 = 'Second Property' }
    $a.innerObj = $b
    $a | Format-List -Property @{ Label = 'innerObj'; Expression = { "Property1: $($_.innerObj.Property1), Property2: $($_.innerObj.Property2)" } }

  • Bean Not Found (Invalid Property name oracle.forms.webutil.clientinfo....)

    Hi All
    i have configured the
    WebUtil V:106
    Jacob v:18
    On My Middle Tire
    Application Server: V:9.0.4
    Connecting To Database: V:8.1.7
    "i did recreate the packages for 8i like dbms_lob and ...etc"
    my WebUtil Form Work's Fine
    as
    it displays me the versions for all webUtil Functions 1.0.6
    Also when i try to get the Current Browser IP Address it get me successfully .
    when i submet this statment to get current browser userinfo like :
    webutil_clientinfo.GET_SYSTEM_PROPERTY('user.home')
    it workes fine .
    The Problem IS:
    When is issu this statment :
    webutil_clientinfo.GET_SYSTEM_PROPERTY('oracle.forms.webutil.clientinfo.GetClientInfo')
    it gives me the error "in jinit":
    webutil_clientinfo.GET_SYSTEM_PROPERTY('oracle.forms.webutil.clientinfo.GetClientInfo')2008-فبر-04 15:00:26.984 ERROR>WUI-304 [getSystemProperty()] Invalid Property name oracle.forms.webutil.clientinfo.GetClientInfo supplied
    Also When I Try this to Open A Browes Dialog:
    DECLARE
         FILENAME VARCHAR2(3000);
    BEGIN
    IF GET_RECORD_PROPERTY(:SYSTEM.CURSOR_RECORD,:SYSTEM.CURRENT_BLOCK,STATUS)IN ('NEW','INSERT') THEN
         filename := webutil_file.file_selection_dialog('C:\Temp','*.*','all files (*.*)|*.*|PDF files (*.pdf)|*.pdf|','Select your file ...');
    END IF;
    END;
    it gives me this Error:
    WebUtil Error: oracle.forms.webutil.file.filefunctions bean not found. WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT will not work
    And My Java Console Contain :
    Oracle JInitiator: Version 1.3.1.17
    Using JRE version 1.3.1.17-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Speed
    Proxy Configuration: Manual Configuration
    Proxy: 10.0.0.1
    Proxy Overrides: *.mydomain.com<local>
    JAR cache enabled
    Location: C:\Documents and Settings\speed\Oracle Jar Cache
    Maximum size: unlimited
    Compression level: 1
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Loading http://myserv.mydomain.com/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserv.mydomain.com/forms90/java/frmwebutil.jar from JAR cache
    Loading http://myserv.mydomain.com/forms90/java/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    إصدار بريمج Forms هو : 9.0.4.0
    2008-فبر-04 15:40:19.511 ERROR>WUI-304 [getSystemProperty()] Invalid Property name oracle.forms.webutil.clientinfo.GetClientInfo supplied
    Message was edited by:
    IGBSpeed

    Check whether your webutil.olb is subclassed properly or whether the olb file is available in runtime environment..

  • How to reference /inherit property class in form in oracle apps

    Hi
    I had a Form which is register in the oracle apps but now i have another requirement to
    create a tab canvas put all fields of pervoius form(content form) into new tab page canvas
    now i want to know how i can reference/inherit the pervious conent form property class and object to new tab canvas
    since i didn't create with template fom .but i have property class in form module
    is it possible to inherit property classes
    Iam using form 6i,11i apps
    please help me

    It is possible.

  • Nesting Objects

    I am looking for advice on how to nest objected created from
    cfcs...
    The place I have seen this sdone is in the fusebox framwork
    in the following:
    #myFusebox.getCurrentCircuit().getAlias()#
    What I would like to do is create an object called called
    users from a users.cfc with methods such as listUsers() and
    findUser(userID)...
    Ex. #users.findUser(34)#
    Then from there I want to next another object (object might
    not be the correct term) or set of functions that deal with the
    user specified such as getName() and getEmail()...
    Ex. #users.findUser(34).getName()#
    Ex. #users.findUser(34).getEmail()#
    Can someone explain to me how this can be done?
    Thanks!

    jeby wrote:
    > Can someone explain to me how this can be done? Thanks!
    >
    How this is done depends largely on how the objects are
    related to each
    other. I.E. Does one object extend (inherit) the other object
    creating
    an is-a or parent child relationship. Or does one object
    contain an
    instance of the other as a property|variable (composite)
    creting an
    has-a relationship.
    I'm doing some web service with complex object testing and I
    have just
    written this simple testing code. See if it makes some sense
    to you.
    basic.cfc
    <cfcomponent>
    <cfproperty name="foo" type="string">
    <cfproperty name="bar" type="string">
    <cfscript>
    this.foo = "George";
    variables.bar = "Gracie";
    </cfscript>
    <cffunction name="getBar" access="remote"
    returntype="string">
    <cfreturn variables.bar>
    </cffunction>
    </cfcomponent>
    complex.cfc
    <cfcomponent>
    <cfproperty name="anObj" type="basic">
    <cfscript>
    variables.anObj = createObject("component","basic");
    </cfscript>
    <cffunction name="getObj" access="remote"
    returntype="basic">
    <cfreturn variables.anObj>
    </cffunction>
    </cfcomponent>
    index.cfm
    <cfscript>
    complexComp = createObject("component","complex");
    </cfscript>
    <cfdump var="#basicComp#" expand="no">
    <dl>
    <dt>complexComp.getObj()</dt>
    <dd><cfdump
    var="#complexComp.getObj()#"></dd>
    <dt>complexComp.getObj().foo</dt><
    dd>#complexComp.getObj().foo#</dd>
    <dt>complexComp.getObj().getBar()</dt>
    <dd>#complexComp.getObj().getBar()#</dd>
    </dl>

  • Incorrect number of subscript accessing external object property loadfile in open event

    Hi
    I used  the following method to  view pdf  OLE Object Control -> Insert Control -> Then I select Adobe pdf reader. After that I wrote the following script in the open event of the form
    ole_1.object.loadfile("H:\document\empdoc.pdf") . But when I run the application the following error is coming
    "Incorrect number of Subscript Accessing external object property loadfile in open event" please can u help.
    With Thanks
    Pol

    Hi Polanchan,
    I've tried the following code in both PB 11.2 and 12.6 on Windows 7 and I do not see the error message you are seeing.
    string ls_filename
    ls_filename = "my.pdf"
    ole_1.object.LoadFile(ls_filename)
    What version of Acrobat Reader do you have on your machine?  I have version 10.1.13.
    Patricia Steinhardt
    SAP Active Global Support

  • NULL nested object

    Hi,
    OTT generates code as
    streamOCCI_.setObject(obj);
    when one define a nested object (not REF) e.g
    CREATE TYPE inside_t (f1 NUMBER)
    CREATE TYPE outside_t (id NUMBER, insider inside_t)
    The problem I am seeing is that when I instantiate a persistent object of outside_t in a c++ app and assign the result to a Ref<>
    Ref<outside_t> o = new(conn, "OUTSIDERS_V") outside_t;
    where OUTSIDERS_V is an object view over a traditional relational table of the form
    CREATE TABLE outsiders (id NUMBER, f1 NUMBER) and
    CREATE VIEW outsiders_v OF outside_t ... AS SELECT id,inside_t(f1) FROM outsiders
    it core-dumps on the setObject as the writeSQL is called upon the new but i don't have any value for inside_t yet and could want it to remain NULL for the lifetime of the object. Is it possible to achieve this without using REFs ?

    Unfortunately, AMF serialization is something of a black art. I'd run into multiple issues in the past (working with Granite DS, rather than Blaze--but it's essentially the same thing). I'm not sure about Blaze, but Granite has very verbose logging available if you configure log4j to DEBUG level for org.granite. The other alternative is to attach to your Java process with a debugger (Eclipse makes this fairly automagical), download the Blaze source and configure Blaze as a project in Eclipse, add it to source lookup for your project, and step through the actual serialization to see what's going on. This is moderately complicated to set up, but priceless when it comes to debugging.

  • Using Nested Object Properties as DataGrid dataField

    I am populating a DataGrid with an ArrayCollection of
    Objects. Each of those Objects has a property that is itself an
    Object. I want to use a property of the second (or "nested") Object
    as a dataField for one of my columns.
    Any idea how to make this work? Would a custom item render be
    the only way?

    Using the labelFunction property of the DataGridColumn would
    be enough:
    <mx:DataGrid width="100%" height="100%"
    dataProvider="{myAC}">
    <mx:columns>
    <mx:DataGridColumn dataField="myProperty1" />
    <mx:DataGridColumn dataField="myProperty2" />
    <mx:DataGridColumn
    labelFunction="myOwnLabel" />
    </mx:columns>
    </mx:DataGrid>
    function myOwnLabel(item:Object,
    column:DataGridColumn):String
    return item.myProperty;
    The function must have that signature in order to work, where
    item is an instance of the objects in your dataProvider and column
    is the DataGridColumn calling the function.

  • DI API Object.Property = SQL.TABLE.FIELD

    Hi,
    I'm facing a real challenge everytime I'm trying to find the SQL table field associated with a DI API
    object property.  Any documentation on it ?
    For now I would need to know these : in the form of OBJECT.PROPERTY = TABLE.FIELD
    InventoryItem.MinInventory = ?
    InventoryItem.WhsInfo.MinimalStock = ?
    InventoryItem.QuantityOnStock = ?
    InventoryItem.QuantityOrderedByCustomers = ?
    Thank you very much

    Hi Marc,
    You can try to search for this document in SDN : API DataBase Field Mapping D 6.7 52-3.pdf
    I found it somewhere several months ago. Sorry, I dont remember where it is.
    Or if you wish I can send it to your email. its about 1.6MB. in the format of Acrobat reader.
    For your query :
    InventoryItem.MinInventory = OITM.MinLevel
    InventoryItem.WhsInfo.MinimalStock = OITW.MinStock
    InventoryItem.QuantityOnStock = OITM.OnHand
    InventoryItem.QuantityOrderedByCustomers = OITM.IsCommited
    Regards
    edy

  • How to call a COM object from an Oracle Form?

    Hi All,
    Pls advice. How to call a COM object from an Oracle Form?
    Thanks.

    try asking the "Form" forum

  • How to Change the Visible property of Adobe Form Dynamically - URGENT

    Hi,
        I am woking on a scenario where when I click a button in Adobe Form,
    another Adobe Form should be displayed. This is using Web Dynpro Java.
    For this I have made the second form invisible and I want to make this VISIBLE when the button is Clicked. I am unable to get a method where this property of interactive form can be changed.
    Also, If there is any other way this can be done please let me know.
    I am using NWDS 7.0.09 with Adobe Live cycle designer 7.1.
    Thanks in Advance,
    Vasu

    You need to get the handler to the adobe form in your webdynpro program. If you are using webdynpro for java the following code snipped could be useful...
    IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(),"YourAdobeForm");
         // Get appearance setter. 
         IWDPDFDocumentAppearance appearance =
              iFormHandler.getDocumentContext().getAppearance();
         //appearance.
         // Set page layout option
         appearance.setPageLayout(pageLayoutOption);
         // Set show option.
         appearance.setShowOption(showOption);    
         // Hide menu bar.
         appearance.hideMenuBar(true); 
         // Hide tool bars.
         appearance.hideToolBars(true);
         // Hide window controls.
         appearance.hideWindowControl(true); 
         // Show full screen.   
         appearance.showFullScreen(true);
    Reward points if the post is helpful
    Thanks!
    Surya.

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • Auto nesting objects

    Is there some way (script / plugin?) to auto nest objects on page?
    In other words, to place all objects as tight as possible to eachother.

    @Meate
    Our rip software (Wasatch Softrip) uses rectangles too. In most cases this is good enough (and allow easy cutting), but some cases where cutting isn't needed, tighter fitting would be helpful if available. See simple example in attachment.
    But like i said, i was just checking if some script existed already. If not, it's not worth writing one for the rare occasions it would be helpful.

Maybe you are looking for

  • Enable to get the aligned XML Publisher Report output

    Hi All, In BI Publisher report there is a column called short_text which have data like i) Price Basis : Free Delivery to Tata Power SED (ii) Delivery time : Within 6 weeks from the date of PO (iii) Payment : After acceptance within 7 Days (iv) Freig

  • Javascript to pull a PDF field into the Subject line of email?

    I've created a fillable PDF form using Pro X.  I'd like to program the Submit button so that once in the email portion, the subject line would automatically pull 3 specific fields from the PDF file. Example:  After hitting "Submit"....once in the ema

  • Issue on Cisco Unity Connection after performing 'utils ntp restart'

    Hello everybody. There's a client with Cisco Unity Connection 8.5.1.10000-206. After doing a 'utils ntp restart', the following message showed up: Communication is not functioning correctly between the servers in the Cisco Unity Connection cluster. T

  • Equalizer problem after lollipop update

    Hi. I just noticed that equalizer is only working with walkman app. It worked just fine in kitkat.

  • Start Routine for transfer rules

    Hello experts, I want to use the SQL DISTINCT keyword to return non-duplicate results from a table in a DataSource (data base) in a the start routine for the transfer rules. How do I address that table in the start routine of the TR? I thought about