This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

JSP newbie

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. That is entirely client-side manipulation and must be performed with Javascript.
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does this situation work if someone uses JavaServerFaces technology? Does JSF solve this problem without resorting to javascript?
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic