[JBoss JIRA] Created: (RF-4412) Provide a selfSorted attribute on dataTable in addition to column
by Chris Simons (JIRA)
Provide a selfSorted attribute on dataTable in addition to column
-----------------------------------------------------------------
Key: RF-4412
URL: https://jira.jboss.org/jira/browse/RF-4412
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.1
Environment: RichFaces 3.2.1; Seam 2.0 GA
Reporter: Chris Simons
Priority: Minor
I am using "selfSorted" in conjunction with "sortBy" to build sortable rich:dataTables; in our application, we are using "selfSorted" with an EL expression to essentially disable sorting when the page is viewed in a "print" mode (set via a parameter). When in this "print" mode, we are disabling the sorting columns.
The idea behind this Feature Request is to provide the same functionality of selfSorted at the rich:dataTable level. This way, the dataTable would figure out which columns have a sortBy expression and enable/disable them according to the value of the selfSorted expression.
This would be nice so that the selfSorted expression does not have to be repeated for each sortable column.
At the dataTable level, selfSorted would be ignored for any column that does not contain a sortExpression or sortBy.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (RF-4371) Faster sorting on dataTable
by Rok Koncina (JIRA)
Faster sorting on dataTable
---------------------------
Key: RF-4371
URL: https://jira.jboss.org/jira/browse/RF-4371
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.0.SR1
Environment: Windows XP SP3, Firefox 3.0.1
Reporter: Rok Koncina
The sorting of column(s) in dataTable is very slow, if you have a lot of data - e.g. 6 columns and 1000 rows. That amount of data take more than one minute to sort. By that I mean the time from the click on the sort icon, to the finish of loading the page with sorted table.
In that time, there is nothing that would tell me, that sorting is in process. (like an hourglass, or something else)
I also noticed that sorting takes place on the server. It would be nice, if there was a feature that would enable client-side sorting, so the application wouldn't load the server unless necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months
[JBoss JIRA] Created: (RF-4349) fileUpload problem - error message is not displayed
by Hrvoje Jo (JIRA)
fileUpload problem - error message is not displayed
---------------------------------------------------
Key: RF-4349
URL: https://jira.jboss.org/jira/browse/RF-4349
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: jsf, a4j
Reporter: Hrvoje Jo
Hi!
I would like to know is there a way to stop fileUploadListener (fileUpload component) and diplay error message?
E.g.
I would like to upload file only if file with sam name doesn't egsist on server. It would be nice if the validation would be on client side. So I tried to do validation inside of fileUploadListener, but the message (<rich:messages />) is not shown, although the upload is stopped, and message is added.
Is this a bug, or am I doing something wrong? Here is the code
public void processUpload(UploadEvent event) {
UploadItem item = event.getUploadItem();
java.io.File f = item.getFile();
fileList = getFiles();
for (File file : fileList) {
if(item.getFileName().equals(file.getName())){
FacesContext ctx = FacesContext.getCurrentInstance();
//Show message
ctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR,
"error", "error"));
ctx.renderResponse();
return;
}
}
//If file doesn't egsists...
...
There is a post on forum
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141559&start=0&p...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 10 months