• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

TD link on Logic iterate

 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic