I have made an Tacos-friendly table components where the links are all Ajax links, but had avoided extending the "Form" versions of the Table components. In Tap 4.0 the FormTable is deprecated because the Table now contains the form-handling.
I had avoided doing the Form version because I was afraid that ajax-enabling it would cause a problem in the client. Does anyone know offhand the problems to look for when injecting different forms/form components into the browser? For example, when we paginate the table it would display a new set of form components, etc. I will experiment to see what happens, but if anyone has any advice I'd love to hear it.
For example, should I force the updateComponents to refresh the _entire_ form and all of its components? Or can I simply add/remove fields from the client form object?
Thanks for any advice you might have from your experiences,
Michael
Michael
On 1/26/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I think #2 is coming either way, but I don't want to be held to it as a lot of it is outside of my control.
On 1/26/06, Leonardo Quijano Vincenzi < [EMAIL PROTECTED]> wrote:Maybe it's just Tapestry.form.submit who needs to be changed.
I haven't had the time to test properly, though :(.
2 options:
1) To fix the standard contrib:Table's _javascript_ so it works on Tacos.
A click in the paging link should refresh the table info through Ajax.
2) To create a new table component just for Ajax.
I really would like to avoid 2).
--
Ing. Leonardo Quijano Vincenzi
DTQ Software
Jesse Kuhnert wrote:
> Oh, that sort of makes sense I guess. I know you can provide your own
> template for the paging links, but this may turn into a huge pain in
> the ass. ;)
>
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel
