[richfaces-issues] [JBoss JIRA] (RF-12836) Component control doesn't work when a button is disabled
Migore S (JIRA)
jira-events at lists.jboss.org
Tue Mar 12 09:13:41 EDT 2013
Migore S created RF-12836:
-----------------------------
Summary: 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
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.
<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>
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