| From | Sent On | Attachments |
|---|---|---|
| joshna | Dec 6, 2007 4:54 am | |
| Karthik Sudarshan | Dec 6, 2007 5:26 am |
| Subject: | diffs for "CMS: Article Viewer portlet doesnt parse HTML content" bug | |
|---|---|---|
| From: | joshna (Josh...@Sun.COM) | |
| Date: | Dec 6, 2007 4:54:31 am | |
| List: | net.java.dev.mirage.dev | |
Hi
Index: web/jsp/article.jsp =================================================================== --- web/jsp/article.jsp (revision 73) +++ web/jsp/article.jsp (working copy) @@ -8,17 +8,23 @@ <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
- -<f:view> - <h:form> - <h:messages showDetail="true"/> - <h:commandLink value="Show Article List" action="goToList" /> - <br/><br/> - <b> <h:outputText value="#{ArticleListBean.selectedArticle.title}" /> </b> - <hr> - <h:outputText value="#{ArticleListBean.selectedArticle.summary}" /> - <hr> - <h:outputText value="#{ArticleListBean.selectedArticle.content}" /> +<html> + <head>
- </h:form> -</f:view> + </head> + <body> + <f:view> + <h:form> + <h:messages showDetail="true"/> + <h:commandLink value="Show Article List" action="goToList" /> + <br/><br/> + <b> <h:outputText value="#{ArticleListBean.selectedArticle.title}" /> </b> + <hr> + <h:outputText value="#{ArticleListBean.selectedArticle.summary}" escape="false" /> + <hr> + <h:outputText value="#{ArticleListBean.selectedArticle.content }" escape="false" /> + + </h:form> + </f:view> + </body> +</html> \ No newline at end of file Index: web/WEB-INF/faces-config.xml =================================================================== --- web/WEB-INF/faces-config.xml (revision 73) +++ web/WEB-INF/faces-config.xml (working copy) @@ -49,7 +49,7 @@ --> </navigation-rule> <navigation-rule> - <from-view-id>/WEB-INF/jsp/article.jsp</from-view-id> + <from-view-id>/jsp/article.jsp</from-view-id> <navigation-case> <from-outcome>goToList</from-outcome> <to-view-id>/jsp/articleList.jsp</to-view-id>





