-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BootsFaces 0.8.1 Primeface5.3 b:dataTable bug? #360
Comments
Could you provide a minimal example for us to reproduce this issue? |
@zhedar my maven is
Primefaces 5.3 my code
|
Thanks for the feedback. |
@zhedar sorry my maven version 0.8.0. Version 0.8.1 not under maven |
my using the <dependency>
<groupId>net.bootsfaces</groupId>
<artifactId>bootsfaces</artifactId>
<version>0.8.2-SNAPSHOT</version>
<scope>compile</scope>
</dependency> But there are still problems :
eNrLSix...2907000 (第 3452 行,第 1 列) <table id="formId:dataTableId" class="table table-striped table-bordered" cellsp... orderView.xhtml (第 8 行,第 1 列)
my code: <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:b="http://bootsfaces.net/ui"
xmlns:f="http://xmlns.jcp.org/jsf/core">
<h:head>
<title>Demo1</title>
</h:head>
<h:body>
<h:form id="formId">
<b:dataTable id="dataTableId" />
</h:form>
</h:body>
</html> |
I'm afraid I can reproduce your problem with BootsFaces-0.8.2-SNAPSHOT. I've even uploaded a running version of your code snippet to the showcase: |
@stephanrauh my web.xml config:
|
@stephanrauh I don't have exclude JQuery, |
@stephanrauh I can't see the error on the Showcase, neither in Safari nor Chrome, did you change anything? |
@stephanrauh @zhedar |
error: |
Normally you won't need to manually include jquery, it should be included automatically. |
@zhedar |
@sjljsw i've tryied your code on my environment and i haven't found any problem (obviously with 0.8.2-SNAPSHOT). Starting from v0.8.2 we doesn't explicitly load the jquery resource inside single component, because we choose to load it by default (in combination with bsf.js). So, if you use the latest version, jquery must be present by default. |
@asterd Can I see your web. The configuration of XML and XHTML page code |
@sjljsw Did you try to drop all BootsFaces related parameters yet and run it 'vanilla', so without any further configuration? |
@zhedar What do you mean to give up all of the configuration? |
@sjljsw i use your same web.xml params:
|
@asterd |
Let's try two other things. First, please clone our showcase (https://github.com/TheCoder4eu/BootsFacesWeb) and deploy it on your Tomcat. It's a simple Maven application, so you should be able to do this in five minutes. After starting your Tomcat, test the demo (http://127.0.0.1:8080/BootsFacesWeb/issues/issue360.jsf). It should run fine. If it does, you can begin to compare our project setup to your project setup until you find the bug. Second, please send us the HMTL source code and a screenshot of your browsers network tab (in the F12 tools). It should look like so: |
@zhedar You can't see any bug in my showcase demo because I didn't manage to reproduce the bug :). |
@stephanrauh So this should have said can not instead of can?
I was wondering, what the difference was then, but if you couldn't reproduce it, we're all clear. |
@stephanrauh OK,But, I still continue to use PrimeFaces DataTable temporarily |
I suggest we close the bug because we didn't manage to reproduce it despite trying hard to do so. @sjljsw I suggest you create a small GitHub repository hosting your non-functional source code. It should be a minimal demo - just the basic files like the pom.xml, the web.xml, the faces-config.xml and the index.html. Once you've done that, and we've managed to reproduce the bug using your repository, we'll happily re-open this ticket. Thanks! |
@stephanrauh OK , THANKS |
The current problem of is the default use b: dataTable times (ReferenceError: jQuery is not defined) and (ReferenceError: $is not defined) 。
<h:outputScript library="bsf" name="jq/jquery.js"/>
-》,Error: Syntax error, unrecognized expression: unsupported pseudo: j_idt15The text was updated successfully, but these errors were encountered: