É uma exibição de menu de sobreposição exibida principalmente com o clique com o botão direito.
$render[0]='alerta';
if($_POST['source']=="salvar"){
$sumary='Salvar';
$detail='Dados Salvos';
}
if($_POST['source']=="atualizar"){
$sumary='Atualizar';
$detail='Dados Atualizados';
}
$resposta='
<span id="alerta" class="ui-growl-pl" data-widget="widget_alerta" data-summary="data-summary" data-detail="data-detail" data-severity="all,error" data-redisplay="true"></span>
<script id="alerta_s" type="text/javascript">
DinarteCoelho.cw("Growl", "widget_alerta", {
id: "alerta"
, sticky: false
, life: 6000
, escape: true
, keepAlive: false
, msgs: [{
summary: "'.$sumary.'"
, detail: "'.$detail.'"
, severity: "info"
, severityText: "Information"
}]
});
</script>
';
dc.cw("Growl", "widget_alerta", {
id: "alerta"
, sticky: false
, life: 6000
, escape: true
, keepAlive: false
, msgs: []
});
dc.cw("ContextMenu", "widget_menu_contexto", {
id: "menu:contexto"
});