-
1. Re: Not able to render the Panel
skrlswamy Apr 3, 2007 1:05 PM (in response to skrlswamy)Hi,
I could solve this problem by putting the content in between<f:verbatim></f:verbatim>
tag. By the way I just would like to know why this is a problem?
And one more problem what I have observed is when I placed the panel down under a tree panel, after expanding the panel, the panel is being pushed down as expected, but after collapsing the tree, the panel is not going up to its original location. -
2. Re: Not able to render the Panel
sergeysmirnov Apr 3, 2007 2:14 PM (in response to skrlswamy)"skrlswamy" wrote:
Hi,
I could solve this problem by putting the content in between<f:verbatim></f:verbatim>
tag. By the way I just would like to know why this is a problem?
The problem is in the JSF 1.1 implementation. It just works like that. Use 1.2 or facelets."skrlswamy" wrote:
And one more problem what I have observed is when I placed the panel down under a tree panel, after expanding the panel, the panel is being pushed down as expected, but after collapsing the tree, the panel is not going up to its original location.
Post the code snippets for this case, please. -
3. Re: Not able to render the Panel
skrlswamy Apr 3, 2007 4:08 PM (in response to skrlswamy)Following is the code snippet :
<f:view> <h:form> <div class="sample-container"><rich:tree switchType="client" style="width:300px" value="#{topology.data}" var="item" nodeFace="#{item.type}" icon="images/network_region_tree.gif" iconLeaf="images/ovt.jpg"> <rich:treeNode type="root"> <h:outputText value="#{item.name}" /> </rich:treeNode> <rich:treeNode type="node"> <h:outputText value="#{item.name}" /> </rich:treeNode> <rich:treeNode type="region"> <h:outputText value="#{item.name}" /> </rich:treeNode> </rich:tree></div> <div> <rich:panel> <f:facet name="header"> <f:verbatim > Header </f:verbatim> </f:facet> <f:verbatim> content text content text content text content text content text content text content text content text </f:verbatim> </rich:panel> <br/> </div> </h:form> </f:view>
-
4. Re: Not able to render the Panel
skrlswamy Apr 23, 2007 3:06 AM (in response to skrlswamy)Hi,
this is happening only in Internet Explorer, but working fine in FireFox. -
5. Re: Not able to render the Panel
sergeysmirnov Apr 23, 2007 1:55 PM (in response to skrlswamy)do you use RichFaces 3.0.0 or one of the latest 3.0.1 snapshot (the same question about Ajax4jsf)
-
6. Re: Not able to render the Panel
skrlswamy Apr 24, 2007 1:02 PM (in response to skrlswamy)Hi I'm using following versions:
ajax4jsf - 1.1.0
richfaces -3.0.0
JSF - 1.2
jstl - 1.2
However, now I've migrated to use facelets (facelets-1.1.12). Now this is working fine in IE and not working at all in FireFox. I'm getting error in FireFox saying "Invalid entity". There is no error on server side, just the browser (FireFox) is not able to render the output. It is working fine in IE (even the problem stated in earlier posts). I'm quite worried about these kind of problems because I have evaluated the technologies to be used in our project and proposed.
Thanks
Swamy S -
7. Re: Not able to render the Panel
sergeysmirnov Apr 24, 2007 1:25 PM (in response to skrlswamy)check richfaces 3.0.1 and Ajax4jsf 1.1.1 snapshots
-
8. Re: Not able to render the Panel
skrlswamy Apr 24, 2007 4:37 PM (in response to skrlswamy)Can you please let me know from where can I download these snapshots?
-
10. Re: Not able to render the Panel
skrlswamy Apr 26, 2007 11:11 AM (in response to skrlswamy)Hi,
I could trace it out why it is a problem in FireFox. In my page there were special characters (danish). When I was not using, Facelets my page was a jsp page and I have<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
When I have converted that one into an XHTML page I have added a meta tag<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
. Still the problem persits. But when I removed the special characters in my page, it is diplaying correctly. What more headers do I need to set?
Thanks
Swamy S -
11. Re: Not able to render the Panel
skrlswamy Apr 29, 2007 6:27 AM (in response to skrlswamy)Hi,
Now It is working fine.
I have to add following code to <f:view /> tag:<f:view contentType="text/html; charset=ISO-8859-1" pageEncoding="UTF-8">
Thanks alot for the help. I'll check with released versions of richfaces(3.0.0) and ajax4jsf(1.1.0) and add my comments.