parametre transfer between two project
I write first project xx which call second project yy.
1.Hyperlink_1 properties i used, onclick "window.open('http://localhost:29080/yy/?id=111111', 'mywindow','width=900,height=1200');"
2.Hyperlink_2 properties i used, onclick "window.open('http://localhost:29080/yy/?id=222222', 'mywindow','width=900,height=1200');"
Second project yy will display only "id" parametre.
My problem is;
When i run first project xx , i click hyperlink_1 , second project yy display "id=111111" it's true and then i close second project yy windows
and i click hyperlink_2 in first project xx , second project yy displayed "id=111111" too.
when i closed second and first projects , for first time hyperlink click always run true. Close second window and click another hyperlink , it didn't run true.
Where do i make mistake?
[875 byte] By [
yukelm] at [2007-11-26 10:19:18]

# 1
Properly speaking this is more a JSP/Javascript question than a Creator question, and for this reason there is no simple way to do this at the IDE level.
Basically you will have to provide another action (component of your choice) that will call window.close() for each hyperlink. But more than that, you'll either have to restart the first projects' session before executing the second hyperlinks' action handler (that opens the second popup), or run 2 sessions concurrently (if that is possible) within the same application. You will also need to trun off browser caching from code.
Here are some links with some hints as to the issues involved:
http://forum.java.sun.com/thread.jspa?forumID=45&threadID=469326
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=702322
http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/tlddocs/index.html