[richfaces-issues] [JBoss JIRA] (RF-12836) Component control doesn't work when a button is disabled

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Mar 22 18:53:42 EDT 2013


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

Brian Leathem updated RF-12836:
-------------------------------

    Labels: waiting_on_user  (was: )

    
> Component control doesn't work when a button is disabled
> --------------------------------------------------------
>
>                 Key: RF-12836
>                 URL: https://issues.jboss.org/browse/RF-12836
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-panels-layout-themes
>    Affects Versions: 4.3.0.Final
>            Reporter: Migore S
>              Labels: waiting_on_user
>
> I'm trying to add a rich:componentControl to show a popup when a butotn is clicked, but when the button is disabled it doesn't work.
> {code}
> <h:commandButton id="delete-all-button" value="#{msgs.geral_excluir_selecionados}" 
>                  rendered="#{bean.dataModel.rowCount != 0}"  
>                  type="button" disabled="true">
>     <rich:componentControl event="click" target="confirm-popup" operation="show">
>         <a4j:param noEscape="true" value="event" />
>         <rich:hashParam>
>             <f:param name="width" value="500" />
>             <f:param name="height" value="300" />
>             <f:param name="minWidth" value="300" />
>             <f:param name="minHeight" value="150" />
>             <a4j:param noEscape="true" name="left" value="(jQuery(window).width()/2)-250" />
>             <a4j:param noEscape="true" name="top" value="(jQuery(window).height()/2)-150" />
>         </rich:hashParam>
>     </rich:componentControl>
> </h:commandButton>
> {code}
> If I remove the disabled attribute it works.
> Issue on the forum: https://community.jboss.org/thread/222320

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list