I have this List of arrays:

public List<Object[]> getCourses(){
                courseWithSubject = ...;
                return courseWithSubject;
        }


and the arrays have two elements.

In the tml:

<t:selectObject t:id="courses" list="courses" value="currentCourse"
                                                                        
labelField="literal:[1].title" ???/>

i want to display the name of the subject in the dropdown but when the user
selects, the selected value to be a Course. 
How can this be done?
-- 
View this message in context: 
http://old.nabble.com/Accessing-array-in-tml-tp27666960p27666960.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to