My question is very simple. I have the following controller:
@Controller
@Template(id="saas-platform-module:pages/product", title="Product Page")
public class ProductPageTemplate {
@RequestMapping(method=RequestMethod.GET)
public ModelAndView render(@RequestParam("id") int id,Node content) {
..do something
}
Basically my problem is to get the request parameter from the url, but when I
include the argument @RequestParam("id") int id , the controller stops to work,
while if I remove the argument the controller work, but for some use cases I
need to have a request parameter.
How can I include a request parameter with blossom?
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=2e989327-ab5a-4654-96f9-64b8eacb27e9
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------