struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Sánchez (JIRA) <>
Subject [jira] [Commented] (WW-3993) How to implement simple CRUD application
Date Tue, 15 Oct 2013 14:36:43 GMT


Antonio Sánchez commented on WW-3993:

I'm fixing it.Validation issue is fixed. I can't manage to fix cancel issue:

<s:submit value="%{getText('button.label.cancel')}" name="redirectAction:index"/>

redirectAction is being ignored and form action is just called (behaves like submit):

<s:form action="saveEmployee" method="post">

Help would be appreciated.


In my opinion:

1. A repository should be created, or, use Struts one if already exists. If Struts pretends
migrating to Git and still there is no Git repo then, maybe be the time is now. 

2. My original idea was creating a simple CRUD sample project and use it as a basis for, building
upon it, creating more complex and complete skeleton applications, ready to use for professional
development and featuring best practices recommended by struts team.  One of these step-applications
might feature image management. 

3. At the end of the change there would be some full-featured and full-fledged applications,
as said above, ready to use as template projects for professional development: spring+crud+jpa,
spring+crud+mybtis, guice+crud+jdbc, spring+crud+hibernate+portlet, etc...

4. Use these sample applications, specially the final top ones, as a maven archetype and,
maybe, other building tools. 

> How to implement simple CRUD application
> ----------------------------------------
>                 Key: WW-3993
>                 URL:
>             Project: Struts 2
>          Issue Type: Sub-task
>          Components: Example Applications
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.17
>         Attachments: crud-with-maven.7z
> Rewrite to Maven based project and with the latest Struts version

This message was sent by Atlassian JIRA

View raw message