• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html page inside <f:view>

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get a html page as output from a webservice call. I have to show that on a jsf page. If i give <tutputText value="#{myBean.myVO.htmlForm}"/>, my page is getting displayed with all the html content but my style sheet is not getting applied, menus and tabs are not coming and also i can see some javascript errors. Any suggestions how to include a html page inside a jsf page?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All relative paths inside the HTML (in the <link>, <script>, <a>, <form> etc elements) are relative to the initial request URL.

Either make them absolute or look for another approach, e.g. an iframe or object element.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic