Re: [S2] submitting a form and choice of action mappings

2008-08-09 Thread Pierre Thibaudeau
In case anyone's interested, I solved the problem by making a small compromise: that previewing a post (whether a new one or an edited one) should require the same security authorization as posting one. >From that point on, I can limit myself to two action mappings: dispatchPost, editPost Those

[S2] submitting a form and choice of action mappings

2008-08-09 Thread Pierre Thibaudeau
I am a little puzzled as to what my best option is for mapping and naming actions in the following context. I have a "posting" form (in JSP) which is used for any of the following: * Posting a new comment * Editing an existing comment * Previewing a new comment * Previewing a comment while it's be