[richfaces-issues] [JBoss JIRA] Updated: (RF-2109) 'RichFaces' is undefined JS error
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Fri May 2 15:39:36 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2109?page=all ]
Nick Belaevski updated RF-2109:
-------------------------------
Fix Version/s: 3.2.2
(was: 3.2.1)
> 'RichFaces' is undefined JS error
> ---------------------------------
>
> Key: RF-2109
> URL: http://jira.jboss.com/jira/browse/RF-2109
> Project: RichFaces
> Issue Type: Bug
> Components: portal
> Affects Versions: 3.1.3
> Environment: JDK1.5, Jboss Portal 2.4.1, Jboss App Server 4.0.5,
> Reporter: Gauri Pandhare
> Assigned To: Alexander Smirnov
> Fix For: 3.2.2
>
>
> I have the following taglib's included -
> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
> and using the following code to call the suggestion box.
> <h:outputText styleClass="jsf-output-text" value="text"/>
> <h:inputText id="text" value="#{Bean.textvalue}" required="true"/>
> <rich:suggestionbox for="text" var="textop" suggestionAction="#{Bean.searchtextValue}" height="100" width="150">
> <h:column>
> <h:outputText value="#{textop}" />
> </h:column>
> </rich:suggestionbox>
> The JS Error is at this line
> <!--
> new RichFaces.Suggestion('_viewRoot','TestForm','TestForm:text','TestForm:_idJsp12jbp735c6dc3',null,{'eventsQueue':'TestForm:_idJsp12jbp735c6dc3','entryClass':'richfaces_suggestionEntry','selectValueClass':'richfaces_suggestionSelectValue','parameters':{'TestForm:_idJsp12jbp735c6dc3':'TestForm:_idJsp12jbp735c6dc3'} ,'rows':0,'width':'150','actionUrl':'/portal/auth/portal/main/Test-Create/Test-CreatePortletWindow?action=1&org.apache.myfaces.portlet.MyFacesGenericPortlet.VIEW_ID=%2Fpages%2FCreate.jsp','height':'100','popup':'TestForm:_idJsp12jbp735c6dc3','frequency':4.9E-324,'param':'inputvalue'} );
> //-->
> Looks like the code is not commented correctly and my browser is reading the line,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list