Mathias,
I appreciate all the help on this.
Is it possible to bootstrap a Resource on the gizmo child that can be used to keep track of the number of selections of that type that are available?
I have the Lifepath module with this as the child:
Code:
<!-- Lifepath Module -->
<!-- form="lifepathgiz"> -->
<entity
id="lpCustom"
form="lifepathgiz">
<bootstrap thing="LifepathHelper"/>
</entity>
LifepathHelper has a bootstrap of resLPSpecialty. It also has this on the script:
Code:
foreach bootstrap in this where "thingid.resLPSpecialty"
eachthing.field[resMax].value += parent.field[lpNumSpec].value
nexteach
This is the portal on the lifepathgiz form where I'm trying to display the resLPSpecialty summary:
Code:
<portal
id="lpSpecialty"
style="tblNormal">
<table_dynamic
component="Specialty"
showtemplate="SimpleItem"
choosetemplate="SimpleItem"
alwaysupdate="yes"
scrollable="yes"
addpick="LifepathHelper"
headerpick="LifepathHelper"
candidatepick="LifepathHelper"
candidatefield="lpSpecExpr">
<autotag group="Helper" tag="Shadow"/>
<headertitle><![CDATA[
@text = parent.tagnames[LifepathCat.?,","] &" (" & parent.field[name].text & ") Specialty - " & container.childfound[resLPSpecialty].field[resShort].text
]]></headertitle>
<additem><![CDATA[
@text = "Select Specialty"
]]></additem>
</table_dynamic>
</portal>
The summary is always showing a 0 of 0 value however. Am I missing timings or something?