From c646f012ae6be3371eccf91c7889457d2eba6872 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 20 Jun 2011 11:38:02 -0500 Subject: [PATCH] Added template var to Thingy to reflect callerAssetId from RenderThingData. --- lib/WebGUI/Help/Asset_Thingy.pm | 1 + lib/WebGUI/i18n/English/Asset_Thingy.pm | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/WebGUI/Help/Asset_Thingy.pm b/lib/WebGUI/Help/Asset_Thingy.pm index 788da3e6c..43108397d 100644 --- a/lib/WebGUI/Help/Asset_Thingy.pm +++ b/lib/WebGUI/Help/Asset_Thingy.pm @@ -155,6 +155,7 @@ our $HELP = { { 'name' => 'variables by label', }, + { 'name' => 'caller assetId' }, ], related => [ { tag => 'edit thing template', diff --git a/lib/WebGUI/i18n/English/Asset_Thingy.pm b/lib/WebGUI/i18n/English/Asset_Thingy.pm index a3f97a750..d513f3f23 100644 --- a/lib/WebGUI/i18n/English/Asset_Thingy.pm +++ b/lib/WebGUI/i18n/English/Asset_Thingy.pm @@ -1162,6 +1162,12 @@ below/after the form element.|, context => q|Hoverhelp for edit field screen|, }, + 'caller assetId' => { + message => q|When passed into the www_viewThingData, provides the assetId of the caller asset. Used by RenderThingMacro. See POD.|, + lastUpdated => 0, + context => q|Template variable help for www_viewThingData|, + }, + }; 1;