This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 61087
    
  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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP newbie