Hello,

i use template taglib in my JSPs.

For exemple i have this template file :
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

<body>
<heas>
<title>
<template:get name="title"/>
</title>
</head>
<body>


And i would put in the <template:put> tag a entry of my
ApplicationResource.properties like this :

<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<template:insert template="myTemplate.jsp">
        <template:put name="title" content="index.title" direct="true"/>
</template:insert>

The index.title is a key in my ApplicationResource.properties that i can
display with <bean:message key="index.title"/>.

But this is not work :)

How can i use ApplicationRessource.properties message in the template
put tag ?

Best regards ...
-- 
Jean-Baptiste Onofré (Nanthrax)
Membre fondateur de phpFR.org
http://www.phpfr.org
[EMAIL PROTECTED]
Membre fondateur du LUG Béziers
http://www.lug-beziers.org
[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to