Java - Error con los taglib

 
Vista:

Error con los taglib

Publicado por Jorge (1 intervención) el 17/05/2006 15:05:06
<%@page contentType="text/html"%>
<%@ taglib uri="bean" prefix="bean" %>
<%@ taglib uri="html" prefix="html" %>

<html:html>
<body>
<html:errors/>
<html:form action="/doSearchByOptions?method=searchByOptions" >
BUSCAR <html:text property="nombre" /><br>
<br>
<html:submit>
Buscar
</html:submit>
</html:form>
</body>
</html:html>

<html:html>
<body>
<html:errors/>
<html:form action="/doUpdate?method=update" >
<logic:present name="sistema">
User: <html:text name="sistema" property="user" disabled="TRUE"/><br>
Nombre: <html:text name="sistema" property="nombre"/><br>
Pass: <html:text name="sistema" property="pass" /><br>
Edad: <html:text name="sistema" property="edad" /><br>
<html:submit>
OK
</html:submit>
</logic:present>
</html:form>
</body>
</html:html>

<html:html>
<body>
<logic:present name="sistema">
<bean:write name="sistema" property="user" />
<bean:write name="sistema" property="pass" />
<bean:write name="sistema" property="nombre" />
<bean:write name="sistema" property="edad" />
<a href="doSearch?method=search&user='<bean:write name='sistema' property='user' />'"/>Editar</a>
</logic:present></body>
</html:html>

<html:html>
<body>
<logic:present name="sistemas">
<logic:iterate id="sistema" name="sistemas" >
<bean:write name="sistema" property="user" />
<bean:write name="sistema" property="nombre" />
<bean:write name="sistema" property="pass" />
<bean:write name="sistema" property="edad" />
<a href="doSearch.do?method=searchSistema&user=<bean:write name='sistema' property='user' />"/>Editar</a>
</br>
</logic:iterate>
</logic:present>
</body>
</html:html>


<html:html>
<body>
<html:errors/>
<html:form action="/doCreateUser?method=create" >
<bean:message key="prompt.user.id" /><html:text property="username" /><br>
<bean:message key="prompt.user.name" /><html:text property="name"/><br>
<bean:message key="prompt.user.password" /><html:password property="password" /><br>
<bean:message key="prompt.user.lastname" /><html:text property="lastname" /><br>
<bean:message key="prompt.user.age" /><html:text property="age" /><br>
<bean:message key="prompt.user.address" /><html:text property="address" /><br>
<html:submit>
<bean:message key="button.accept"/>
</html:submit>
</html:form>
</body>
</html:html>
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder