Why not put them in the rest plugin? Don
On Sat, Jun 21, 2008 at 12:19 PM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Is there any interest in creating restful form tags? > > I've created variations of the s:form tag (create, destroy, index, update) > that simply and/or enforce the restful conventions. > Basically, the action attribute of s:form is removed and replaced with a > resourceURI attribute that understands the convention and context. > eg. a create tag knows that if the current uri ends with "/pet/editNew" then > the target URI is "/pet" (and the resourceURI attribute doesn't need to be > specified). > > I've found them a useful simplification. Eventually the s:action tag also > needs to be substituted with one that knows which method to invoke based on > the current context. > > I don't think these belong in the rest plugin as we eventually want to > achieve independence of the tag implementation though. > > Any interest? If not I may just push them onto googlecode. > > cheers, > Jeromy Evans > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]