[JBoss JIRA] Created: (RF-1246) rich:datascroller - looks different before and after rich:dataTable
by 123 123 (JIRA)
rich:datascroller - looks different before and after rich:dataTable
-------------------------------------------------------------------
Key: RF-1246
URL: http://jira.jboss.com/jira/browse/RF-1246
Project: RichFaces
Issue Type: Bug
Environment: Eclipse, Tomcat 6, Java 1.6, richfaces-ui-3.1.2.GA, jsf 1.2_04-b16-p02
Reporter: 123 123
Priority: Minor
Fix For: 3.1.2
Simple action - commandLink run table filtering so table content sometimes are changed
1. For this sequence of code dataScroller is not displayed correctly. After filtering Rowcount in scroller keeps old count of rows and count of buttons pages is incorrect
<a4j:commandLink actionListener="#{table.filter}"reRender="table,">
<rich:datascroller align="left" for="table" binding="#{table.dataScroller}" />
<rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" ></rich:dataTable>
2. For this sequence everything is good. Scroller see correct table and row count
<a4j:commandLink actionListener="#{table.filter}"reRender="table,">
<rich:dataTabl id="table" rows="10" value="#{parSlowList.parElSloTable}" ></rich:dataTable>
<rich:datascroller align="left" for="table" binding="#{table.dataScroller}" />
-----------------------------------
My filter looks like :
public void table.filter(ActionEvent event) {
loadTable(filterValue);
getDataScroller().setPage("first");
// getDataScroller().getDataTabe().getRowCount() <-- in first scenario this gave bad row count
}
I think that UIDatascroller should contain resetDataTable method like UIDataFltrSlider or something is wrong in getDataTable - UIDataFltrSlider.getDataTable looks different than the same mathod in scroller.
public void resetDataTable() {
getSession().remove("...");
getDataTable().setValue(getDataTable().getValueBinding("#{" + getForValRef() + "}"));
}
?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years
[JBoss JIRA] Created: (RF-949) can't use parameters using menu server mode
by Ilya Shaikovsky (JIRA)
can't use parameters using menu server mode
-------------------------------------------
Key: RF-949
URL: http://jira.jboss.com/jira/browse/RF-949
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Ilya Shaikovsky
Assigned To: Maksim Kaszynski
<rich:menuItem value="item" action="#{capitalsBean.action}" submitMode="server" reRender="test">
<f:param name="test" value="test" />
</rich:menuItem>
public String action() {
System.out.println("Action fired");
String sid=FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("test");
System.out.println(sid);
return null;
}
In ajax mode I can see in console:
Action fired
test
In server mode -
Action fired
null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 5 months
[JBoss JIRA] Created: (RF-1100) Drag-n-Drop: dragged item does not scroll up the view port in Firefox
by Brian Preu? (JIRA)
Drag-n-Drop: dragged item does not scroll up the view port in Firefox
---------------------------------------------------------------------
Key: RF-1100
URL: http://jira.jboss.com/jira/browse/RF-1100
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Environment: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5
Reporter: Brian Preu?
Suppose you have a "drop zone" for dragable items somewhere near the top of your page.
If you got a longer list of dragable item, you scoll down the page, so that the "drop zone" moves out of the view port.
Now try to drag an item with the mouse pointer movement to the "drop zone", which sits outside the view port (on the top).
It's not possible to do this in Firefox 2.0.0.5 on Fedora Core 7. It works fine with Opera 9.2.3.
As a work around you can use the cursor key in Firedox to scroll up the page, while you're still dragging the item.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 7 months