CRUDAction defines all necessary handlers and mappings for basic CRUD
operations like create, duplicate, edit, view and delete. Along with
proven two-phase input processing (aka Post-Redirect-Get), which saves
you and your users from implicit double submits and POSTDATA messages,
this class makes your job easier.

You can reload any page without POSTDATA situation. On browsers which
support cache-control headers, you would not be able to return back to
the previously edited item after you canceled editing or stored
changes. This is additional measure to prevent double submits. This
feature is built into base DialogAction class.

CRUDAction works together with ICRUDForm interface. You can use
CRUDAction directly or subclass it.

Note on caching: in my samples I needed one cachable example, so I did
not use <controller nocache="true"/> setting in struts-config.xml, and
I set response headers directly. If you are going to make all your
pages non-cachable, just use the above controller setting.

Other small updates:
- SelectAction and its subclasses now support image buttons (now when
I know what ".x" and ".y" is about)
- Improved compatibility with older versions of Struts by removing
call to Action.saveMessages(HttpSession, ActionMessages). Now
supporting Struts 1.2.2+.

Project homepage: http://struts.sourceforge.net/strutsdialogs
Live demos: http://www.superinterface.com/strutsdialog
CRUD sample source code: in src\net\sf\dialogs\samples\crudaction
directory of the dialogs-1.1.zip file.

Michael.

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

Reply via email to