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

click on disabled <b:commandButton> force a page reload #208

Closed
Kristover opened this issue Dec 4, 2015 · 3 comments
Closed

click on disabled <b:commandButton> force a page reload #208

Kristover opened this issue Dec 4, 2015 · 3 comments
Assignees
Milestone

Comments

@Kristover
Copy link

When you click on < p:commandButton > with disabled="true", nothing appear. OK.
When you click on < b:commandButton > with disabled="true", a page reload occurs, which would imply some unwanted comportment

using BootsFaces 0.7.0

    <h:body onload="alert('onload');">
         <b:container fluid="true">
         <b:row><b:column col-lg="10">
         <h:form>
             <h:outputText value="Disabled TEST" />
             <b:commandButton disabled="true" value="test B" 
                               action="# {usersCtrl.doSomething}"  />

             <p:commandButton disabled="true" value="test P"
                               action="# {usersCtrl.doSomething}" />
         </h:form>
         </b:column></b:row>
         </b:container>
      </h:body>
@stephanrauh
Copy link
Collaborator

First of all, thank you very much for your detailed error description. This helps us a lot to trace down the error.

Actually, we've probably fixed the bug in version 0.8.0. See #142. Would you mind to use the developer snapshot of version 0.8.0 and tell us if the bug still occurs? You'll find detailed download instructions at #151.

@stephanrauh stephanrauh added the bug label Dec 4, 2015
@stephanrauh stephanrauh added this to the v0.8.0 milestone Dec 4, 2015
@stephanrauh stephanrauh self-assigned this Dec 4, 2015
@ahofmeister
Copy link
Contributor

I can tell, that the bug got fixed in 0.8.0-SNAPSHOT. (At least for me!)

@stephanrauh
Copy link
Collaborator

OK, thanks for reporting back!

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

3 participants