Hi list, I'm having a problem with tacos4-alpha-7 (tapestry4-release) not refreshing a PropertySelection component inside a form by using AjaxEventSubmit.
My configuration is basically as follows:
<form name="alertSearchForm" jwcid="[EMAIL PROTECTED]:AjaxForm"
listener="listener:onSearch" delegate="beans:delegate"
clientValidationEnabled="ognl:true" processScripts="ognl:true">
<span jwcid="databaseChangeScript"
updateComponents="ognl:{'searchAgent'}"/>
<table>
<tr>
<td>
<select name="searchDatabase" jwcid="[EMAIL PROTECTED]"
model="ognl:availableDatabases" value="ognl:searchDatabase"
eventListener="onchange=components.databaseChangeScript"
displayName="message:dbName">
<option value=""></option>
<option value="1">x</option>
<option value="2">y</option>
</select>
</td>
<td>
<select name="searchAgent" jwcid="[EMAIL PROTECTED]"
model="ognl:availableAgents" value="ognl:searchAgent"
displayName="message:agentName">
<option value=""></option>
<option value="1">a</option>
<option value="2">b</option>
</select>
</td>
</form>
What I'm trying to achieve is to refresh the second PropertySelection
with regards to the value of the first one. What I'm seeing is that
everything works but the 'searchAgent' is not being rendered to the
reply (it is rendered by the NullWriter and discarded).
If I'm trying to refresh a regular text field or "Any" element, it works
without a problem.
Am I doing something wrong?
10x a lot
Slavik
signature.asc
Description: This is a digitally signed message part
