Monthly Archives: October 2005

WebWork-2.2 and Generics

I’m working on a settings screen (using JSP) which iterates over a Map of generic SettingEntries. A SettingEntry is defined as follows: public class SettingEntry <T> implements Serializable { private final String key; private final T defaultValue; private T value; … Continue reading

Posted in Technical stuff | Leave a comment

Context-sensitive menu using WebWork

Looking to build a generic context-sensitive menu using WebWork. Came up with the following requirements: All items described below are menu elements. A menu element has a name attribute. A menu element has a parent menu element. If a menu … Continue reading

Posted in Technical stuff | 1 Comment