[richfaces-issues] [JBoss JIRA] Updated: (RF-2109) 'RichFaces' is undefined JS error

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Sat Dec 6 14:09:36 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Belaevski updated RF-2109:
-------------------------------

    Fix Version/s: Future


> 'RichFaces' is undefined JS error
> ---------------------------------
>
>                 Key: RF-2109
>                 URL: https://jira.jboss.org/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
>            Assignee: Alexander Smirnov
>             Fix For: Future
>
>
> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list