[JBoss JIRA] (RF-12662) Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-12662?page=com.atlassian.jira.plugin.s... ]
Juraj Húska updated RF-12662:
-----------------------------
Steps to Reproduce:
# load http://localhost:8080/showcase/richfaces/component-sample.jsf?demo=extend...
# type characters to the filter input for price column (e.g. 'sds')
# make BLUR event on that input
# see that an exception is thrown on the application container console
> 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
>
> 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-12662) Showcase - rich:extendedDataTable - Built-in sorting and filtering - ELException when text filter value provided instead of expected numbers
by Juraj Húska (JIRA)
Juraj Húska created RF-12662:
--------------------------------
Summary: 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
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-12622) Warp dependencies changed
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12622?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak closed RF-12622.
------------------------------
> Warp dependencies changed
> -------------------------
>
> Key: RF-12622
> URL: https://issues.jboss.org/browse/RF-12622
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: build/distribution
> Reporter: Pavol Pitonak
> Assignee: Pavol Pitonak
> Fix For: 4.3.0.M3
>
>
> build/arquillian cannot be built because of wrong Maven dependencies:
> {quote}
> [ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.extension:arquillian-warp-phaser:jar is missing. @ line 33, column 21
> at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1271)
> at hudson.maven.MavenModuleSetBuild$PomParser.invoke(MavenModuleSetBuild.java:1048)
> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2047)
> at hudson.remoting.UserRequest.perform(UserRequest.java:118)
> at hudson.remoting.UserRequest.perform(UserRequest.java:48)
> at hudson.remoting.Request$2.run(Request.java:287)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> {quote}
--
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-12510) jsFunction data called before completittion
by Andrei Tikhomirov (JIRA)
[ https://issues.jboss.org/browse/RF-12510?page=com.atlassian.jira.plugin.s... ]
Andrei Tikhomirov commented on RF-12510:
----------------------------------------
I found following workaroud:
<a4j:jsFunction name="myFunc" data="#{myBean.action()}" action="#{myBean.blankAction}"/>
class MyBean {
public void blankAction(){
//does nothing
}
public DataObject action(){
// executes action and initializes dataObject
return dataObject;
}
}
> jsFunction data called before completittion
> -------------------------------------------
>
> Key: RF-12510
> URL: https://issues.jboss.org/browse/RF-12510
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.2.Final
> Environment: Tomcat 6.0.X
> Reporter: Jan Pernica
> Fix For: 5-Tracking
>
>
> When a4j:jsFunction is called then function on data is called twice. Once before action and then after action. How to disable it? RF 3.3.3 have called it just once.
> {code}
> <a4j:jsFunction name="myFunc" data="#{myBean.data}" action="#{myBean.action}"/>
> {code}
> So that myBean.data is called before action call and after action call. How to prevent it?
--
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-12523) a4j:commandButton generates duplicated context path using a resource value expression within image attribute
by Pavol Pitonak (JIRA)
[ https://issues.jboss.org/browse/RF-12523?page=com.atlassian.jira.plugin.s... ]
Pavol Pitonak reassigned RF-12523:
----------------------------------
Assignee: Juraj Húska (was: Pavol Pitonak)
> a4j:commandButton generates duplicated context path using a resource value expression within image attribute
> ------------------------------------------------------------------------------------------------------------
>
> Key: RF-12523
> URL: https://issues.jboss.org/browse/RF-12523
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.2.2.Final, 4.3.0.M1
> Environment: Windows 7 Professional, JBoss AS 6.1.0.Final, Mojarra 2.1.7
> Reporter: Andreas Owczarek
> Assignee: Juraj Húska
> Labels: ajax4jsf
>
> a4j:commandButton produces an extra context path prefix for the image resource path, when it is used with the value expression {code}#{resource['library:file']}{code} for the image attribute.
> {code:xml|title=Example code}
> <a4j:commandButton image="#{resource['icons:icon.gif']}" value="#{resource['icons:icon.gif']}"/>
> {code}
> {code:xml|title=Generated Result code}
> <input type="image" alt="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" src="/com.example.my.context.path/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" value="/com.example.my.context.path/faces/javax.faces.resource/icon.gif?ln=icons" onclick="RichFaces.ajax("j_idt76",event,{"incId":"1"} );return false;" name="j_idt76" id="j_idt76">
> {code}
> The generated code show the correct value for the expression within the generated button label, but the image could not be located correctly because of the wrong generated image resource path.
--
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-12510) jsFunction data called before completittion
by Andrei Tikhomirov (JIRA)
[ https://issues.jboss.org/browse/RF-12510?page=com.atlassian.jira.plugin.s... ]
Andrei Tikhomirov commented on RF-12510:
----------------------------------------
The same for the a4j:commandLink, I found it after migration from 4.0.0.Final to 4.2.2.Final
> jsFunction data called before completittion
> -------------------------------------------
>
> Key: RF-12510
> URL: https://issues.jboss.org/browse/RF-12510
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.2.Final
> Environment: Tomcat 6.0.X
> Reporter: Jan Pernica
> Fix For: 5-Tracking
>
>
> When a4j:jsFunction is called then function on data is called twice. Once before action and then after action. How to disable it? RF 3.3.3 have called it just once.
> {code}
> <a4j:jsFunction name="myFunc" data="#{myBean.data}" action="#{myBean.action}"/>
> {code}
> So that myBean.data is called before action call and after action call. How to prevent it?
--
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