1. #1
    Sencha User
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    75
    Vote Rating
    1
    A.Rothe is on a distinguished road

      0  

    Default Nested properties within ComboBox

    Nested properties within ComboBox


    Hi,

    I have a ModelData, which uses a property name "foo.bar". Because of the nested property functionality, I have defined a constructor, which executes setAllowNestedValues(false). I have set the property as display field of a ComboBox. If I click on the trigger button, I'll get a com.google.gwt.core.client.JavaScriptException, which says, that foo is not defined. It seems that the nested property feature tries to access an object "foo". Are there known problems with such property names?

    Thank you
    André

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    Leipzig, Germany
    Posts
    75
    Vote Rating
    1
    A.Rothe is on a distinguished road

      0  

    Default


    This is a problem with the XTemplate of the Combobox list. The name of the property foo.bar is added to the template. Is there a possibility to escape the dot, that the template will not interpret it as object separator?

    André