Teste

Html code posted by Cddsd
created at 23 Feb 02:51, updated at 23 Feb 02:52

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%-- 
    Document   : modal
    Created on : Feb 10, 2010, 4:56:31 PM
    Author     : Inocêncio
--%>

<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<f:view>
    <html>
        <head>
            <p:resources/>
            <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
            <title>Dialog Sample</title>
        </head>
        <body>
            <h:form>
                <p:dialog
                    modal="true"
                    visible="true"
                    minHeight="300"
                    minWidth="300"
                    draggable="true">
                    <table width="100%">
                        <tr>
                            <td>Simple modal, what´s going on?</td>
                        </tr>
                        <tr>
                            <td>Hello buddy, where is my coffe?</td>
                        </tr>
                   </table>
                </p:dialog>
            </h:form>
        </body>
    </html>
</f:view>
1.32 KB in 5 ms with coderay