Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 62865 invoked from network); 2 Oct 2007 13:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2007 13:02:42 -0000 Received: (qmail 40717 invoked by uid 500); 2 Oct 2007 13:02:23 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 40541 invoked by uid 500); 2 Oct 2007 13:02:22 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 40530 invoked by uid 99); 2 Oct 2007 13:02:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 06:02:22 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=HS_INDEX_PARAM,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2007 13:02:24 +0000 Received: by nz-out-0506.google.com with SMTP id z31so2634047nzd for ; Tue, 02 Oct 2007 06:02:02 -0700 (PDT) Received: by 10.64.241.3 with SMTP id o3mr6151794qbh.1191330122306; Tue, 02 Oct 2007 06:02:02 -0700 (PDT) Received: by 10.142.163.4 with HTTP; Tue, 2 Oct 2007 06:02:02 -0700 (PDT) Message-ID: Date: Tue, 2 Oct 2007 09:02:02 -0400 From: "Wes Wannemacher" To: "Struts Users Mailing List" Subject: Re: Popup window with session param In-Reply-To: <711792.92589.qm@web45013.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <711792.92589.qm@web45013.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org This may be a dumb question, but if it's a session attribute, why pass it as a request parameter? Can't you just pull it from the session in the target action? -Wes On 10/2/07, Diego Ezquerro wrote: > Hi to everybody. > > I have a problem with a JSP page, I think this is a stupid question but I= was hours searching the Internet and found nothing. > > What i wanna do is to pre-process a session attribute and then show a pop= up window with the result. > My code is as follows: > > Set Trazability > > "srd_tree" is a session attribute and this doesn't work. > > Then i tried this: > > href=3D"#" OnClick=3D"window.open('./fillTrazability.do?param1=3D<%=3D se= ssion.getAttribute("srd_tree") %>', > '', false); return false;">Set Trazability > > and the result is a Scripting elements (<%!, > Is there any way to do this using struts tags?? > All that i want is to pass that session attribute (it isn't a String) to = fillTrazability action class. > > I've tried too: > > > href=3D"#" OnClick=3D"window.open('./fillTrazability.do?param1=3Dtree', > '', false); return false;">Set Trazability > > obtaining no results. > > Anyone can help me?? > > Thanks a lot. > > > Diego Ezquerro Bailac > Asturias, Spain > > > > > ___________________________________________________________________= _________________ > =A1S=E9 un mejor besador! > Comparte todo lo que sabes sobre besos. > http://telemundo.yahoo..com/promos/mejorbesador.html --=20 Wesley Wannemacher President, Head Engineer/Consultant WanTii, Inc. http://www.wantii.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org