[jboss-user] [JBoss Portal] - Can't use myfaces tomahawk inputSuggestedAjax control in JBo
simplex-software
do-not-reply at jboss.com
Wed Jan 10 05:19:19 EST 2007
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999820#3999820
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999820
More information about the jboss-user
mailing list