7 Aug
2001
7 Aug
'01
3:42 a.m.
<a href="ProjTeamMembers?teamid=&dtml-FirmTeamId;"><dtml-var FirmName></a>
or in the "old" but sometimes easier to understand syntax: <a href="ProjTeamMembers?teamid=<dtml-var FirmTeamId>"><dtml-var FirmName></a> If you have more than one parameter, put it like this: http://url?parameterX=1¶meterY=2¶meterZ=3
When you click on it, ProjTeamMembers will be run with the variable 'teamid' in the namespace. When you call your ZSQL method, you just pass it the argument, as in:
<dtml-in expr="myZSQLMethod(teamid=teamid)"> ...display team member... </dtml-in>
Even easier: <dtml-in myZSQLMethod> The namespace-passing stuff all works automatically as long as you have "teamid" in the parameter list of the ZSQL method ... Joachim