Hi zaizi, thanks for the reply!
The customer wants to upload a content and set the content's metadatas within the same form. By now, Alfresco allows to separately set metadatas by clicking "edit metadata" once the file has been uploaded.
So I've customized the upload interface by putting the custom form inside the upload panel (using component/form service). Obviusly in this way I have 2 submit buttons: one for the upload task, and one for the custom form. I've chosen to hide the last one (with css). By clicking on the upload button, the file is loaded into the repository and, FORTUNATELY, the flash-upload components retrieves the nodeRef of the uploaded content. In this moment I've to fire the custom form submit, in a programmatic way.
How do you could do this instead?
Thanks again.
Roberto