Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
header improved; small language corrections, some formatting
Source Link
Jens Piegsa
  • 7.5k
  • 6
  • 64
  • 110

Include static HTML File(invalid XHTML) file to JSF Facelets

I have the following problem, We have web content manager [WCM](WCM) running at remote host, which is responsible for generating header &and footer HTML files. i.e. header.html, footer.html. The HTML files are not properly formatted syntax wise, WCM generated files have

  1. Space character ( ) -->🡢 it is not allowed in xhtmlXHTML.
  2. Non Closing break line (<br>) tags. --> 🡢 it is invalid in XHTML.

So the WCM Generatedgenerated HTML pages are might not be a valid XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header &and footer files. canCan we include the non-formatted HTML files into our XHTML files  ?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 

Include static HTML File to JSF Facelets

I have the following problem, We have web content manager [WCM] running at remote host, which is responsible for generating header & footer HTML files. i.e. header.html, footer.html The HTML files are not properly formatted syntax wise, WCM generated files have

  1. Space character (&nbsp;) --> it is not allowed in xhtml.
  2. Non Closing break line (<br>) tags. --> it is invalid in XHTML.

So the WCM Generated HTML pages are might not be a valid XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header & footer files. can we include the non-formatted HTML files into our XHTML files  ?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 

Include static HTML (invalid XHTML) file to JSF Facelets

I have the following problem, We have web content manager (WCM) running at remote host, which is responsible for generating header and footer HTML files. i.e. header.html, footer.html. The HTML files are not properly formatted syntax wise, WCM generated files have

  1. Space character (&nbsp;) 🡢 it is not allowed in XHTML.
  2. Non Closing break line (<br>) tags 🡢 it is invalid in XHTML.

So the WCM generated HTML pages might not be valid XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header and footer files. Can we include the non-formatted HTML files into our XHTML files?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 
edited tags
Link
BalusC
  • 1.1m
  • 377
  • 3.7k
  • 3.6k
corrected spellings, improved wording.
Source Link
uday
  • 315
  • 3
  • 7
  • 17

I have the following problem, We have a web content manager [WCM] in arunning at remote host, which is responsible for generating header & footer HTML files. i.e. header.html, footer.html TheseThe HTML files are not properly formatted syntax wise, i mean it is not like XHTML ages. WCMWCM generated files have

  1. Space character (&nbsp;) --> it is not allowed in xhtml.
  2. Non Closing break line (<br>) tags like that. --> it is not validinvalid in XHTML.

But theseSo the WCM Generated HTML pages are invalid inmight not be a valid XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header & footer files. can we include the non-formatted HTML files into our XHTML files ?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 

I have the following problem, We have a web content manager [WCM] in a remote host, which is responsible for generating header & footer HTML files. i.e. header.html, footer.html These HTML files are not properly formatted syntax wise, i mean it is not like XHTML ages. WCM generated files have

  1. Space character (&nbsp;) --> it is not allowed in xhtml.
  2. Non Closing break line (<br>) tags like that. --> it is not valid in XHTML.

But these are invalid in XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header & footer files. can we include the non-formatted HTML files into our XHTML files ?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 

I have the following problem, We have web content manager [WCM] running at remote host, which is responsible for generating header & footer HTML files. i.e. header.html, footer.html The HTML files are not properly formatted syntax wise, WCM generated files have

  1. Space character (&nbsp;) --> it is not allowed in xhtml.
  2. Non Closing break line (<br>) tags. --> it is invalid in XHTML.

So the WCM Generated HTML pages are might not be a valid XHTML pages.

We are implementing some of our applications in JSF, where we need to include the WCM generated header & footer files. can we include the non-formatted HTML files into our XHTML files ?

commonTemplate.xhtml

<html> <head> ..........; </head> <body> <ui:include src="remote_host/header.html" /> <ui:insert name="commonBodyContent" /> <ui:include src="remote_host/footer.html" /> </body> </html> 
removed the <pre> tags on the main text; edited body; deleted 2 characters in body
Source Link
Adi
  • 5.2k
  • 6
  • 35
  • 48
Loading
Loading
improved formatting
Source Link
uday
  • 315
  • 3
  • 7
  • 17
Loading
Source Link
uday
  • 315
  • 3
  • 7
  • 17
Loading