<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Repainting only newly-created repeater items via ajax</title>
	<atom:link href="http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/</link>
	<description>A comprehensive guide for Java developers building Wicket-based web applications</description>
	<lastBuildDate>Tue, 22 Nov 2011 11:29:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: ivaynberg</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-1104</link>
		<dc:creator>ivaynberg</dc:creator>
		<pubDate>Mon, 22 Aug 2011 22:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-1104</guid>
		<description>this is not a &quot;weakness&quot; of Wicket in particular. all frameworks would suffer this particular problem. Eg how would spring-mvc know where to put the new row in markup and what tag should represent the new row, youd have to hand-code it just like you would in wicket? maybe the repeater uses different tags based on some business logic to represent each row... only the user of the repeater knows how to handle this situation. i suppose its possible to integrate this usecase better into wicket, maybe something for a later version, feel free to open an RFE in our jira.</description>
		<content:encoded><![CDATA[<p>this is not a &#8220;weakness&#8221; of Wicket in particular. all frameworks would suffer this particular problem. Eg how would spring-mvc know where to put the new row in markup and what tag should represent the new row, youd have to hand-code it just like you would in wicket? maybe the repeater uses different tags based on some business logic to represent each row&#8230; only the user of the repeater knows how to handle this situation. i suppose its possible to integrate this usecase better into wicket, maybe something for a later version, feel free to open an RFE in our jira.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-1103</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Mon, 22 Aug 2011 18:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-1103</guid>
		<description>Thank you for this write-up, it was just what I was looking for.  I believe this is a clear indication of the fundamental weakness of Wicket, or more generally, most server-centric frameworks.  

After gaining proficiency in Wicket, and then engaging in black magic such as this, would the programmer have really saved time compared with using even the most basic frameworks (e.g. javascript + spring-mvc)?  What about a more powerful framework, such as GWT?  Going further, would the project be more maintainable?  

I personally believe that the answer to these questions is &quot;no&quot;.  In the case of Wicket we&#039;ve added another complicated layer of abstraction (loss of maintainability), and in return we&#039;ve lost performance (many unnecessary hooks from client to server; unnecessary storage of client-side state on server, etc).</description>
		<content:encoded><![CDATA[<p>Thank you for this write-up, it was just what I was looking for.  I believe this is a clear indication of the fundamental weakness of Wicket, or more generally, most server-centric frameworks.  </p>
<p>After gaining proficiency in Wicket, and then engaging in black magic such as this, would the programmer have really saved time compared with using even the most basic frameworks (e.g. javascript + spring-mvc)?  What about a more powerful framework, such as GWT?  Going further, would the project be more maintainable?  </p>
<p>I personally believe that the answer to these questions is &#8220;no&#8221;.  In the case of Wicket we&#8217;ve added another complicated layer of abstraction (loss of maintainability), and in return we&#8217;ve lost performance (many unnecessary hooks from client to server; unnecessary storage of client-side state on server, etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivaynberg</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-809</link>
		<dc:creator>ivaynberg</dc:creator>
		<pubDate>Wed, 09 Mar 2011 16:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-809</guid>
		<description>@Daniel, you are more then welcome to post a non-working quickstart to wicket&#039;s mailing lists. Not much, ajax-wise, has changed between 1.4 and 1.5 so it should still work.</description>
		<content:encoded><![CDATA[<p>@Daniel, you are more then welcome to post a non-working quickstart to wicket&#8217;s mailing lists. Not much, ajax-wise, has changed between 1.4 and 1.5 so it should still work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-779</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Tue, 08 Feb 2011 22:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-779</guid>
		<description>Hi Igor!

Great tutorial on a very handy feature.
I tried your sample project and it works as expected.
When I tried it in my own project however, I couldn&#039;t get it to work. I keep getting &#039;unable to find markup for the component&#039; errors. I cannot figure it out, do you have any idea without going through the code? The JavaScript that adds the new tag works fine but it doesn&#039;t seem to be found by on the server side.

I know this post is a bit old, have you added and support for this in 1.5?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Igor!</p>
<p>Great tutorial on a very handy feature.<br />
I tried your sample project and it works as expected.<br />
When I tried it in my own project however, I couldn&#8217;t get it to work. I keep getting &#8216;unable to find markup for the component&#8217; errors. I cannot figure it out, do you have any idea without going through the code? The JavaScript that adds the new tag works fine but it doesn&#8217;t seem to be found by on the server side.</p>
<p>I know this post is a bit old, have you added and support for this in 1.5?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ivaynberg</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-562</link>
		<dc:creator>ivaynberg</dc:creator>
		<pubDate>Thu, 30 Jul 2009 17:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-562</guid>
		<description>@monika: Based on your table it can be quiet a lot of data. Also based on complexity of the data - you might not want to run the server side code/queries necessary to rebuild that data. Anyways, the point of this article was to demonstrate a partial update to the table, not a partial update to the page which is trivial in Wicket.</description>
		<content:encoded><![CDATA[<p>@monika: Based on your table it can be quiet a lot of data. Also based on complexity of the data &#8211; you might not want to run the server side code/queries necessary to rebuild that data. Anyways, the point of this article was to demonstrate a partial update to the table, not a partial update to the page which is trivial in Wicket.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monika</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-557</link>
		<dc:creator>monika</dc:creator>
		<pubDate>Tue, 28 Jul 2009 09:45:01 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-557</guid>
		<description>A nice tutorial, thanks. However if you want less Javascript magic and more Wicket, then I don&#039;t think you should be doing such a trick to save a few hundred bytes of bandwidth. This blog entry provides a solution for this case:
http://oktech.hu/blog/2009/07/adding-and-removing-rows-in-wicket.html</description>
		<content:encoded><![CDATA[<p>A nice tutorial, thanks. However if you want less Javascript magic and more Wicket, then I don&#8217;t think you should be doing such a trick to save a few hundred bytes of bandwidth. This blog entry provides a solution for this case:<br />
<a href="http://oktech.hu/blog/2009/07/adding-and-removing-rows-in-wicket.html" rel="nofollow">http://oktech.hu/blog/2009/07/adding-and-removing-rows-in-wicket.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sven</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-542</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Tue, 30 Jun 2009 15:11:36 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-542</guid>
		<description>For record - maybe I found solution - add them into collection and use fragments for the two different styles of rows.</description>
		<content:encoded><![CDATA[<p>For record &#8211; maybe I found solution &#8211; add them into collection and use fragments for the two different styles of rows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sven</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-541</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Tue, 30 Jun 2009 14:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-541</guid>
		<description>Note - they cannot be added into the collection of contacts (which works nicely), because they act as subrows - they are little different then the main rows.</description>
		<content:encoded><![CDATA[<p>Note &#8211; they cannot be added into the collection of contacts (which works nicely), because they act as subrows &#8211; they are little different then the main rows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sven</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-540</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Tue, 30 Jun 2009 14:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-540</guid>
		<description>Hi again, I&#039;m having big problems with refresh.
After adding the rows to dataView (refreshingView in your case), they are displayed correctly. But after F5 (refresh), they disappear. 
I added &#039;expanded&#039; property to model item. And when populating the item (populateItem), I check it. If it is set, I create the new rows with your buildItem method. But as the result, the rows are displayed above the current row, which is logical, but wrong. 
How can the rows be displayed under the current row (with which I work in populateItem method), please?
Thanks a lot</description>
		<content:encoded><![CDATA[<p>Hi again, I&#8217;m having big problems with refresh.<br />
After adding the rows to dataView (refreshingView in your case), they are displayed correctly. But after F5 (refresh), they disappear.<br />
I added &#8216;expanded&#8217; property to model item. And when populating the item (populateItem), I check it. If it is set, I create the new rows with your buildItem method. But as the result, the rows are displayed above the current row, which is logical, but wrong.<br />
How can the rows be displayed under the current row (with which I work in populateItem method), please?<br />
Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sven</title>
		<link>http://wicketinaction.com/2008/10/repainting-only-newly-created-repeater-items-via-ajax/comment-page-1/#comment-539</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Tue, 30 Jun 2009 13:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://wicketinaction.com/?p=252#comment-539</guid>
		<description>Very nice. But how to get markupId for the remove operation?</description>
		<content:encoded><![CDATA[<p>Very nice. But how to get markupId for the remove operation?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

