I'd like to do an Ajax/Zone update on a section of my page when a RadioButton which is selected.
<t:RadioGroup t:id="vehicleAvailableGroup" value="vehicle.isAvailable">
<t:label for="vehicleAvailable" />
<t:radio t:id="vehicleAvailable" value="literal:true" label="literal:Yes" />
<t:label for="vehicleNotAvailable" />
<t:radio t:id="vehicleNotAvailable" value="literal:false" label="literal:No" />
</t:RadioGroup>
处理创建事件或处理我可能忽略的现有事件的最佳方法是什么?
我试过 add onclick 没有用,这个也没有:
@OnEvent(value = EventConstants.VALUE_CHANGED, component = "vehicleAvailableGroup")