[JBoss JIRA] Created: (RF-9371) a4j:ajax: attribute onerror doesn't work
by Pavol Pitonak (JIRA)
a4j:ajax: attribute onerror doesn't work
----------------------------------------
Key: RF-9371
URL: https://jira.jboss.org/browse/RF-9371
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone2
Environment: RichFaces 4.0.0-SNAPSHOT r.19299
Metamer 4.0.0-SNAPSHOT r. 19319
Mojarra 2.0.2-FCS
Java(TM) SE Runtime Environment 1.6.0_21-b06 @ Linux
Chrome 7.0.531.0 @ Linux
Reporter: Pavol Pitonak
The following code shows an alert but the same code with a4j:ajax doesn't work.
<h:inputText>
<f:ajax event="keyup" onerror="alert(1)" listener="#{nonExistingBean.behaviorListener}"/>
</h:inputText>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-9489) Spinner used for filtering data table causes infinite loop
by Pavol Pitonak (JIRA)
Spinner used for filtering data table causes infinite loop
----------------------------------------------------------
Key: RF-9489
URL: https://jira.jboss.org/browse/RF-9489
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input, component-tables
Affects Versions: 4.0.0.Milestone3
Environment: RichFaces 4.0.0-SNAPSHOT r.19446
Metamer 4.0.0-SNAPSHOT r.19535
Mojarra 2.0.2-FCS
GlassFish Server Open Source Edition 3.0.1
Java(TM) SE Runtime Environment 1.6.0_21-b06 @ Linux
Chrome 8.0.551.0 @ Linux
Reporter: Pavol Pitonak
Column in a data table filtered using spinner:
<rich:column id="columnNumberOfKids" filter="#{richDataTableBean.filterKidsImpl}">
<f:facet name="header">
<rich:inputNumberSpinner id="columnHeaderNumberOfKidsInput" value="#{richDataTableBean.kidsFilter}" minValue="0" maxValue="5" cycled="true">
<a4j:ajax render="commonGrid" execute="@this"/>
</rich:inputNumberSpinner>
</f:facet>
<h:outputText value="#{record.numberOfKids}" />
</rich:column>
public Filter<?> getFilterKidsImpl() {
return new Filter<Employee>() {
public boolean accept(Employee e) {
int kids = getKidsFilter();
if (e.getNumberOfKids() >= kids) return true;
return false;
}
};
}
When value of the spinner is changed, table is filtered but a lot of requests is fired (probably infinite loop).
http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/appl...
http://anonsvn.jboss.org/repos/richfaces/modules/tests/metamer/trunk/appl...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-9567) rich:autocomplete - add bypassUpdates attribute
by Lukas Fryc (JIRA)
rich:autocomplete - add bypassUpdates attribute
-----------------------------------------------
Key: RF-9567
URL: https://jira.jboss.org/browse/RF-9567
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Milestone3
Reporter: Lukas Fryc
from ML:
rich:autocomplete completion shows validation messages before user request to submit it's value
<a4j:outputPanel ajaxRendered="true"><h:messages /></a4j:outputPanel>
<rich:autocomplete mode="ajax" id="autocomplete" autocompleteMethod="#{...}" value="#{value}">
<f:validateRegexp value="Alabama" />
</a4j:autocomplete>
<rich:commandButton render="@form" execute="autocomplete" />
This code shows the validation message during each ajax request for completion.
I have two ideas how to work it around:
1. rich:autocomplete bypassUpdates=true
2. rich:autocomplete limitRender=true
But both are not implemented attributes in rich:autocomplete.
Ilya commented:
prefer to use bypassUpdates = true as if we will use limitRender - facesMessages will still be in context just not appear on the screen. Even considering that it's not implemented as attribute - it should be still possible to define as request parameter in autocomplete js. Please create jira for it. And if possible and not took much time we should have it in near release I think.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (RF-9622) tooltip: if showDelay defined - component does not appears without additional mousemove
by Ilya Shaikovsky (JIRA)
tooltip: if showDelay defined - component does not appears without additional mousemove
---------------------------------------------------------------------------------------
Key: RF-9622
URL: https://jira.jboss.org/browse/RF-9622
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Reporter: Ilya Shaikovsky
Assignee: Pavel Yaschenko
<rich:panel id="sample2" styleClass="tooltip-text"
bodyClass="rich-laguna-panel-no-header">
<p>This tool-tip will <b>follow mouse</b>. Also this tool-tip has
a <b>delay 1.5 sec</b>, so be patient!</p>
<rich:tooltip followMouse="true"
showDelay="1500" styleClass="tooltip">
<span style="white-space: nowrap"> This tool-tip content also
<strong>pre-rendered</strong> to the page.<br />
However, the look of this tool-tip is customized<br />
by styleClass attribute. </span>
</rich:tooltip>
<rich:tooltip showEvent="click"
mode="ajax" styleClass="tooltip" layout="block">
<f:facet name="defaultContent">
<strong>Wait...</strong>
</f:facet>
<span style="white-space: nowrap">This tool-tip content was
<strong>rendered on server</strong><br />
</span>
<h:panelGrid columns="2">
<h:outputText style="white-space:nowrap"
value="tooltips requested:" />
<h:outputText value="#{tooltipData.tooltipCounter}"
styleClass="tooltipData" />
</h:panelGrid>
</rich:tooltip>
in both cases after mouseover or click if mouse will not be moved during delay - tooltip wil not appear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years