JNic
asked on
Pop-up windows and struts
This one is hard - for me! ;-)
In a struts-jsp application, is it possible to work with pop-up windows in this way (just an example):
In a calendar-userinterface you click on a date. A small "date-schedule-window" pops up, and you can change your schedule for that day in that window. On the same time, you can continue to navigate around in the original window. - So you can actually wait as long as you like before you alter the date-schedule, save it and then exit. Is this possible?? Yes?!? How??
This f...s up my mind completely, - normally with struts you navigate around between jsp's and Actionclasses, - but suddenly here the session gets "divided".
Any suggesitions?
Regards,
Nic
In a struts-jsp application, is it possible to work with pop-up windows in this way (just an example):
In a calendar-userinterface you click on a date. A small "date-schedule-window" pops up, and you can change your schedule for that day in that window. On the same time, you can continue to navigate around in the original window. - So you can actually wait as long as you like before you alter the date-schedule, save it and then exit. Is this possible?? Yes?!? How??
This f...s up my mind completely, - normally with struts you navigate around between jsp's and Actionclasses, - but suddenly here the session gets "divided".
Any suggesitions?
Regards,
Nic
ASKER
OH, this is interesting!
>>Let me know if you have more specific question on this.
OK:
Imagine this jsp (example!!):
<A HREF=date.do;jsessionid=<% =request.g etSession( ).getId()% >?date=030 41975>04/0 3/1975></A >
<FORM ACTION=scroll.do;jsessioni d=<%=reque st.getSess oin().getI d()%>
<input type="submit" value="scroll">
</FORM>
The link should bring you to the mentioned date-page, and the submit-button just illustrates "something else" you want to to do on the calendar page.
My question is then: How should the link look to make it a (small) pop-up sharing the same session?
Thanks,
Nic
P.S. The reason why I dont use tags to create the link is, that very often in my applications links have to be constructed from Java-generated HTML.
>>Let me know if you have more specific question on this.
OK:
Imagine this jsp (example!!):
<A HREF=date.do;jsessionid=<%
<FORM ACTION=scroll.do;jsessioni
<input type="submit" value="scroll">
</FORM>
The link should bring you to the mentioned date-page, and the submit-button just illustrates "something else" you want to to do on the calendar page.
My question is then: How should the link look to make it a (small) pop-up sharing the same session?
Thanks,
Nic
P.S. The reason why I dont use tags to create the link is, that very often in my applications links have to be constructed from Java-generated HTML.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will quote myself from another thread: Kenneth, "it is SO nice to have you back!"
THANK YOU for your always very detailed and good answers!
Kindest regards,
Nicolai
THANK YOU for your always very detailed and good answers!
Kindest regards,
Nicolai
It's my pleasure and glad to know your problem is solved :-)
Yes!
>> How??
Just use another action class and another set of jsp page for popup winodw.
>> but suddenly here the session gets "divided".
session never gets divided, but rather the control flow is divided and that's OK.
Let me know if you have more specific question on this.