[JBoss JIRA] Created: (RF-10562) a4j:mediaOutput as a download link does not work inside a facelets ui:include
by Alex Winizki (JIRA)
a4j:mediaOutput as a download link does not work inside a facelets ui:include
-----------------------------------------------------------------------------
Key: RF-10562
URL: https://issues.jboss.org/browse/RF-10562
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Environment: Server and client OS: Ubuntu 10.04 Desktop, 64 bit, Firefox 3.6.13
Reporter: Alex Winizki
If a download link created with a4j:mediaOutput is used inside a facelets ui:include
then clicking on the link causes an exception. Maybe this is a facelets bug, but I cannot check this.
Example:
Main File:
<ui:include src="/view/mediaoutput.xhtml">
<ui:param name="handler" value="#{mainBean.downloadHandler}"/>
</ui:include>
mediaoutput.xhtml:
<a4j:mediaOutput element="a" createContent="#{handler.createContent}">
<h:outputText value="Broken Download"/>
</a4j:mediaOutput>
Used JAR versions:
commons-beanutils-1.8.0.jar
commons-collections-3.2.jar
commons-digester-1.8.1.jar
commons-logging-1.0.4.jar
jsf-api-1.2_13.jar
jsf-facelets-1.1.15.jar
jsf-impl-1.2_13.jar
jstl-1.2.jar
richfaces-api-3.3.3.Final.jar
richfaces-impl-3.3.3.Final.jar
richfaces-ui-3.3.3.Final.jar
Stacktrace:
18.02.2011 10:32:38 org.ajax4jsf.resource.ResourceBuilderImpl getResourceDataForKey
SCHWERWIEGEND: Data class for restore not found
java.lang.ClassNotFoundException: com.sun.facelets.el.TagValueExpression
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:621)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1592)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at java.util.HashMap.readObject(HashMap.java:1047)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:991)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1865)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at org.apache.el.lang.VariableMapperImpl.readExternal(VariableMapperImpl.java:50)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1809)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1768)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at org.apache.el.MethodExpressionImpl.readExternal(MethodExpressionImpl.java:294)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1809)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1768)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at com.sun.facelets.el.TagMethodExpression.readExternal(TagMethodExpression.java:101)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1809)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1768)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceDataForKey(ResourceBuilderImpl.java:381)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:156)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:508)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:636)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] Created: (RF-10557) In the ExtendedDataTable sorting does not work properly when enableContextMenu is equal to false
by Paulo Pinto (JIRA)
In the ExtendedDataTable sorting does not work properly when enableContextMenu is equal to false
------------------------------------------------------------------------------------------------
Key: RF-10557
URL: https://issues.jboss.org/browse/RF-10557
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 3.3.3.Final
Reporter: Paulo Pinto
When using an Extended Data Table, if the menu is disabled by *enableContextMenu* to *false*, sorting does not work properly.
By not working properly, I mean that if the user clicks in the area which used to be placed the context menu, no sorting happens.
This leads to the strange behavior that sorting is only triggered if the users gets the mouse more to the left, away from the context menu area.
By looking at the generated HTML, it seems that even with the menu disabled, a HTML snippet gets generated without any _onclick_ events. This leads to a column with the same width as when the menu is enabled, but with an area that does not produce any sorting event.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months