[JBoss JIRA] Created: (RF-3057) Problem with Resource Messages in Portlet environment. The User Locale is lost when an AJAX request is done
by Javier Alperte (JIRA)
Problem with Resource Messages in Portlet environment. The User Locale is lost when an AJAX request is done
------------------------------------------------------------------------------------------------------------
Key: RF-3057
URL: http://jira.jboss.com/jira/browse/RF-3057
Project: RichFaces
Issue Type: Bug
Components: portal
Affects Versions: 3.1.4
Environment: JBoss AS 4.2.2, JBoss Portal 2.6.4, JBoss Seam 2.0.2.A1, JBoss Portlet Bridge 1.0.0.B1, Facelets 1.1.14, EL-API 1.0, EL-RI 1.0, on Linux KUbuntu 7.04 Feisty Fawn
Reporter: Javier Alperte
I have three resources messages files (for es, pt and en locales respectively), when i do some normal (not ajax) request, the resources are displayed in the actual user locale, but when i do some AJAX request, all the i18n texts of the AJAX regions are shown using the default locale configured in the faces-config.xml, i think the AJAXFacesPortlet is not accessing well to the Portal User Locale - maybe not through the JBoss Portal Bridge?
--
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
16 years, 7 months
[JBoss JIRA] Created: (RF-2689) fileUpload:java.lang.NullPointerException appears in case createTempFiles init parametr is set to "false"
by Mikhail Vitenkov (JIRA)
fileUpload:java.lang.NullPointerException appears in case createTempFiles init parametr is set to "false"
---------------------------------------------------------------------------------------------------------
Key: RF-2689
URL: http://jira.jboss.com/jira/browse/RF-2689
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: 3.2.0.CR4
Reporter: Mikhail Vitenkov
Assigned To: Nick Belaevski
Step 1.In web.xml add following code:
<init-param>
<param-name>createTempFiles</param-name>
<param-value>false</param-value>
</init-param>
Step 2. Navigate to page contained fileUpload component.
Step 3. Add several files from "Choose file" modal dialog through the "Add" command button.
Step 4. Upload them & verify stdout.
Actual behavior:
following error take place:
java.lang.NullPointerException: Colors cannot be null
at java.awt.GradientPaint.<init>(Unknown Source)
at org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.paint(ProgressBarAnimatedBg.java:92)
at org.ajax4jsf.resource.AnimationResource.send(AnimationResource.java:80)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:227)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:163)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:333)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:195)
at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:260)
at org.ajax4jsf.Filter.doFilter(Filter.java:165)
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:175)
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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
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
16 years, 7 months
[JBoss JIRA] Created: (RF-2960) a4j:push and Facelets - eventProducer method won't get called
by Eugen Galperin (JIRA)
a4j:push and Facelets - eventProducer method won't get called
-------------------------------------------------------------
Key: RF-2960
URL: http://jira.jboss.com/jira/browse/RF-2960
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Environment: Java 1.6
JBoss 4.2.2 GA
Facelets 1.1.14
Reporter: Eugen Galperin
Push doesn't work anymore. The method to register event listener won't get called. The same code works fine with RichFaces 3.1.4
index.xhtml
<h:outputText id="msg" value="Test page. The method addListener won't be called."/>
<a4j:region>
<h:form>
<a4j:push reRender="msg" eventProducer="#{messageBean.addListener}" interval="3000"/>
</h:form>
</a4j:region>
MessageBean:
public void addListener(EventListener listener) {
System.out.println("MessageBean.addListener");
}
--
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
16 years, 7 months