look like we need to do lot of code changes to make this work. I have used another component for achieving the same without much of this. But not sure if it will work with java code.