[JBoss JIRA] Created: (RF-10267) Accordion creating from Java NPE if activeItem is not set
by Konstantin Pupkov (JIRA)
Accordion creating from Java NPE if activeItem is not set
---------------------------------------------------------
Key: RF-10267
URL: https://issues.jboss.org/browse/RF-10267
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: base functionality
Affects Versions: 4.0.0.Milestone5
Environment: Ununtu 10.10, Java 6
Reporter: Konstantin Pupkov
in Java...
FacesContext ctx=FacesContext.getCurrentInstance();
pendingBar = (HtmlAccordion) ctx
.getApplication()
.createComponent(ctx, HtmlAccordion.COMPONENT_TYPE, "org.richfaces.AccordionRenderer");
pendingBar.setId("pend");
......
error on page:
...
ava.lang.NullPointerException
org.richfaces.component.AbstractAccordion.getActiveItem(AbstractAccordion.java:50)
org.richfaces.renderkit.html.TogglePanelRenderer.doEncodeBegin(TogglePanelRenderer.java:116)
org.richfaces.renderkit.html.AccordionRenderer.doEncodeBegin(AccordionRenderer.java:55)
org.richfaces.renderkit.RendererBase.encodeBegin(RendererBase.java:116)
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 11 months
[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
13 years
[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-10256) Extended Data Table - multiselection using shift across pages on backward pages
by Lukas Fryc (JIRA)
Extended Data Table - multiselection using shift across pages on backward pages
-------------------------------------------------------------------------------
Key: RF-10256
URL: https://issues.jboss.org/browse/RF-10256
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.0.0.Milestone5
Environment: * RichFaces 4.0.0-SNAPSHOT r.21066
* Metamer 4.0.0-SNAPSHOT r.unknown
* Mojarra 2.0.3-FCS
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
* Firefox 3.6.13 @ Linux x86_64
Reporter: Lukas Fryc
Although the forward direction works well, using the "end" of multi-selection on the page previous to "start" of multi-selection leads into server request and only the "start" selected".
See [Steps to Reproduce]
--
This message is automatically generated by JIRA.
-
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