Re: REST vs Original

2008-01-19 Thread Jeromy Evans
Yes and no. Yes: The REST plugin uses CodeBehind. If appropriate, CodeBehind will be replaced by the Convention plugin. SmartURLs is being merged into the Convention plugin. That's a nice convergence. No: REST involves more than URL mapping. However, it's not unreasonable that a single Str

Re: REST vs Original

2008-01-19 Thread Frans Thamura
hi all is there a plan for REST, so we can mixed all become one, SmartURL, original method and new REST model i have hugh code and love to try REST F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: REST vs Original

2008-01-19 Thread mgainty
AM Subject: Re: REST vs Original > --- Martin Gainty <[EMAIL PROTECTED]> wrote: > > SmartURLs..Are there situations where using action-name based results are > > preferable over a declared result? > > Sure, if you don't want to configure a result manu

Re: [struts] REST vs Original

2008-01-19 Thread Dale Newfield
Jeromy Evans wrote: Unfortunately at the moment you can't mix conventions within the same Struts2 webapp. The trouble is the REST plugin overrides a lot of the default behaviour rather than augmenting it. Right now if your commit to REST conventions it'll apply to the entire webapp. With some

Re: REST vs Original

2008-01-19 Thread Dave Newton
--- Martin Gainty <[EMAIL PROTECTED]> wrote: > SmartURLs..Are there situations where using action-name based results are > preferable over a declared result? Sure, if you don't want to configure a result manually. > Where can I get the source for > org.texturemedia.smarturls.SmartURLsConfiguratio

Re: REST vs Original

2008-01-19 Thread Martin Gainty
> To: "Struts Users Mailing List" Sent: Friday, January 18, 2008 7:28 PM Subject: Re: REST vs Original > Hi Frans, > > Unfortunately at the moment you can't mix conventions within the same > Struts2 webapp. The trouble is the REST plugin overrides a lot of the &g

Re: REST vs Original

2008-01-19 Thread Frans Thamura
On Jan 19, 2008 7:28 AM, Jeromy Evans <[EMAIL PROTECTED]> wrote: > Hi Frans, > > Unfortunately at the moment you can't mix conventions within the same > Struts2 webapp. hi there so what should i do if I am intersting with REST, but have a hugh code using S2 old way. i think that is not good to re

Re: REST vs Original

2008-01-18 Thread Jeromy Evans
Hi Frans, Unfortunately at the moment you can't mix conventions within the same Struts2 webapp. The trouble is the REST plugin overrides a lot of the default behaviour rather than augmenting it. Right now if your commit to REST conventions it'll apply to the entire webapp. With some effort i

REST vs Original

2008-01-18 Thread Frans Thamura
hi there i just want to know, how to mixe the code between S2 and with REST under one container. any idea? or anyone have an example that 'this is the old' and 'this is the REST' still cannot get how can .action become /bla/bla -- Frans Thamura Meruvian redefining civilization http://www.meru