On 29.06.2004 11:51, [EMAIL PROTECTED] wrote:

Hi,
I have a requirement where I need to disable buttons in cocoon form
based on some user access rights.
I am using Cocoon form and I am checking the access permissions in the
flow script.
I tried searching how to do this, but could not get much of information.
Can this be achieved ? How do I disable/enable buttons from the flow
script?

Again my recommendation to union widget: http://wiki.cocoondev.org/Wiki.jsp?page=TimLarson Form model GUI sample.

In this case it might be really easy as you only need one widget (that does not need to be displayed) where the role is set to and the union depending on this widget and displaying or not the buttons.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to