CodeFrag.txt

Date HTML Created

03 Mar 2008

private void render() throws IOException { JspWriter out = pageContext.getOut(); // String configLine = ConfigurationManager.getProperty("webui.itemdisplay." + style); String configLine = ConfigurationManager.getProperty("webui.itemdisplay.default"); out.println("<center><table class=\"itemDisplayTable\">"); /* * Break down the configuration into fields and display them * * FIXME?: it may be more efficient to do some processing once, perhaps * to a more efficient intermediate class, but then it would become more * difficult to reload the configuration "on the fly". */ StringTokenizer st = new StringTokenizer(configLine, ","); while (st.hasMoreTokens())