Closed rmpestano closed 6 years ago
It was integrated in admin-template on version RC15
Hi @rmpestano , Thanks for your template, I tried to add Control Sidebar but when i click to display it, nothing occurs, I follow your tutos, I'm using both admin-theme-1.0.0-RC11 and admin-theme-1.0.0-RC15
Thanks
Hi @YahiaZZ, you need to use admin-template RC15 and theme RC15, it will not work with RC11. Also you need to enable it on src/main/resources/admin-config.properties.
If you have a sample project which reproduces the issue I'll be able to help further.
Hi, Thank you @rmpestano for your answer, I enable it in src/main/resources/admin-config.properties, but when i use only admin-template RC15 without RC11 , the dropdown menus not work (when i click nothing happens) Thanks
Maybe It is browser cache? There is no reason for dropdowns stop working on RC-15. Do you see any javascript errors on firebug?
Hi,
I cleared browser cache, and strangely there is no javascript errors on firebug.
I don't use maven, I just added admin-theme-1.0.0-RC15.jar to lib, I didn't have this issue when I'm using RC11
the problem is in right menu (<li class="treeview">
))
When I use <a href="#">
doesn't work
Thanks
Can you create a minimal project which reproduces the issue? it can be a NetBeans/Eclipse based project, just zip and attach it here.
Hi @rmpestano Sorry for disturbing you, Please find attached eclipse project Test.zip
Hi, there're a lot of problems with your application, I'll enumerate them:
I have no time to fix them, I'd recommend you to use https://github.com/adminfaces/admin-starter-tomcat, it has all of the above working. The only "problem" is that it uses maven which I also recommend.
Also if you chose to run your application on a JavaEE application server instead of Tomcat (like Wildfly or Tomee) the steps 2, 3 and 5 are not needed.
I hope it helps.
PS: If you don't want to use maven you can convert admin-starter-tomcat to eclipse based project, see here.
Hi @rmpestano
Thanks for your detailed answer,
I recreate the project with maven, but when I tried to run it it makes java.util.zip.ZipException: invalid LOC header (bad signature)
error all the times, and I ndidn't find any solution to this.
Can we use only primefaces without omnifaces?
Thanks
Hi,
for the java.util.zip.ZipException
, run mvn -U clean package to update dependencies. If it doesnt work, remove the folder .m2 located under your operating system user.
Can we use only primefaces without omnifaces? yes but Omnifaces provides a lot of utilities to JSF applications.
Hi, when i enable controlside bar in adminfaces , the page is getting refreshed indefinetly. Can some one help me out with this?
my admin config : admin.renderControlSidebar=true
top-bar.xhtml:
<a id="layout-setup" href="#" title="Setup layout options." data-toggle="control-sidebar">
<i class="fa fa-gears"></i>
</a>
Could I be missing something?
Hi, what's the version of adminfaces? Can you share a sample project which reproduces the issue?
Hi, My adminfaces template is RC20
Can you reproduce on admin-starter project?
2019-01-13 02:37:18,784 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-7] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,089 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-5] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:19,384 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-4] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,385 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-4] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,425 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-7] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,426 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-7] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,506 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-6] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:19,513 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-6] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,514 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-6] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:19,798 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-10] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:20,115 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-8] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,116 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-8] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,149 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-5] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,150 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-5] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,223 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-9] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:20,241 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-9] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,241 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-9] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,446 DEBUG com.zaxxer.hikari.pool.HikariPool [HikariPool-1 housekeeper] HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0) 2019-01-13 02:37:20,530 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-7] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:20,827 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-7] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,827 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-7] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,870 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-9] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,871 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-9] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,944 WARN org.omnifaces.resourcehandler.CombinedResourceInfo [http-nio-8082-exec-4] CombinedResourceHandler: The resource css:starter.css cannot be found and therefore a 404 will be returned for the combined resource ID eNpLLi62Ki5JLCpJLdJLLi6uKSjKzE1NS0xOLbZKzs8tyM9LzSspBskAAFx2EJI 2019-01-13 02:37:20,952 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-4] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead. 2019-01-13 02:37:20,952 INFO org.primefaces.component.messages.MessagesRenderer [http-nio-8082-exec-4] autoUpdate attribute is deprecated and will be removed in a future version, use p:autoUpdate component instead.
this is the error trace i get
not able to reproduce the error in admin-starter
Will the above be of any help in solving the problem?
I don't think so, do you see any javascript errors?
The best way to get your issue fixed is to share a simple project which reproduces the issue.
see AdminLTE control sidebar.
PS: It is already integrated in Admin Showcase.