Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11855

error@malformedXML on inputText files - Ajax Validation on event change - RichFaces 4.1 Final

    Details

    • Steps to Reproduce:
      Hide

      Well, difficult to reproduce by a simple example - See attachment, that give you an idea of the page structure and complexity.

      Show
      Well, difficult to reproduce by a simple example - See attachment, that give you an idea of the page structure and complexity.
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      If you use the tag f:ajax instead of tag a4j:ajax, it works much better, however, this way seems not working with calendar (needs more investigations on it).

      Show
      If you use the tag f:ajax instead of tag a4j:ajax , it works much better, however, this way seems not working with calendar (needs more investigations on it).

      Description

      We got a error@malformedXML message when we want to apply an ajax validation on imput text.

      The field is include inside a tab in mode "server" - What ever the mode, we getting the error. Tab content is built by including some xhtml. See attachment.

      <?xml version="1.0" encoding="UTF-8" ?>
      
      <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
      	xmlns:h="http://java.sun.com/jsf/html"
      	xmlns:f="http://java.sun.com/jsf/core"
      	xmlns:rich="http://richfaces.org/rich"
      	xmlns:c="http://java.sun.com/jsp/jstl/core"
      	xmlns:a4j="http://richfaces.org/a4j">
      
      	<h:outputText value="#{msg['create.client.step1.label']}" class="bold" />
      
      	<a4j:outputPanel id="#{tab.id}-1-createClientContainer">
      		<!--                        -->
      		<!--  CREATE CLIENT STEP 1  -->
      		<!--                        -->
      		<h:panelGrid styleClass="header" headerClass="header" columns="6" border="1" columnClasses="no-breakable" cellpadding="5">
      
      				<h:outputLabel value="#{msg['create.client.first.name.label']}" />
      			<h:inputText id="#{tab.id}-1-firstname" value="#{createClientController1.firstName}">
      				<a4j:ajax event="change" bypassUpdates="true" execute="@this" render="@this" />
      			</h:inputText>
      			<rich:message for="#{tab.id}-1-firstname" />
      		</h:panelGrid>
      
      
      	</a4j:outputPanel>
      	<a4j:log />
      
      </ui:composition>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bleathem Brian Leathem
                Reporter:
                jorelia64 Jean ANDRE
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: