[JBoss JIRA] Created: (RF-5129) queue: exception isn't thrown during rendering if more than one default, global or named(with the same name) queue present.
by Mikhail Vitenkov (JIRA)
queue: exception isn't thrown during rendering if more than one default, global or named(with the same name) queue present.
---------------------------------------------------------------------------------------------------------------------------
Key: RF-5129
URL: https://jira.jboss.org/jira/browse/RF-5129
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF 3.0.3, Safari 3.1, Opera 9.62(3.3.0-BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
Step 1.
Case #1: Add two default queue in form/view:
<h:form><a4j:queue/><a4j:queue/> .. </h:form>
Case #2. Add two global queue in f:view:
<f:view><a4j:queue name="org.richfaces.global_queue" disabled="false"/><a4j:queue name="org.richfaces.global_queue" disabled="false"/>...</f:view>
Case #3. Add two named queue with the same name outside or inside form:
<h:form><a4j:queue name="theSame"/><a4j:queue name="theSame"/> .. </h:form>
Step 2. Navigate to page with component.
Expected behavior:
An exception will be thrown if more than one enabled queue is present during rendering.
Actual behavior:
Nothing happens.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (RF-5116) queue: in case sizeExceededBehavior="dropNext" the last event in queue perform two request.
by Mikhail Vitenkov (JIRA)
queue: in case sizeExceededBehavior="dropNext" the last event in queue perform two request.
-------------------------------------------------------------------------------------------
Key: RF-5116
URL: https://jira.jboss.org/jira/browse/RF-5116
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF 3.0.3, Safari 3.1, Opera 9.62(3.3.0- last snapshot)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add a4j:queue inside form:
<h:form> ... <a4j:queue ../>..</h:form>
#2. Set size="1", sizeExceededBehavior="dropNext", requestDelay="5000"
#3. Add checkbox and input inside the same form following way:
<h:inputText value="#{queueComponent.inputValue}" id="inputID">
<a4j:support id="inputSupport" event="onkeyup"
eventsQueue="#{queueComponent.inputQueue}"></a4j:support>
</h:inputText>
...
<h:selectBooleanCheckbox value="#{queueComponent.checkboxValue}"
id="checkboxID">
<a4j:support id="checkboxSupport" event="onchange"
eventsQueue="#{queueComponent.checkboxQueue}"></a4j:support>
</h:selectBooleanCheckbox>
#4. Navigate to the page, make a4j:log enabled.
#5. Initiate 'change' event for selectBooleanCheckbox and then 'keyup' event for input during requestDelay(5 sec.).
#6. Verify a4j:log.
Actual behavior:
The queue performs two request:
debug[20:01:02,528]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: change
debug[20:01:02,529]: Query preparation for form 'formID' requested
...
debug[20:01:02,559]: parameter formID:queueStraightforwardSubviewID:checkboxSupport with value formID:queueStraightforwardSubviewID:checkboxSupport
debug[20:01:02,560]: Look up queue with name 'formQueue'
debug[20:01:02,561]: Found form queue 'formID:formQueue'
debug[20:01:02,562]: Queue is empty now
debug[20:01:02,562]: New request added to queue 'formID:formQueue'. Queue similarityGroupingId changed to formID:queueStraightforwardSubviewID:checkboxSupport
debug[20:01:02,563]: Queue will wait 5000ms before submit
debug[20:01:05,205]: Have Event [object Object] with properties: target: [object HTMLInputElement], srcElement: undefined, type: keyup
debug[20:01:05,207]: Query preparation for form 'formID' requested
...
debug[20:01:05,237]: parameter formID:queueStraightforwardSubviewID:inputSupport with value formID:queueStraightforwardSubviewID:inputSupport
debug[20:01:05,239]: Look up queue with name 'formQueue'
debug[20:01:05,240]: Found form queue 'formID:formQueue'
debug[20:01:05,241]: Last queue entry is not the last anymore. Stopping requestDelay timer and marking entry as ready for submission
debug[20:01:05,242]: Queue 'formID:formQueue' will submit request NOW
debug[20:01:05,243]: NEW AJAX REQUEST !!! with form: formID
debug[20:01:05,245]: Start XmlHttpRequest
debug[20:01:05,246]: Reqest state : 1
debug[20:01:05,247]: QueryString: ...
debug[20:01:05,257]: Reqest state : 1
debug[20:01:05,258]: New request added to queue 'formID:formQueue'. Queue similarityGroupingId changed to formID:queueStraightforwardSubviewID:inputSupport
debug[20:01:05,259]: Queue will wait 5000ms before submit
debug[20:01:05,526]: Reqest state : 2
debug[20:01:05,529]: Reqest state : 3
debug[20:01:05,530]: Reqest state : 3
debug[20:01:05,532]: Reqest state : 4
debug[20:01:05,532]: Reqest end with state 4
debug[20:01:05,533]: Response with content-type: text/xml;charset=UTF-8
debug[20:01:05,534]: Full response content: <?xml version="1.0"?...
...
debug[20:01:10,258]: Queue 'formID:formQueue' will submit request NOW
debug[20:01:10,259]: NEW AJAX REQUEST !!! with form: formID
debug[20:01:10,261]: Start XmlHttpRequest
debug[20:01:10,262]: Reqest state : 1
debug[20:01:10,264]: QueryString:...
debug[20:01:10,268]: Reqest state : 1
debug[20:01:10,986]: Reqest state : 2
debug[20:01:10,989]: Reqest state : 3
debug[20:01:10,991]: Reqest state : 3
debug[20:01:10,992]: Reqest state : 4
debug[20:01:10,994]: Reqest end with state 4
debug[20:01:10,995]: Response with content-type: text/xml;charset=UTF-8
debug[20:01:10,996]: Full response content: ...
...
debug[20:01:12,738]: Call local oncomplete function after processing updates
debug[20:01:12,739]: After request: queue 'formID:formQueue'
debug[20:01:12,741]: There are 0 requests more in this queue
debug[20:01:12,742]: Queue is empty now
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (RF-5052) queue: "org.apache.jasper.JasperException - Unable to compile class for JSP" in case id attribute is set.
by Mikhail Vitenkov (JIRA)
queue: "org.apache.jasper.JasperException - Unable to compile class for JSP" in case id attribute is set.
---------------------------------------------------------------------------------------------------------
Key: RF-5052
URL: https://jira.jboss.org/jira/browse/RF-5052
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6,7, FF3.0, Safari 3.1, Opera 6.1(richfaces 3.3.0-SNAPSHOT, myfaces 1.2.5)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Add a4j:queue on the page:
<f:subview id="queueSubviewID">
<a4j:queue name="defaultQueue" id="queueID"/>
</f:subview>
#2. Navigate on the page.
Actual behavior:
Following exception take place:
An error occurred at line: 7 in the jsp file: /Queue/Queue.jsp
The method setId(String) in the type UIComponentClassicTagBase is not applicable for the arguments (JspValueExpression)
4: <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
5:
6: <f:subview id="queueSubviewID">
7: <a4j:queue name="defaultQueue" id="queueID"/>
8: </f:subview>
Stacktrace:
at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:347)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:197)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:155)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:307)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:423)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:246)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:301)
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:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP:
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month