| From | Sent On | Attachments |
|---|---|---|
| 124 earlier messages | ||
| Martin Makundi | Nov 9, 2010 8:40 am | |
| James Carman | Nov 9, 2010 8:46 am | |
| Carl-Eric Menzel | Nov 9, 2010 8:46 am | |
| Igor Vaynberg | Nov 9, 2010 8:47 am | |
| Martin Makundi | Nov 9, 2010 8:48 am | |
| James Carman | Nov 9, 2010 8:49 am | |
| Igor Vaynberg | Nov 9, 2010 8:49 am | |
| James Carman | Nov 9, 2010 8:50 am | |
| Frank Silbermann | Nov 9, 2010 8:50 am | |
| Igor Vaynberg | Nov 9, 2010 8:53 am | |
| Martin Makundi | Nov 9, 2010 8:55 am | |
| Igor Vaynberg | Nov 9, 2010 8:55 am | |
| James Carman | Nov 9, 2010 8:56 am | |
| James Carman | Nov 9, 2010 8:57 am | |
| James Carman | Nov 9, 2010 8:58 am | |
| Igor Vaynberg | Nov 9, 2010 8:58 am | |
| Igor Vaynberg | Nov 9, 2010 8:59 am | |
| Martin Makundi | Nov 9, 2010 8:59 am | |
| James Carman | Nov 9, 2010 9:03 am | |
| Martin Makundi | Nov 9, 2010 9:05 am | |
| James Carman | Nov 9, 2010 9:11 am | |
| Martin Makundi | Nov 9, 2010 9:13 am | |
| James Carman | Nov 9, 2010 9:16 am | |
| Martin Makundi | Nov 9, 2010 9:22 am | |
| James Carman | Nov 9, 2010 9:25 am | |
| Martin Makundi | Nov 9, 2010 9:29 am | |
| Sebastian | Nov 9, 2010 9:29 am | |
| Martin Makundi | Nov 9, 2010 9:33 am | |
| James Carman | Nov 9, 2010 9:33 am | |
| James Carman | Nov 9, 2010 9:38 am | |
| Martin Makundi | Nov 9, 2010 9:38 am | |
| James Carman | Nov 9, 2010 9:41 am | |
| Martin Makundi | Nov 9, 2010 9:42 am | |
| James Carman | Nov 9, 2010 9:45 am | |
| Martin Makundi | Nov 9, 2010 9:51 am | |
| Johan Compagner | Nov 9, 2010 10:00 am | |
| Martin Makundi | Nov 9, 2010 10:04 am | |
| Johan Compagner | Nov 9, 2010 10:25 am | |
| Martin Makundi | Nov 9, 2010 10:29 am | |
| Johan Compagner | Nov 9, 2010 10:36 am | |
| Igor Vaynberg | Nov 9, 2010 10:52 am | |
| Igor Vaynberg | Nov 9, 2010 10:53 am | |
| Martin Makundi | Nov 9, 2010 10:54 am | |
| Johan Compagner | Nov 9, 2010 10:59 am | |
| Igor Vaynberg | Nov 9, 2010 11:02 am | |
| Igor Vaynberg | Nov 9, 2010 11:08 am | |
| Johan Compagner | Nov 9, 2010 11:10 am | |
| Michael Brinkman | Nov 9, 2010 11:27 am | |
| Sven Meier | Nov 9, 2010 12:03 pm | |
| Igor Vaynberg | Nov 9, 2010 12:15 pm | |
| Igor Vaynberg | Nov 9, 2010 12:17 pm | |
| Igor Vaynberg | Nov 9, 2010 12:22 pm | |
| Sven Meier | Nov 9, 2010 12:42 pm | |
| James Carman | Nov 9, 2010 12:45 pm | |
| Igor Vaynberg | Nov 9, 2010 12:57 pm | |
| James Carman | Nov 9, 2010 12:58 pm | |
| Igor Vaynberg | Nov 9, 2010 1:04 pm | |
| Carl-Eric Menzel | Nov 10, 2010 12:48 am | |
| Carl-Eric Menzel | Nov 10, 2010 1:04 am | |
| Carl-Eric Menzel | Nov 10, 2010 1:23 am | |
| James Carman | Nov 10, 2010 4:31 am | |
| Carl-Eric Menzel | Nov 10, 2010 5:08 am | |
| Frank Silbermann | Nov 10, 2010 6:18 am | |
| James Carman | Nov 10, 2010 6:23 am | |
| Igor Vaynberg | Nov 10, 2010 8:17 am | |
| Igor Vaynberg | Nov 10, 2010 8:22 am | |
| Igor Vaynberg | Nov 10, 2010 8:23 am | |
| Giannis Koutsoubos | Jan 14, 2011 8:44 am | |
| Giannis Koutsoubos | Jan 18, 2011 1:03 am | |
| Martin Grigorov | Jan 18, 2011 1:22 am | |
| Martin Makundi | Jan 18, 2011 1:24 am | |
| Martin Grigorov | Jan 18, 2011 1:42 am | |
| Martin Makundi | Jan 18, 2011 1:45 am | |
| Martijn Dashorst | Jan 18, 2011 1:51 am | |
| Martijn Dashorst | Jan 18, 2011 1:54 am | |
| Jeremy Thomerson | Jan 18, 2011 12:47 pm | |
| Martin Makundi | Jan 19, 2011 1:55 am | |
| Giannis Koutsoubos | Jan 20, 2011 7:41 am | |
| Jeremy Thomerson | Jan 20, 2011 9:16 am | |
| Martin Makundi | Jan 20, 2011 9:24 am | |
| Jeremy Thomerson | Jan 20, 2011 9:37 am | |
| Jim Pinkham | Jan 20, 2011 9:50 am | |
| Jeremy Thomerson | Jan 20, 2011 9:59 am | |
| Martin Grigorov | Jan 20, 2011 11:40 am | |
| Martin Grigorov | Jan 20, 2011 11:47 am | |
| Martin Makundi | Jan 20, 2011 12:13 pm | |
| Martin Grigorov | Jan 20, 2011 12:25 pm | |
| Martin Makundi | Jan 20, 2011 12:33 pm | |
| James Carman | Jan 20, 2011 1:42 pm | |
| Igor Vaynberg | Jan 20, 2011 2:11 pm | |
| James Carman | Jan 20, 2011 2:17 pm | |
| Martin Makundi | Jan 20, 2011 10:51 pm | |
| Subject: | Re: Free wicket from component hierarchy hell | |
|---|---|---|
| From: | Igor Vaynberg (igor...@gmail.com) | |
| Date: | Nov 9, 2010 12:15:37 pm | |
| List: | org.apache.wicket.users | |
On Tue, Nov 9, 2010 at 12:03 PM, Sven Meier <sv...@meiers.net> wrote:
Hi,
an easy example is:
<tr wicket:id="repeater"><td><span wicket:id="first"/> <span wicket:id="last"/></td></tr>
now the designer wants tds to have a css class based on some condition. you now have to add a webmarkupcontainer to represent the td and renest first and last labels into it. the container is there purely for the design aspect.
I have to change some Java code anyway, so why should I queue anything rather
than add() the components into the correct hierarchy right away?
the difficult part is that doing this to complex pages is...difficult. in the example above it is easy to see the two components that need to be renested. but, in complex pages there can be 20 components that need to be renested, and they are probably initially added from a bunch of helper methods that attempted to keep the code clean. so, it may be difficult to find all 20 componets. queuing can make maintenance and refactoring of pages easier.
another usecase is introducing an arbitrary webmarkupcontainer just to have a div to repaint via ajax. it is hard to do this when refactoring a complex page because you have to find all the components that now need to be re-nested into the new container.
Is this a common example? Did anyone ever have to "just repaint a div via ajax"
without having to change much more Java code? What's complex about this page
thus it's difficult to re-parent some of its components?
yes, ive had to do it plenty times. ive had to go into pages that were already written and ajaxify them. sometimes a table needs to be updated via ajax, it needs to be wrapped in a container. other times a set of related form fields needs to be updated, its easier to wrap them in a container and update it rather then having to add them one by one from multiple places.
IMHO valid use cases have not been provided yet.
we can agree to disagree
-igor
My 2 cents
Sven





