relation query field: show field data entered upon report execution
This commit is contained in:
parent
8fff0330d3
commit
d44b388b67
1 changed files with 8 additions and 1 deletions
|
@ -98,7 +98,10 @@
|
||||||
|
|
||||||
|
|
||||||
<metal:input define-macro="relation"
|
<metal:input define-macro="relation"
|
||||||
tal:define="name field/name">
|
tal:define="name field/name;
|
||||||
|
value crit/comparisonValue|nothing;
|
||||||
|
uid value/uid|nothing;
|
||||||
|
title value/longName|value/title|nothing;">
|
||||||
<div dojoType="dojox.data.QueryReadStore"
|
<div dojoType="dojox.data.QueryReadStore"
|
||||||
tal:attributes="url string:${field/storeUrl}&project=${item/adapted/uid};
|
tal:attributes="url string:${field/storeUrl}&project=${item/adapted/uid};
|
||||||
jsId string:${name}_search_store" >
|
jsId string:${name}_search_store" >
|
||||||
|
@ -120,6 +123,10 @@
|
||||||
onChange string:setEnhancedRelation('$name');" />
|
onChange string:setEnhancedRelation('$name');" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script lang="javascript"
|
||||||
|
tal:condition="value"
|
||||||
|
tal:content="string:setEnhancedRelation('$name', '$uid', '$title');">
|
||||||
|
</script>
|
||||||
</metal:input>
|
</metal:input>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue