On Thu, 19 Jul 2007, ChuckDeal wrote:
> I am not locked into the DataTable, but I think the repeater is the best
> component for what I am trying to do.  Is that correct?

My general feeling, based on the couple of Wicket projects 
that I've been involved in, is that DataTable is best suited
for a case where you want a fairly finished out-of-the-box 
implementation without a lot of custom tweaking or extra
functionality. 

To make a grid in which you can repaint single rows I would
try something that starts from more bare-bones components
such as DataView and finding the relevant Items with
IVisitor (operating e.g. on the DataView during the ajax
request processing). We have done something similar but a
bit simpler as we didn't allow editing the grid directly. 

Note the potential for race conditions if the user enters
text and then, while the ajax request is being processed,
clicks a row to be updated => boom. We worked around this by
disabling the grid during ajax request processing (by using
a layover being toggled by IAjaxIndicatorAware), but that
cannot really be used if the grid itself is being edited and
precisely editing it will toggle ajax events updating it.

HTH, YMMV :)

- Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to