[ 
https://issues.jboss.org/browse/RF-11855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653017#comment-12653017
 ] 

Jean ANDRE commented on RF-11855:
---------------------------------

We have a quick search input field outside the tabPanel and we never got a such 
error (see screen capture). We got the error everytime most of the time 9/10. 
What is strange, the other tab (search tab) have also some input fields and it 
is working very well. This error seems very contextual.

Related to the ressource loading, see bug RF-11764, we noticed that enclosing 
the ui:include with c:if tag works better than enclosing the ui:include with 
ui:fragment. Resources needed for ajax validation are always downloaded 
whatever the switchType of the tab. So it it is good hint for you and it why 
you can see this approach into the file index.xhtml.

However, even if we are some doubt about a link with resources loading, 
unfortunately this way does not impact the error we got.

I have not dig into the debug text sent to you, but it will be good to see 
which part is malformed to have a better understanding of the error. I you need 
more material, let me know. We really hope that bugs related to tabPanel and 
resources loading will be fix very soon according to the votes.

                
> error@malformedXML on inputText files - Ajax Validation on event change - 
> RichFaces 4.1 Final 
> ----------------------------------------------------------------------------------------------
>
>                 Key: RF-11855
>                 URL: https://issues.jboss.org/browse/RF-11855
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.1.0.Final
>         Environment: Websphere 8.0.0.1 - RAD 8.0.0.4 - JSF Mojorra 2.1.4 - 
> Spring 3.0.6 Final - Hibernate Validator 4.2. - Java 6
>            Reporter: Jean ANDRE
>              Labels: INPUT, MALFORMED, UI, XML, waiting_on_user
>         Attachments: createClient1.xhtml, CreateClientController1.java, 
> [email protected], [email protected], 
> [email protected], index.xhtml
>
>
> 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.
> {code}
> <?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>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to