8 Replies Latest reply on Jan 10, 2007 2:38 PM by Bradley Smith

    Can't use myfaces tomahawk inputSuggestedAjax control in JBo

    nicolas duminil Master

      Here is an JSP excerpt extracted from Tomahawk sandbox samples 1.1.5-SNAPSHOT nightly build:



      <f:view>
      <h:form>
      <f:verbatim></f:verbatim>
      <h:panelGrid columns="9">
      <h:outputText value="default suggest"/>
      <s:inputSuggestAjax suggestedItemsMethod="#{customer.getSuggestion}"
      value="#{customer.name}" charset="utf-8"/>
      <h:outputText value="suggest without autoComplete"/>
      <s:inputSuggestAjax suggestedItemsMethod="#{customer.getSuggestion}"
      value="#{customer.name}" autoComplete="false"/>
      <h:outputText value="suggest with limited suggested items"/>
      <s:inputSuggestAjax suggestedItemsMethod="#{customer.getSuggestion}"
      maxSuggestedItems="2" value="#{customer.name}"/>
      </h:panelGrid>
      </h:form>
      </f:view>



      It works properly while deployed as a simple webapp in JBoss Portal 2.4. But as soon as the same code is deployed as an JSP exposed in an JSF portlet, it raises the following exception:

      org.apache.myfaces.portlet.MyFacesGenericPortlet: javax.faces.FacesException: org.apache.jasper.JasperException: org.jboss.portlet.JBossRenderRequest

      Is there anything which could prevent stuff working properly in a simple webapp to work identically in a portlet ?

      Many thanks in advance,

      Nicolas