On Sat, 2003-03-29 at 18:11, Yash Patel wrote:
> I have a jsp page which has 2 select boxes. Whenever i select values in 
> the first select box the values should be changed accordingly in the 
> second select box.

If so, I've wondered myself how to do that.
>  The tables from which the values come are related. I 
> want to perform a onChange event of the select box. Do I need to do it 
> through and interceptor which changes currentRow of the Resultset ? 
(using an interceptor will allow you to modify what gets entered/updated
in the database but won't effect what gets displayed for choices in your
second select box --but if based on the  chioce in the first box you
will know what goes into the second then I think an interceptor could
help)
> Please provide help for actually changing the currentRow of the fetched 
> Resultset in dbforms.
I know zero javascript though so avoided it.

Anyway, see the usersguide chapter on scripting variables.  I know they
are available within <dbform> and <body> tags but for <select>???


This is just one:

currentRow_tableNamejava.util.HashtableContains the field-values of the
current row.

Example: String email = (String) currentRow_customers.get("email"); 

Scope: inside the respective <body>-tag

PLEASE LET ME KNOW IF YOU GET A SOLUTION
>  
> 
> Shawn <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to