Hello..

I am in need of a struts Best Practice...   Here is a brief description of
the scenario:

1.  Display a list of items on a page in table format.  Default to show the
first 50 items.  This master list of items has 1000+ entries.  These
'items' are basically just columns from a relational table.
2.  Provide  '>>', '>', '<', '<<' buttons to allow navigation through the
list. Also provide a html text box to allow changing of the default 50
items in the list.
It would look something like this in HTML:
<input type="button" name="beginning" value="&lt;&lt;" />
<input type="button" name="prev" value="&lt;" />
<input type="text" name="numitems" size="3" maxlength="3" value="50" />
<input type="button" name="next" value="&gt;" />
<input type="button" name="end" value="&gt;&gt;" />
3.  This functionality will be used on many pages/actions throughout my web
application.

Questions...
Is it best to handle this logic in the Action classes?  How?
Should I add the functionality to a Base Action class?
Is DispatchAction useful here?
Is there a good example of this scenario available anywhere?
Is there a Best practice recommened for this scenario?


Thanks in advance for your help!


[EMAIL PROTECTED]
------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.



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

Reply via email to