[JBoss JIRA] (RF-12349) Calendar component hidden behind rich:accordian component
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12349?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-12349:
----------------------------------
Assignee: Pavol Pitonak
[~ppitonak] please verify this report.
> Calendar component hidden behind rich:accordian component
> ---------------------------------------------------------
>
> Key: RF-12349
> URL: https://issues.jboss.org/browse/RF-12349
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 4.2.2.Final
> Environment: OS:- Windows XP
> JDK:-JDK 1.6.0_20
> Reporter: Nikhil Hukkerikar
> Assignee: Pavol Pitonak
> Fix For: 5-Tracking
>
>
> The calendar component <rich:calendar> is hidden behind the <rich:accordionitem>, wherein the calendar component is included inside one of the accordion Items of the <rich:accordion> component.
--
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
11 years, 7 months
[JBoss JIRA] (RF-13063) RichFacesInputNumberSlider setValueByDragging
by Bernard Labno (JIRA)
Bernard Labno created RF-13063:
----------------------------------
Summary: RichFacesInputNumberSlider setValueByDragging
Key: RF-13063
URL: https://issues.jboss.org/browse/RF-13063
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: qe
Affects Versions: 4.3.2
Reporter: Bernard Labno
Priority: Minor
In richfaces-qa/page-fragments there is RichFacesInputNumberSlider fragment. It would be great to be able to test setting value as percentage of width implemented as dragging the handle.
One can do it like that:
((JavascriptExecutor) GrapheneContext.getProxy()).executeScript("arguments[0].scrollIntoView(true);", weightSlider.getNumberSlider().getRoot());
waitGui();
final int width = weightSlider.getNumberSlider().getWidth();
final int where = (int) (width * percentage);
final WebElement handle = weightSlider.getNumberSlider().getHandleElement();
final Action action = new Actions(GrapheneContext.getProxy()).clickAndHold(handle)
.moveToElement(weightSlider.getNumberSlider().getRoot(), where, 0)
.release(handle)
.build();
It is very important to bring component into view before dragging.
If you do not do that and component is very far to the right (you need to scroll to the right to see it) then calculations are wrong.
--
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
11 years, 7 months
[JBoss JIRA] (RF-13062) r:validator stops working
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13062?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-13062:
----------------------------------
Assignee: Pavol Pitonak
[~ppitonak] Do we yet have our test suite running against WildFly?
Doing so with a JSF 2.1 version configured would be a good start to hammer out any appserver/undertow issues.
> r:validator stops working
> -------------------------
>
> Key: RF-13062
> URL: https://issues.jboss.org/browse/RF-13062
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 5.0.0.Alpha1
> Reporter: Juergen Zimmermann
> Assignee: Pavol Pitonak
>
> I just tried r:validator with the current snapshot for WildFly 8.0.0.Alpha2 (changed Mojarra 2.2.0 to 2.1.23). However, if I'm doing a wrong input nothing happens. No error message, no stacktrace, just nothing.
--
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
11 years, 7 months
[JBoss JIRA] (RF-13061) r:fileUpload stops working: "Request prolog cannot be read"
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13061?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-13061:
----------------------------------
Assignee: Stuart Douglas
Assigning for comments/feedback.
[~stuartdouglas] can you tell us if this looks like an Undertow issue?
> r:fileUpload stops working: "Request prolog cannot be read"
> -----------------------------------------------------------
>
> Key: RF-13061
> URL: https://issues.jboss.org/browse/RF-13061
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-input
> Affects Versions: 5.0.0.Alpha1
> Reporter: Juergen Zimmermann
> Assignee: Stuart Douglas
>
> I just tried r:fileUpload with the current snapshot for WildFly 8.0.0.Alpha2 (changed Mojarra 2.2.0 to 2.1.23). It actually looks pretty good. However, I'm getting this stacktrace for fileUpload:
> {code}
> 16:33:44,571 SEVERE [org.richfaces.log.Application] Exception parsing multipart request: Request prolog cannot be read: org.richfaces.ui.input.fileUpload.FileUploadException: Exception parsing multipart request: Request prolog cannot be read
> at org.richfaces.request.MultipartRequestParser.parse(MultipartRequestParser.java:156) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> at org.richfaces.request.MultipartRequest25.parseIfNecessary(MultipartRequest25.java:77) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> at org.richfaces.request.MultipartRequest25.getParameter(MultipartRequest25.java:114) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:75) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.context.RequestParameterMap.get(RequestParameterMap.java:56) [jsf-impl-2.1.23.jar:2.1.23]
> at java.util.Collections$UnmodifiableMap.get(Collections.java:1339) [rt.jar:1.7.0_21]
> at com.sun.faces.facelets.tag.ui.UIDebug.debugRequest(UIDebug.java:168) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.context.flash.ELFlash$PreviousNextFlashInfoManager.decode(ELFlash.java:1225) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.context.flash.ELFlash.getCurrentFlashManager(ELFlash.java:1059) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.context.flash.ELFlash.doPrePhaseActions(ELFlash.java:557) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:215) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) [jsf-impl-2.1.23.jar:2.1.23]
> at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) [jsf-impl-2.1.23.jar:2.1.23]
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593) [jsf-api-2.1.23.jar:2.1]
> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:87) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:138) [undertow-websockets-jsr-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:56) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:85) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:56) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:115) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:55) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:65) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:70) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at org.wildfly.extension.undertow.security.SecurityContextCreationHandler.handleRequest(SecurityContextCreationHandler.java:54)
> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:127) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:114) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:47) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:90) [undertow-servlet-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.server.HttpHandlers.executeRootHandler(HttpHandlers.java:36) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:607) [undertow-core-1.0.0.Alpha19.jar:1.0.0.Alpha19]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
> Caused by: java.io.IOException: Request prolog cannot be read
> at org.richfaces.request.MultipartRequestParser.readProlog(MultipartRequestParser.java:270) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> at org.richfaces.request.MultipartRequestParser.initialize(MultipartRequestParser.java:172) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> at org.richfaces.request.MultipartRequestParser.parse(MultipartRequestParser.java:148) [richfaces-5.0.0.Alpha1.jar:5.0.0.Alpha1]
> ... 43 more
> {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
11 years, 7 months
[JBoss JIRA] (RF-12361) Tree cannot be expanded inside collection tags
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12361?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-12361.
--------------------------------
Fix Version/s: (was: 5-Tracking)
Resolution: Out of Date
Thanks for following up with this issue!
> Tree cannot be expanded inside collection tags
> ----------------------------------------------
>
> Key: RF-12361
> URL: https://issues.jboss.org/browse/RF-12361
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 4.2.2.Final
> Environment: myFaces 2.1.8
> Tomcat 6.0.35
> Reporter: Michael Heinen
> Labels: tree
> Attachments: tree.war
>
>
> The rich:tree cannot be expanded completely via ajax if it is used inside a rich:list. The first level can be expanded but no deeper levels.
> Inside tomahawk datalist it does also not work.
> The tree worked well with tomahawk's datalist in richfaces 3.3.3. Therefore it is a showstopper for an update to version 4.
> {code:xml}
> <rich:list id="treeList"
> value="#{treeListBean.treeBeans}"
> var="currentItem"
> iterationStatusVar="counter"
> type="unordered"
> rowKeyVar="rowKey">
> <h:panelGroup id="t_group">
> <h:panelGrid id="t_grid" columns="2" columnClasses="top,top" width="60%">
> <rich:tree id="tree"
> nodeType="#{node.type}"
> var="node"
> value="#{currentItem.rootNodes}"
> toggleType="ajax">
> <rich:treeNode id="n_country"
> type="country">
> #{node.name}
> </rich:treeNode>
> <rich:treeNode id="n_company"
> type="company"
> icon="/images/tree/disc.gif">
> #{node.name}
> </rich:treeNode>
> <rich:treeNode id="n_song"
> type="cd"
> icon="/images/tree/song.gif">
> #{node.artist} - #{node.name} - #{node.year}
> </rich:treeNode>
> </rich:tree>
> </h:panelGrid>
> </h:panelGroup>
> </rich:list>
> {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
11 years, 7 months
[JBoss JIRA] (RF-12409) rich:list does not work with Partial State Saving
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12409?page=com.atlassian.jira.plugin.s... ]
Brian Leathem resolved RF-12409.
--------------------------------
Fix Version/s: (was: 5-Tracking)
Resolution: Out of Date
Thanks for following up with this issue!
> rich:list does not work with Partial State Saving
> -------------------------------------------------
>
> Key: RF-12409
> URL: https://issues.jboss.org/browse/RF-12409
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.2.Final
> Environment: myfaces 2.1.8
> Tomcat 6.0.35
> Reporter: Michael Heinen
> Attachments: pss.war
>
>
> The rich:list does not work with PSS enabled (javax.faces.PARTIAL_STATE_SAVIN=true).
> Inner lists (or some(!) other components) are evaluated although they are not rendered.
> This sample works correctly if <ui:repeat> or tomahawk's datalist is used instead of the rich:lists.
> {code:xml}
> <rich:list var="currentItem"
> value="#{viewItemListBean.viewItems}">
> <h:panelGroup rendered="#{currentItem.type == 'TextBean'}">
> <h:outputText value="#{currentItem.text}"/>
> </h:panelGroup>
> <h:panelGroup rendered="#{currentItem.type == 'CheckboxBean'}">
> <rich:list var="checkbox"
> value="#{currentItem.checkboxes}">
> <h:outputText value="#{checkbox.label}"/>
> </rich:list>
> </h:panelGroup>
> </rich:list>
> {code}
> Result:
> javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> viewId=/index.xhtml
> location=E:\workspace\jsf21test\zPSS\WebRoot\index.xhtml
> phaseId=RENDER_RESPONSE(6)
> Caused by:
> javax.el.PropertyNotFoundException - Property 'checkboxes' not found on type com.TextBean
> at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
> /index.xhtml at line 28 and column 51 value="#{currentItem.checkboxes}"
> {code:title=Stack Trace=}
> org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:100)
> at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)
> at org.richfaces.component.UISequence.getValue(UISequence.java:175)
> at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:109)
> at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:459)
> at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:272)
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1299)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at org.richfaces.component.UIDataAdaptor$DataVisitorForVisitTree.process(UIDataAdaptor.java:199)
> at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
> at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:796)
> at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)
> at javax.faces.component.UIForm.visitTree(UIForm.java:354)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveStateOnMapVisitTree(DefaultFaceletsStateManagementStrategy.java:787)
> at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:564)
> at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
> at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:2043)
> at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
> at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
> at javax.el.BeanELResolver.property(BeanELResolver.java:300)
> at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
> at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96)
> ... 41 more
> {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
11 years, 7 months
[JBoss JIRA] (RF-12409) rich:list does not work with Partial State Saving
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12409?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-12409:
-------------------------------
Description:
The rich:list does not work with PSS enabled (javax.faces.PARTIAL_STATE_SAVIN=true).
Inner lists (or some(!) other components) are evaluated although they are not rendered.
This sample works correctly if <ui:repeat> or tomahawk's datalist is used instead of the rich:lists.
{code:xml}
<rich:list var="currentItem"
value="#{viewItemListBean.viewItems}">
<h:panelGroup rendered="#{currentItem.type == 'TextBean'}">
<h:outputText value="#{currentItem.text}"/>
</h:panelGroup>
<h:panelGroup rendered="#{currentItem.type == 'CheckboxBean'}">
<rich:list var="checkbox"
value="#{currentItem.checkboxes}">
<h:outputText value="#{checkbox.label}"/>
</rich:list>
</h:panelGroup>
</rich:list>
{code}
Result:
javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
viewId=/index.xhtml
location=E:\workspace\jsf21test\zPSS\WebRoot\index.xhtml
phaseId=RENDER_RESPONSE(6)
Caused by:
javax.el.PropertyNotFoundException - Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
/index.xhtml at line 28 and column 51 value="#{currentItem.checkboxes}"
{code:title=Stack Trace=}
org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:100)
at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)
at org.richfaces.component.UISequence.getValue(UISequence.java:175)
at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:109)
at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:459)
at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:272)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1299)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.richfaces.component.UIDataAdaptor$DataVisitorForVisitTree.process(UIDataAdaptor.java:199)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:796)
at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)
at javax.faces.component.UIForm.visitTree(UIForm.java:354)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveStateOnMapVisitTree(DefaultFaceletsStateManagementStrategy.java:787)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:564)
at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:2043)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
at javax.el.BeanELResolver.property(BeanELResolver.java:300)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96)
... 41 more
{code}
was:
The rich:list does not work with PSS enabled (javax.faces.PARTIAL_STATE_SAVIN=true).
Inner lists (or some(!) other components) are evaluated although they are not rendered.
This sample works correctly if <ui:repeat> or tomahawk's datalist is used instead of the rich:lists.
{code:xml}
<rich:list var="currentItem"
value="#{viewItemListBean.viewItems}">
<h:panelGroup rendered="#{currentItem.type == 'TextBean'}">
<h:outputText value="#{currentItem.text}"/>
</h:panelGroup>
<h:panelGroup rendered="#{currentItem.type == 'CheckboxBean'}">
<rich:list var="checkbox"
value="#{currentItem.checkboxes}">
<h:outputText value="#{checkbox.label}"/>
</rich:list>
</h:panelGroup>
</rich:list>
{code}
Result:
javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
viewId=/index.xhtml
location=E:\workspace\jsf21test\zPSS\WebRoot\index.xhtml
phaseId=RENDER_RESPONSE(6)
Caused by:
javax.el.PropertyNotFoundException - Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
/index.xhtml at line 28 and column 51 value="#{currentItem.checkboxes}"
+- Stack Trace
org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:100)
at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)
at org.richfaces.component.UISequence.getValue(UISequence.java:175)
at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:109)
at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:459)
at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:272)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1299)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.richfaces.component.UIDataAdaptor$DataVisitorForVisitTree.process(UIDataAdaptor.java:199)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:796)
at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)
at javax.faces.component.UIForm.visitTree(UIForm.java:354)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveStateOnMapVisitTree(DefaultFaceletsStateManagementStrategy.java:787)
at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:564)
at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:2043)
at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
at javax.el.BeanELResolver.property(BeanELResolver.java:300)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96)
... 41 more
> rich:list does not work with Partial State Saving
> -------------------------------------------------
>
> Key: RF-12409
> URL: https://issues.jboss.org/browse/RF-12409
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tables
> Affects Versions: 4.2.2.Final
> Environment: myfaces 2.1.8
> Tomcat 6.0.35
> Reporter: Michael Heinen
> Fix For: 5-Tracking
>
> Attachments: pss.war
>
>
> The rich:list does not work with PSS enabled (javax.faces.PARTIAL_STATE_SAVIN=true).
> Inner lists (or some(!) other components) are evaluated although they are not rendered.
> This sample works correctly if <ui:repeat> or tomahawk's datalist is used instead of the rich:lists.
> {code:xml}
> <rich:list var="currentItem"
> value="#{viewItemListBean.viewItems}">
> <h:panelGroup rendered="#{currentItem.type == 'TextBean'}">
> <h:outputText value="#{currentItem.text}"/>
> </h:panelGroup>
> <h:panelGroup rendered="#{currentItem.type == 'CheckboxBean'}">
> <rich:list var="checkbox"
> value="#{currentItem.checkboxes}">
> <h:outputText value="#{checkbox.label}"/>
> </rich:list>
> </h:panelGroup>
> </rich:list>
> {code}
> Result:
> javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> viewId=/index.xhtml
> location=E:\workspace\jsf21test\zPSS\WebRoot\index.xhtml
> phaseId=RENDER_RESPONSE(6)
> Caused by:
> javax.el.PropertyNotFoundException - Property 'checkboxes' not found on type com.TextBean
> at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
> /index.xhtml at line 28 and column 51 value="#{currentItem.checkboxes}"
> {code:title=Stack Trace=}
> org.apache.myfaces.view.facelets.el.ContextAwarePropertyNotFoundException: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:100)
> at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)
> at org.richfaces.component.UISequence.getValue(UISequence.java:175)
> at org.richfaces.component.UISequence.createExtendedDataModel(UISequence.java:109)
> at org.richfaces.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:459)
> at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:272)
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1299)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at org.richfaces.component.UIDataAdaptor$DataVisitorForVisitTree.process(UIDataAdaptor.java:199)
> at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:65)
> at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:796)
> at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)
> at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)
> at javax.faces.component.UIForm.visitTree(UIForm.java:354)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at javax.faces.component.UIComponent.visitTree(UIComponent.java:960)
> at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1165)
> at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveStateOnMapVisitTree(DefaultFaceletsStateManagementStrategy.java:787)
> at org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementStrategy.saveView(DefaultFaceletsStateManagementStrategy.java:564)
> at org.apache.myfaces.application.StateManagerImpl.saveView(StateManagerImpl.java:189)
> at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:2043)
> at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> at org.apache.myfaces.tomahawk.application.ResourceViewHandlerWrapper.renderView(ResourceViewHandlerWrapper.java:93)
> at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:59)
> at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:116)
> at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:241)
> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:199)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: javax.el.PropertyNotFoundException: Property 'checkboxes' not found on type com.TextBean
> at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:214)
> at javax.el.BeanELResolver$BeanProperties.access$400(BeanELResolver.java:191)
> at javax.el.BeanELResolver.property(BeanELResolver.java:300)
> at javax.el.BeanELResolver.getValue(BeanELResolver.java:81)
> at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)
> at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:179)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:123)
> at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
> at org.apache.myfaces.view.facelets.el.ContextAwareTagValueExpression.getValue(ContextAwareTagValueExpression.java:96)
> ... 41 more
> {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
11 years, 7 months
[JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reassigned RF-12978:
----------------------------------
Assignee: Jiří Štefek (was: Brian Leathem)
[~jstefek] can you confirm the reported behavour about needing to override the CSS class?
> collapsibleSubTable ignores rowClasses
> --------------------------------------
>
> Key: RF-12978
> URL: https://issues.jboss.org/browse/RF-12978
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 4.3.1
> Environment: Firefox 20.0, Linux
> Reporter: Edward I
> Assignee: Jiří Štefek
> Attachments: rf-12978.zip
>
>
> The rowClasses is ignored in the following:
> {code:xml}
> <rich:collapsibleSubTable value="#{item.items}" var="comp" rowClasses="oddRow, evenRow">
> {code}
> DataTable works correctly with the same rowClasses.
--
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
11 years, 7 months