On Fri, Aug 08,'03 (10:08 AM GMT+0800), Andy wrote: 

> Although my code does not work properly, but I feel that
> there are things that could be of great help to some people (e.g.
> displaying hashmap easily), and I would like to share these and
> possible help others. 

I haven't looked at long but for one, I usually don't use the ActionForm
for displaying information to a user. For that I usually just use a
regular bean (or List of beans) returned from the business layer. I
usually only use the ActionForm (in your case UserDetailForm) for
capturing user input. Just use a regular List of beans (or Maps) for the
display and make sure the list is put into Session scope (
session.setAttribute("userGroups", userGroupsList ); ) and then your
display tag will work fine.
 

-- 
Rick

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

Reply via email to