-
1. Re: Problem rendering richfaces components, js code not generating!
ilya_shaikovsky Nov 17, 2010 11:04 AM (in response to gunners007)show more code and application settings. it should works as you hoping ideally. so seems some configuration problems.
-
2. Re: Problem rendering richfaces components, js code not generating!
gunners007 Nov 18, 2010 2:44 AM (in response to ilya_shaikovsky)Hey,
thanks a tonne for your reply.
Am trying a portlet on WAS.
This is how the jsp looks like ...
<%-- jsf:pagecode language="java" location="/src/pagecode/JasiRichfacesOnWAS7View.java" --%><%-- /jsf:pagecode --%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@page language="java" contentType="text/html"
pageEncoding="ISO-8859-1" session="false"%><portlet:defineObjects />
<link rel="stylesheet" type="text/css" title="Style"
href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>'>
<f:view>
<p>Place content here.</p>
<hx:scriptCollector id="scriptCollector1">
<h:form styleClass="form" id="form1">
<rich:calendar styleClass="calendar" id="calendar1"></rich:calendar>
</h:form>
</hx:scriptCollector>
</f:view>
The resultant page doesnt render the calendar properly cos as I pointed out earlier, there is no code generated to link up to css or js.
Do you wish to see any particular code or setting?
Thanks once again in advance!
<%-- jsf:pagecode language="java" location="/src/pagecode/JasiRichfacesOnWAS7View.java" --%><%-- /jsf:pagecode --%><%@page language="java" contentType="text/html"pageEncoding="ISO-8859-1" session="false"%><portlet:defineObjects /><link rel="stylesheet" type="text/css" title="Style"href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>'><f:view><p>Place content here.</p><hx:scriptCollector id="scriptCollector1"><h:form styleClass="form" id="form1"><rich:calendar styleClass="calendar" id="calendar1"></rich:calendar></h:form></hx:scriptCollector></f:view> -
3. Re: Problem rendering richfaces components, js code not generating!
ilya_shaikovsky Nov 19, 2010 4:01 AM (in response to gunners007)it's about portal environment? We have some notes in skinning section about portals and also I would suggest you to look to portletBridge project samples.