struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhaarat Sharma" <>
Subject Struts 1 Javascript Question
Date Thu, 27 Mar 2008 12:54:50 GMT

I am using struts 1 to show a link to the user like this
                    page="/" paramId="report_id"
                    paramProperty="reportId" target="_blank">

However I want this link to open up from Javascript instead! For javascript
I have a code like the following

function openPopup() {
windowReference ='/cmrs/<%=WHAT
TO PUT HERE? SO I CAN GETT report_id value%>','windowName');
if (!windowReference.opener)
windowReference.opener = self;

what can i pass so that report_id value will come. I know in struts2 I could
have used the s:property there something similar in struts1?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message