Skip to content
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

How to delete the loading bar? #3

Open
HR1n0 opened this issue Dec 17, 2019 · 5 comments
Open

How to delete the loading bar? #3

HR1n0 opened this issue Dec 17, 2019 · 5 comments

Comments

@HR1n0
Copy link

HR1n0 commented Dec 17, 2019

I would like to know, as the title suggests, how to delete the loading bar when loading items such as a "datatable".

@rmpestano
Copy link
Contributor

Hi @HR1n0, look at bullet number 6 here.

@HR1n0
Copy link
Author

HR1n0 commented Dec 17, 2019

ok thanks, but if i want to disable only for a single page ?
In particular I would like to remove the loading bar only from the datatable filter.

@rmpestano
Copy link
Contributor

Not for now, I'll add a variable with so it can be used on pages, ex:

<ui:define name="renderAjaxStatus" value="true">

@HR1n0
Copy link
Author

HR1n0 commented Dec 17, 2019

Thank you very much for your help, I will wait for this improvement. Meanwhile, I congratulate you.

@rmpestano
Copy link
Contributor

Hi, can you try with admin-template version 1.0.3-SNAPSHOT?

To use you have to enable maven snapshots on you pom.xml:

<repositories>
    <repository>
        <snapshots/>
        <id>snapshots</id>
        <name>libs-snapshot</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
</repositories>

to disable the loading on the page just use <ui:param name="renderAjaxStatus" value="false">

Like in this showcase page: https://github.com/adminfaces/admin-showcase/blob/8a4590982d41db1e5fc6be5d3fcb5aa0863dd08d/src/main/webapp/pages/components/autocomplete.xhtml#L9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants