First off, my Shale work seems to be moving along nicely, so I want to 
thank everyone who has helped me get to this point..:)

I have a link in a "parent window" pointing to 
WorkListBean.startAssessment(). In WorkList.startAssessment(), I  return 
an outcome of "showAssessment", which in faces-config is mapped to 
/assessment.jsp.

Also in AssessmentBean.prerender(), I have code to initialise my 
AssessmentBean so that  /assessment.jsp can render nicely.

So far so great.

However, the specs changed..(:( and I had to add Javascript (window.open 
stuff), so now I have to open a *new* window from my parent window in 
order to show assessment.jsp. And of course this means my AssessmentBean 
is no longer initialised. My current solution is to place the bean in 
session instead. I have therefore two questions:

1. Is there a better way?
2. I have to be sure to clean up this bean to behave like a bean in 
request scope. Here's code which I have placed at the end of my "bean 
methods" of my AssessmentBean: setBean("assessment", null); This seems to 
do the job. Are there any gotchas I need to be aware of?

Thank you for your continued help and time!
Geeta

Reply via email to