pow2webgui tag library This is version 1.0 .
Required attributes are marked with a * .
Can contain: JSP
Window widget. Renders windows-like widgets. Example: <%@ taglib uri="/WEB-INF/webgui.tld" prefix="gui" %> <gui:window title="prova2" prototype="boWindow" color="#f0f0f0"> <!-- put here your window content --> <table width="450" border="0" cellspacing="0" cellpadding="2" style="font-size: x-small"> <input type="hidden" value="26" > <tr> <td>department</td> <td><input type="text" value="department1" size="50"></td> </tr> <tr> <td valign="top">description</td> <td><textarea cols="38" rows="8"></textarea></td> </tr> <tr> <td>thumbnail</td> <td><input type="file" size="38"></td> </tr> <tr> <td>image</td> <td><input type="file" size="38"></td> </tr> <tr> <td>parent</td> <td> <select size="1"> <option value="1">1 <option value="2">2 </select> </td> </tr> <tr> <td colspan="2" align="right"> <input type="submit" value="update"> </td> </tr> </table> <!-- end of window content --> </gui:window>
Can contain: JSP
Defines an HTML tabbedSelector component. Example: <%@ taglib uri="/WEB-INF/webgui.tld" prefix="gui" %> <% String tab = request.getParameter("webGUI.tabbedSelector.tab"); // set the default selected tab; if (Util.isNull(tab)) tab = "tab1"; %> <gui:tabbedSelector name = "myTabbedSelector" drawer = "backoffice" followUp = "tab.jsp" color = "#f0f0f0" width = "100" selectedTab = "<%=tab %>"> <gui:tab drawer="backoffice" name="tab1" title="click me"> Hello !! This is tab1. </gui:tab> <gui:tab drawer="backoffice" name="tab2" title="or me!"> ...and this is tab2. </gui:tab> <gui:tab drawer="backoffice" name="tab3" title="and me?"> while this is tab3.. </gui:tab> </gui:tabbedSelector>
Can contain: JSP
Defines an Tab for a parent tabbedSelector component. Example: <gui:tab drawer="backoffice" name="tab1" title="click me"> Hello !! This is a "window". </gui:tab>
Can contain: JSP
Defines an HTML lister component. Example: <gui:lister drawer="amazon" name="newsLister" title="news"> ... </gui:lister>
Can contain: JSP
Definesa contentProvider for a given component. Example: <% Collection myCollection = myObject.getMyCollection(); HashMap map = new HashMap(); map.put("name", "myName"); map.put("surname", "mySurname"); %> <gui:lister width="100" drawer="amazon" title="welcome"> <gui:contentProvider name = "default" collection = "<%=myCollection %>" propertiesMap = "<%=map %>" template = "myTemplate.vm"/> </gui:lister>