Tag Archives: Wicket

Use IHeaderResponse.renderJavaScript(CharSequence,String) to Avoid Duplicates

Apace Wicket Quick Tip
If you are working with multiple AjaxEventBehavior’s (like AjaxFormSubmitBehavior and AjaxFormValidatingBehavior) on similar components in a Page and you are using IHeaderResponse.renderJavaScript(CharSequence) it’s possible you are contributing duplicate JavaScript over and over again to the header section of your Page unecessarily.
As it turns out, by simply changing to use the IHeaderResponse.renderJavaScript(CharSequence,String) method (providing [...]

Read full storyComments { 0 }

Using 'resources' path in Wicket Causes Problems Loading CSS, Images and JavaScript

Bah… 3 hours worth of debugging and finally figured out what was going on with this issue in Wicket and wnated to share this with any other developers out there that might be running into this.
Issue
I typically create a /resources directory under the root of any web app I’m working on where I places CSS, [...]

Read full storyComments { 0 }
Which is the Hottest Java Web Framework? Or Maybe Not Java?

Which is the Hottest Java Web Framework? Or Maybe Not Java?

I haven’t sat down in a long time and actually tried to determine a trend in the Java web framework arena. The uncountable number of “easy to use” Java web frameworks that are out now adays is too many to even start to pay attention to.
Struts 1 came out at a perfect time in history… [...]

Read full storyComments { 75 }
Wicket vs JSF, Forum Application

Wicket vs JSF, Forum Application

Peter Thomas has put together an excellent blog post comparing the development of a simple “forum application” using both Wicket (now in Apache Incubator) and JavaServer Faces (JSF). I’ve wanted to do a comparison like this for a long time and while I’ve developed using both technologies I’ve never done a side by side comparison [...]

Read full storyComments { 0 }