Hi all -
I have a simlar scenario to the above post with the same name:

I call responseBuilder.updateComponent on the template-container of a component with an @EventListener.

The component is being rendered but the javascript is not regenerated.

The usecase is as follows:

<tr jwcid="[EMAIL PROTECTED]">
 <td><label .../></td>
 <td><select jwcid="[EMAIL PROTECTED]" .../></td>
 <span jwcid="@If" condition="prop:selectionIsRed"
       renderTag="ognl:false">
  <td><label .../></td>
  <td> <input .../></td>
 </span>
 <span jwcid="@If" condition="prop:selectionIsBlue"
       renderTag="ognl:false">
  <td><label .../></td>
  <td><input .../></td>
 </span>
</tr>

@EventListener(
  submitForm="myform", validateForm=false ,
  elements="select" , events="onchange")
public void colorChanged() {
  getResponseRenderer().updateComponent("color");
}

Any advise?

Cheers,
Ron




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to