user roles

2003-04-04 Thread Ubhay Kumar
Hi 
 In struts-layout can we have a user role based display of: 

1. links (For e.g several links on a toolbar based on user role as editor or admin)
2. combo boxes ( the options in the combo boxes, for e.g editor can select two options 
whereas admin can three)
3. Form submit links/buttons (different kind of form submits for admin and editor)

Right now from the documentation and examples i can only see 
this for form fields.

If the struts-layout does support the above which version does this (links?)
and if NOT are these things there in their To-Do's list and when can we
expect that.

Please reply ASAP  i need this as an urgent requirement in my 
project.

Thanx in advance,
Regards,
Ubhay.


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



Struts newbie

2003-04-03 Thread Ubhay Kumar
Hi All ...
 I have certain questions regarding an application i have to build using struts.

1. First problem relates to packaging of web-app: Lets say i have only three features 
(search, My profile, Editor bulletin).
 The problem is supppose i want to deploy the solution in three packages. So for eg
  Standard deployment will have ONLY search. Premium would have search + My 
Profile and Enterprise
  would have all the three.
  Whats the best way to package a web-app in terms of features. Is there a standard 
way of packaging a web app
  so that its easily deployable in all three modes.

So problem translates into:   
a.) When to show which button on UI screen and at a proper place on UI window based on 
the mode of deployment
b.) When to enable/Disable an Action 

So is there a standard way of doing this or do i have to write huge if-then-elses at 
all places in the code.

2. Second question is regarding user and roles: Does struts provide some way of 
maintaining users, user-groups,
   and ROLES for them(The roles here are based on Features or Actions which different 
groups 
   can access).

So the complete problem is: I want to have three deployment modes, all of them would 
have different sets of users and features
and different set of users will have access to different kind of features. Is there a 
standard way of doing this?



Thanx in advance,
Regards,
Ubhay. 

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