How to convert html into .view pages

I have HTML pages with controls. I would like to convert those html pages into .view so that i can use them in my portlet. If i can do so, i don’t need to design the .view from the scracth.

Any ideas would be greately appricaited.



Converting HTML pages into view pages is not as simple and direct as you may think. You not only need to generate the view, but you will probably want to add the bindings for it, update the faces-config.xml file…

If the number of pages you have is not so big, I would recommend to develop your views from scratch.

If you still want to convert your pages, I would go for a simple XSLT transformation.