是否有用于实现面包屑导航的JSF组件? [英] Are there any JSF components for implementing breadcrumb navigation?

查看:207
本文介绍了是否有用于实现面包屑导航的JSF组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,有两种面包屑类型。

As far as I know there are two "kinds" of breadcrumbs.

静态/层次结构


  • 像堆栈一样工作

  • 当用户深入到网站时,会推送条目

  • 当用户进入网站时,条目有效。

  • 所有用户都是相同的(对于给定的页面)

  • 显示位置而不是历史

  • Works like a stack
  • Entries are pushed when a user goes "deeper" into the site
  • Entries are poped when user goes "up" into the site
  • Is the same for all users (for a given page)
  • Shows location rather than history

一个简单的例子是HOME - > BIG CATEGORY - > SMALL CATEGORY - > ARTICLE

A simple Example would be HOME -> BIG CATEGORY -> SMALL CATEGORY -> ARTICLE

动态/历史


  • 像队列一样工作

  • 当用户转到另一个页面时,条目会在最后被推送

  • 当达到最大大小时,条目将从前面删除

  • 每个用户都有所不同,因为它是个性化的。

  • 显示时间线/历史而非位置。

  • Works like a queue
  • Entries are pushed at the end when a user goes to another page
  • Entries are removed from the front when the maximum size is reached
  • Is different for each user, since it is personalized.
  • Shows timeline/history instead of location.

一个简单的例子是SMALL CATEGORY - > HOME - > BIG类别 - >主页

A simple example would be SMALL CATEGORY -> HOME -> BIG CATEGORY -> HOME

问题是:

是否有针对这些类型的现成JSF组件导航?

Are there any ready-made JSF component for these types of navigation?

推荐答案

参见primefaces,有很多组件,你也可以找到breadcrumb
http://www.primefaces.org:8080/showcase/ui/breadCrumb.jsf

see primefaces, there are lot of components and you can find breadcrumb too http://www.primefaces.org:8080/showcase/ui/breadCrumb.jsf

这篇关于是否有用于实现面包屑导航的JSF组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆