[richfaces-issues] [JBoss JIRA] Closed: (RF-3811) JS calls from toolbar children duplicated.
Tsikhon Kuprevich (JIRA)
jira-events at lists.jboss.org
Wed Aug 27 10:52:38 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsikhon Kuprevich closed RF-3811.
---------------------------------
> JS calls from toolbar children duplicated.
> ------------------------------------------
>
> Key: RF-3811
> URL: https://jira.jboss.org/jira/browse/RF-3811
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.1
> Reporter: Ilya Shaikovsky
> Assignee: Tsikhon Kuprevich
> Fix For: 3.2.2
>
>
> <rich:toolBar>
> <h:outputLink value="#" onclick="enlarge('#{rich:clientId('pic')}');">
> Enlarge
> </h:outputLink>
> <h:outputLink value="#" onclick="decrease('#{rich:clientId('pic')}');">Decrease</h:outputLink>
> </rich:toolBar>
> <rich:panel>
> <h:graphicImage value="#{slidesBean.currentPicture}" id="pic"/>
> </rich:panel>
> <rich:toolBar>
> <a4j:commandLink value="<< Previous" action="#{slidesBean.previous}" reRender="slide" disabled="#{not (slidesBean.currentIndex > 1)}"/>
> <a4j:commandLink value="Next >>" action="#{slidesBean.next}" reRender="slide" disabled="#{(slidesBean.currentIndex == 8)}"/>
> </rich:toolBar>
> in genearted HTML check next code:
> <table class="dr-toolbar-ext rich-toolbar" id="j_id232:j_id233" width="100%" border="0" cellpadding="0" cellspacing="0"><tbody><tr valign="middle"><td class="dr-toolbar-int rich-toolbar-item" onclick="enlarge('j_id232:pic');"><a href="#" onclick="enlarge('j_id232:pic');">
> Enlarge</a></td><td class="dr-toolbar-int rich-toolbar-item" onclick="decrease('j_id232:pic');"><a href="#" onclick="decrease('j_id232:pic');">Decrease</a></td><td width="100%"></td></tr></tbody></table>
> enlarge and decrease duplicated and called twice after link clicked.
> I suppose this done in order to apply JS call to the whole td.. But it isn't looks fine due to duplicate call in the result.
--
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