[JBoss JIRA] Created: (RF-7520) #{rich:component('suggestion')}.callSuggestion(true) becomes practically unusable with frequency parameter on rich:suggestionbox
by Konstantin Spirov (JIRA)
#{rich:component('suggestion')}.callSuggestion(true) becomes practically unusable with frequency parameter on rich:suggestionbox
----------------------------------------------------------------------------------------------------------------------------------
Key: RF-7520
URL: https://jira.jboss.org/jira/browse/RF-7520
Project: RichFaces
Issue Type: Bug
Components: component-input
Affects Versions: 3.3.1
Environment: Any browser that can open Richfaces showcase
Reporter: Konstantin Spirov
Very simple scenario to reproduce te problem
1) Take from Richfaces showcase get RichInput:SuggestionBox:ObjectsUsageExample
2) Just add in rich:suggestionbox frequency="10" attribute
3) Recompile & redeploy
4) Click on the arrow
5) You will need to wait 10 seconds before you see the suggestion list.
Please correct the problem or create an alternative method as callSuggestionASAP()
There was a good idea behind .callSuggestion(true): to give me some solution to emulate the "combobox" - all delays after
clicking the arrow make very bad impression, they should be minimized always when if is possible.
Even without giving frequency parameter, we have default value of 400 ms. This, plus the requestDelay parameter in a4j:queue we cannot escape from,
plus the time for processing the request and... the delay before diplaying the list starts to be very visible for the end user (in local network!). We need
some practical alternative to skip at least the delay from "frequency".
--
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-6487) ToolTip shows old content in ajax mode.
by Alexander Dubovsky (JIRA)
ToolTip shows old content in ajax mode.
---------------------------------------
Key: RF-6487
URL: https://jira.jboss.org/jira/browse/RF-6487
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0, 3.3.1
Environment: 3.3.0.GA
3.3.1.SNAPSHOT
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Minor
Source:
<h:outputText id="text" value="ToolTip should be here">
<rich:toolTip mode="ajax" value="#{cComp.val}"></rich:toolTip>
</h:outputText>
<br />
<a4j:commandButton action="#{cComp.action}"
value="change" />
public void action() {
val += "-add";
}
# Point on text => toolTip is shown twice: the 1th time it was empty and placed in left upper corner; the 2th time it shows correct content.
# Click "change" button and point on text again.
Result: toolTip is shown twice: the 1th time it shows old content (from step 1); the 2th time all is OK.
Time interval between two appearances is short but is visible.
--
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