Thanks, very speedy! - you guys are ninjas
Eelco Hillenius wrote:
Igor just committed a fix, so all should be good now again.
Eelco
On 3/23/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
There are two failing unit tests currently that seem to be the same
issue.
Eelco
On 3/23/07, NickCanada [EMAIL PROTECTED] wrote:
Hi Guys,
Thanks for all your Wicket work.
Using the latest Wicket1.X (23rdMarch) from SVN, my code which puts
RenderedDynamicImageResource objects in a GridView no longer works
(prior
versions ran fine). The instead of displaying the dynamic resource
images in
each cell, I get the following error message:
wicket.WicketRuntimeException: Loop item is null. Probably the number
of
loop iterations were changed between onBeginRequest and render time.
at wicket.markup.html.list.Loop.onRender(Loop.java:169)
The following code replicates the error (I am using the
CircleDynamicImageResource from the examples):
public class TestGridViewResRef extends WebPage {
/** Creates a new instance of TestGridViewResRef */
public TestGridViewResRef() {
IDataProvider dataProvider = new ImageDataProvider();
GridView gridView = new GridView(rows, dataProvider) {
protected void populateItem(Item item) {
item.add(new ImagePanel(images));
}
protected void populateEmptyItem(Item item) {
item.add(new Label(firstName, *empty*));
}
};
gridView.setRows(3);
gridView.setColumns(3);
add(gridView);
add(new PagingNavigator(navigator, gridView));
}
private class ImagePanel extends Panel{
public ImagePanel(String id){
super(id);
// Dynamically created buffered image
add(new Image(image, new CircleDynamicImageResource(100,
100)));
}
}
Is anything amiss? I can't get to the root of the cause.
Thanks for any help.
Nick
--
View this message in context:
http://www.nabble.com/Today%27s-wicket1.X-breaks-GridView-%2B-Dynamic-Resource-tf3456149.html#a9642591
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
View this message in context:
http://www.nabble.com/Today%27s-wicket1.X-breaks-GridView-%2B-Dynamic-Resource-tf3456149.html#a9644818
Sent from the Wicket - User mailing list archive at Nabble.com.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user