I am not able to use the <#mapobject type="htmlbefore" subid="<@subid>"> as paramater for the filter_tags attribute of #selectionlist in my custom version of the Live Graphs for Groups/Devices (No Header) mabobject.
Here is the complete mapobject code:
<!--Custom Map Objects: Live Graphs for Groups/Devices (No Header)-->
<div class="map_object map_table reaload_wo_params" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#checkobjecttype id="<@objectid>" objecttype="sensor,device,group,probenode" nicemessage="true">
<div class="sensorgraphs">
<#selectionlist
id="<@objectid>"
content="sensorgraphs"
width="250"
height="125"
graphid="0"
filter_tags="<#mapobject type="htmlbefore" subid="<@subid>">"
styling='graphstylefile=graphstyling.htm datastylefile=graphdatastyling.htm refreshable=false'
>
</div>
<#mapobject type="htmlafter" subid="<@subid>">
<br style="clear:both">
</div>
Hello,
thank you very much for your KB-Post. This is a very good idea, requires a little change though:
<!--Custom Map Objects: Live Graphs for Groups/Devices (No Header)--> <div class="map_object map_table reaload_wo_params" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">"> <#mapobject type="objectgrip" mode="<@editmode>"> <#checkobjecttype id="<@objectid>" objecttype="sensor,device,group,probenode" nicemessage="true"> <#mapobject type="htmlbefore" subid="<@subid>" var="htmlbefore"> <div class="sensorgraphs"> <#selectionlist id="<@objectid>" content="sensorgraphs" width="250" height="125" graphid="0" filter_tags="@htmlbefore" styling='graphstylefile=graphstyling.htm datastylefile=graphdatastyling.htm refreshable=false' varexpand="filter_tags" > </div> <#mapobject type="htmlafter" subid="<@subid>"> <br style="clear:both"> </div>This should work.
Best regards.
Nov, 2013 - Permalink