Twitter Bootstrap with Primefaces (JSF)

后端 未结 3 965
粉色の甜心
粉色の甜心 2020-12-24 08:35

I\'m trying to use Primefaces 3.2 (perhaps it\'s related to JSF in general) with Twitter Bootstrap 2.0.2 (http://twitter.github.com/bootstrap).

I\'ve added to the st

3条回答
  •  猫巷女王i
    2020-12-24 08:56

    First of all you better use h:outputScript to load js files...

    I think its cause of conflicts between primefaces jquery and the manually included one...

    PrimeFaces 3.2 comes with jQuery 1.7.1, So...

    Remove the

    from your code

    and modify your include in the following way in your element

    
      
    
    
    
    

    Also take a look at JQuery Conflicts with Primefaces? and related resource ordering.

提交回复
热议问题