Hello,

Please see, http://wiki.apache.org/myfaces/SecurityContext

Regards,

Cagatay

On 1/31/07, bansi <[EMAIL PROTECTED]> wrote:


I know JSF/MyFaces has disable attribute but wondering how do i
enable/disable based on user roles .

My other question is how do i pass userId from JSF page to Backing Bean.

Here is the situation
The JSF page has userId available from Single Sign On application. Now i
wanna pass this userId to the Backing Bean so that i can retrieve user
roles
from the database based on userId.

Back to JSF form based on user roles i would like to enable/disable
editing
of certain form fields

Any pointers/suggestion on how to do this will be highly appreciated.
I am using MyFaces 1.1.4, Tomahawk 1.1.3, Sanbox, Facelets 1.1.12,
Ajax4JSF
1.04, Spring, Hibernate

Regards
Bansi

--
View this message in context:
http://www.nabble.com/Enable-Disable-Editing-of-Form-Fields-based-on-User-Roles-tf3151019.html#a8736868
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to