[JBoss JIRA] (RF-12978) collapsibleSubTable ignores rowClasses
by Edward I (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Edward I commented on RF-12978:
-------------------------------
Thanks for the update. I have discovered that this only works if:
<style type="text/css">
.rf-cst-c{
background-color: inherit;
}
</style>
is included in the .xhtml file. It won't work if that same style is in the an external .css file. My .xhtml page uses external css as follows:
<h:head>
<link rel="stylesheet" type="text/css" href="../includes/main.css" />
<title>Page Title</title>
</h:head>
The evenRow and oddRow styles are only picked up if .rf-cst-c is defined inline in the page, not if it is defined in the css file (or left out altogether as in RF3). Is that the desired/documented behaviour?
> 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: Brian Leathem
> 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
[JBoss JIRA] (RF-13060) Issue in initializing the list of selected items in a Picklist
by Jean-Noel Colin (JIRA)
Jean-Noel Colin created RF-13060:
------------------------------------
Summary: Issue in initializing the list of selected items in a Picklist
Key: RF-13060
URL: https://issues.jboss.org/browse/RF-13060
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-selects
Affects Versions: 4.3.2
Reporter: Jean-Noel Colin
A picklist uses two list of items: a list of available items and a list of selected items. If this second list has to be initialized, it has to contain the same object instances as those in the available items. So both lists can't be built from two separate DB queries, since they would refer to distinct objects, and in this case, the list of selected items would always be empty. Upon request of Brian Leathem, I have created this JIRA issue after providing a sample application that illustrates the problem.
/Items.xhtml is the frontend
Item is the element to be displayed in the list
ItemBean is the managed bean that builds the available and selected lists
ItemConverter is the converter
As you see in ItemBean's constructor, depending on the way I build the selectedList, it gets displayed properly or not
the project is using ivy for dependencies, and is build using ant tasks
ant resolve-dependencies
ant package
should build the war file in /dist
--
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-13025) MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
by Andrey Zhemoytuk (JIRA)
[ https://issues.jboss.org/browse/RF-13025?page=com.atlassian.jira.plugin.s... ]
Andrey Zhemoytuk edited comment on RF-13025 at 6/14/13 9:41 AM:
----------------------------------------------------------------
It seems that the issue is not connected with RichFaces library but with how jsf implementations process @ResourceDependency annotations.
The issue is reproducible with pure myfaces (with mojarra too) when partial state saving is OFF e.g. with the following code:
{code:xml}
<h:form>
<h:commandButton value="Toggle" action="#{bean.togglePanelShown}">
<f:ajax execute="@this" render="group"/>
</h:commandButton>
<h:panelGroup id="group">
<c:if test="#{bean.panelShown}">
<!-- Any component with @ResourceDependency annotation. -->
<custom:componentWithResourceDependency/>
</c:if>
</h:panelGroup>
</h:form>
{code}
was (Author: a.zhemoytuk):
It seems that the issue is not connected with RichFaces library but with how jsf implementations process @ResourceDependency annotations.
The issue is reproducible with pure myfaces (with mojarra too) when partial state saving is OFF e.g. with the following code:
<h:form>
<h:commandButton value="Toggle" action="#{bean.togglePanelShown}">
<f:ajax execute="@this" render="group"/>
</h:commandButton>
<h:panelGroup id="group">
<c:if test="#{bean.panelShown}">
<!-- Any component with @ResourceDependency annotation. -->
<custom:componentWithResourceDependency/>
</c:if>
</h:panelGroup>
</h:form>
> MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
> ------------------------------------------------------------------------------------------------
>
> Key: RF-13025
> URL: https://issues.jboss.org/browse/RF-13025
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.2.2.Final, 4.3.2
> Environment: Richfaces 4.2.2 (happens also with Richfaces 4.3.2)
> myfaces 2.1.10 (happens also with 2.1.11)
> Tomcat 6.0.36
> Reporter: Michael Heinen
> Fix For: 5.0.0.Alpha2
>
> Attachments: Dump20Clicks.jpg, Dump2Clicks.jpg, zSessionLeak.war
>
>
> The SerializedViewCollection grows in my application with every ajax call.
> A new reference to a "org.richfaces.renderkit.ResourceLibraryRenderer" is added each time.
> This happens only if the page contains a <a4j:ajax> tag.
> Without any <a4j:ajax> tag the SerializedViewCollection doesn't grow!
> A sample application will be attached as well as screenshots with the heap dumps.
> The Heapdumps are also available.
--
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-13025) MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
by Andrey Zhemoytuk (JIRA)
[ https://issues.jboss.org/browse/RF-13025?page=com.atlassian.jira.plugin.s... ]
Andrey Zhemoytuk commented on RF-13025:
---------------------------------------
It seems that the issue is not connected with RichFaces library but with how jsf implementations process @ResourceDependency annotations.
The issue is reproducible with pure myfaces (with mojarra too) when partial state saving is OFF e.g. with the following code:
<h:form>
<h:commandButton value="Toggle" action="#{bean.togglePanelShown}">
<f:ajax execute="@this" render="group"/>
</h:commandButton>
<h:panelGroup id="group">
<c:if test="#{bean.panelShown}">
<!-- Any component with @ResourceDependency annotation. -->
<custom:componentWithResourceDependency/>
</c:if>
</h:panelGroup>
</h:form>
> MemoryLeak: SerializedViewCollection filled with org.richfaces.renderkit.ResourceLibraryRenderer
> ------------------------------------------------------------------------------------------------
>
> Key: RF-13025
> URL: https://issues.jboss.org/browse/RF-13025
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core
> Affects Versions: 4.2.2.Final, 4.3.2
> Environment: Richfaces 4.2.2 (happens also with Richfaces 4.3.2)
> myfaces 2.1.10 (happens also with 2.1.11)
> Tomcat 6.0.36
> Reporter: Michael Heinen
> Fix For: 5.0.0.Alpha2
>
> Attachments: Dump20Clicks.jpg, Dump2Clicks.jpg, zSessionLeak.war
>
>
> The SerializedViewCollection grows in my application with every ajax call.
> A new reference to a "org.richfaces.renderkit.ResourceLibraryRenderer" is added each time.
> This happens only if the page contains a <a4j:ajax> tag.
> Without any <a4j:ajax> tag the SerializedViewCollection doesn't grow!
> A sample application will be attached as well as screenshots with the heap dumps.
> The Heapdumps are also available.
--
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-13043) rich:select add title Attributes to items
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13043?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13043:
---------------------------------
Yes, please open a new issue and specify the requirements what we have discussed together with a link to this issue.
> rich:select add title Attributes to items
> -----------------------------------------
>
> Key: RF-13043
> URL: https://issues.jboss.org/browse/RF-13043
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.3.2, 5.0.0.Alpha1
> Reporter: J W
> Priority: Minor
> Fix For: 5-Tracking
>
>
> It would be really good if rich:select had a title Attribute for every item listed. In the delivered HTML-Code every Item is in a DIV-Tag, so it should not be too hard to add this functionality.
--
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 Andrey Zhemoytuk (JIRA)
[ https://issues.jboss.org/browse/RF-12361?page=com.atlassian.jira.plugin.s... ]
Andrey Zhemoytuk commented on RF-12361:
---------------------------------------
The issue is reproducible with RichFaces 4.2.2.Final, but not reproducible with 4.3.2.Final. There were quite a few improvements/fixes for iteration components in 4.3.0. Probably this issue was fixed indirectly there.
> 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
> Fix For: 5-Tracking
>
> 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 Andrey Zhemoytuk (JIRA)
[ https://issues.jboss.org/browse/RF-12409?page=com.atlassian.jira.plugin.s... ]
Andrey Zhemoytuk commented on RF-12409:
---------------------------------------
Reproducible with RichFaces 4.2.2.Final, but not reproducible with 4.3.2.Final. It seems it was fixed in scope of https://issues.jboss.org/browse/RF-11382 (the issue says about dataTable and extendedDataTable, but it was fixed for all iteration components (which extend UIDataAdaptor)).
> 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}"
> +- 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
--
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-13043) rich:select add title Attributes to items
by J W (JIRA)
[ https://issues.jboss.org/browse/RF-13043?page=com.atlassian.jira.plugin.s... ]
J W commented on RF-13043:
--------------------------
while the workarround is working, i think it is a good idea to let the users define their own titles for the items. so the custom content idea is pretty good.
should i open a new feature request for this?
> rich:select add title Attributes to items
> -----------------------------------------
>
> Key: RF-13043
> URL: https://issues.jboss.org/browse/RF-13043
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-selects
> Affects Versions: 4.3.2, 5.0.0.Alpha1
> Reporter: J W
> Priority: Minor
> Fix For: 5-Tracking
>
>
> It would be really good if rich:select had a title Attribute for every item listed. In the delivered HTML-Code every Item is in a DIV-Tag, so it should not be too hard to add this functionality.
--
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 Jiří Štefek (JIRA)
[ https://issues.jboss.org/browse/RF-12978?page=com.atlassian.jira.plugin.s... ]
Jiří Štefek reassigned RF-12978:
--------------------------------
Assignee: Brian Leathem (was: Jiří Štefek)
> 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: Brian Leathem
> 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