hi Julien,

I remove the FaceletPortletViewHandler entry from faces-config.xml and didn't 
encountered the issue.  I also added the view handler in web.xml:


    <context-param>
        <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
        <param-value>com.sun.facelets.FaceletPortletViewHandler</param-value>
    </context-param>


Then, i added a simple ajax tag as follows:

<h:inputText value="#{search.noOfRows}" >
<a:support event="onkeyup" requestDelay="3" />
</h:inputText>


But it gave me a A4J is undefined error.


I try to trace the source code and found that it could be caused by 
AjaxContext:processHeadResources failing in the 2 "if" statements because i 
didn't see the debug log printout.

        public void processHeadResources(FacesContext context)
                        throws FacesException {
                ExternalContext externalContext = context.getExternalContext();
                Map requestMap = externalContext.getRequestMap();
                if (!Boolean.TRUE.equals(requestMap.get(RESOURCES_PROCESSED))) {
                        if (null != 
requestMap.get(BaseFilter.RESPONSE_WRAPPER_ATTRIBUTE)) {
                                if (log.isDebugEnabled()) {
                                        log
                                                        .debug("Process 
component tree for collect used scripts and styles");
                                }
                                UIViewRoot root = context.getViewRoot();


Sorry, i'm not sure how to proceed on this.
Is there a sample that i could download that illustrate the setup for:

AS 4.0.5, Portal 2.4.1, Seam 1.1.1, Facelets.

Thanks in advance.




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

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

Reply via email to