I wrote a component which contains several selects. I want to track the value
change event of one select so I can update other fields in the comp. But the
onValueChanged method I put in the comp is never called. I put the code
below. Can someone guide me what I can check and how to fix it?

tml code:
<select t:type="select" t:blankLabel="Pls select"
t:value="selectedDeptInTeamForm" t:model="deptSelectModel" name="sel" 
                          t:encoder="deptSelectEncoder"
t:zone="memberListZone" t:id="teamDeptSelect">
                     <option value="">Pls select</option>
                  </select>

java code:
public Object onValueChangedFromTeamDeptSelect(Department dept)
    {
        System.out.println("select value changed: "+dept);
        return memberListZone.getBody();
    }

I did not see the system.out so I believe this method is never called.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Select-OnValueChanged-event-not-triggered-tp4508954p4508954.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