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

Nick Belaevski reassigned RF-4013:
----------------------------------

    Assignee: Vladimir Molotkov  (was: Denis Morozov)


> rich:suggestionBox and rich:jQuery (1.2.6) not play together
> ------------------------------------------------------------
>
>                 Key: RF-4013
>                 URL: https://jira.jboss.org/jira/browse/RF-4013
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: Tomcat 6.0.16
> MyFaces 1.2.3
> Tomahawk 1.1.7 Snapshot
> Facelets 1.1.15 Snahshot
> Richfaces 3.2.2 Snapshot (20080724)
>            Reporter: Jan Ziegler
>            Assignee: Vladimir Molotkov
>             Fix For: 3.2.2
>
>
> It seems that <rich:jQuery> (with the new Version 1.2.6) does not play 
> together with <rich:suggestionBox>.
> I tested with this code:
> Code:
> ...
> <!-- jQuery for showing an alert when clicking on a div -->
> <div class="test">click me!</div>    
> <rich:jQuery selector="div.test" timing="onload" 
> query="click(function(){alert('you clicked the div!')})" />
> <!-- suggestion box -->
> <h:form>
>       <h:inputText value="#{testBean.searchString}" id="normalStringSearch" />
>       <a4j:region>
>               <rich:suggestionbox for="normalStringSearch" minChars="2" 
> suggestionAction="#{testBean.autocomplete}" var="elements" >
>                       <h:column>
>                               <h:outputText value="#{elements}" />
>                       </h:column>
>               </rich:suggestionbox>
>       </a4j:region>
> </h:form>
> ...
>       
> The action of the suggestionBox is not called - na ajax call at all. If i 
> comment out the suggestion box the jQuery stuff works, otherwise not!
> Once, in combination with other components I got a stange firefox exception:
> [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) 
> [nsIDOMViewCSS.getComputedStyle]"  
> nsresult: "0x80004005 (NS_ERROR_FAILURE)"  
> location: "JS frame :: 
> http://localhost:8080/test/a4j_3_2_2-SNAPSHOTorg/richfaces/renderkit/html/scripts/jquery
> /jquery.js.faces :: anonymous :: line 96"  data: no]
> http://localhost:8080/test/a4j_3_2_2-SNAPSHOTorg.ajax4jsf.javascript.AjaxScript.faces
> Line 192
>       

-- 
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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to