Jan 26th, 2013, 07:16 AM
breadcrumb on Spring Roo
I'm trying to make a breadcrumb based on this idea
But adapted to my Roo project
The breadcrumb item are in a Stack, filled by one HandlerInterceptorAdapter. The interceptor match the URL with a regular expression and inform the node.
/dog/2 ->Show Dog
/dog?form ->Create Dog
/dog ->List Dogs
But I'm not sure if HandlerInterceptorAdapter is the better approach, is executed in every http request, and the regular expression maybe have impact in the performance.
Any other option different than regular expressions on the HandlerInterceptorAdapter?
The source code not very clean and have some hardcodes for my custom pages, but if someone are interested I can send it.
Last edited by CGarces; Jan 27th, 2013 at 05:50 AM.
Reason: Typo error
Tags for this Thread