Maybe it's because it's Friday, or maybe it's because I've been especially dense this week, but isn't multithreading orthogonal to the problem?

Dennis




Michael McGrady <[EMAIL PROTECTED]>

10/22/2004 02:05 PM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
Struts Users Mailing List <[EMAIL PROTECTED]>
cc
Subject
Re: Need Ideas for This Puzzle





Hi, Caroline,

Just a little follow up to all these good suggestions.  I agree that if
you use the Action, then you should definitely use helper classes and
hopefully decouple them from the action.  I like to use multithreading
in the helper classes generally.  The suggestions about using the
ActionForm instead are also good.  I guess to decide whether you want to
go with Action or ActionForm should depend on whether your logic makes
the choice of roles one of presentation or one of buisness logic.  I
think it could go either way.  Definitely these are two different
approaches.

Michael McGrady


Wendy Smoak wrote:

>From: "Caroline Jen" <[EMAIL PROTECTED]>
>  
>
>>The challege comes as the "roles" of the web site
>>users are introduced.  According to the role of the
>>web site user, I have to display certain groups (not
>>all the groups) and certain sub-groups (not all
>>sub-groups within a group) to him/her.
>>How do I disply groups and their sub-groups under such
>>a condition?
>>    
>>
>
>I would decide who sees what by calling helper classes from the Action, then
>only place objects in the request or session that the user is allowed to
>see.  That way by the time you get to the JSP all you have to do is iterate
>over what's there.
>
>  
>



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


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

Reply via email to