[resolvido] primefaces_ modal com p_dialog - front-end - guj

Upload: jura-costa

Post on 28-Feb-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 [RESOLVIDO] Primefaces_ Modal Com P_dialog - Front-End - GUJ

    1/6

    31/05/2016 [RESOLVIDO] Pr im efaces: modal com p:di al og - Fr ont- end - GUJ

    http://www.guj.com.br/t/resolvido-primefaces-modal-com-p-dialog/199230/11 1/6

    GUJ Discusses : ltimos tpicos | categorias | GUJ Respostas

    [RESOLVIDO] Primefaces: modal com p:dialog

    lksJF Dez '12

    Boa tarde!

    Tenho uma pgina xhtml, com um boto "Teste" que chama um p:dialog com o MODAL ativo.

    Porm, quando ele surge, o modal trava toda a aplicao, inclusive o prprio p:dialog, no

    sendo possvel sequer fech-lo.

    O que estou fazendo de errado?

    Pgina xhtml

  • 7/25/2019 [RESOLVIDO] Primefaces_ Modal Com P_dialog - Front-End - GUJ

    2/6

    31/05/2016 [RESOLVIDO] Pr im efaces: modal com p:di al og - Fr ont- end - GUJ

    http://www.guj.com.br/t/resolvido-primefaces-modal-com-p-dialog/199230/11 2/6

  • 7/25/2019 [RESOLVIDO] Primefaces_ Modal Com P_dialog - Front-End - GUJ

    3/6

    31/05/2016 [RESOLVIDO] Pr im efaces: modal com p:di al og - Fr ont- end - GUJ

    http://www.guj.com.br/t/resolvido-primefaces-modal-com-p-dialog/199230/11 3/6

    funcionou.

    O p:dialog continua travando toda a tela...

    Mais alguma sugesto?!

    edubiss Dez '12

    Tenta colocar o type="button" no teu boto que abre a modal.

  • 7/25/2019 [RESOLVIDO] Primefaces_ Modal Com P_dialog - Front-End - GUJ

    4/6

    31/05/2016 [RESOLVIDO] Pr im efaces: modal com p:di al og - Fr ont- end - GUJ

    http://www.guj.com.br/t/resolvido-primefaces-modal-com-p-dialog/199230/11 4/6

    xmlns:ui="http://java.sun.com/jsf/facelets"

    xmlns:p="http://primefaces.org/ui"

    template="/WEBINF/template/template.xhtml">

  • 7/25/2019 [RESOLVIDO] Primefaces_ Modal Com P_dialog - Front-End - GUJ

    5/6

    31/05/2016 [RESOLVIDO] Pr im efaces: modal com p:di al og - Fr ont- end - GUJ

    http://www.guj.com.br/t/resolvido-primefaces-modal-com-p-dialog/199230/11 5/6

    O p:dialog continua travando toda a tela.

    =/

    Valeio_Bezerra Dez '12

    ui:composition xmlns="http://www.w3.org/1999/xhtml"

    xmlns:h="http://java.sun.com/jsf/html"

    xmlns:f="http://java.sun.com/jsf/core"

    xmlns:ui="http://java.sun.com/jsf/facelets"

    xmlns:p="http://primefaces.org/ui"

    template="/WEBINF/template/template.xhtml">

    tente fazer sem essa parte

    Marcelo_de_Andrade Dez '12

    Tente dessa forma: