Results 1 to 1 of 1

Thread: breadcrumb od Spring Roo

  1. #1
    Join Date
    Jan 2012
    Posts
    21

    Question breadcrumb on Spring Roo

    I'm trying to make a breadcrumb based on this idea
    http://illumin-it.servehttp.com/word...mvc-framework/

    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.

    E.g.
    /dog/2 ->Show Dog
    /dog?form ->Create Dog
    /dog ->List Dogs
    / ->Home

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •