struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Scheffler <Juergen.Scheff...@gmx.de>
Subject template and <html:messages/>
Date Tue, 18 Nov 2003 00:14:00 GMT
Hi experts,

my english isn´t good, so I use simple english:

I got a "template.jsp" :

<%@ include file="taglibs.jsp" %>
<html:html locale="true">
<head>
<html:base target='_self'/>
<link href="../css/main.css" rel="stylesheet" type="text/css"> </head>
<body> <html:errors/> <html:messages  id="message"> </html:messages>
<p>
<template:get name='content'/> </p> <br><br><br> template.jsp
;-)
</body> <!--FOOTER--> </html:html>

then I got a "fahrplan.jsp":

<%@ include file="taglibs.jsp" %>
<template:insert template='/pages/template.jsp'> 
	<template:put name='content'
content='/pages/portal/content.jsp'/>
</template:insert>

The "content.jsp" can start Actions and make a new Messages object, the
control is returned to "fahrplan.jsp"
What do I have do write into the "content.jsp" or ActionClass, so that
the fahrplan.jsp shows me the messages?

I tried:

<logic:messagesPresent message="true">
	<html:messages id="message" message="true">
    		<bean:write name="message"/>
    	</html:messages>
</logic:messagesPresent>

The message get writen, but not to the position <html:messages
id="message"></html:messages> in the fahrplan.jsp

Greetings

Jürgen


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message