[CLOSED] ComboBox SelectedItem.Value VS comboBox.getValue() VS comboBox.oldValue VS comboBox.startValue

  1. #1

    [CLOSED] ComboBox SelectedItem.Value VS comboBox.getValue() VS comboBox.oldValue VS comboBox.startValue

    hi,

    i'm using same design like https://examples1.ext.net/#/GridPane.../Form_Details/

    so upon grid record selection the combo value will be set according to the value in the grid store current record.

    i have handler for the blur event of the combo, so when i use combo.getValue() it return the [text] rather than the [value] but server side combo.SelectedItem.Value get it right SO why like this???

    also using firebug i found the correct value exist in combo.oldValue and combo.startValue, so which when should i use!!!

    thanks,
    Last edited by Daniil; Apr 01, 2011 at 12:37 PM. Reason: Marked as [CLOSED]. No more information was provided.
  2. #2
    Hi,

    .getValue() should return value, not a text.

    Could you provide a sample to reproduce?
  3. #3

    I've Been Having the same problem

    Sorry for reopen this thread but lately i've having the same problem, when i ask for the value whith getValue() return the Text value instead of the correct value.
  4. #4

    I solve it

    Well my case was like this:

    I'm creating mi whole controls from code behind and i was using

    
    #{ComboID}.getValue()
    from code behind + Xscripts to get the value but it returns the text value instead; after a whole day I decide to try whith

    
    ComboID.getValue()
    and Presto!!! it returs the correct value
  5. #5
    Hi @Pegazux,

    Could you provide a test sample to reproduce the problem?

    The thread is related to
    http://forums.ext.net/showthread.php?16380

    Lets continue the discussion in that thread.
    Last edited by Daniil; Nov 30, 2011 at 5:48 AM.

Similar Threads

  1. [CLOSED] ComboBox getValue returns text instead of value
    By marco.morreale in forum 2.x Legacy Premium Help
    Replies: 9
    Last Post: Jun 19, 2012, 7:22 AM
  2. [CLOSED] Combobox getValue
    By jthompson in forum 1.x Legacy Premium Help
    Replies: 25
    Last Post: Jun 15, 2012, 11:14 AM
  3. [CLOSED] [1.0] combobox getValue on select event
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 10, 2010, 7:32 AM
  4. Replies: 4
    Last Post: Feb 02, 2010, 4:08 PM
  5. Replies: 1
    Last Post: Jan 27, 2010, 12:19 PM

Tags for this Thread

Posting Permissions