Edit attached file on line

Dear All,
I need some advice. We need to implement a solution that allows the edit online of attached files as sharepoint does, but using open source frameworks. Is Vaadin integrated with some tool like this? Does exist a custom control ?(we use JBoss server)
Many thanx in advance.
Regards.
Marco