Subversion Repositories bacoAlunos

Rev

Rev 1576 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1576 Rev 1577
Line 3... Line 3...
3
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %>
3
<%@ taglib uri="/WEB-INF/tlds/jomm.tld" prefix="jomm" %>
4
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
4
<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
5
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>
5
<%@ taglib uri="/WEB-INF/tlds/struts-nested.tld" prefix="nested" %>
6
<%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %>
6
<%@ taglib uri="/WEB-INF/tlds/baco.tld" prefix="baco" %>
7
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
7
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
8
 
-
 
-
 
8
<div class="container-fluid">
9
 
9
 
10
    <h1>Teste aos Controladores de Widgets de Exemplo</h1>
10
    <h1>Teste aos Controladores de Widgets de Exemplo</h1>
11
 
11
 
12
    <h2>Ficheiros biblioteca, não são para alterar</h2>
12
    <h2>Ficheiros biblioteca, não são para alterar</h2>
13
    <ul>
13
    <ul>
Line 67... Line 67...
67
    <div class="web-messages"><div class="alert alert-info">Exemplo Div para mensagens WEB mas nao é afectado pelo form</div> </div>
67
    <div class="web-messages"><div class="alert alert-info">Exemplo Div para mensagens WEB mas nao é afectado pelo form</div> </div>
68
    <p>Form de Struts com Auto preenchimento de Campos mas invoca um Widget Controller</p>
68
    <p>Form de Struts com Auto preenchimento de Campos mas invoca um Widget Controller</p>
69
    <html:form styleClass="form-horizontal" action="/widgetWithValidationExample" onsubmit="return false;">
69
    <html:form styleClass="form-horizontal" action="/widgetWithValidationExample" onsubmit="return false;">
70
        <div class="web-messages">Aqui vão aparecer as mensagens de Erro ou de Feedback do Widget</div>
70
        <div class="web-messages">Aqui vão aparecer as mensagens de Erro ou de Feedback do Widget</div>
71
        <div class="form-group">
71
        <div class="form-group">
72
            <label>Nome</label>
72
            <label class="col-md-2">Nome</label>
-
 
73
            <div class="col-md-8">
73
            <html:text styleClass="form-control" property="nome"/>
74
                <html:text styleClass="form-control" property="nome"/>
-
 
75
            </div>
74
        </div>
76
        </div>
75
 
77
 
76
        <div>
78
        <div>
77
            <script>
79
            <script>
78
                function widgetCallClean(form)
80
                function widgetCallClean(form)
Line 139... Line 141...
139
            <button class="btn btn-warning" type="button" onclick="widgetChamadaFalha(this.form)">Submeter Simulacao Servico SIMPLES OK/FAIL FALHA</button>
141
            <button class="btn btn-warning" type="button" onclick="widgetChamadaFalha(this.form)">Submeter Simulacao Servico SIMPLES OK/FAIL FALHA</button>
140
        </div>
142
        </div>
141
    </html:form>
143
    </html:form>
142
144
 
143
145
 
-
 
146
</div>
144
147