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

Nick Belaevski updated RF-6259:
-------------------------------

    Fix Version/s: Future
         Assignee: Anton Belevich  (was: Nick Belaevski)


> inplaceSelect: incorrect work of onselect  attribute
> ----------------------------------------------------
>
>                 Key: RF-6259
>                 URL: https://jira.jboss.org/jira/browse/RF-6259
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: FF-3, IE6, IE7, Opera, Safari
> Tomcat 6.0
> sun RI 1.2.10
> jsp
>            Reporter: Inna Shchibrya
>            Assignee: Anton Belevich
>             Fix For: Future
>
>
> 1. Open InplaceSelect component in test application.
> 2. Click on 'add test' button and then 'test event' button. --> List of 
> attributes is appeared with 'don't work' messages near each attribute.
> 3. Click on the component and select some menu item.
> 4. Verify 'onselect' attribute. --> 'don't work' message near 'onselect' 
> attribute didn't change.
> For FF-3 'onselect work!' message is appeared after double click on the 
> component.
> This situation takes place not only for test application. For example:
> <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> <%@ taglib uri="http://richfaces.org/a4j"; prefix="a4j"%>
> <%@ taglib uri="http://richfaces.org/rich"; prefix="rich"%>
> <f:subview id="inplaceSelectSubviewID">
> This is because such an error can easily be made at programming level, <br />
> and while invisible for the user who does not understand or cannot <br />
> acquire the source code, many of those 
> <rich:inplaceSelect id="inplaceSelectID"              
>               tabindex="#{inplaceSelect.tabindex}"
>               editEvent="#{inplaceSelect.editEvent}"
>               maxSelectWidth="#{inplaceSelect.maxSelectWidth}"
>               minSelectWidth="#{inplaceSelect.minSelectWidth}"
>               selectWidth="#{inplaceSelect.selectWidth}"
>               defaultLabel="#{inplaceSelect.defaultLabel}"
>               
> controlsVerticalPosition="#{inplaceSelect.controlsVerticalPosition}"
>               
> controlsHorizontalPosition="#{inplaceSelect.controlsHorizontalPosition}"
>               listWidth="#{inplaceSelect.listWidth}"
>               listHeight="#{inplaceSelect.listHeight}"
>               showControls="#{inplaceSelect.showControls}"
>               openOnEdit="#{inplaceSelect.openOnEdit}"
>               rendered="#{inplaceSelect.rendered}"
>               immediate="#{inplaceSelect.immediate}"
>               binding="#{inplaceSelect.myInplaceSelect}"
>               required="#{inplaceSelect.required}"
>               requiredMessage="#{inplaceSelect.requiredMessage}"
>               valueChangeListener="#{inplaceSelect.valueChangeListener}"
>               onblur="#{event.onblur}"  
>               onchange="#{event.onchange}" 
>               onclick="#{event.onclick}" 
>               ondblclick="#{event.ondblclick}" 
>               oneditactivated="#{event.oneditactivated}"
>               oneditactivation="#{event.oneditactivation}"
>               onfocus="#{event.onfocus}" 
>               oninputblur="#{event.oninputblur}" 
>               oninputclick="#{event.oninputclick}"            
>               oninputdblclick="#{event.oninputdblclick}"
>               oninputfocus="#{event.oninputfocus}" 
>               oninputkeydown="#{event.oninputkeydown}"
>               oninputkeypress="#{event.oninputkeypress}"
>               oninputkeyup="#{event.oninputkeyup}"
>               oninputmousedown="#{event.oninputmousedown}"
>               oninputmousemove="#{event.oninputmousemove}"
>               oninputmouseout="#{event.oninputmouseout}"
>               oninputmouseover="#{event.oninputmouseover}"
>               oninputmouseup="#{event.oninputmouseup}"
>               onkeydown="#{event.onkeydown}"
>               onkeypress="#{event.onkeypress}"
>               onkeyup="#{event.onkeyup}"
>               onmousedown="#{event.onmousedown}"
>               onmousemove="#{event.onmousemove}"
>               onmouseout="#{event.onmouseout}"
>               onmouseover="#{event.onmouseover}"
>               onmouseup="#{event.onmouseup}"
>               onselect="alert('onselect')"
>               onviewactivated="#{event.onviewactivated}"
>               onviewactivation="#{event.onviewactivation}"
>               layout="#{inplaceSelect.layout}"
>               value="#{inplaceSelect.value}">
>               <f:selectItem itemLabel="errors" itemValue="errors" />
>               <f:selectItem itemLabel="f" itemValue="f" />
>               <f:selectItem itemLabel="infos" itemValue="infos" />
>               <f:selectItem itemLabel="passedssfgdfgdfgdfgdfgdf" 
> itemValue="passedssfgdfgdfgdfgdfgdf" />
>               <f:selectItem itemLabel="warns" itemValue="warns" />
>               </rich:inplaceSelect>
>  are easy to exploit.
>  </f:subview>
> Actual result: Alert isn't appeared after user selected some menu item. For 
> FF-3 it is appeared after double click on the component.
> Expected result: Onclick attribute should work after user selected some menu 
> item. 

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