You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Danny Mandel <dm...@tolweb.org> on 2005/07/22 18:35:45 UTC

drag n drop sortable lists and form rewind

Hi,

Has anyone attempted to implement drag n drop sortable lists in a form 
that actually physically reorders the form elements in an html document 
(for instance, the implementation provided by http://script.aculo.us/)?  
My suspicion is that this won't play well with rewind, due to the 
listing of the form elements as such:

<input type="hidden" name="Form0" value="$If,$If$0,$LinkSubmit,$LinkSubmit$0,$If$1,$If$2,$Checkbox,$LinkSubmit$1,$LinkSubmit$0$0,$If$0$0,$LinkSubmit$4,$LinkSubmit$5,$LinkSubmit$6,$If$1$0,$If$3,$LinkSubmit$9,$LinkSubmit$10,$LinkSubmit$11,$If$4,$If$5,$If$6,$If$7,$If$8,$If$0$1,$If$9,$TextField,$If$10,$TextField$0,$If$11,$If$12,$If$13,$If$14,$If$15,$TextArea,$If$16,$If$17,$Submit"/>


but I thought I'd ask and see if anyone has attemped it.  I suppose one 
could perform additional processing to manipulate the contents of the 
hidden to be accurate, but I don't know if it's necessary or if there 
might be an easier way.

Thoughts?

Thanks,
Danny



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org