|
From: <max...@us...> - 2009-07-19 08:52:06
|
Revision: 3863
http://uni-d.svn.sourceforge.net/uni-d/?rev=3863&view=rev
Author: max_brod
Date: 2009-07-19 08:52:02 +0000 (Sun, 19 Jul 2009)
Log Message:
-----------
Have the text "View" translated (it appears near the link fields).
Modified Paths:
--------------
trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.html
trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.script
Modified: trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.html
===================================================================
--- trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.html 2009-07-18 14:26:46 UTC (rev 3862)
+++ trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.html 2009-07-19 08:52:02 UTC (rev 3863)
@@ -33,7 +33,7 @@
@version $Revision$
</span>
-<span jwcid="@Script" scriptAsset="asset:linkInputScript" onchange="prop:onChange"/>
+<span jwcid="@Script" scriptAsset="asset:linkInputScript" onchange="prop:onChange" resolver="prop:page"/>
<span jwcid="@If" condition="prop:disabled">
<span jwcid="@If" condition="prop:valueSet">
Modified: trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.script
===================================================================
--- trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.script 2009-07-18 14:26:46 UTC (rev 3862)
+++ trunk/Uni-d/tapestry/src/main/resources/be/unid/tapestry/components/input/unidLinkInput/UnidLinkInput.script 2009-07-19 08:52:02 UTC (rev 3863)
@@ -4,8 +4,11 @@
"http://jakarta.apache.org/tapestry/dtd/Script_3_0.dtd">
<script>
<input-symbol key="onchange" class="java.lang.String"/>
+ <input-symbol key="resolver" class="java.lang.Object" required="yes"/>
+
<body>
<unique>
+
<![CDATA[
function findForm(elem)
{
@@ -40,7 +43,7 @@
}
else
{
- if (display!=null) display.innerHTML = "View";
+ if (display!=null) display.innerHTML = "${resolver.getMessage('View')}";
if ( isFake ) input.value = sel;
}
var toeval = 'onChangeCombobox${onchange}(element, fieldName, isFake )';
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|