Created
July 2, 2013 22:04
-
-
Save heat/5913640 to your computer and use it in GitHub Desktop.
atualizando apos exibição javascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a4j:commandLink value="notificar" action="#{buscaNotificacoes}" oncomplete="toogleTooltip()" ></a4j:commandLink> | |
<script type="text/javascript"> | |
function toogleTooltip(){ | |
$("div.tooltip.notification").toogle("fast", function() { | |
var isVisible = $(this).is(":visible"); | |
updateToggleTooltip(isVisible); | |
}); } | |
</script> | |
<a4j:form> | |
<a4j:jsFunction name="updateToggleTooltip" reRender=""> | |
<a4j:actionparam name="visible" assignTo="#{Notificacao.toolTipVisible}" /> | |
</a4j:jsFunction> | |
</a4j:form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment