struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Ezquerro <>
Subject Popup window with session param
Date Tue, 02 Oct 2007 11:40:47 GMT
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 popup window with the
My code is as follows:

<a href="#" OnClick="'./', '', false); return
false;">Set Trazability</a>

"srd_tree" is a session attribute and this doesn't work.

Then i tried this:

href="#" OnClick="'./<%= session.getAttribute("srd_tree")
'', false); return false;">Set Trazability</a>

and the result is a Scripting elements (<%!, <jsp:declaration, <%=, <jsp:expression,
<%, <jsp:scriplet ) are disallowed here.

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

I've tried too:

<bean:parameter id='srd_tree' name='tree'/>
href="#" OnClick="'./',
'', false); return false;">Set Trazability</a>

obtaining no results.

Anyone can help me??

Thanks a lot.

Diego Ezquerro Bailac
Asturias, Spain

¡Sé un mejor besador!
Comparte todo lo que sabes sobre besos.             
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message