Subversion Repositories bacoAlunos

Rev

Blame | Compare with Previous | Last modification | View Log | RSS feed

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld"  prefix="bean" %>
<%@ taglib uri="/WEB-INF/tlds/struts-logic.tld"  prefix="logic" %>
<%@ taglib uri="/WEB-INF/tlds/struts-html.tld"  prefix="html" %>
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld"  prefix="nested" %>
<%@ taglib uri="/WEB-INF/tlds/jomm.tld"  prefix="jomm" %>
<jsp:useBean id="ProfileForm" class="pt.estgp.estgweb.web.form.profile.ProfileForm"/>

<jomm:messages/>
<html:form action="/profile">
    <input type="hidden" name="dispatch" value="search">
    <html:hidden property="userView.id"/>
    <html:hidden property="userView.userRoles"/>

    <table class="form">
        <tr>
            <th>
                <bean:message key="profile.search.user"/>
            </th>
            <td>
                <html:text property="textToSearch" maxlength="50"/>
            </td>
            <td>
                <input type="button" onclick="set(this.form,'search');this.form.submit()"  value="<bean:message key="search"/>">
            </td>
            <td>
                <logic:present name="ProfileForm" property="usersFind">
                    <logic:iterate id="item" name="ProfileForm" property="usersFind">
                        <jomm:option itemName="item" comparableObjectName="ProfileForm" comparableObjectProperty="userView.name">
                            <bean:message key="${item}"/>
                        </jomm:option>
                    </logic:iterate>
                </logic:present>
            </td>
        </tr>
    </table>

    
    <logic:iterate id="userView" name="ProfileForm" property="usersFind" type="pt.estgp.estgweb.domain.views.UserView">
       ${userView.name}<br/>

    </logic:iterate>
</html:form>

Generated by GNU Enscript 1.6.5.2.