[ http://jira.nuxeo.org/browse/NXP-350?page=comments#action_15329 ] Razvan Caraghin commented on NXP-350: -------------------------------------
It's kinda hard to find another way to make this work for the moment. I would agree that disabling the checkboxes while loading is a good workaround. I will search google to find some javascript that does this. > A4J CheckBoxes > -------------- > > Key: NXP-350 > URL: http://jira.nuxeo.org/browse/NXP-350 > Project: Nuxeo Enterprise Platform 5 > Issue Type: Bug > Security Level: External(All people) > Components: Web UI > Affects Versions: 5.0 Final > Environment: All and especially > Reporter: Andreas Kalogeropoulos > Assigned To: Razvan Caraghin > Priority: Major > Fix For: 5.1 M1 > > > I have tried to don't include the list in a4j reload, but the problems > exposed below still persist. > I really think it is better not to use a4j here... > Here is the original mails : > > I want to talk about a4j, cause i have noticed some problems : > > - Mainly, when we click two checkbox one after all (not necesarly really > > quick), it throws an exception (that actually change the page to a full > > text) > > - On IE, when you click on a checkbox, and after a D&D to move an item in > > a folder, it crashes badly IE (6 and 7). > > > > I am not sure it is really useful to put a4j on checkbox, and it seems it > > has some issues with script.aculo.us. > > > > What do you think? > Ajax 4 JSF on checkboxes is at least useful for one thing: update the > "disabled" > attribute of bottom buttons (copy / paste / delete) according to the rights > and > the state of the document you have selected. > As for reupdating the state of the list, I think this is a design mistake > since > it is not scalable: > load 100 docs or more in your repository, go to the search form and do a > "SELECT > * from Document" to get a flat clipboardable list of all the documents in your > repository. Every time you click on a checkbox the request is redone just to > updated the selected state of the checkboxes. If the request time is longuer > than the delay between two checkbox clics, you'll get an error. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.nuxeo.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ ECM-tickets mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm-tickets
