[JBoss JIRA] (RF-12666) Showcase - Drag and Drop with indicator - the styles do not apply for indicator when dragging over various targets
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12666?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12666:
-------------------------------
Fix Version/s: 4.3.0.CR1
> Showcase - Drag and Drop with indicator - the styles do not apply for indicator when dragging over various targets
> ------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12666
> URL: https://issues.jboss.org/browse/RF-12666
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-drag/drop, showcase
> Affects Versions: 4.3.0.M3
> Environment: Firefox 17, Chrome 23
> JBoss AS 7.1.1.Final
> Reporter: Juraj Húska
> Fix For: 4.3.0.CR1
>
>
> When dragging a source over targets styles which should change the indicator color do not apply.
> It means that the indicator is still green, even when it is moved over target which is not proper drop place for it.
> Note that this works with metamer and that there are no new commits in that showcase sample.
> The DaD functionality works correctly and there are no JS errors or other exceptions. It is the same for the SNAPSHOT.
--
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 Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12661?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-12661:
------------------------------------
[~rmaknys] Thanks for reporting this, and for pointing out the solution. Any chance you want to take this one step further and issue a [pull request|https://community.jboss.org/wiki/GuideToUsePullRequestsWithGitHub... (be sure to sign the [CLA|http://cla.jboss.org/])
> 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
[JBoss JIRA] (RF-12662) Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12662?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12662:
-------------------------------
Fix Version/s: 4.3.0.CR1
> Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: RF-12662
> URL: https://issues.jboss.org/browse/RF-12662
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables, showcase
> Affects Versions: 4.3.0.M3
> Environment: showcase M3 release
> Reporter: Juraj Húska
> Priority: Minor
> Fix For: 4.3.0.CR1
>
>
> When providing characters as filter value for column Price instead of numbers , an ELException is thrown on the the server console:
> {code}
> 14:59:21,603 SEVERE [org.richfaces.log.Context] (http--0.0.0.0-8080-4) javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long: javax.faces.FacesException: javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.updateAttribute(SortingFilteringRowsRenderer.java:144) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.decodeFiltering(SortingFilteringRowsRenderer.java:84) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.decodeSortingFiltering(SortingFilteringRowsRenderer.java:62) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.ExtendedDataTableRenderer.doDecode(ExtendedDataTableRenderer.java:945) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.renderkit.RendererBase.decode(RendererBase.java:80) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIComponentBase.decode(UIComponentBase.java:787) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.richfaces.component.UIDataAdaptor.processDecodes(UIDataAdaptor.java:820) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.PartialViewExecuteVisitCallback.visit(PartialViewExecuteVisitCallback.java:53) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.BaseExtendedVisitContext.invokeVisitCallback(BaseExtendedVisitContext.java:321) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1320) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIForm.visitTree(UIForm.java:371) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.richfaces.context.ExtendedPartialViewContextImpl.executeComponents(ExtendedPartialViewContextImpl.java:237) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialExecutePhase(ExtendedPartialViewContextImpl.java:217) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:196) [richfaces-core-impl-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:931) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at org.richfaces.demo.arrangeablemodel.PersistenceLifecycle.execute(PersistenceLifecycle.java:58) [classes:]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.ocpsoft.rewrite.servlet.RewriteFilter.doFilter(RewriteFilter.java:172) [rewrite-servlet-1.0.4.Final.jar:1.0.4.Final]
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
> at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_05]
> Caused by: javax.el.ELException: /richfaces/extendedDataTable/samples/edt-builtin-sorting-and-filtering-sample.xhtml @38,75 filterValue="#{carsFilteringBean.mileageFilter}": Cannot convert gg of type class java.lang.String to class java.lang.Long
> at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:139) [jsf-impl-2.1.7-jbossorg-2.jar:]
> at org.richfaces.renderkit.SortingFilteringRowsRenderer.updateAttribute(SortingFilteringRowsRenderer.java:142) [richfaces-components-ui-4.3.0.20121214-M3.jar:4.3.0.20121214-M3]
> ... 42 more
> {code}
> IMHO {{rich:message}} should be placed there to warn user about incorrect input and the exception should be handled.
--
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 Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12660?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12660:
-------------------------------
Description:
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}
was:
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
{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}
> 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_ 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-12660) Second call of jsFunction inside dataTable does reach an action
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12660?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12660:
-------------------------------
Labels: regression (was: )
> 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
> Labels: regression
>
> 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