The problem is fixed I had to change the parameter to name in the logic
tag..
Thanks
-----Original Message-----
From: juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 12:09 PM
To: '[EMAIL PROTECTED]'
Subject: AW: Logic Tags
do you have
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
in your jsp?
-----Ursprüngliche Nachricht-----
Von: Mike Bungay [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 17:52
An: '[EMAIL PROTECTED]'
Betreff: RE: Logic Tags
Yes But i just passed in a string value not a variable because I don't
really care what the value is I just want to check that it's present....
-----Original Message-----
From: juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 11:32 AM
To: '[EMAIL PROTECTED]'
Subject: AW: Logic Tags
did you have:
String message = "blabla";
request.setAttribute("success", message);
in your actionBean?
-juraj
-----Ursprüngliche Nachricht-----
Von: Mike Bungay [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 17:17
An: '[EMAIL PROTECTED]'
Betreff: RE: Logic Tags
I am passing the success (request.setAttribute("success","yes");) parameter
back to the jsp but in the jsp when I try this code:
<logic:present parameter="success">
<SCRIPT LANGUAGE="JavaScript">
window.open("welcome.jsp", "popupPage", "top=0,left=0,resizable=yes,
status=yes" + ",width=" + screen.width +
",height=" + screen.height);
</script>
</logic:present>
the present tag doesn't fire. I can print the success attribute on the jsp
page so I am getting the parameter back to the page.
What am I doing wrong??