[JBoss JIRA] (RF-12577) rich:select - can't select different value after deleting the old one
by Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-12577?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek commented on RF-12577:
----------------------------------
This will only happen, when you select the items by mouse. This never happens if you use keys (up/down, enter), but instead, all such selected items will stay selected in the suggestion list.
> rich:select - can't select different value after deleting the old one
> ---------------------------------------------------------------------
>
> Key: RF-12577
> URL: https://issues.jboss.org/browse/RF-12577
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.3.0.M2
> Environment: RichFaces 4.3.0.20121024-M2
> Metamer 4.3.0.20121024-M2
> Weld Servlet (Uber Jar) 20120106-1159
> Apache Tomcat 7.0.32
> Java(TM) SE Runtime Environment 1.7.0_07-b10 @ Linux
> Firefox 16.0 @ Linux x86_64
> RichFaces 4.3.0.20121024-M2
> Metamer 4.3.0.20121024-M2
> JBoss Application Server: Weld Integration 7.1.1.Final
> JBoss AS 7.1.1.Final
> Java(TM) SE Runtime Environment 1.7.0_07-b10 @ Linux
> Firefox 16.0 @ Linux x86_64
> Reporter: Jan Papousek
> Fix For: 5-Tracking
>
>
--
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)
[ https://issues.jboss.org/browse/RF-12660?page=com.atlassian.jira.plugin.s... ]
Andrei Tikhomirov updated RF-12660:
-----------------------------------
Priority: Blocker (was: Critical)
> 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: Blocker
> Labels: regression
> Fix For: 4.3.0.CR1
>
>
> jsFunction works correclty only for the row clicked at first.
> For second and other rows _onbegin_ fires, but _action_ and _oncomplete_ are not executed.
> POST request is 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
> {code}
> <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>
> {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-12661) rich:tooltip causes NPE with null value
by Raimundas Maknys (JIRA)
[ https://issues.jboss.org/browse/RF-12661?page=com.atlassian.jira.plugin.s... ]
Raimundas Maknys commented on RF-12661:
---------------------------------------
sorry but I don't have time to spare for that
> 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
> Fix For: 5-Tracking
>
>
> 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