[JBoss JIRA] Created: (RF-11380) Metamer: rich:dataTable and rich:extendedDataTable using component control: sorting is lost when move using rich:scroller
by Ján Jamrich (JIRA)
Metamer: rich:dataTable and rich:extendedDataTable using component control: sorting is lost when move using rich:scroller
-------------------------------------------------------------------------------------------------------------------------
Key: RF-11380
URL: https://issues.jboss.org/browse/RF-11380
Project: RichFaces
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.1.0.Milestone2
Environment: RichFaces 4.1.0-SNAPSHOT r.929ca8db999e6ec2588613848d2cc72bb493e75f
Metamer 4.1.0-SNAPSHOT r.unknown
Mojarra 2.1.2-FCS
Apache Tomcat 7.0.19
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/10.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30
Reporter: Ján Jamrich
When sort items in dataTable (or extendedDataTable), and then move to next page by rich:scroller, on next page are items not sort. When move back to page where sorting was done, sorting is already lost.
See page faces/components/richExtendedDataTable/sorting-using-component-control.xhtml and faces/components/richDataTable/sorting-using-component-control.xhtml.
Sort table by "Title" (click on table header), and items with title "CEO" should be at the beginning...
Then move next on scroller (doesn't matter if by clicking on number or by arrows). On next page appears items without ordering by title columns.
When move back, the first page is not sorted as well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] Created: (RF-11146) UITree.setSelection() does not remove current selection
by u j (JIRA)
UITree.setSelection() does not remove current selection
-------------------------------------------------------
Key: RF-11146
URL: https://issues.jboss.org/browse/RF-11146
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tree
Affects Versions: 4.0.0.Final
Reporter: u j
In a node selection listener a call to UITree.setSelection() with argument null or an empty collection or a different node does not remove the original selection.
The old selection is restored and added to the new selection. (Subsequently, if the node is clicked again, no new selection change event is generated.)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (RF-11686) Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
by Ján Jamrich (Created) (JIRA)
Metamer: rich:editor: isReadonly() and setReadonly() functions doesn't work
---------------------------------------------------------------------------
Key: RF-11686
URL: https://issues.jboss.org/browse/RF-11686
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: cdk
Affects Versions: 4.1.0.CR1
Environment: RichFaces 4.1.0.20111111-CR1
Metamer 4.1.0.20111111-CR1 r.22924
Mojarra 2.1.3-SNAPSHOT
JBoss AS 7.0.2.Final
Java(TM) SE Runtime Environment 1.6.0_26-b03 @ Linux
Firefox 8.0 @ Linux i686
Reporter: Ján Jamrich
Assignee: Lukáš Fryč
In Metamer demo for editor are buttons for editor's API testing.
All functions on editor seems ok, except functions for editor's readonly status access (isReadonly and setReadonly).
I'm getting following error in browser log when click on this button:
RichFaces.$("form:editor").isReadonly is not a function
[Break On This Error] if(typeof OpenAjax!=="undefined"&&type...){f.render=b}jsf.ajax.request(c,d,f)};
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (RF-11679) rich:extendedDataTable window resize problem when placed in absolute positioned container
by Dmitry Volkov (Created) (JIRA)
rich:extendedDataTable window resize problem when placed in absolute positioned container
-----------------------------------------------------------------------------------------
Key: RF-11679
URL: https://issues.jboss.org/browse/RF-11679
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-tables
Affects Versions: 4.1.0.Milestone4
Environment: tomcat 6, firefox 7, ie8
Reporter: Dmitry Volkov
To reproduce bug place absolute positioned extendedDataTable in absolute positioned div:
{code:xml}
<div style="position:absolute; left: 0px; right: 0px; top: 0px; bottom: 0px;">
<rich:extendedDataTable value="#{carsBean.allInventoryItems}"
var="car" id="table" frozenColumns="2"
style="position:absolute; left: 0px; right: 0px; top: 0px; bottom: 0px;"
selectionMode="none"
clientRows="#{carsBean.clientRows}">
<!-- skipped -->
<rich:extendedDataTable>
</div>
{code}
Please pay attention to style attribute of div and table.
Now resize browser window to make it smaller. Table becomes smaller too.
Resize browser window to make it bigger. Table height doesn't change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (RF-11681) rich:dataTable crashes on postback when columns are dynamically added when partial state saving is enabled
by henk de boer (Created) (JIRA)
rich:dataTable crashes on postback when columns are dynamically added when partial state saving is enabled
----------------------------------------------------------------------------------------------------------
Key: RF-11681
URL: https://issues.jboss.org/browse/RF-11681
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Final
Environment: Mojarra 2.1.3, 2.1.4, JBoss AS 6.0, JBoss AS 6.10
Reporter: henk de boer
When columns are dynamically added to a rich:dataTable, a crash will occur after a postback:
{noformat}
java.lang.NullPointerException
at com.sun.faces.application.view.StateManagementStrategyImpl$4.visit(StateManagementStrategyImpl.java:331)
at com.sun.faces.component.visit.FullVisitContext.invokeVisitCallback(FullVisitContext.java:151)
at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1235)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at javax.faces.component.UIForm.visitTree(UIForm.java:344)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:326)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:188)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:452)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
at javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:303)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
{noformat}
The crash happens if the columns are added either in a backing bean or from another component (in both cases in a PreRenderView event handler, which is a save moment to modify the component tree).
If instead of a {{rich:dataTable}} an {{h:dataTable}} is used, the code works as expected.
With the {{rich:dataTable}}, the statemanager tries to find an ID that looks e.g. like: {{j_idt98:j_idt99:j_id2}}, but in the rendered markup only IDs like {{j_idt98:j_idt99:0:j_id2}} and {{j_idt98:j_idt99:0:j_id3}} are found. In the state map however only IDs of the form {{j_idt98:j_idt99:0:j_id3}} and {{j_idt98:j_idt99:0:j_id4}} are there.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years
[JBoss JIRA] (RF-11682) 'tooltip.popup' is null or not an object
by Brian Leathem (Updated) (JIRA)
[ https://issues.jboss.org/browse/RF-11682?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-11682:
-------------------------------
Security: (was: JBoss Customer)
Description:
i am using <rich:tooltip> inside <rich:dataTable>.its working find but when i do filter or go to next page the popup is throwing js error.
:246
:21
:'tooltip.popup' is null or not an object
<code for review>
{code}
<rich:column filter="#{filter.name}" sortBy="#{row.name}" sortOrder="#{filter.nameOrder}">
<f:facet name="header">
<a4j:commandLink value="Name" action="#{filter.sortByName}" render="table" ></a4j:commandLink>
</f:facet>
<rich:tooltip>#{row.name}</rich:tooltip>
<h:outputText value="#{row.name}"/>
</rich:column>
{code}
was:
i am using <rich:tooltip> inside <rich:dataTable>.its working find but when i do filter or go to next page the popup is throwing js error.
:246
:21
:'tooltip.popup' is null or not an object
<code for review>
---------------------------------------------------------------------------------------------------------------------------------------------------
<rich:column filter="#{filter.name}" sortBy="#{row.name}" sortOrder="#{filter.nameOrder}">
<f:facet name="header">
<a4j:commandLink value="Name" action="#{filter.sortByName}" render="table" ></a4j:commandLink>
</f:facet>
<rich:tooltip>#{row.name}</rich:tooltip>
<h:outputText value="#{row.name}"/>
</rich:column>
--------------------------------------------------------------------------------------------------------------------------------------------------
Priority: Major (was: Critical)
Component/s: component-output
(was: component)
Forum Reference: http://community.jboss.org/message/636299
> 'tooltip.popup' is null or not an object
> ----------------------------------------
>
> Key: RF-11682
> URL: https://issues.jboss.org/browse/RF-11682
> Project: RichFaces
> Issue Type: Bug
> Components: component-output
> Affects Versions: 4.0.0.Final
> Environment: Windows
> Reporter: mani v
> Labels: an, is, not, null, object, or, tooltip.popup'
>
> i am using <rich:tooltip> inside <rich:dataTable>.its working find but when i do filter or go to next page the popup is throwing js error.
>
> :246
> :21
> :'tooltip.popup' is null or not an object
>
>
> <code for review>
> {code}
> <rich:column filter="#{filter.name}" sortBy="#{row.name}" sortOrder="#{filter.nameOrder}">
> <f:facet name="header">
> <a4j:commandLink value="Name" action="#{filter.sortByName}" render="table" ></a4j:commandLink>
> </f:facet>
> <rich:tooltip>#{row.name}</rich:tooltip>
> <h:outputText value="#{row.name}"/>
> </rich:column>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years