Hi,
it is not clear to me what you want to achieve.
Please take at the list or table example from the wicket-dnd example:
Usually you would create the table with a wicket repeater based on some
model values. You can use/generate markup whatever you want.
All what is needed that your Wicket components which represent the
markup tags to drag or to drop on output their markup ids.
Sven
Am 27.02.2012 20:13, schrieb Dan12321:
So I cannot modify html? Make html from this (it is without attributes):
< table>< tr>
< td>< span>AAA< /span>< /td>
< td>< /td>
< /tr>< /table>
to this (span from first "td" was moved to second "td"):
< table>< tr>
< td>< /td>
< td>< span>AAA< /span>< /td>
< /tr>< /table>
But, when i want to move content of first td to second td, I have to do
something like this:
< table>< tr>
< td>< span>AAA< /span>< /td>
< td>< span>< /span>< /td>
< /tr>< /table>
And in onDrop method change model of first span and second span element?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/help-with-drag-and-drop-wicket-dnd-tp4422338p4425713.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]