Activity log for bug #505233

Date Who What changed Old value New value Message
2010-01-09 19:10:19 Nicolas Leroux bug added bug
2010-01-09 19:10:29 Nicolas Leroux play: assignee Nicolas (nicolas-lunatech)
2010-01-09 19:10:48 Nicolas Leroux play: importance Undecided Wishlist
2010-01-09 19:10:48 Nicolas Leroux play: status New In Progress
2010-01-09 19:10:48 Nicolas Leroux play: milestone 1.1
2010-01-09 19:11:23 Nicolas Leroux description It will look like this: GET(xml) {host}/ Application.index(format:'xml') using the route file. In the controller you can then access the host variable if you wish.You can of course combine it with a regex or use only a regex: {host}\.mydomain\..* Format means to render in xml. If you decide to use annotations (provided by the router annotations module) it will be something like (on you controller method): @Get(value="{host}/", produces="xml") public static void index(String host) { .... } It is still a proposal and can change over the time of course. If anyone has a better idea, syntax, etc I am open to all suggestion. It will look like this: GET(xml) {host}/ Application.index(format:'xml') using the route file. In the controller you can then access the host variable if you wish.You can of course combine it with a regex or use only a regex: {host}\.mydomain\..* Format means render in xml. If you decide to use annotations (provided by the router annotations module) it will be something like (on you controller method): @Get(value="{host}/", produces="xml") public static void index(String host) { .... } It is still a proposal and can change over the time of course. If anyone has a better idea, syntax, etc I am open to all suggestion.
2010-05-11 20:36:44 Nicolas Leroux play: status In Progress Fix Committed
2010-05-29 15:44:14 Nicolas Leroux play: status Fix Committed In Progress
2010-08-20 06:19:45 grahamrb bug added subscriber grahamrb
2010-09-30 19:20:40 Nicolas Leroux play: status In Progress Fix Committed