[
https://issues.apache.org/jira/browse/TOMAHAWK-1346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637924#action_12637924
]
Paul Rivera commented on TOMAHAWK-1346:
---------------------------------------
Attached a patch above named ExtendedHtmlButtonRenderer.patch.
There's also a TODO item in HtmlButtonRendererBase.isDisabled() that we can
already remove.
> t:commandButton does not honor enabledOnUserRole attribute
> ----------------------------------------------------------
>
> Key: TOMAHAWK-1346
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1346
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Extended CommandLink/CommandButton
> Affects Versions: 1.1.8-SNAPSHOT
> Environment: tomcat 6.0.16
> java 1.6.0
> Reporter: Paul Rivera
> Priority: Minor
> Attachments: ExtendedHtmlButtonRenderer.patch
>
>
> Given a jsf page with:
> <t:commandButton enabledOnUserRole="admin" value="EnabledForAdminButton"/>
> This button will get rendered as enabled even if the user's role is not
> 'admin'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.