struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyalla, Raveendra" <>
Subject <form:text property="username"/> onblur ????????????????
Date Fri, 22 Feb 2002 21:18:12 GMT
In the following code  in text tag I want to do <form:reset/> in the onblur
event. Is it possible ?
 <form:text property="username"/>
see the following example code from apche.

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts.tld" prefix="struts" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>

<title>Sign in, Please!</title>


<form:form action="" focus="username">
<table border="0" width="100%">

    <th align="right">
    <td align="left">
      <form:text property="username"/>

    <th align="right">
    <td align="left">
      <form:password property="password"/>

    <td align="right">
      <form:submit property="submit" value="Submit"/>
    <td align="left">




-----Original Message-----
From: Nail, Evan Burke []
Sent: Friday, February 22, 2002 4:11 PM
To: Struts Users Mailing List
Subject: RE: newbie question: HTML Taglib

Lets say you have a script as follows

function testme(){
  alert("you tested me");

then your html tag would look like this

<html:text property="action" size="16" maxlength="16" onblur="return

Hope this helps.

>  -----Original Message-----
> From: 	"Boyalla, Raveendra"
> Sent:	Friday, February 22, 2002 2:57 PM
> To:	'Struts Users Mailing List'
> Subject:	RE: newbie question:  HTML Taglib
> Hi,
> Please tell me, How to use onBlur event for text Tag
>  <form:text property="username"/>
> Thank you
> Raveendra
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This e-mail is the property of Enron Corp. and/or its relevant affiliate and
may contain confidential and privileged material for the sole use of the
intended recipient (s). Any review, use, distribution or disclosure by
others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender or reply
to Enron Corp. at and delete all
copies of the message. This e-mail (and any attachments hereto) are not
intended to be an offer (or an acceptance) and do not create or evidence a
binding and enforceable contract between Enron Corp. (or any of its
affiliates) and the intended recipient or any other party, and may not be
relied on by anyone as the basis of a contract by estoppel or otherwise.
Thank you. 

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message