[JBoss JIRA] (RF-12300) rich:calendar - rerendering from another h:form causes problems
by Jan Papousek (JIRA)
Jan Papousek created RF-12300:
---------------------------------
Summary: rich:calendar - rerendering from another h:form causes problems
Key: RF-12300
URL: https://issues.jboss.org/browse/RF-12300
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.2.2.Final
Environment: RichFaces 4.2.2.Final
Metamer 4.2.2-SNAPSHOT
Unknown version of JSF
JBoss AS 7.1.1.Final
Java(TM) SE Runtime Environment 1.6.0_31-b04 @ Linux
Firefox 12.0 @ Linux x86_64
Reporter: Jan Papousek
{code}
<h:form>
<a4j:commandButton render="@all" value="Render All" />
<a4j:commandButton render="calendar output" value="Render Calendar and Output" />
</h:form>
<h:form>
<a4j:commandButton render="@all" value="Render All (Inside the same h:form)" />
<a4j:commandButton render="calendar output" value="Render Calendar and Output (Inside the same h:form)" />
<br />
<rich:calendar id="calendar" value="#{calendarBean.date}" timeZone="#{calendarBean.timeZone}">
<f:ajax event="change" render="output" />
</rich:calendar>
<br />
<h:outputText id="output" value="#{calendarBean.date}" />
</h:form>
{code}
--
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, 3 months
[JBoss JIRA] (RF-12301) rich:validator and rich:ajax inside the same input element
by Jan Papousek (JIRA)
Jan Papousek created RF-12301:
---------------------------------
Summary: rich:validator and rich:ajax inside the same input element
Key: RF-12301
URL: https://issues.jboss.org/browse/RF-12301
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core, component-input, component-validators
Affects Versions: 4.2.2.Final
Reporter: Jan Papousek
This issue affects the following input components:
- rich:autocomplete
- rich:calendar
- rich:inplaceInput
- rich:inplaceInput
- rich:select
When the rich:validator and rich:ajax is placed inside the same input element, the order is important.
The following code doesn't update update output area:
{code}
<rich:inplaceInput id="input" value="...">
<rich:validator />
<a4j:ajax event="change" render="output" />
</rich:inplaceInput>
<rich:message id="message" for="input"/>
<h:outputText id="output" value="..." />
{code}
The following code works correctly:
{code}
<rich:inplaceInput id="input" value="...">
<a4j:ajax event="change" render="output" />
<rich:validator />
</rich:inplaceInput>
<rich:message id="message" for="input"/>
<h:outputText id="output" value="..." />
{code}
--
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, 3 months
[JBoss JIRA] (RF-12284) Disabled menuGroup within dropDownMenu appears only on every second mouse over
by Georg Nozicka (JIRA)
Georg Nozicka created RF-12284:
----------------------------------
Summary: Disabled menuGroup within dropDownMenu appears only on every second mouse over
Key: RF-12284
URL: https://issues.jboss.org/browse/RF-12284
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-menu
Affects Versions: 4.1.0.Final
Reporter: Georg Nozicka
See "Forum Reference" for a detailed description here: [https://community.jboss.org/thread/200032]
Short version:
{code:xml}
<rich:toolbar>
<rich:dropDownMenu mode="ajax">
<f:facet name="label">
<h:panelGroup>
<h:outputText value="Detail" />
</h:panelGroup>
</f:facet>
<rich:menuGroup label="Group" disabled="#{true}" />
</rich:dropDownMenu>
</rich:toolbar>
{code}
When I move the mouse to the label named "Detail", the menuGroup labled with "Group" only appears on every second mouse over. This means:
* Move mouse over "Detail" -> "Group" appears
* Move mouse away from "Details"
* Move mouse over "Detail" -> "Group" does not appears
* Move mouse away from "Details"
* Move mouse over "Detail" -> "Group" appears
* ... and so forth.
This described behavior only happens when menuGroup is disabled. When menuGroup is enabled, it appears as expected on every mouse over.
--
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, 3 months
[JBoss JIRA] (RF-12283) Provide better way to specify maxRequestSize in rich:fileUpload (per component, not globally)
by Jan Papousek (JIRA)
Jan Papousek created RF-12283:
---------------------------------
Summary: Provide better way to specify maxRequestSize in rich:fileUpload (per component, not globally)
Key: RF-12283
URL: https://issues.jboss.org/browse/RF-12283
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.2.2.Final
Reporter: Jan Papousek
Now, when developer wants to specify size limit for uploaded files, he/she has to specify 'rg.richfaces.fileUpload.maxRequestSize' context parameter in web.xml:
{code}
<context-param>
<param-name>org.richfaces.fileUpload.maxRequestSize</param-name>
<param-value>100000</param-value>
</context-param>
{code}
It would be much better to provide an attribute (e.g. 'sizeLimit') for rich:fileUpload component. Why? Consider the following use cases:
- different size limit for text files and images
- different size limit depending on user's role
--
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, 3 months
[JBoss JIRA] (RF-12276) js-Tags rendered in wrong order
by Christian Werner (JIRA)
Christian Werner created RF-12276:
-------------------------------------
Summary: js-Tags rendered in wrong order
Key: RF-12276
URL: https://issues.jboss.org/browse/RF-12276
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.2.2.Final
Environment: MyFaces 2.1.7, Tomcat 6.0.35
Reporter: Christian Werner
This bug is affected in IE8, works with Firefox
After submit a form (using the action method of commandButton in a popup panel), appear in various javascript errors on IE8:
{noformat}
Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)
Zeitstempel: Tue, 22 May 2012 13:16:54 UTC
Meldung: 'jQuery' ist undefiniert
Zeile: 3
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/javax.faces.resource/richfaces-utils.js....
Meldung: 'jQuery' ist undefiniert
Zeile: 1
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/javax.faces.resource/AutocompleteBase.js...
Meldung: 'jQuery' ist undefiniert
Zeile: 1
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/javax.faces.resource/Autocomplete.js.jsf...
Meldung: Objekt erwartet
Zeile: 189
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 193
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 197
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 201
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 205
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 209
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 213
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 217
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 221
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
Meldung: Objekt erwartet
Zeile: 225
Zeichen: 1
Code: 0
URI: http://christian:8080/webseed.ui/jsp/propagation/propagations.jsf?convers...
{noformat}
A couple of javascripts of richfaces components (ie. autocomplete.js) are rendered before the jquery script in the DOM. The autocomplete component works then no longer in IE8.
It then looks like this:
{noformat}
<link rel="stylesheet" type="text/css" href="/webseed.ui/javax.faces.resource/print.css.jsf?ln=styles.print" media="print" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-utils.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-selection.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/AutocompleteBase.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/Autocomplete.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/Autocomplete.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jsf.js.jsf?ln=javax.faces&stage=Development&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jquery.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-queue.js.jsf?conversationContext=1">
{noformat}
The normal output looks like this. Comically affected are the scripts at the end to find. Coincidence?
{noformat}
<link rel="stylesheet" type="text/css" href="/webseed.ui/javax.faces.resource/print.css.jsf?ln=styles.print" media="print" /><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/javax.faces.resource/layout.css.jsf?ln=styles&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jsf.js.jsf?ln=javax.faces&stage=Development&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jquery.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-queue.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-base-component.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/status.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-event.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/popupPanel.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/popupPanelBorders.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/popupPanelSizer.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/popupPanel.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/component-control.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/togglePanel.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/tabPanel.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/tabPanel.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/togglePanelItem.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/tab.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/poll.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/toolbar.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/toolbar.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jquery.position.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/popup.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/menuKeyNavigation.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/menu-base.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/menu.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/dropdownmenu.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/menuitem.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/message.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/msg.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/jquery.hotkeys.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/hotkey.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/collapsiblePanel.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/collapsiblePanelItem.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/icons.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/collapsiblePanel.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/panel.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/datatable.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/datatable.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/tooltip.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/tooltip.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/datascroller.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/datascroller.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><link rel="stylesheet" media="screen" type="text/css" href="/webseed.ui/rfRes/list.ecss.jsf?db=eAHrmrY!HgAFywI!&ln=org.richfaces&conversationContext=1" /><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-utils.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/richfaces-selection.js.jsf?conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/AutocompleteBase.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script><script type="text/javascript" src="/webseed.ui/javax.faces.resource/Autocomplete.js.jsf?ln=org.richfaces&conversationContext=1"><!--
//--></script>
{noformat}
Nice greetings,
Christian
--
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, 3 months
[JBoss JIRA] (RF-12268) 4.1.0.final javascript error : element is null, ajax queue operation
by zhifu Jin (JIRA)
zhifu Jin created RF-12268:
------------------------------
Summary: 4.1.0.final javascript error : element is null, ajax queue operation
Key: RF-12268
URL: https://issues.jboss.org/browse/RF-12268
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component
Affects Versions: 4.1.0.Final
Reporter: zhifu Jin
the issue is when have two requests like below will cause js error:"element is null" and browser crash.
1. first request sending, and don't have response arrived.
2. the second request start, will add this request into queue.
3. first response arrived , the second request will be dequeue and send request, it will find source element first, and our page had changed, the element is null.
--
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, 3 months