|
Matthias, here's a page chunk: <tr:panelGroupLayout partialTriggers="add remove update"> <tr:panelHorizontalLayout id="prop" partialTriggers="ptype"> <tr:selectOneChoice id="ptype" value="#{bean.prop.type}" simple="true" autoSubmit="true"> <f:selectItems value="#{bean.propTypes}"/> </tr:selectOneChoice> <tr:inputText id="intValue" simple="true" value="#{bean.prop.integerValue}" rendered="#{bean.prop.integerType}"/> <tr:selectBooleanCheckbox id="boolValue" simple="true" value="#{bean.prop.booleanValue}" rendered="#{bean.prop.booleanType}"/> <tr:commandButton id="update" text="#{msg['doc.update']}" action="" partialSubmit="true"/> ... Here selecting a type by "ptype" refreshes the panel, thus rendering a different input field. But in the meantime I discovered that if I use distinct ids for involved input fields - then the problem disappears. In this example, if "intValue" and "boolValue" would be the same string, we would get the reported problem. This shouldn't be necessary since they are mutually exclusive, but it seems that the involved js retains a validator id no matter if the underlying data type was changed by a PPR. -- Renzo Matthias Wessendorf wrote: Can you post a simple page-code sniplet for that ? -MOn 11/2/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: |
- [Trinidad] js error on PPR after client-side validatio... Renzo Tomaselli
- Re: [Trinidad] js error on PPR after client-side ... Renzo Tomaselli
- Re: [Trinidad] js error on PPR after client-side ... Matthias Wessendorf
- Re: [Trinidad] js error on PPR after client-s... Renzo Tomaselli
- Re: [Trinidad] js error on PPR after clie... Matthias Wessendorf

