[JBoss JIRA] Created: (RF-8877) Incomplete resource names inside the developer guide for <rich:fileUpload/> component.
by Navor Nuñez Peredo (JIRA)
Incomplete resource names inside the developer guide for <rich:fileUpload/> component.
--------------------------------------------------------------------------------------
Key: RF-8877
URL: https://jira.jboss.org/browse/RF-8877
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 3.3.3.Final
Reporter: Navor Nuñez Peredo
Priority: Minor
When I was looking the documentation of *<rich:fileUpload/>* component inside the *http://docs.jboss.org/richfaces/3.3.X/3.3.3.Final/en/devguide/html/rich_fileUpload.html*, I seen the internationalization resource keys, but cannot found the resource key for "Done" label, so a tried with some values and then I found the properly resource key for "Done" label that it would *RICH_FILE_UPLOAD_DONE_LABEL*, but this resource key isn't described inside the documentation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (RF-10794) a4j:status doesn't work with current myfaces implementation
by Rene O (JIRA)
a4j:status doesn't work with current myfaces implementation
-----------------------------------------------------------
Key: RF-10794
URL: https://issues.jboss.org/browse/RF-10794
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.CR1
Reporter: Rene O
Priority: Minor
a4j:status doesn't work with current myfaces implementation (myfaces-impl-2.0.5-20110320.005844). Please note: it works with myfaces 2.0.4
To reproduce this issue see attached testcase-war. Start with http//:localhost:8080/jsf2testcase/status.jsf
Status-Image should appear after keyup-event in inputfield
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (RF-10792) Error in conversion Java Object to JavaScript
by Lukas Fryc (JIRA)
Error in conversion Java Object to JavaScript
---------------------------------------------
Key: RF-10792
URL: https://issues.jboss.org/browse/RF-10792
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: base functionality
Affects Versions: 4.0.0.Final
Environment: RichFaces 4.0.0.Final r.22269
Metamer 4.0.0.Final
Mojarra 2.0.3-b05
JBoss AS 6.0.0.Final
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 10.0.648.151 @ Linux x86_64
Reporter: Lukas Fryc
When exposing Employee instance from Metamer to page via a4j:commandButton's @data attribute, it fails to serialize bean to JSON.
You need to modify page, see [Steps to Reproduce].
16:01:10,332 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] Error Rendering View[/components/a4jCommandButton/simple.xhtml]: javax.faces.FacesException: Error in conversion Java Object to JavaScript
at org.ajax4jsf.javascript.ScriptUtils.appendScript(ScriptUtils.java:193) [:4.0.0.Final]
at org.ajax4jsf.javascript.ScriptUtils.appendScript(ScriptUtils.java:205) [:4.0.0.Final]
at org.ajax4jsf.javascript.ScriptUtils.appendScript(ScriptUtils.java:205) [:4.0.0.Final]
at org.ajax4jsf.javascript.ScriptUtils.toScript(ScriptUtils.java:239) [:4.0.0.Final]
at org.richfaces.renderkit.AjaxDataSerializerImpl.asString(AjaxDataSerializerImpl.java:33) [:4.0.0.Final]
at org.richfaces.renderkit.util.CoreAjaxRendererUtils.renderAjaxExtensions(CoreAjaxRendererUtils.java:128) [:4.0.0.Final]
at org.richfaces.context.ExtendedPartialViewContextImpl.renderExtensions(ExtendedPartialViewContextImpl.java:437) [:4.0.0.Final]
at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:290) [:4.0.0.Final]
at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:206) [:4.0.0.Final]
at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:968) [:2.0.3-]
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643) [:2.0.3-]
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:378) [:2.0.3-]
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-]
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-]
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-]
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93) [:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) [:6.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
Caused by: java.lang.NoSuchMethodException: Read method for property 'maxValue' not found
at org.ajax4jsf.javascript.PropertyUtils.readPropertyValue(PropertyUtils.java:77) [:4.0.0.Final]
at org.ajax4jsf.javascript.ScriptUtils.appendScript(ScriptUtils.java:190) [:4.0.0.Final]
... 39 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (RF-10259) Richfaces-showcase: GAE start time decreasing
by Ara Minosian (JIRA)
Richfaces-showcase: GAE start time decreasing
---------------------------------------------
Key: RF-10259
URL: https://issues.jboss.org/browse/RF-10259
Project: RichFaces
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Reporter: Ara Minosian
I found a way to reduce JSF based application to start faster on GAE.
1. Register all managed beans statically in faces-config.xml
2. Use metadata-complete="true" attribute, so faces-config.xml boilerplate is:
<?xml version='1.0' encoding='UTF-8'?>
<faces-config 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_2_0.xsd"
version="2.0"
metadata-complete="true">
<!--Your stuff here-->
</faces-config>
Using this technique you force JSF not to scan classes for beans. You can leave bean annotations in source code for user's clarity. It will not produce any error.
3. Force JSF not to check xml syntax. I hope IDE do it instead. In web.xml set context parameter as here:
<context-param>
<description>
Set this flag to true if you want the JavaServer Faces
Reference Implementation to validate the XML in your
faces-config.xml resources against the DTD. Default
value is false.
</description>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>false</param-value>
</context-param>
Using these tricks I reduce GAE start time by two seconds. Not bad.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months