• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TD link on Logic iterate

 
rudresh kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I have a search page and result page, in the search page user enters the employee number and clicks on the search, in the action class i put the result set in collection and forward it to result page

In the result jsp i iterate the collection and populate in tables (each emp number as one row)

this search page was opened as new window
Now user selects one of the emp number(from the result page) and that number and name should be put back in the main page.
I was trying to do it like this
http://forum.java.sun.com/thread.jspa?threadID=5166369&messageID=9636827
but not working
Anyone has any other Idea, Pls help me in solving this
Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34648
364
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rudresh,
Please elaborate on "it's not working". What is going wrong? Error message, blank screen, compiler error, etc. The details will help someone answer your question.
 
rudresh kumar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tired using the same concept, but problem is bean.write will just write just like javascript alert.
i am not able to use it for assiging (like assigning the result value to the window (main page) which opened it .
That not possbile with the above concept.
i want some thing like this
Onlick of one of the link of the result page
window.opener.document.mainpage.empno.value = result.resultpage.empno.value
self.close();

I am not able to achieve this.
can some one help me in achieving the same using logic iterate, or is there any other method ?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic