Timeline for visualforce create dropdown from custom list
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 19, 2014 at 1:25 | comment | added | manza | Thank you highfive, I understand now, I though that i needed to create a list using inner classes, but I tested and seems to work fine if i just type the query there | |
Jul 16, 2014 at 9:46 | vote | accept | manza | ||
Jul 16, 2014 at 9:34 | comment | added | highfive | forget that comment and just try out the code. If you can edit your question and add your controller code where you querying these people can help you. | |
Jul 16, 2014 at 9:29 | comment | added | manza | Sorry still not very clear, I cant understand your comment of "before getting here you must populate your queryResult list with required fields" do you meant that in this section should go the code where I create my list openPresentations? so query result = openPresentations ? | |
Jul 16, 2014 at 7:03 | history | edited | highfive | CC BY-SA 3.0 |
improved
|
Jul 16, 2014 at 6:59 | comment | added | highfive |
Yes. Add records into the optns list inside a loop so that you can populate it with the query results. See my update
|
|
Jul 16, 2014 at 6:55 | comment | added | manza | because the list "openPresentations" is a result of a query of two different object (that is why i used an inner class), so i cant hard code the options value, is it possible to loop through "openPresentations" ? | |
Jul 16, 2014 at 6:41 | history | answered | highfive | CC BY-SA 3.0 |