[JBoss JIRA] (RF-12661) rich:tooltip causes NPE with null value
by Raimundas Maknys (JIRA)
Raimundas Maknys created RF-12661:
-------------------------------------
Summary: rich:tooltip causes NPE with null value
Key: RF-12661
URL: https://issues.jboss.org/browse/RF-12661
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-output
Affects Versions: 4.2.2.Final
Reporter: Raimundas Maknys
Priority: Minor
rich:tooltip with null value causes NullPointerException:
{code}
Caused by: java.lang.NullPointerException
at org.richfaces.renderkit.html.TooltipRenderer.encodeContentBegin(TooltipRenderer.java:135)
at org.richfaces.renderkit.html.TooltipRenderer.doEncodeBegin(TooltipRenderer.java:127)
at org.richfaces.renderkit.RendererBase.encodeBegin(RendererBase.java:115)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:585)
at javax.faces.component.UIComponentBase.encodeAll(UIComponentBase.java:515)
at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:276)
...........
{code}
Proposed solution:
{code:title=org.richfaces.renderkit.html.TooltipRenderer|borderStyle=solid}
130 private void encodeContentBegin(ResponseWriter writer, FacesContext context, AbstractTooltip tooltip) throws IOException {
131 writer.startElement(getMarkupElement(tooltip), tooltip);
132 writer.writeAttribute(ID_ATTRIBUTE, tooltip.getClientId(context) + ":content", null);
133 writer.writeAttribute(CLASS_ATTRIBUTE, "rf-tt-cnt", null);
134 if (tooltip.getChildCount() == 0) {
- 135 writer.write(tooltip.getValue().toString());
+ 135 writer.write(tooltip.getValue() != null ? tooltip.getValue().toString() : "");
136 }
137 }
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12660) Second call of jsFunction inside dataTable does reach an action
by Andrei Tikhomirov (JIRA)
Andrei Tikhomirov created RF-12660:
--------------------------------------
Summary: Second call of jsFunction inside dataTable does reach an action
Key: RF-12660
URL: https://issues.jboss.org/browse/RF-12660
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.2.2.Final
Environment: Windows 7, Tomcat 6
Reporter: Andrei Tikhomirov
Priority: Critical
jsFunction works correclty only for the row clicked at first.
For second and other rows
'onbegin' fires, but action and oncomplete is not executed.
POST request executed.
It worked for me on 4.0.0.Final
and does not work after migration on 4.2.2.Final
Reproduced on 4.2.3.Final
..........
<rich:column>
<span id="toggler#{row.id}" onclick="click(#{row.id});">
<rich:collapsibleSubTableToggler for="subtbl" rendered="true" expandedIcon="/images/minus.png" collapsedIcon="/images/plus.png" />
<a4j:jsFunction name="readFeeadbackMessage#{row.id}" onbegin="unbindFeedbackMessageClick(#{row.id});" action="#{bean.action(row.id)}" oncomplete="complete(#{row.id})"/>
</span>
...........
</rich:column>
............
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12173) panels with states do not work properly in iteration components
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12173?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak resolved RF-12173.
--------------------------------
Resolution: Out of Date
> panels with states do not work properly in iteration components
> ---------------------------------------------------------------
>
> Key: RF-12173
> URL: https://issues.jboss.org/browse/RF-12173
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Environment: RichFaces 4.2.1.SNAPSHOT
> Metamer 4.2.1.SNAPSHOT
> Mojarra 2.1.7-jbossorg-1
> JBoss AS 7.1.1.Final
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Firefox 11.0 @ Linux x86_64
> Reporter: Jiří Štefek
> Priority: Minor
> Fix For: 5-Future
>
>
> For example various listeners as attribute or as an component working for components such as accordion, panelMenu, tabPanel, togglePanel... do not work properly when component that they will work for is placed inside an iteration[1] component. It seems that such placed component does not keep its state properly.
> Does not work even when iteration component has @keepSaved="true" .
> Known bugs:
> * listeners:
> ** itemChangeListener does not work with accordion, panelMenu, tabPanel and togglePanel which is placed in iteration component. Same problem is with rich:ItemChangeListener component working for such component. Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richItemChangeListener/acc... .
> ** toggleListener as attribute does not work with collapsiblePanel placed in iteration component (reported: https://issues.jboss.org/browse/RF-11568). Same problem is with rich:PanelToggleListener component working for such component (not reported). Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richPanelToggleListener/co... .
> * rich:ComponentControl does not work with rich:dataScroller (with rich:DataTable) placed in iteration component (reported: https://issues.jboss.org/browse/RF-9306). Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richComponentControl/simpl... .
> [1] iteration components are a4j:repeat, rich:collapsibleSubTable, rich:dataTable, rich:dataGrid, rich:extendedDataTable and rich:list
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12131) Switchable panels do not work after rerendering whole page
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12131?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak resolved RF-12131.
--------------------------------
Resolution: Out of Date
> Switchable panels do not work after rerendering whole page
> ----------------------------------------------------------
>
> Key: RF-12131
> URL: https://issues.jboss.org/browse/RF-12131
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.1.0.Final, 4.2.0.Final, 4.2.1.CR1
> Environment: RichFaces 4.1.0.Final, 4.2.0.Final, 4.2.1.CR1
> Metamer 4.2.0.20120217-Final, 4.2.1.20120330-CR1
> Mojarra 2.1.7-jbossorg-1
> JBoss AS 7.1.1.Final
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Chrome 18.0.1025.142 @ Linux i686, Firefox 11.0 @ Linux x86_64
> Reporter: Pavol Pitonak
> Fix For: 5-Tracking
>
>
> # deploy Metamer and open one of these pages:
> ## http://localhost:8080/metamer/faces/components/richAccordionItem/simple.x...
> ## http://localhost:8080/metamer/faces/components/richCollapsiblePanel/simpl...
> # switch/collapse panel
> # verify that the panel was switched
> # click "Full Page Refresh" button (3th button in page header)
> # verify that the panel is still switched
> result:
> after full page refresh, the panel loses its state (i.e. accordion shows item3, collapsible panel is expanded)
> this error appears in following templates:
> * a4jRepeat
> * richCollapsibleSubTable
> * richDataGrid
> * richDataTable
> * richExtendedDataTable
> * richList
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12131) Switchable panels do not work after rerendering whole page
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12131?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak reopened RF-12131:
--------------------------------
Reopening to change resolution type
> Switchable panels do not work after rerendering whole page
> ----------------------------------------------------------
>
> Key: RF-12131
> URL: https://issues.jboss.org/browse/RF-12131
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.1.0.Final, 4.2.0.Final, 4.2.1.CR1
> Environment: RichFaces 4.1.0.Final, 4.2.0.Final, 4.2.1.CR1
> Metamer 4.2.0.20120217-Final, 4.2.1.20120330-CR1
> Mojarra 2.1.7-jbossorg-1
> JBoss AS 7.1.1.Final
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Chrome 18.0.1025.142 @ Linux i686, Firefox 11.0 @ Linux x86_64
> Reporter: Pavol Pitonak
> Fix For: 5-Tracking
>
>
> # deploy Metamer and open one of these pages:
> ## http://localhost:8080/metamer/faces/components/richAccordionItem/simple.x...
> ## http://localhost:8080/metamer/faces/components/richCollapsiblePanel/simpl...
> # switch/collapse panel
> # verify that the panel was switched
> # click "Full Page Refresh" button (3th button in page header)
> # verify that the panel is still switched
> result:
> after full page refresh, the panel loses its state (i.e. accordion shows item3, collapsible panel is expanded)
> this error appears in following templates:
> * a4jRepeat
> * richCollapsibleSubTable
> * richDataGrid
> * richDataTable
> * richExtendedDataTable
> * richList
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12173) panels with states do not work properly in iteration components
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12173?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak reopened RF-12173:
--------------------------------
Reopening to change resolution type
> panels with states do not work properly in iteration components
> ---------------------------------------------------------------
>
> Key: RF-12173
> URL: https://issues.jboss.org/browse/RF-12173
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Environment: RichFaces 4.2.1.SNAPSHOT
> Metamer 4.2.1.SNAPSHOT
> Mojarra 2.1.7-jbossorg-1
> JBoss AS 7.1.1.Final
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Firefox 11.0 @ Linux x86_64
> Reporter: Jiří Štefek
> Priority: Minor
> Fix For: 5-Future
>
>
> For example various listeners as attribute or as an component working for components such as accordion, panelMenu, tabPanel, togglePanel... do not work properly when component that they will work for is placed inside an iteration[1] component. It seems that such placed component does not keep its state properly.
> Does not work even when iteration component has @keepSaved="true" .
> Known bugs:
> * listeners:
> ** itemChangeListener does not work with accordion, panelMenu, tabPanel and togglePanel which is placed in iteration component. Same problem is with rich:ItemChangeListener component working for such component. Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richItemChangeListener/acc... .
> ** toggleListener as attribute does not work with collapsiblePanel placed in iteration component (reported: https://issues.jboss.org/browse/RF-11568). Same problem is with rich:PanelToggleListener component working for such component (not reported). Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richPanelToggleListener/co... .
> * rich:ComponentControl does not work with rich:dataScroller (with rich:DataTable) placed in iteration component (reported: https://issues.jboss.org/browse/RF-9306). Can be reproduced in Metamer: http://localhost:8080/metamer/faces/components/richComponentControl/simpl... .
> [1] iteration components are a4j:repeat, rich:collapsibleSubTable, rich:dataTable, rich:dataGrid, rich:extendedDataTable and rich:list
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12552) rich:calendar: @minDaysInFirstWeek is not working
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12552?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak edited comment on RF-12552 at 12/13/12 7:46 AM:
--------------------------------------------------------------
It works in all templates but rich:extendedDataTable and rich:popupPanel.
was (Author: ppitonak):
It works in all templates but rich:extendedDataTable.
> rich:calendar: @minDaysInFirstWeek is not working
> -------------------------------------------------
>
> Key: RF-12552
> URL: https://issues.jboss.org/browse/RF-12552
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M1
> Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Apache Tomcat 7.0.30 / JBoss AS 7.1
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Firefox 16.0 @ Linux x86_64
> Reporter: Jiří Štefek
> Labels: calendar
> Fix For: 5-Tracking
>
>
> This attribute should influence, that each first week of each year should contain at least a minimum of days.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months
[JBoss JIRA] (RF-12552) rich:calendar: @minDaysInFirstWeek is not working
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12552?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak commented on RF-12552:
------------------------------------
It works in all templates but rich:extendedDataTable.
> rich:calendar: @minDaysInFirstWeek is not working
> -------------------------------------------------
>
> Key: RF-12552
> URL: https://issues.jboss.org/browse/RF-12552
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.3.0.M1
> Environment: RichFaces 4.3.0-SNAPSHOT
> Metamer 4.3.0-SNAPSHOT
> Apache Tomcat 7.0.30 / JBoss AS 7.1
> OpenJDK Runtime Environment 1.6.0_24-b24 @ Linux
> Firefox 16.0 @ Linux x86_64
> Reporter: Jiří Štefek
> Labels: calendar
> Fix For: 5-Tracking
>
>
> This attribute should influence, that each first week of each year should contain at least a minimum of days.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 4 months