Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2008, 11:08 AM
Member
 
Join Date: Jun 2008
Posts: 2
nc_newie is on a distinguished road
jsf scope query
hi,
I've a search page with a couple of textfields and a dropdown. i populate the dropdown in the init().
On clicking 'Go' button, i display a datatable with corresponding values fetched from DB in an arraylist.
The datatable has a editable dropdown. After setting the required valuies in dropdown, i do a submit and update the DB.

I've a jsf page with a backing bean in the request scope.
i have action methods for go & submit. In my submit action, i'm unable to read the arraylist.

Query: How do i get the array values?

Thanks,
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-06-2008, 03:34 PM
Member
 
Join Date: Aug 2008
Posts: 4
RamSun is on a distinguished road
1.By calling the corresponding method and set those values in the go action u can able to retain the values
or
2 . Pass the list to the go action as a fram and get this request scope values in the bean and save that list in the request scope again.
hope it solves ur problem
---Ram
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply

« Hi | JSF Tutorial »

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use session scope in Spring Java Tip Java Tips 0 03-31-2008 11:07 AM
How to use request Scope in Spring Java Tip Java Tips 0 03-31-2008 11:06 AM
How to define Bean Scope Java Tip Java Tips 0 03-30-2008 11:14 AM
return out of scope? another_steve New To Java 5 01-28-2008 10:34 PM
How to use session scope in Spring JavaBean Java Tips 0 09-28-2007 01:47 PM


All times are GMT +3. The time now is 03:19 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org