This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes JSP newbie Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "JSP newbie" Watch "JSP newbie" New topic
Author

JSP newbie

Ankit Pedro
Greenhorn

Joined: Mar 23, 2005
Posts: 12
Hello,

I am new to JSP, and i am developing a web application( Employee's TimeSheet).

My problem is that i have a window 'A' with a text field 'AA' and a button 'BB', upon pressing on 'BB' a popup window appears. what i am unable to figure out is how i can upon selecting a certain value from the popup window, that value is dynamically placed in 'AA'.

I figured it out using javascript, but is there any way to do it in JSP.

Any help would be appreciated.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61316
    
  66

No. That is entirely client-side manipulation and must be performed with Javascript.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mallesham Karnati
Ranch Hand

Joined: May 11, 2005
Posts: 40
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by Mallesham Karnati:
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?


No. It actually saves you from all the code writing, but on the client-side/browser it renders javascript. Thats what I think, because no other way around. I haven't grabbed the JSF as a whole. I'm relatively new to JSF. You may want to post this question on JSF forum for a more reliable answer.

thanks
 
GeeCON Prague 2014
 
subject: JSP newbie