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

tooltip: needs a update @form to work #4770

Open
joaopmi opened this issue Apr 29, 2019 · 2 comments

Comments

@joaopmi
Copy link

commented Apr 29, 2019

Hi, i'm making a web page with jsf2.3 and [primefaces 7.0] https://mvnrepository.com/artifact/org.primefaces/primefaces/7.0) and i was thinking in using p:tooltip to display front-end validation messages. The p:tooltip disappear after i update a single component related to it, i need to update the entire form or panel of the inputs to the tooltip work properly and stay normal, so i need to update all the inputs unnecessaries to a single tooltip. There's a way one can update a single component without bugging the tooltip?

Thanks!!!

@joaopmi joaopmi changed the title tooltip: tooltip needs a update @form to work tooltip: needs a update @form to work Apr 29, 2019

@tandraschko

This comment has been minimized.

Copy link
Member

commented Apr 29, 2019

the key is to register the event on the body instead the target component.
see the second solution here: https://stackoverflow.com/questions/13767919/jquery-event-wont-fire-after-ajax-call

@joaopmi

This comment has been minimized.

Copy link
Author

commented Apr 29, 2019

the key is to register the event on the body instead the target component.
see the second solution here: https://stackoverflow.com/questions/13767919/jquery-event-wont-fire-after-ajax-call

i'll try
thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.