[Lift] Is this correct way to handle RESTful like URL in Lift Framework?

2010-01-09 Thread Brian Hsu
If I have a URL like http://localhost/Test/edit/{id} and I would like the {id} transform to a parameter instead of URL path part. The problem is that if I have a template named edit.html under webapp/ Test, which is the template I use to edit an item. And I have a Menu instance like the following

[Lift] Re: Is this correct way to handle RESTful like URL in Lift Framework?

2010-01-10 Thread Brian Hsu
you could use something like if you'r building REST API's: > > LiftRules.dispatch.append { > >    case Req("test" :: _, suffix, reqType) => // return a () => > LiftResponse > > } > > or for non REST API you could use > > LiftRules.statefulRewrit

[Lift] Re: Code generation plugin for SBT

2010-01-11 Thread Brian Hsu
Hello, I'm interested in this project. Just in case that there are someone eles is working on this too. Currently I have started working on the part of generate Lift website skeleton corresponding to lift-archetype-blank / lift-archetype-basic in mvn repo. I've not finished it yet, but as soon a