I have a page called upload.jsp with the following upload form
<h:form id="frmUpload" name="frmUpload" enctype="multipart/form-data" >
<h:panelGrid columns="3">
<x:inputFileUpload id="fileupload"
accept="image/*"
value="#{profileForm.upFile}"
storage="file"
required="true"/>
<x:commandLink value="#{msgs['action.upload']}"
action="#{profileForm.upload}">
<f:param name="fileDigest" value="#{bean.fileName}"/>
</x:commandLink>
</h:panelGrid>
</h:form>
As soon as I wrap my form in a tab panel
<x:panelTabbedPane id="ooo" binding="#{profileForm.profileTabbedPane}">
<x:panelTab id="eee" label="#{msgs['profile.tabs.files']}" >
<-----------above form------------->
</x:panelTab>
</x:panelTabbedPane>
the commandLink of my upload form does not work anymore. I click but nothing
happens, because of a javascript error (it looks like I cannot make reference
to elements of the form). If I put a commandButton instead of commandLink,
#{profileForm.upload} is called but #{profileForm.upFile} is null and I
cannot do anything.
Thank you for help
Ciao Francesco