[JBoss JIRA] Created: (RF-7305) a4j:poll interval - inaccurate doc
by Kai Gülzau (JIRA)
a4j:poll interval - inaccurate doc
----------------------------------
Key: RF-7305
URL: https://jira.jboss.org/jira/browse/RF-7305
Project: RichFaces
Issue Type: Task
Components: doc
Affects Versions: 3.3.1
Reporter: Kai Gülzau
Current doc for a4j:poll interval is "Interval (in ms) for call poll requests. Default value is "1000"ms (1 second)."
In fact this value is _not_ the interval for polling but the time between last poll response (or last timeout) and new poll request.
The polling interval calculates as:
network delay send request
+ server processing time
+ network delay get response
+ a4j:poll interval
Example:
<a4j:poll interval="5000" timeout="30000" ...>
If network is bad and all poll requests get lost the actual poll interval is 35sec not 5sec.
This should be stated in the docs.
Futhermore docs should notice, that polling does not start at once but with a delay of "interval".
--
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
15 years, 6 months
[JBoss JIRA] Commented: (RF-657) Components description should be reviewed.
by Alexander Tsebro (JIRA)
[ https://jira.jboss.org/jira/browse/RF-657?page=com.atlassian.jira.plugin.... ]
Alexander Tsebro commented on RF-657:
-------------------------------------
Verifying the Description of the <a4j:ajaxListener> component ():
— "Key features" section was added
— some mistakes were corrected (e.g. the Guide said that the listener is invoked before Render Response phase, but actually it is not)
— sections names were corrected in accordance with new variants (e.g. "Key attrs. and ways of usage" —> "Details of usage")
> Components description should be reviewed.
> -------------------------------------------
>
> Key: RF-657
> URL: https://jira.jboss.org/jira/browse/RF-657
> Project: RichFaces
> Issue Type: Task
> Components: doc
> Affects Versions: 3.3.0
> Reporter: Svetlana mukhina
> Assignee: Alexander Tsebro
> Priority: Minor
> Fix For: Future
>
> Original Estimate: 8 weeks
> Remaining Estimate: 8 weeks
>
> Review the following components: rich:dataGrid, rich:dataList, rich:dataDefinitionList, rich:dataOrderedList, rich:push, a4j:portlet, and etc. add new info on them if necessary
--
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
15 years, 6 months
[JBoss JIRA] Created: (RF-5617) a4j:jsFunction in IE6/7 breaks when html:form's prependId="false"
by yagish sharma (JIRA)
a4j:jsFunction in IE6/7 breaks when html:form's prependId="false"
-----------------------------------------------------------------
Key: RF-5617
URL: https://jira.jboss.org/jira/browse/RF-5617
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Windows XP, IE6/7
Reporter: yagish sharma
a4j:jsFunction in IE6/7 breaks when html:form's prependId="false".
In RichFaces3.2.2SR1, a4j:jsFunction generates an HTML script, which breaks in IE6/7, but works in FireFox. The issue is the way the jsFunction is rendered.
Here is a sample of how the script is rendered in Ajax4JSF and in RichFaces when html:form's prependId attribute is false.
<a4j:jsFunction name="func1" and id="func1" action="doSomething()"/>
Notice that the name and id fields are kept same.
In Ajax4JSF, this will render as -
script id="func1" type="text/javascript"
function func1(){.........};
/script
In RichFaces, this renders as -
script id="func1" type="text/javascript">
func1 = function(){.........};
/script
Having the id of script tag and the func1 prototype name as same creates the problem. IE6/7 while parsing the script tag gives an error - "Object does not supports this property".
In RichFaces the renderer for jsFunction is AjaxFunctionRendererBase. This renderer's getFunction() method has changed from Ajax4JSF and generates this inappropriate javascript code.
--
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
15 years, 6 months