[opencms-dev] OpenCms 8 & fmt:message displaying ???mykey???

Sandrine Prousteau s.prousteau at eurelis.com
Fri Jun 24 10:28:14 CEST 2011


I put my key in workplace.properties instead of messages.properties...

Shame. :p



De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Sandrine Prousteau
Envoyé : vendredi 24 juin 2011 10:19
À : The OpenCms mailing list
Objet : [opencms-dev] OpenCms 8 & fmt:message displaying ???mykey???


Hi all,


I'm trying to use <fmt:message> tag in my formatters jsp, and I get "??? mykey ???" display...

Is there someone who can help me?


I'm on OpenCms8.0.0.

My code is :


<%@page buffer="none" session="false" taglibs="c,cms,fn,fmt" %>

<cms:formatter var="content" val="value">

<div class="webform">

<c:set var="loc"><cms:property name="locale" file="search"/></c:set>

<fmt:setLocale value="${loc}" />

<fmt:bundle basename="com.mymodule.opencms.website.messages" >

form.init.error.headline = <fmt:message key="mykey" />





I have a file published in my module : 




containing :


mykey = My label


Where is my mistake please?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110624/49daec11/attachment.htm>

More information about the opencms-dev mailing list