Win a copy of Head First Android this week in the Android forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Not able to see content

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Use the Character entity for < and >

Ketan
 
reply
    Bookmark Topic Watch Topic
  • New Topic