[JBoss JIRA] Created: (RF-2316) Generated stylesheets sometimes return empty
by cbonami (JIRA)
Generated stylesheets sometimes return empty
--------------------------------------------
Key: RF-2316
URL: http://jira.jboss.com/jira/browse/RF-2316
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Environment: Visat; Jboss 4.2.2; facelets; RichFaces 3.1.4; SEAM 2.0.1
Reporter: cbonami
Priority: Blocker
I have this snippet in my xhtml page:
<rich:panel>
<f:facet name="header">Login</f:facet>
<p>Please login using any username and password</p>
...
</rich:panel>
When the page gets actually rendered, the rich:panel doesn't get 'skinned', i.e. styles cannot be applied because the generated link
<link rel='stylesheet' type='text/css' href='/mazda/a4j_3_1_2.GAcss/panel.xcss/DATB/eAFjlbr0AAAC6gHS' />
returns an empty page.
There are other components that don't get skinned (rich:toolBar, rich:dropDownMenu), but this only happens in Internet Explorer. Those particular skins get well rendered in Firefox.
What's wrong?
This is my web.xml:
<?xml version="1.0" ?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<!-- Ajax4jsf -->
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadScriptStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.richfaces.LoadStyleStrategy</param-name>
<param-value>ALL</param-value>
</context-param>
<!-- Seam -->
<listener>
<listener-class>
org.jboss.seam.servlet.SeamListener
</listener-class>
</listener>
<filter>
<filter-name>Seam Filter</filter-name>
<filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Seam Resource Servlet</servlet-name>
<servlet-class>
org.jboss.seam.servlet.SeamResourceServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Seam Resource Servlet</servlet-name>
<url-pattern>/seam/resource/*</url-pattern>
</servlet-mapping>
<!-- Facelets development mode (disable in production) -->
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<!-- JSF -->
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.seam</url-pattern>
</servlet-mapping>
<security-constraint>
<display-name>Restrict raw XHTML Documents</display-name>
<web-resource-collection>
<web-resource-name>XHTML</web-resource-name>
<url-pattern>*.xhtml</url-pattern>
</web-resource-collection>
<auth-constraint />
</security-constraint>
</web-app>
This is may faces-config.xml:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<lifecycle>
<phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
</lifecycle>
<application>
<locale-config>
<default-locale>en</default-locale>
</locale-config>
<view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
</application>
...
</faces-config>
I'm struggling with this problem for days now, and don't seem to get any further. Stylesheets just return empty... what can I do ?
I cleared my IE cache, etc, etc. Nothing works.
Plz help
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months
[JBoss JIRA] Created: (RF-2497) Filtering: "filterEvent" attribute doesn't work correctly.
by Mikhail Vitenkov (JIRA)
Filtering: "filterEvent" attribute doesn't work correctly.
----------------------------------------------------------
Key: RF-2497
URL: http://jira.jboss.com/jira/browse/RF-2497
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: IE6, IE7, FF, Safari
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1. Add filterEvent attribute is equal to "ondbclick"(for example) inside rich:column tag. Use following code:
<rich:column filterBy="#{data.int1}" sortBy="#{data.int1}"
selfSorted="#{sortingAndFiltering.selfSorted}"
filterEvent="ondblclick">
<f:facet name="header">
<h:outputText value="#2" />
</f:facet>
<h:outputText value="#{data.int1}"></h:outputText>
<f:facet name="footer">
<h:outputText value="#2" />
</f:facet>
</rich:column>
Step 2. Navigate to page contained tested rich:column.
Step 3. Inter any phrase into input box for filtering & make double click on input box. - #1
Step 4. Click out input box & then click on input box for filtering twice again.
Step 5. Clear input box, enter another phrase & make double mouse click on box for filtering - #2
Actual behavior:
#1- Filtering doesn't work; After the 2nd time - filtering feature became work(Step 4);
#2-in case user make filtering, then replace filterValue by another value - filtering doesn't work.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 11 months