Hello all,
I was wondering if anyone had success obtaining a session object in a popup window.
My scenario is that once a user enters date on a jsp page, he clicks submit.
The action is listened to in my portlet (or in your case, maybe a servlet).
I then take these values and save them in a session object, thus initializing the session object with these new values.
I have a "Preview" button that explicitly does this
window.open('<%=response.encodeURL("/xxx_application/jsp/html/ModifyContentPreview.jsp")%>');
/// dont worry about the response.encodeURL, this is strictly portal coding specific
Thus opening the jsp page in a popup window
When I try to retrieve the value of the session bean, I always get a null in return.
ModifyContentSessionBean sessionBean = (ModifyContentSessionBean)request.getSession().getAttribute(ModifyContent.SESSION_BEAN);
Does anyone have any ideas, or not obtaining a session object is a
given in pop up jsps?
I was wondering if anyone had success obtaining a session object in a popup window.
My scenario is that once a user enters date on a jsp page, he clicks submit.
The action is listened to in my portlet (or in your case, maybe a servlet).
I then take these values and save them in a session object, thus initializing the session object with these new values.
I have a "Preview" button that explicitly does this
window.open('<%=response.encodeURL("/xxx_application/jsp/html/ModifyContentPreview.jsp")%>');
/// dont worry about the response.encodeURL, this is strictly portal coding specific
Thus opening the jsp page in a popup window
When I try to retrieve the value of the session bean, I always get a null in return.
ModifyContentSessionBean sessionBean = (ModifyContentSessionBean)request.getSession().getAttribute(ModifyContent.SESSION_BEAN);
Does anyone have any ideas, or not obtaining a session object is a
given in pop up jsps?