using primefaces extensions (inputNumber)

前端 未结 3 1070
梦如初夏
梦如初夏 2021-01-03 00:20

i\'m new in primefaces word , and i need to use primefaces extensions (inputNumber)

in the XHTML file I add the taglib :

3条回答
  •  旧巷少年郎
    2021-01-03 00:58

    For me, one maven dependencies is missing !

    
       org.apache.commons
       commons-lang3
       3.0
    
    

    Attention: currently "commons" is with S at end

    At 2016.12.24, the version of extension can now be 6.0.0

    
        org.primefaces.extensions
        primefaces-extensions
        6.0.0
    
    

    Thanks to Rong Nguyen and Ghizlane La

    Last remark

    I have encouter some problems (error message in Chrome indicating that some ressources are missing) because the versions used for Primefaces and PrimefacesExtension end Commons-lang3 are not compatible !

    But I have found that the following combination work correclty for me.

    
        org.apache.commons
        commons-lang3
        3.5
    
    
    
        org.primefaces
        primefaces
        6.0
    
    
    
        org.primefaces.extensions
        primefaces-extensions
        6.0.0
    
    

    I hope that will be useful for others :-)

提交回复
热议问题