File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes TD link on Logic iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "TD link on Logic iterate" Watch "TD link on Logic iterate" New topic
Author

TD link on Logic iterate

rudresh kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 83
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30403
    
150

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
rudresh kumar
Ranch Hand

Joined: Jan 04, 2006
Posts: 83
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TD link on Logic iterate