aesteve / nubes

Annotation layer on top of Vert.x 3
Apache License 2.0
120 stars 35 forks source link

ViewResolver #33

Closed aesteve closed 9 years ago

aesteve commented 9 years ago

@View("nameoftheview") is nice but limited.

Sometimes the view name will be dynamic.

So provide a ViewResolver parameter user can add to their method to set the name of the view. dynamically (i.e. if(somethingWenWrong) { resolver.resolve("failure.hbs") } )

aesteve commented 9 years ago

implemented, tested