wicket

What Web Application Framework for Java is Recommended?

I am considering creating my own website using Java and am trying to decide what framework to use. However, doing a quick search for Java frameworks returns more than 50 to choose from! My website is just going to be for my own enjoyment of building it in the beginning, but if it becomes popular it would be good for it to have some scala...

visually customize autocomplete in Wicket

Hi, How can I visually customize autocomplete fields in Wicket (change colors, fonts, etc.)? ...

How do I call Java code from JavaScript code in Wicket?

If I can do this, how do I call Java code (methods for instance) from within JavaScript code, in Wicket. ...

Minimal Java web app struture / ant build file

Hello, Can some describe the minimal conventional directory structure for a Java web app, and the minimal build.xml to get ant to build it, and make a war? Target for today is deploy a Wicket app to Tomcat outside of an IDE, just with ant and my favourite text editor. ...

Wicket and JSPs

I am trying my hands at Wicket, Using add(new Include()) syntax I was able to include jsps which are at the top level. However those which are present inside 'WEB-INF' cannot be referenced, is there any way to achieve this? ...

Wicket + Javascript

I'm wrapping up a Javascript widget in a Wicket component. I want to let the JS side talk to the component. What I've got so far: Component in question goes like talker = new GridAjaxBehavior(); this.add(talker); in constructor and then, later on, puts something like "var MyGridTalker = new talker(" + this.talker.getCallbackUrl()...

Should I put html and java files in the same package (folder) in Apache Wicket ?

I wonder if there is an example which html files and java files are resides in different folders. ...

With wicket where does hibernate.cfg.xml file go?

I'm new to Wicket and Hibernate and can't get past the "org.hibernate.HibernateException: /hibernate.cfg.xml not found" error. I've put that file in every location imagineable but I'm still stuck. Where exactly does that file go and/or am I missing a wicket file config setting somewhere? ...

Wicket, page stack, and memory usage

A Wicket application serializes and caches all pages to support stateful components, as well as for supporting the back button, among other possible reasons. I have an application which uses setResponsePage to navigate from screen to screen. Over a pretty short amount of time the session gets rather large because all of the prior pages a...

Project layout using Wicket

Where should I put the .html files in a wicket Application? my current project layout is as follows: src/myproject --classes+ duplicated html files web --numerous .html files - previewed web/img --resource files such as css/png/js files i want to avoid putting the html files on dupliate locations. what is a good non-redundant strat...

Wicket: How to implement an IDataProvider/LoadableDetachableModel for indexed lists

What's the best way to implement an IDataProvider and a LoadableDetachable in Wicket for an indexed list? Suppose I have a Customer who has a list of Adresses. class Customer { List adresses; } Now I want to implement a data provider/ldm for the adresses of a customer. I suppose the usual way is an IDataProvider as an inner class w...

What java web framework best accomodates web ui designers?

What Java web framework out there best supports a role of "web UI designer", that is, lets you: Use popular web design tools (xhtml validators, css editors, what have you) on your views/pages View changes without running on a server Rapidly prototype different UI options Supports a (somewhatly) clean separation between "developer" and ...

Three tier layered application using Wicket + Spring + Hibernate. How would you handle transactions?

Hi, I'm thinking about using the Open Session In View (OSIV) filter or interceptor that comes with Spring, as it seems like a convenient way for me as a developer. If that's what you recommend, do you recommend using a filter or an interceptor and why? I'm also wondering how it will mix with HibernateTemplate and if I will lose the abil...

What are the advantages of Apache Wicket?

I'm not a Java developer so I might get some terms wrong... but. An application I integrate with is moving from Spring to Wicket. While it should not affect my integration with it I got to wondering why they would do this? From what I know Spring is the more popular framework. I know nothing about it except it's popular. I did read ...

Wicket PropertyModel strangeness?

I'm new to Wicket and was trying the following configuration: class User { private String password; ... public void setPassword(String password) { this.password = MD5.encode(password); } ... } After trying to use the following to bind to the password and finding out that the default implementation of PropertyMode...

Wicket Dependency Injection

I've got a page with a form in Wicket where the form requires a collaborator to get its job done. The collaborator is injected (for which I'm using Guice) and looks something like: public class RegistrationPage extends WebPage { @Inject public RegistrationPage(RegistrationService service) { this.service = service; ...

What is the preferred way to do site templates and themes with Wicket?

I'm just learning Wicket, and Googling yields different results about how to theme/template a site using Wicket. It appears that the common methods are: Markup Inheritance (description) Borders (description) Reusable Panels (description) Fragments (description) What is the best practices / "right" way to do this in Wicket? Or do the...

Difference between Apache Tapestry and Apache Wicket

Apache Wicket ( http://wicket.apache.org/ ) and Apache Tapestry ( http://wicket.apache.org/ ) are both component oriented web frameworks - contrary to action based frameworks like Stripes - by the Apache Foundation. Both allow you to build your application from components in Java. They both look very similar to me. What are the differen...

What is the best java web application framework that goes well with xml+xslt?

I recently learned a bit about xml/xslt and would like to try it in my web project. What framework would you recommend for that? Basically, I want to generate a dynamic xml that will be applied to xslt stylesheet on the client side. Wicket was my first candidate, but it is primarily html-centric. Didn't manage to get my idea work yet. ...

Does it make sense to use Google Web Toolkit (GWT) as a full-blown Java web framework?

I am interested in the possibility that GWT could serve as the basis for my entire presentation layer. I would be interested to know if anyone has tried this successfully - or unsuccessfully - and could persuade or unpersuade me from attempting this. ...