Hi all,
Can someone help me?
I have an issue. I try to create a button "Import File" - which when user click, a file dialog will show up to choose file from client PC.
<af:popup autoCancel="disabled" childCreation="deferred" ...">
<af:dialog id="dlgEdit" ...>
<f:facet name="buttonBar">
<af:commandButton text="Import File" immediate="true" partialSubmit="true" >
...
</af:commandButton>
</f:facet>
I've tried to put an <af:inputFile> into the <af:commandButton> but it didn't work.
I've tried to use Javascript to handle the clientListener of the commandButton but it didn't work, too.
I have try many ways, but nothing right.
Please help!
Thank a lot.
HaiND