aspose file tools*
The moose likes JSF and the fly likes Not able to see content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Not able to see content" Watch "Not able to see content" New topic
Author

Not able to see content

Gaurav Ram
Ranch Hand

Joined: Feb 23, 2008
Posts: 32
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.
Ketan Jambhekar
Ranch Hand

Joined: Mar 26, 2007
Posts: 37
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

Joined: Feb 23, 2008
Posts: 32
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

Joined: Mar 26, 2007
Posts: 37
Sorry shouldnt have used code tag..
nyways use this <Included Page>

Ketan
Ketan Jambhekar
Ranch Hand

Joined: Mar 26, 2007
Posts: 37
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

Joined: Mar 26, 2007
Posts: 37
Use the Character entity for < and >

Ketan
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Not able to see content