• 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

Sending data from Server to JSP page

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am new to JSF. I am developing a simple application of Add, List, View, Modify data. Now from List page, I am able to send the selected row data to the server method. Now my aim is to update this object & send this updated value object (Managed Bean) to the View JSP. Do I need to play with HttpServletRequest object? Is there much efficient way of transferring data from server to JSP in JSF? Please advice ..


Regards,
Paresh
 
Paresh Wankhede
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here I mean sending data from Backing bean to jsp page
 
Paresh Wankhede
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here I mean sending data from Backing Bean to the JSP page in JSF

.. Paresh
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make use of UIData#getRowData() or DataModel#getRowData().

You may find this article useful as well: http://balusc.blogspot.com/2006/06/using-datatables.html
 
Saloon Keeper
Posts: 28402
210
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also heartily recommend Rick Hightower's "JSF for Nonbelievers" series of articles at IBM developerWorks. I've found them to be one of the most concise and useful introductions to JSF that there are.
 
Paresh Wankhede
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bauke, thanks Tim.
These tutorials will surely help JSF freshers like me.

.. Paresh
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic