Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Function Primefaces<;p:graphicImage/>;是否抛出未定义的函数_Function_Jsf 2_Primefaces_Undefined_Galleria - Fatal编程技术网

Function Primefaces<;p:graphicImage/>;是否抛出未定义的函数

Function Primefaces<;p:graphicImage/>;是否抛出未定义的函数,function,jsf-2,primefaces,undefined,galleria,Function,Jsf 2,Primefaces,Undefined,Galleria,没有预览,什么都没有,就像它不存在一样。但在源代码中它确实存在 生成的源代码是: Uncaught TypeError: undefined is not a function galleria.js?ln=primefaces&v=4.0:1 $(window).load(function(){PrimeFaces.cw('Galleria','widget_gal',函数, {id:'gal',panelWidth:600,panelHeight:300,cust

没有预览,什么都没有,就像它不存在一样。但在源代码中它确实存在

生成的源代码是:

Uncaught TypeError: undefined is not a function galleria.js?ln=primefaces&v=4.0:1

$(window).load(function(){PrimeFaces.cw('Galleria','widget_gal',函数, {id:'gal',panelWidth:600,panelHeight:300,custom:false},'galleria');});
已解决


我使用的是jquery库,它与primefaces jquery库冲突删除了jquery库,我只使用了primefaces jquery库,它工作得很好

您是否尝试在浏览器中硬刷新页面?是的,我尝试了,这不是问题,我添加了一个jquery库,但它与primefaces库冲突,因此通过删除添加的jquery库解决了这个问题,现在它工作正常
Uncaught TypeError: undefined is not a function galleria.js?ln=primefaces&v=4.0:1
<div id="gal" class="ui-galleria ui-widget ui-widget-content ui-corner-all">
    <ul class="ui-galleria-panel-wrapper">
        <li class="ui-galleria-panel ui-helper-hidden">
            <img id="j_idt8" 
                src="/FindHostpital/images/ib-haytham-1.jpg?pfdrid_c=true" 
                alt="" width="600" height="300" />
        </li>
        <li class="ui-galleria-panel ui-helper-hidden">
            <img id="j_idt8" src="/FindHostpital/images/ibn-haytham-2.jpg?pfdrid_c=true"
                alt="" width="600" height="300" />
        </li>
        <li class="ui-galleria-panel ui-helper-hidden">
            <img id="j_idt8" src="/FindHostpital/images/ibn-haytham-3.jpg?pfdrid_c=true"
                alt="" width="600" height="300" />
        </li>
    </ul>
</div>
<script id="gal_s" type="text/javascript">
    $(window).load(function(){PrimeFaces.cw('Galleria','widget_gal',
        {id:'gal',panelWidth:600,panelHeight:300,custom:false},'galleria');});
</script>