This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes how do I achieve below on the webPage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "how do I achieve below on the webPage" Watch "how do I achieve below on the webPage" New topic
Author

how do I achieve below on the webPage

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Hi all,

I have a webPage that displays the date field and the products for that day.

Is it possible to dynamically load (refresh) the products from the database table , when the user selects a different date. Then he actually submits the request to display the product details available on that particular day.

Should I use AJAX for this?


Thanks,
Trupti
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Originally posted by trupti nigam:
Hi all,

I have a webPage that displays the date field and the products for that day.

Is it possible to dynamically load (refresh) the products from the database table , when the user selects a different date. Then he actually submits the request to display the product details available on that particular day.

Should I use AJAX for this?


Thanks,
Trupti


of course it is possible, all you have to do is whenever the user changes a date , the Page submits itself via javascript and a new product details would be shown. Yes you can also do it via ajax by using ajax4jsf libraries
trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 613
Originally posted by Abiodun Adisa:


of course it is possible, all you have to do is whenever the user changes a date , the Page submits itself via javascript and a new product details would be shown. Yes you can also do it via ajax by using ajax4jsf libraries


Thanks For the prompt response. I knew that I have to use the AJAX tachnology. But I have never used it. And I need to finish this task within a day or two. What is the good starting point. I started reading the w3schools.com. But do you have any example as to how this is achieved/

Thanks,
Trupti
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do I achieve below on the webPage
 
Similar Threads
pass parameter values to url in jsp
How to get tomorrow's date?
Storing Variables on a Web Server
Displaying date on webpage
using string value as a variable name