Wicket is one more component framework like Tapestry, JSF or ASP.NET. However, it's light and very simple. Well, ASP.NET is simpler :)
One example (displays textarea with submit button and messages list):
public GuestBook()
{
add(new CommentForm("commentForm"));
add(commentListView = new ListView("comments", commentList)
{
public void populateItem(final ListItem listItem)
{
final Comment comment = (Comment)listItem.getModelObject();
listItem.add(new Label("date", comment.getDate()));
listItem.add(new MultiLineLabel("text", comment.getText()));
}
});
}

2 Comments:
ASP.net is not simpler when you have to type it by hand ;-)
The GUI painter aspect of ASP.net is pretty cool though, especially plugging third party components into your web page. Previewability usually sucks, as does the threading model.
I think I'll stick with Wicket though, as I tend to like to be more browser and platform independent. And of course, Wicket gives me full control over the markup and my Java code.
For Cross Platform Development .NET to Java please check: .NET JAVA Applications
Post a Comment
Links to this post:
Create a Link
<< Home