[ 
https://issues.apache.org/jira/browse/WW-3993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795235#comment-13795235
 ] 

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: https://issues.apache.org/jira/browse/WW-3993
>             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
> https://cwiki.apache.org/confluence/display/WW/CRUD+Demo+I



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to