[JBoss JIRA] Created: (RF-7248) a4j creates infinite HashMap.get loop
by Nida Cibulskyte (JIRA)
a4j creates infinite HashMap.get loop
-------------------------------------
Key: RF-7248
URL: https://jira.jboss.org/jira/browse/RF-7248
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Nida Cibulskyte
Concurrent requests on a4j components causes infinite loop. While one request is being proccessed by restoreChildState method, another request is senT for proccessing. It causes the code to get stuck in hashmap.get() as the hashmap is not synchronized and causes infinite loop.
2009 05 25 09:41:43 ERROR demo.NameBean - java.util.HashMap.get(HashMap.java:303)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:965)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
2009 05 25 09:41:43 ERROR demo.NameBean - org.ajax4jsf.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:982)
.......................
--
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
12 years, 12 months
[JBoss JIRA] Created: (RF-8609) Picklist - When I load some big list i recived the following error StringIndexOutOfBoundsException: srcBegin > srcEnd
by gabrielfc (JIRA)
Picklist - When I load some big list i recived the following error StringIndexOutOfBoundsException: srcBegin > srcEnd
---------------------------------------------------------------------------------------------------------------------
Key: RF-8609
URL: https://jira.jboss.org/jira/browse/RF-8609
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 3.3.3.Final
Reporter: gabrielfc
Create a list with many elements with variable sizes...and change the itens of source to target....save this in some temporari list...load again this list...and you will recived the error
java.lang.StringIndexOutOfBoundsException: srcBegin > srcEnd
java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:327)
java.lang.StringBuilder.getChars(StringBuilder.java:55)
com.sun.faces.renderkit.html_basic.HtmlResponseWriter.flushAttributes(HtmlResponseWriter.java:981)
com.sun.faces.renderkit.html_basic.HtmlResponseWriter.endElement(HtmlResponseWriter.java:489)
org.richfaces.renderkit.PickListRenderer.encodeHiddenField(PickListRenderer.java:377)
org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:388)
org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:264)
org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:832)
--
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
13 years
[JBoss JIRA] Created: (RF-2494) Multiple clicks on a particular Tree node doesn't fire nodeSelectListener method for each click (only for the first time)
by Mareks Malnacs (JIRA)
Multiple clicks on a particular Tree node doesn't fire nodeSelectListener method for each click (only for the first time)
-------------------------------------------------------------------------------------------------------------------------
Key: RF-2494
URL: http://jira.jboss.com/jira/browse/RF-2494
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.4
Reporter: Mareks Malnacs
Here is the problem:
-construct Tree with recursiveTreeNodesAdaptor, switchType="client" and ajaxSubmitSelection="true"
-add method binding to nodeSelectListener so that every click on tree node executes some business method (for tests - simple log message displaying clicked node id for example)
Result:
-tree is rendered fine, clicks on different node elements in a tree executes specified nodeSelectListener method also fine, BUT when user clicks same tree node twice, nodeSelectListener method is not fired - to get it fired for this particular node again You have to click some other node in a tree and then click back on desired one. Shouldn't nodeSelectListener be fired on each click on a tree node even though user is clicking on the same node multiple times ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (RF-8735) modalPanel resizable problem patch
by Ilya Shaikovsky (JIRA)
modalPanel resizable problem patch
----------------------------------
Key: RF-8735
URL: https://jira.jboss.org/browse/RF-8735
Project: RichFaces
Issue Type: Patch
Security Level: Public (Everyone can see)
Affects Versions: 3.3.3.Final
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Nick customer proposed patch for the next problem:
"When setting width/height attributes on rich:modalpanel as well as setting resizeable="false" - the modal panel is still resizable.
If i don't specify the width/height attributes and just set autosize="true" with resizeable="false" the modal panel is not resizeable (Using RichFaces 3.3.3).
Is there any way to set the modal panel size and still make it not resizeable?
Is this a known issue?
Ori"
Need to verify and probably apply if confirmed
--
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
13 years
[JBoss JIRA] Created: (RF-4790) resize does not work for modalPanel with style="overflow: auto" and (autosized="false" or resizeable="false")
by Turhan Ozen (JIRA)
resize does not work for modalPanel with style="overflow: auto" and (autosized="false" or resizeable="false")
-------------------------------------------------------------------------------------------------------------
Key: RF-4790
URL: https://jira.jboss.org/jira/browse/RF-4790
Project: RichFaces
Issue Type: Bug
Components: doc
Affects Versions: 3.2.1
Environment: windows vista, java 1.5
Reporter: Turhan Ozen
Priority: Minor
If the user tries to resize the modal panel by dragging the lower right corner the mouse pointer is catched and there is no way to release it
with the following code
<rich:modalPanel id="detailPanel" width="960" height="700" style="overflow:auto" resizeable="false">
<f:facet name="header">
<h:outputText value="Detail"/>
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/kaynaklar/imajlar/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('detailPanel')" />
</f:facet>
<table align="center" width="800px">
<tr>
<td align="center">
<a4j:commandButton value="OK" style="cursor:pointer" onclick="Richfaces.hideModalPanel('detailPanel')" />
</td>
</tr>
</table>
</rich:modalPanel>
In addition;
<f:facet name="controls">
<h:graphicImage value="/kaynaklar/imajlar/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('detailPanel')" />
</f:facet>
does not work in Firefox 3.x.
--
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
13 years
[JBoss JIRA] Created: (RF-7501) HtmlPanelMenu should support recursive node adaptor
by arne anka (JIRA)
HtmlPanelMenu should support recursive node adaptor
---------------------------------------------------
Key: RF-7501
URL: https://jira.jboss.org/jira/browse/RF-7501
Project: RichFaces
Issue Type: Feature Request
Components: component-menu
Reporter: arne anka
i'd like to use HtmlPanelMenu to display a rather big structure like below where the nodes reach about 300 and take a considerable lot of time to create the menu from scratch.
my idea was to create the deeper levels (Level B and Level C nodes) only when the Level A node is expaned, like one can do with rich:tree and rich:recursiveTreeNodesAdaptor -- but there's not really a way to do that.
thus, having some kind like treeNodesRecursiveAdaptor would make live certainly easier.
imo all of these expandable structures should by default support an model or adaptor or whatever it is called.
Level A
|--Level B
|--Level C
|--Level C
|--Level C
|--Level B
|--Level C
|--Level C
Level A
|--Level B
|--Level C
|--Level C
|--Level C
|--Level B
|--Level C
|--Level C
--
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
13 years, 1 month
[JBoss JIRA] Created: (RF-8979) UI Core: compilation failure
by Pavol Pitonak (JIRA)
UI Core: compilation failure
----------------------------
Key: RF-8979
URL: https://jira.jboss.org/browse/RF-8979
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone1
Environment: RichFaces 4.0.0-SNAPSHOT
Reporter: Pavol Pitonak
Error when building http://anonsvn.jboss.org/repos/richfaces/root/ui/core/trunk
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
/mnt/hudson_workspace/workspace/richfaces-4.0-ui-core-trunk/trunk/ui/src/main/java/org/richfaces/renderkit/html/AjaxPollRenderer.java:[83,60] cannot find symbol
symbol : variable facesContext
location: class org.richfaces.renderkit.html.AjaxPollRenderer
/mnt/hudson_workspace/workspace/richfaces-4.0-ui-core-trunk/trunk/ui/src/main/java/org/richfaces/renderkit/html/AjaxStatusRenderer.java:[205,60] cannot find symbol
symbol : variable facesContext
location: class org.richfaces.renderkit.html.AjaxStatusRenderer
/mnt/hudson_workspace/workspace/richfaces-4.0-ui-core-trunk/trunk/ui/src/main/java/org/richfaces/renderkit/AjaxCommandRendererBase.java:[86,60] cannot find symbol
symbol : variable facesContext
location: class org.richfaces.renderkit.AjaxCommandRendererBase
--
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
13 years, 1 month
[JBoss JIRA] Created: (RF-4582) RichFaces JSMin compressor can create invalid Javascript
by Matt Wheeler (JIRA)
RichFaces JSMin compressor can create invalid Javascript
--------------------------------------------------------
Key: RF-4582
URL: https://jira.jboss.org/jira/browse/RF-4582
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Windows XP
Reporter: Matt Wheeler
If a Javascript file has something like:
var something = 'abc' + ++this.increment;
then, after compression, it will look something like var a='abc'+++this.increment. This may not be the exact translation, but, the important part is the three plus signs together which make the Javascript invalid. It can of course be fixed by changing the original script to var something = 'abc' + (++this.increment);, but everyone may not have that liberty. I tried this with the YUI Compressor, and it seemed to handle it correctly, but we could not use that for other reasons.
--
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
13 years, 1 month