DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Documentum JSP Template

06.18.2007
| 6288 views |
  • submit to reddit
        
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
       pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/WEB-INF/tlds/dmform_1_0
.tld" prefix="dmf"%>
<%@ taglib uri="/WEB-INF/tlds/dmformext_1_0.tld" prefix="dmfx"%>

<%-- Importa la clase controladora para poder acceder a los atributos --%>
<%@ page import="com.example.foo.Bar" %>

<%-- Para poder acceder a la clase Form desde código Java en la .jsp. --%>
<%@ page import="com.documentum.web.form.Form" %>

<html>
<head>

       <%-- Ejecuta la clase controladora --%>
       <dmf:webform validation="true" />

       <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
       <title></title>
</head>
<body>
       <%-- Some code --%>

       <%-- necesario para cualquier botón, incluido javascript --%>
       <dmf:form name="fooForm">

               <%-- Some code --%>

       </dmf:form>

       <%-- Some code --%>
</body>
</html>