Re: parameters in url

2010-09-15 Thread venkatt
ide an unified way > of handling these type of urls. Thoughts? > > musachy > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additi

Re: parameters in url

2010-09-14 Thread venkatt
k Floyd > > - > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org > For additional commands, e-mail: dev-h...@struts.apache.org > > > -- View this message in context: http://old.nabble.com/parameters-in-url-tp25602877p29708616.html Sent from the Struts - Dev mailing list archive at Nabble.com.

Re: parameters in url

2009-09-30 Thread Musachy Barroso
: >> >> committed to trunk. To use it set: >> >>   >>   >>   >> >> to use it with convention, convention needs to be built from trunk. >> >> musachy >> >> > > -- > View this message in context: > http://www.nabble.

Re: parameters in url

2009-09-30 Thread cilquirm
> > musachy > > -- View this message in context: http://www.nabble.com/parameters-in-url-tp25602877p25683653.html Sent from the Struts - Dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-uns

Re: parameters in url

2009-09-25 Thread Musachy Barroso
committed to trunk. To use it set: to use it with convention, convention needs to be built from trunk. musachy On Thu, Sep 24, 2009 at 2:19 PM, Musachy Barroso wrote: > I find that using parameters in urls is confusing in struts, and there > are just too many (and not compatible) ways of

Re: parameters in url

2009-09-24 Thread Musachy Barroso
very confusing and hard to understand. I would like to do this: >>> >>> class MyAction { >>>  String param1, param2, param3; >>> >>> �...@action("/{param1}/{param2}/MyAction/{param3}") >>>  public void execute() {} >>> } >>> >>> and the framework should figure out the rest

Re: parameters in url

2009-09-24 Thread Frans Thamura
my opinion the /url/url/param/param is REST right, we need use convention and the package is the old model how can it run in the your dev envionment? F - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional

Re: parameters in url

2009-09-24 Thread Alex Siman
handling these type of urls. Thoughts? >> >> musachy >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --

Re: parameters in url

2009-09-24 Thread Frans Thamura
hi there i believe we cannot mix the old package xml with rest right -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian bukan hanya membuat anak SMK menjadi bisa tapi SAKTI, malah saktinya SAKTI Mandraguna. Mobile: +62 855 7888 699i Blog & Profile: h

Re: parameters in url

2009-09-24 Thread Musachy Barroso
"Careful with that axe Eugene" The only change in xwork would be in AbstractMatcher:replaceParameters, because that method gets the params defined in the action mapping ({1}), and replaces it with the value extracted from the URL. My change is to also include additional params, so the field names

Re: parameters in url

2009-09-24 Thread Wes Wannemacher
Be careful overriding the pattern matcher. I use it in xwork to include files in the xml configuration provider. -W On 9/24/09, Musachy Barroso wrote: > meh, this one didn't put up much of a fight :). With these set > ("regex" alternative implementation of patternMatcher): > > > > > > I c

Re: parameters in url

2009-09-24 Thread Musachy Barroso
meh, this one didn't put up much of a fight :). With these set ("regex" alternative implementation of patternMatcher): I can do this: /tags/ui/example.jsp calling "/WorldDomination/test/LexLuthor" will set "bio" to "WorldDomination" and "name" to "LexLutho

parameters in url

2009-09-24 Thread Musachy Barroso
I find that using parameters in urls is confusing in struts, and there are just too many (and not compatible) ways of doing it, for example, if you want to have parameters in front of the action name, like /something/param1/param2/ActionName you would have to use the "namedVariable" action mapper