Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Posting one selected option value in two forms  RSS feed

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


ERROR:
======
C:\Program Files (x86)\Java\apache-tomcat-6.0.18\webapps\ROOT\WEB-INF\classes>ja
vac *.java
AppointmentMethods.java:65: cannot find symbol
symbol : variable deptId
location: class AppointmentMethods
deptId+"' target=mainFrame\">"+

^
The following code works but..


the problem is I need deptId in two places one to show date/time of the concerned dept in right corner mainFrame
and same deptId I need for post form to create new appointment by inserting data into db.

If I am doing like the following code....

then on deptId==>submit() it call post form.

How can I use deptId for both forms?

Best regards




 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!