jsf - p:fileUpload not working inside p:dialog -


i'm getting wrong or what, same code p:fileupload works fine, when put p:fileupload p:dialog, not working.

<p:dialog id="confirmdialog"   appendtobody="true"                    header="maj fichier fmd"  widgetvar="confirmation">              <h:form enctype="multipart/form-data" >            <h:panelgrid columns="1" cellpadding="5">                      <p:fileupload                        auto="true"                                       fileuploadlistener="#{parserxls.handlefileuploadfmd()}"                      sizelimit="2097152"                      label="choose"                      allowtypes="/(\.|\/)(pdf)$/"                      description="images"/>                      <p:commandbutton id="ok" value="ok" onclick="confirmation.hide()" type="button" />                       </h:panelgrid>                  </h:form>                           </p:dialog>   

what problem here?

the situation looks nested forms problem - if so, remove inner form , try again.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -