[CLOSED] SVN Update + Combobox changed

  1. #1

    [CLOSED] SVN Update + Combobox changed

    Hi,

    I've updated my dll's a couple of hours ago from svn. Now my combobox doesn't work anymore like it was supposed to be. For example, the #{combobox}.selValue gives an undefined...

    another thing: when i used my arrows (up and down arrow on the keyboard) to select a value in the combobox and afterwards entered the tab-key to leave the combobox, normally the selected value was filled in in the combobox, now it stays empty...

    Thanx!

  2. #2

    RE: [CLOSED] SVN Update + Combobox changed

    Hi,

    YEs, there is a problem with Tab key. We are working on it. Can you provide an example which demonstrates #{combobox}.selValue issue?
  3. #3

    RE: [CLOSED] SVN Update + Combobox changed

    Hi,

    We have fixed Tab key. Please update from SVN.
    Can you provide example with #{combobox}.selValue issue?
  4. #4

    RE: [CLOSED] SVN Update + Combobox changed

    Hi,

    Please note that need use 'setValue' (not 'selValue' as wrote in first post)


  5. #5

    RE: [CLOSED] SVN Update + Combobox changed

    The tab key is indeed fixed. but getting the selected value of my combobox still doesn't work and before the svn update did work.

    #{cboTypes}.selValue gives the result: undefined

    
    
    
    <ext:Window ID="windowAddType" AutoShow="false" Modal="true" Icon="Add" ShowOnLoad="false" runat="server" Width="330" Height="120" BodyStyle="padding:10px;" Title="Add Company Type" >
    
    
    <Body>
    
    
    <ext:FormLayout ID="formlayoutEdit" runat="server">
    
    
    <ext:Anchor>
    
    
    <ext:ComboBox ID="cboTypes" runat="server" 
    
    
    StoreID="StoreType" 
    
    
    FieldLabel="Company Type*"
    
    
    ValueField="ID"
    
    
    DisplayField="Name"
    
    
    Mode="Local" 
    
    
    EmptyText="Select a type..."
    
    
    ValueNotFoundText="Loading..."
    
    
    AllowBlank="false" 
    
    
    BlankText="You have to select a company type." 
    
    
    MsgTarget="Side" 
    
    
    /> 
    
    
    </ext:Anchor> 
    
    
    </ext:FormLayout>
    
    
    </Body>
    
    
    <Buttons>
    
    
    <ext:Button ID="ButtonAddType" runat="server" Text="OK" Icon="Add" Type="Submit">
    
    
    <Listeners>
    
    
    <Click Handler="addTab(#{TabPanelCompanyDetails}, 'frm' + #{cboTypes}.selValue, 'frmAddEditCompanyTypeData.aspx?ID=-1&amp;CompanyID=' + (#{hiddenCompanyID}.value) + '&amp;CompanyTypeID=' + #{cboTypes}.selValue + '&amp;__WebConsolePostData=' + &#100;ocument.getElementById('__WebConsolePostData').value + '&amp;ReadOnly=False', #{cboTypes}.selText);windowAddType.hide();" />
    
    
    </Listeners>
    
    
    </ext:Button>
    
    
    <ext:Button ID="buttonCancelButton" runat="server" Text="Cancel" Icon="Cancel">
    
    
    <Listeners>
    
    
    <Click Handler="#{windowAddType}.hide(null);" />
    
    
    </Listeners>
    
    
    </ext:Button>
    
    
    </Buttons>
    
    
    <Listeners>
    
    
    <Show Handler="#{cboTypes}.focus();" Delay="20" />
    
    
    </Listeners>
    
    
    </ext:Window>
    Thanx Vladsch!
  6. #6

    RE: [CLOSED] SVN Update + Combobox changed

    Hi,

    Please use
    combo.getValue()
    to get selected value
  7. #7

    RE: [CLOSED] SVN Update + Combobox changed

    With the #{cboTypes}.oldValue and with the #{cboTypes}.oldText I can get my values again. But has something changed? therefor i used selValue and selText...

    Thanx!
  8. #8

    RE: [CLOSED] SVN Update + Combobox changed

    Hi,

    Don't use oldValue or oldText. It is private fields which can be removed in future. Use getValue() or getRawValue()
  9. #9

    RE: [CLOSED] SVN Update + Combobox changed

    ok, thanx!

Similar Threads

  1. [CLOSED] Update TextField by Ajax Combobox
    By Oliver in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 30, 2012, 12:30 AM
  2. [CLOSED] Update v2.0 combobox with AjaxResult
    By romeu in forum 2.x Legacy Premium Help
    Replies: 18
    Last Post: May 10, 2012, 8:31 PM
  3. [CLOSED] Editable Grid is not showing last changed combobox info
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Dec 11, 2011, 4:41 PM
  4. Error for Update Changed data
    By dicklee2003 in forum Open Discussions
    Replies: 0
    Last Post: Dec 03, 2009, 3:03 PM
  5. [CLOSED] [1.0] ComboBox Trigger Not Working After SVN Update
    By bethc in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 25, 2009, 6:57 AM

Posting Permissions