martin-g/wicket — pull request #1 by jsarman (2013-06-20 00:15:00+00:00)
Title: Gf4

I created an Annotation in the wicket-cdi module that can be used to filter out only objects that need injection as opposed to all objects. Currently if the cdi component is enabled it sends every object that is added to a webpage into the beanmanager for injection. As of Glassfish 4, Weld will complain if the object does not have a default constructor. This results in several Warnings. The fix you made did clear up the anonymous class problem but the Component Injector still tried to inject other objects that doesn't need injecting. This is a proposed solution to fix that. Also I added a new module called wicket-glassfish. This contains a custom GlassfishSerializer that fixes serialization issues. Without it and using glassfish created proxies, wickets default serializer fails.