Hi all,
DSpace 5.5
XMLUI
Tomcat 7
Apache 2.2
PostGreSQL 9.2
I'm new to the XMLUI. I want to use a new message key in a template. I have
put the following in [dspace]/webapps/xmlui/i18n/messages.xml:
<message key="xmlui.new.key">NewValue</message>
I have then added the following to
[dspace]/webapps/xmlui/themes/MyTheme/lib/xsl/core/page-structure.xsl:
<xsl:variable name="myVar"><i18n:text>xmlui.new.key
</i18n:text></xsl:variable>
.
.
<form ... action="{$myVar}/subdir" ...>
but in the HTML output I just get:
<form ... action="xmlui.new.key/subdir" ...>
(NB: [dspace] is the dspace runtime directory - I'm just trying this stuff
live so I don't have to go through the recompile while I'm developing this
small piece of functionality)
What am I doing wrong?
Thanks,
Gary
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.