1 Replies Last post: Jul 23, 2008 3:58 PM by Sandor Arpa  
Sandor Arpa   10 posts since
Jan 11, 2008
Currently Being Moderated

Jul 23, 2008 2:26 PM

JsfPortlet/qk_internalResource/teamdev/jsf/renderkit/default.css

Hi Quipukit,

 

I am using quipukit 1.4.3 on jboss-portal-2.6.2.GA with Sun implementation of JavaServer Faces v 1.2MR1

I have two identical portlets with identical web.xml, etc. (Attached)

 


<%@ include file="../taglibs.jsp" %>
&lt;f:view&gt;
&lt;p:portletPage&gt;
&lt;f:loadBundle basename="messages" var="msg" /&gt;
&lt;h:form id="viewcontacts_index"&gt;
&lt;h:messages showDetail="true" styleClass="error" /&gt;
&lt;q:tabSet selectedIndex="#{serviceBean.selectedTabIndex}"
submitOnChange="true" styleClass="styleClass"
emptySpaceClass="emptySpaceClass"
rolloverSelectedTabClass="rolloverSelectedTabClass"
rolloverTabClass="rolloverTabClass"
selectedTabClass="selectedTabClass" tabClass="tabClass"&gt;
&lt;q:tabSetItems value="#{serviceBean.tabs}" /&gt;
&lt;/q:tabSet&gt;
...
&lt;/h:form&gt;
&lt;/p:portletPage&gt;
&lt;/f:view&gt;

 

taglibs.jsp:


<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/portlet/components" prefix="p"%>
<%@ taglib prefix="q" uri="http://teamdev.com/quipukit"%>

 

When the portlets are rendered, one of them has the following line in the source:


  <link type="text/css" rel="stylesheet" href="/CompanyProfilePortlet/JsfPortlet/qk_internalResource/teamdev/jsf/renderkit/default.css"/>

while the other has not.

The rendering of the one with the above line is broken.

As I wrote virtually there is no difference between the portlets code, descriptors, etc. (except for portlet names, etc, of course)

 

I was searching the support forum and I have seen that other people have stumbled upon this problem, but there was no given solution.

 

Any idea why this line appears in one of the pages but not in the other?

 

Thanks in advance!

 

Sandor

Attachments:

More Like This

  • Retrieving data ...