Hi,

i'm using seam, facelets, ajax4jsf and myfaces  - all in latest versions.

Following Code does NOT work in my Seam-Application - that means that the page 
appears but does nothing (asynchronously!) when triggering an event.

  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | <html xmlns="http://www.w3.org/1999/xhtml";
  |     xmlns:ui="http://java.sun.com/jsf/facelets";
  |     xmlns:a4j="https://ajax4jsf.dev.java.net/ajax";
  |     xmlns:h="http://java.sun.com/jsf/html";
  |     xmlns:f="http://java.sun.com/jsf/core";>
  | 
  | <body>
  | <ui:composition template="/templates/defaultTemplate.xhtml">
  | 
  |     <ui:define name="siteTitle">
  |     Ajax Test
  |   </ui:define>
  | 
  |     <ui:define name="body">
  | 
  |             <f:view>
  |                     <h:form>
  |                             <a4j:region selfRendered="true">
  |                                     <h:panelGrid columns="2">
  | 
  |                                             <h:outputText value="Type the 
Text:" />
  |                                             <h:inputText 
value="#{useraccount.userName}">
  |                                                     <a4j:support 
event="onkeyup" reRender="repeater" />
  |                                             </h:inputText>
  | 
  |                                             <h:outputText value="Text in 
the AJAX Response:" />
  |                                             <h:outputText id="repeater" 
value="#{useraccount.userName}" />
  | 
  |                                     </h:panelGrid>
  |                             </a4j:region>
  |                     </h:form>
  | 
  |             </f:view>
  | 
  |     </ui:define>
  | 
  | </ui:composition>
  | 
  | </body>
  | 
  | </html>
  | 

In a non-seam application all works fine.

Do you have an idea? Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985458#3985458

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985458
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to