Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2009, 09:51 AM
Member
 
Join Date: Mar 2009
Posts: 1
Rep Power: 0
mlwong is on a distinguished road
Default Urgent Help needed!
i retrieve data from database using hibernate, now i wan to change the List retrive and wrap it with other variable..

i got 3 different classes,

how to get the list out and merge it with a variable name "selected" and pass the value to a variable name "ResumeInfoTesting" in strutsAssignloginuploadresumeForm?

--------------------------------------------------------------
strutsAssignloginuploadresumeForm viewresumeform = (strutsAssignloginuploadresumeForm) actionForm;

ResumeInfo resumeinfo = new ResumeInfo();

List eventList = ResumeDAO.getAllResume();
List result = new ArrayList();


for (int i = 0; i < eventList.size(); i++) {

resumeinfo.setResume(eventList.get(i));
resumeinfo.setSelected(false);

result.add(resumeinfo);

viewresumeform.setResumeInfoTesting(result);
System.out.println(resumeinfo);


}


-------------------------------------------------------------------

Thanks and help please! im new to this
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

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

BB 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
Help needed for strings....urgent pankbiet New To Java 6 02-17-2009 10:24 AM
hi help needed, this is urgent msciriha NetBeans 1 02-07-2009 07:16 PM
Urgent help needed here pls!! Manfizy NetBeans 5 01-28-2009 08:38 AM
SJF Dynamic DataTable **Urgent Help Needed** pathan.umapathi@gmail.com JavaServer Faces 1 09-26-2008 07:50 AM
Urgent Java programmer needed. KevinG Jobs Offered 5 04-23-2008 05:02 AM


All times are GMT +2. The time now is 04:24 PM.



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