• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Not able to see content  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have one JSF page and in that i am including other JSF page whos content is this:

As you notice in above code in verbatim tag i have write the string in <> tag....Now the problem is that in main page i am not able to see any content but when i remove <> this from String it works fine.

Can you please tell me that what should i do.
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not sure if i understood your question correctly. But if you are asking why you dont see "Included Page" in your JSP, the reason is that any thing present inside f:verbatim should be a valid HTML.

is not a valid HTML tag. So you dont see the output on the page.

So once you remove <> it works fine.

Ketan
 
Gaurav Ram
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much sir for replying.

Yes sir you said correctly that i am not able to see the data of included page in my main page as it does not have valid HTML, but what should i do if i have to show the data in that format only i.e. <Include Page>

Thanks,
Gaurav
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry shouldnt have used code tag..
nyways use this <Included Page>

Ketan
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry !!
Just view source the "<Included Page>" part and you will realize what i am trying to say.
The site is converting it into HTML and displaying the result.
Hint: use < and > followed by semi colon
I hope it is clear.
Sorry for the confusion.

Ketan
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the Character entity for < and >

Ketan
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!