use-when form field based on permission

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

use-when form field based on permission

snowch
Hi Forum,

I have a list form that I want to allow some of the users to edit some of the fields based on if the user has a certain security permission.

Can anyone on this list point me to an example, as I can't find one looking through the other apps.

Many thanks in advance,

Chris
Reply | Threaded
Open this post in threaded view
|

Re: use-when form field based on permission

Rishi Solanki
Chris,
you can achieve this by the use-when attribute of the field tag, before it
you may call your permission service in the action tag of the Form or Screen
containing the form.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Tue, Jun 30, 2009 at 1:56 PM, snowch <[hidden email]> wrote:

>
> Hi Forum,
>
> I have a list form that I want to allow some of the users to edit some of
> the fields based on if the user has a certain security permission.
>
> Can anyone on this list point me to an example, as I can't find one looking
> through the other apps.
>
> Many thanks in advance,
>
> Chris
> --
> View this message in context:
> http://www.nabble.com/use-when-form-field-based-on-permission-tp24268053p24268053.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>