• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html page inside <f:view>

 
Ranch Hand
Posts: 101
Spring Flex Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 <t:outputText 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?
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic