Hello, I have a problem to assign a variable in the
dtml-in tag.
If I use the following code, I can get the expected
result.
<dtml-in
"test('/temp/1063')">
<a
href="description_html?file=/temp/<dtml-in Inspector_Name><dtml-var
UserID></dtml-in>/<dtml-var sequence-item>"><dtml-var
sequence-item><br>
</dtml-in>
However, I want to get 1063 in line 1 from
<dtml-in Inspector_Name><dtml-var UserID></dtml-in>, just like
line 2, I failed.
"Inspector_Name" is a ZSQL-method, to retrieve the
UserID from the database by using the login name.
"test(path)" is the external method to get the
actual files name and directories name in the ext2 file system of
Linux.
I tried to use <dtml-in "test('/temp/<dtml-in
Inspector_Name><dtml-var UserID></dtml-in>')"> instead of line
1. I failed.
Please help. Thanks a lot.
Leo