-
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
updating component referenced with id after onselect ajax method call on b:dataTable is not working #906
Comments
What happens if you wrap the second datatable in a |
As for |
Weird bug. The root cause is that the search expression As a workaround, |
Well, the workaround did the job for me. |
i normally just update |
Maybe <b:remoteCommand name="updateSkills" action="#{ bean.dummy }"
ajax="true" update="skills_table">
<b:dataTable ...
onselect="ajax:controller.onSelect(admin);javascript:updateSkills()" ....>
.... may help. |
…ound even if they are in the parent naming container
Got it! Unfortunately, the bug is correct according to the specification. Datatable is a naming container, so @mtvweb Your solution works because the remote command is outside the datatable, hence in another naming container. |
I've uploaded a new version of the developer snapshot to Maven Central. #369 shows how to get it. |
Hi,
i'm trying to call a backing bean method after selecting a row in b:datatable and updating another b:datatable with id reference. I tried like this:
After selecting a row the method executes, but unfortunately the another table is not updating and on the browser's console i get this error:
If i change the update param to @Form, the error disappears and the form is updating.
I also tried calling the event this way:
This way i get an exception on server side:
javax.servlet.ServletException: /pages/private/admin.xhtml @10,109 <p:ajax> Event:select is not supported.
My Bootsfaces version is 1.2.0
The text was updated successfully, but these errors were encountered: