struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cook, Graham" <graham.c...@cgey.com>
Subject RE: calling ACTION from SEARCH button, results displayed in new w indo w
Date Wed, 04 Dec 2002 15:31:07 GMT
The field on the form is part of a company name, the popup window will be a
list of all names in the database that match what the user has typed in the
input field.

I know that I need to use Javascript to create the popup, what i need to
know is whether or not i can pass the JSP field into a javascript function,
then call an action. Or do i need to hardcode the field reference in the
Javascript method ie . document.form.companyname 

-----Original Message-----
From: Cook, Graham [mailto:graham.cook@cgey.com]
Sent: 04 December 2002 14:44
To: 'struts-user@jakarta.apache.org'
Subject: calling ACTION from SEARCH button, results displayed in new
windo w


How do you go about calling an action from a SEARCH button on a JSP, and
passing in one of the JSP fields to the action in order to bring up a popup
window with data related to the field on the JSP. eg. like part of a name
that you want to search on?


****************************************************************************
****************
" This message contains information that may be privileged or confidential
and 
is the property of the Cap Gemini Ernst & Young Group. It is intended only
for 
the person to whom it is addressed. If you are not the intended recipient,
you 
are not authorized to read, print, retain, copy, disseminate, distribute, or
use 
this message or any part thereof. If you receive this message in error,
please 
notify the sender immediately and delete all copies of this message ".
****************************************************************************
****************


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message