Integrating your script for filtering/sorting tables in XWiki
Hi Jan, You sent me the following on IRC last week: " I have, based on some other peoples work, built a sorting and filtering function for tables http://www.eldenmalm.com/tableFilterNSort.jsp I would like to suggest to included in the default wiki dist...and integrate it somehow.. " Thank you for that! I was quite excited by this and I have integrated it over the week end (http://jira.xwiki.org/jira/browse/XWIKI-1244). It's now in trunk (XWiki 1.1B1) :) However I've just noticed it's not working under IE (I have IE7). Do you think you could help us make it work under IE? Thanks -Vincent
This looks great! When you say you've "integrated" it, does it mean that it works for default tables only (eg, the ones currently in white and blue) or could it be implemented to work with other kinds of XWiki Results (eg, results for a search, for the what's new page etc...)? I think that currently all those are displayed using some code on the .../view/XWiki/Results page, do you think it could work for them too? And if it works with IE too it will be even better... Guillaume On 21/05/07, Vincent Massol <[email protected]> wrote:
Hi Jan,
You sent me the following on IRC last week:
" I have, based on some other peoples work, built a sorting and filtering function for tables http://www.eldenmalm.com/tableFilterNSort.jsp I would like to suggest to included in the default wiki dist...and integrate it somehow.. "
Thank you for that! I was quite excited by this and I have integrated it over the week end (http://jira.xwiki.org/jira/browse/XWIKI-1244). It's now in trunk (XWiki 1.1B1) :)
However I've just noticed it's not working under IE (I have IE7). Do you think you could help us make it work under IE?
Thanks -Vincent
-- You receive this message as a subscriber of the [email protected] list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
On May 21, 2007, at 1:22 PM, Guillaume Lerouge wrote:
This looks great!
When you say you've "integrated" it, does it mean that it works for default tables only (eg, the ones currently in white and blue) or could it be implemented to work with other kinds of XWiki Results (eg, results for a search, for the what's new page etc...)? I think that currently all those are displayed using some code on the .../ view/XWiki/Results page, do you think it could work for them too?
What I've currently done is defined in here: http://jira.xwiki.org/jira/browse/XWIKI-1244 This is currently used in the XWiki/SearchResults page on the default wiki which means we currently have sorting/filtering on both Search results and What's New page. It can be added to other pages if we need it. Do you have any other in mind? It means that you have to construct HTML tables to benefit form it right now. In the future, I'd like to modify our {table} macro to offer filtering and sorting capabilities too. See http://jira.xwiki.org/jira/browse/XWIKI-1249 Thanks -Vincent
And if it works with IE too it will be even better...
Guillaume
On 21/05/07, Vincent Massol <[email protected] > wrote: Hi Jan,
You sent me the following on IRC last week:
" I have, based on some other peoples work, built a sorting and filtering function for tables http://www.eldenmalm.com/tableFilterNSort.jsp I would like to suggest to included in the default wiki dist...and integrate it somehow.. "
Thank you for that! I was quite excited by this and I have integrated it over the week end (http://jira.xwiki.org/jira/browse/XWIKI-1244 ). It's now in trunk (XWiki 1.1B1) :)
However I've just noticed it's not working under IE (I have IE7). Do you think you could help us make it work under IE?
Thanks -Vincent
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto: [email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
-- http://wikibc.blogspot.com/
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
Hi Jan, On May 21, 2007, at 1:26 PM, Jan Eldenmalm wrote:
Vincent,
I can definitely fix a bug or two....unfortunately I can not reproduce the problem with IE7
If anybody can test here: http://www.eldenmalm.com/tableFilterNSort.jsp
and mail me bug reports I'll have a look at it.
Your script works fine in IE7 (so does Max's). The problem is with the integration I've done in XWiki it seems. BTW, I've seen that Max has released version 1.6 of his script. Do you plan to integrate it in your script? (I haven't done a diff yet between your script and Max's to see what was changed). Note: I've had to modify one line of your script as it wasn't working with Prototype (it seems this is fixed in version 1.6 of Max's script). FYI the problem in xwiki is that hitting enter or the filter button doesn't do anything. Thanks -Vincent
Jan Eldenmalm Mob: +44 790 877 44 43 Tel: +44 207 043 91 61 Fax: +44 709 287 83 00
Vincent Massol wrote:
Hi Jan,
You sent me the following on IRC last week:
" I have, based on some other peoples work, built a sorting and filtering function for tables http://www.eldenmalm.com/tableFilterNSort.jsp I would like to suggest to included in the default wiki dist...and integrate it somehow.. "
Thank you for that! I was quite excited by this and I have integrated it over the week end (http://jira.xwiki.org/jira/browse/ XWIKI-1244). It's now in trunk (XWiki 1.1B1) :)
However I've just noticed it's not working under IE (I have IE7). Do you think you could help us make it work under IE?
Thanks -Vincent
participants (3)
-
Guillaume Lerouge -
Jan Eldenmalm -
Vincent Massol