Timeline for Salesforce inputText, inputtextarea, etc rerender error
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 4, 2014 at 21:57 | vote | accept | ths | ||
Apr 4, 2014 at 16:34 | answer | added | Keith C | timeline score: 2 | |
Apr 4, 2014 at 16:18 | history | edited | Keith C | CC BY-SA 3.0 |
Slight code reformat
|
Apr 4, 2014 at 16:10 | comment | added | ths | Also since salesforce doesnt have like linkedHashMaps or TreeMap, i do not know how to keep the order consistent. Is it possible to write code to keep consistent orders? | |
Apr 4, 2014 at 16:09 | history | edited | ths | CC BY-SA 3.0 |
added 1663 characters in body
|
Apr 4, 2014 at 16:08 | comment | added | ths | I see, I think my problem is surely with the Map.Value() but since I have to use a map how do I preserve the order? | |
Apr 4, 2014 at 15:54 | comment | added | Mike Ginou | Absolutely. If the list is re-created from Map.values, then the order isn't guaranteed to be consistent between client-server roundtrips. | |
Apr 4, 2014 at 15:52 | comment | added | Keith C | A common cause of varying order is when some intermediate logic makes use of a map and the key isn't just a primitive. So yes, post the code that builds the list that has order problems. | |
Apr 4, 2014 at 15:27 | comment | added | ths | hey, i just changed the output example to match my problem better, il see if i can post the controller code. | |
Apr 4, 2014 at 15:27 | history | edited | ths | CC BY-SA 3.0 |
added 54 characters in body
|
Apr 4, 2014 at 15:25 | comment | added | Simon Lawrence | Interesting. Is this from a custom controller/extension. If so, do you have your controller code that generates the list of SelectOptions? | |
Apr 4, 2014 at 15:16 | history | asked | ths | CC BY-SA 3.0 |