[richfaces-issues] [JBoss JIRA] Commented: (RF-3861) toolBarGroup: events do not work for component.

Akhmad Amirov (JIRA) jira-events at lists.jboss.org
Fri Dec 5 23:18:36 EST 2008


    [ https://jira.jboss.org/jira/browse/RF-3861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12441496#action_12441496 ] 

Akhmad Amirov commented on RF-3861:
-----------------------------------

I tried richfaces-ui-3.3.0.BETA1-bin.zip and it still doent not generate mouse events in HTML file

<rich:toolBar height="20" itemSeparator="line" >
                    <rich:toolBarGroup  onclick="actionMenu('prevUp')" >
                      <h:graphicImage id="prevUp" value="#{backing_jsf_pictures.imgPrev}"  />
                     <h:outputLabel value="Prev" for="prevUp" />
                    </rich:toolBarGroup>
                    
                    <rich:toolBarGroup onclick="actionMenu('slide')">                       
                      <h:graphicImage id="slide" value="#{backing_jsf_pictures.imgSlide}" />
                      <h:outputLabel value="SlideShow" for="slide" />                   
                    </rich:toolBarGroup>
                     <rich:toolBarGroup onclick="actionMenu('location')">                       
                      <h:outputLabel id="location"  binding="#{backing_jsf_pictures.pathLocation}" />
                    </rich:toolBarGroup>
                    
                    <rich:toolBarGroup location="right" onclick="actionMenu('NextUp')">                       
                      <h:graphicImage id="nextUp" value="#{backing_jsf_pictures.imgNext}" />
                      <h:outputLabel value="Next" for="nextUp" />
                    </rich:toolBarGroup>
                 </rich:toolBar>

Here is the result:


 <table border="0" cellpadding="0" cellspacing="0" class="dr-toolbar-ext rich-toolbar " height="20" id="form1:j_id_jsp_620602049_25" width="100%">
<tr valign="middle">
  <td class="dr-toolbar-int rich-toolbar-item  " style=";">  <label>Photos</label></td>
   <td align="center"><img src="/webportal/faces/a4j/g/3_3_0.BETA1org.richfaces.renderkit.html.images.LineSeparatorImage/DATB/eAH7cW3f!--fGICAm0EAADk9BZA_" alt=" " /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><img id="form1:prevUp" src="http://lukum.homedns.org:8080/repository/images/lukumportal/pictures/prevr.png" /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><label for="form1:prevUp">Prev</label></td>
   <td align="center"><img src="/webportal/faces/a4j/g/3_3_0.BETA1org.richfaces.renderkit.html.images.LineSeparatorImage/DATB/eAH7cW3f!--fGICAm0EAADk9BZA_" alt=" " /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><img id="form1:slide" src="http://lukum.homedns.org:8080/repository/images/lukumportal/pictures/control.png" /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><label for="form1:slide">SlideShow</label></td>
   <td align="center"><img src="/webportal/faces/a4j/g/3_3_0.BETA1org.richfaces.renderkit.html.images.LineSeparatorImage/DATB/eAH7cW3f!--fGICAm0EAADk9BZA_" alt=" " /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><label id="form1:location">Location: D:/Pictures</label></td>
   <td style="width:100%"></td><td class="dr-toolbar-int rich-toolbar-item  " style=";"><img id="form1:nextUp" src="http://lukum.homedns.org:8080/repository/images/lukumportal/pictures/nextr.png" /></td>
   <td class="dr-toolbar-int rich-toolbar-item  " style=";"><label for="form1:nextUp">Next</label></td>
</tr></table>

I do not see any   onclick="actionMenu('XXXX')" string in html code

Akhmad


> toolBarGroup: events do not work for component.
> -----------------------------------------------
>
>                 Key: RF-3861
>                 URL: https://jira.jboss.org/jira/browse/RF-3861
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Alexander Dubovsky
>            Assignee: Tsikhon Kuprevich
>            Priority: Critical
>             Fix For: 3.2.2
>
>
> Events do not work for toolBarGroup component.
> Source:
> <rich:toolBar>
> 			<rich:toolBarGroup onclick="alert('!!!')"
> 				ondblclick="alert('!!!')"
> 				onkeydown="alert('!!!')"
> 				onkeypress="alert('!!!')"
> 				onkeyup="alert('!!!')"
> 				onmousedown="alert('!!!')"
> 				onmousemove="alert('!!!')"
> 				onmouseout="alert('!!!')"
> 				onmouseover="alert('!!!')"
> 				onmouseup="alert('!!!')">
> 				<h:outputText value="test" />
> 				<h:inputText value="test" />
> 			</rich:toolBarGroup>
> 		</rich:toolBar>

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