[JBoss JIRA] Created: (RFPL-1664) Metamer: rich:calendar: @showApplyButton=false causes ConvertException
by Ján Jamrich (JIRA)
Metamer: rich:calendar: @showApplyButton=false causes ConvertException
----------------------------------------------------------------------
Key: RFPL-1664
URL: https://issues.jboss.org/browse/RFPL-1664
Project: RichFaces Planning
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Milestone2
Environment: RichFaces 4.1.0.20110910-M2 r.
Metamer 4.1.0.20110910-M2 r.22701
Mojarra 2.0.4-b09-jbossorg-4
JBoss Web 7.0.1.Final
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686; rv:7.0) Gecko/20100101 Firefox/7.0
Reporter: Ján Jamrich
Assignee: Ján Jamrich
Fix For: 4.1.0.Milestone2
set @showApplyButton = false raise following error:
javax.faces.convert.ConverterException: form:calendar: 'Thu Sep 01 02:00:00 CEST 2011' could not be understood as a date.
Even value was selected from calendar and submitted by button without validation errors (Sep 14, 2011 13:03, output: Sep 14, 2011 13:03)
Another value set and submitted: Sep 2, 2011 10:09, and error the same as above (with Sep 1)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (RFPL-1873) Write tests for AJAX loading of resources in dynamically generated subtree
by Lukáš Fryč (Created) (JIRA)
Write tests for AJAX loading of resources in dynamically generated subtree
--------------------------------------------------------------------------
Key: RFPL-1873
URL: https://issues.jboss.org/browse/RFPL-1873
Project: RichFaces Planning
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: testing
Affects Versions: 4.1.0.Final
Reporter: Lukáš Fryč
There are several scenarios where components are dynamically added to the tree so resources for these components doesn't have to be loaded by AJAX:
* components added programatically
* components included by {{ui:include}} with dynamic {{src}} attribute
* components under dynamic rows/panels/etc., e.g. {{rich:tab}} generated by {{c:forEach}} (RF-11694)
Create mock components with mock resources and test that when component rendered "dynamically", the resources (JS and CSS) are provided to the page properly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 10 months
[JBoss JIRA] (RFPL-1925) a4j:status doesn't work if there's a h:commandLink in the page
by Guillaume Lancelin (Created) (JIRA)
a4j:status doesn't work if there's a h:commandLink in the page
--------------------------------------------------------------
Key: RFPL-1925
URL: https://issues.jboss.org/browse/RFPL-1925
Project: RichFaces Planning
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.1.0.Milestone3
Reporter: Guillaume Lancelin
Hi all,
The a4j:status tag seems not to work when a h:commandLink tag is in the same page.
I made a little example to test it.
The bean :
{code:java}
package fr.mycompany.test;
import javax.enterprise.inject.Model;
import javax.inject.Inject;
import org.jboss.logging.Logger;
@Model
public class Test {
@Inject
private Logger logger;
public String launch() {
for (int i = 0; i < 20000; i++) {
logger.debug(i);
}
return null;
}
}
{code}
The page :
{code:xml}
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich"
xmlns:s="http://jboss.org/seam/faces" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head />
<h:body>
<a4j:status id="status" onstart="#{rich:component('processingPopup')}.show()" onstop="#{rich:component('processingPopup')}.hide()" startText="en cours" stopText="fini" />
<rich:popupPanel id="processingPopup" modal="true" styleClass="popupSouscription" autosized="true" show="false">
Traitement en cours ...
</rich:popupPanel>
<h:form id="leForm">
<a4j:commandLink value="a4j commandLink" action="#{test.launch}" id="a4jLink" /><br/>
<h:commandLink value="h commandLink" action="#{test.launch}" id="hLink" />
</h:form>
<a4j:log id="logs" style="width: 1400px; height: 600px; overflow: scroll;" />
</h:body>
</html>
{code}
When I click on the a4j:commandLink the a4j:status doesn't work and the following log appears :
{code}
info [18:25:14.390]: Received 'begin' event from <a id=leForm:a4jLink ...>
info [18:25:15.251]: Received 'beforedomupdate' event from <a id=leForm:a4jLink ...>
debug[18:25:15.252]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[5271447831659883319:-888481348828354087]]></update></changes></partial-response>
info [18:25:15.253]: Listing content of response changes element:
Element update for id=javax.faces.ViewState
<update id="javax.faces.ViewState"><![CDATA[5271447831659883319:-888481348828354087]]></update>
info [18:25:15.255]: Received 'success' event from <a id=leForm:a4jLink ...>
info [18:25:15.256]: Received 'complete' event from <a id=leForm:a4jLink ...>
{code}
If I remove the line <h:commandLink value="h commandLink" action="#{test.launch}" id="hLink" /> and then click on the a4j:commandLink the a4j:status works and the following log appears :
{code}
debug[18:28:17.277]: New request added to queue. Queue requestGroupingId changed to leForm:a4jLink
debug[18:28:17.277]: Queue will wait 0ms before submit
debug[18:28:17.278]: richfaces.queue: will submit request NOW
info [18:28:17.282]: Received 'begin' event from <a id=leForm:a4jLink ...>
info [18:28:17.905]: Received 'beforedomupdate' event from <a id=leForm:a4jLink ...>
debug[18:28:17.906]: Server returned responseText: <?xml version='1.0' encoding='UTF-8'?> <partial-response><changes><update id="javax.faces.ViewState"><![CDATA[-4055820746262438471:-5740665287677042238]]></update></changes></partial-response>
info [18:28:17.908]: Listing content of response changes element:
Element update for id=javax.faces.ViewState
<update id="javax.faces.ViewState"><![CDATA[-4055820746262438471:-5740665287677042238]]></update>
debug[18:28:17.909]: richfaces.queue: ajax submit successfull
debug[18:28:17.910]: richfaces.queue: Nothing to submit
info [18:28:17.913]: Received 'success' event from <a id=leForm:a4jLink ...>
info [18:28:17.914]: Received 'complete' event from <a id=leForm:a4jLink ...>
{code}
I'm using Java 1.6.0_29, JBoss 6.1, mojarra 2.0.3_b5, RF 4.1.0-CR2 (but someone told me [here|http://community.jboss.org/thread/175872?tstart=0] that the problem appears with the milestone 3), Seam 3.0.0-Final.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years