Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-847

inputSuggestAjax doesn't work in an JSR 168 portlet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.5-SNAPSHOT
    • None
    • InputSuggestAjax
    • None
    • JBoss Portal 2.4 on Windows

    Description

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

      <html>
      <body>
      <f:view>
      <h:form>
      <f:verbatim><br/><br/></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>
      </body>
      </html>

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            nicolas.duminil Nicolas DUMINIL
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: