Jardel
![[Avatar]](/images/avatar/5d79099fcdf499f12b79770834c0164a.jpg)
Joined: 19/10/2009 23:33:57
Messages: 28
Offline
|
I'm having a problem:
I did controller class using a method "execute" and a method "public void prepareValidator(Validator val, String arg1)".
Now, in the news versions of mentawai we have: "public void initValidator(Validator val, String arg1)".....
Have some diference between this two methods? Because using the second case I can't the validator, dont running, dont give me a result in the page.
Other question: When I use in my first page (index.jsp) is ok! But, in other pages html dont run... Can be something like this?
look how is in my second html page:
-------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@taglib uri="http://www.mentaframework.org/tags-mtw/" prefix="mtw"%>
<xhtml xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" "/>
<title>Buriti.com</title>
<link rel="shortcut icon" href="http://localhost:8084/Buriti/images/favicon.ico">
<meta name="keywords" content="" />
<meta name="Premium Series" content="" />
<link href="http://localhost:8084/Buriti/default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
-------------------------------------------------------------------------------
Somebody can help me? For this my validation don running..
thanks,
Jardel
|