What would it take to make the results organization using the REST and
Codebehind (or Convention) plugins more like Rails?  I used a directory
structure like the following in a recent Struts2 project where the actions
were done RESTfully, but without the REST plugin or Codebehind (can't think
of a better term).

- patient/ (for class PatientAction)
----index.html.jsp
----edit.html.jsp
----new.html.jsp
----show.html.jsp
----_fields.jsp

- transfer-log/ (for class TransferLogAction)
----show.xml.ftl
----index.xml.ftl

It worked really well and the organization felt "more better" than a flat
directory with patient-index.jsp, patient-edit.jsp, transfer-log-index.jsp,
etc etc.  I looked through the Codebehind and Convention plugins and I
didn't figure out where to make the change to just do action/result rather
than action-result.  Can anyone point me in the right direction on where to
make that kind of change?
-- 
View this message in context: 
http://www.nabble.com/Rest-Like-Rails-tp17065189p17065189.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


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

Reply via email to