... | in app.naml |
426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
|
<macro name="app_path" parameters="template,index_record,date" requires="node">
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦
<n.to_null_if Macro Parameters:
equals, value
♦ ♦
<n.index_record/>
</n.to_null_if.>
</n.set_var.>
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦
<n.template/>
</n.to_null_if.>
</n.set_var.>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<then>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
prefix, text
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<then>
<n.throw_runtime_exception Binary Namespace: BasicNamespace
Parameters:
text
♦ ♦
template = <n.var Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
</n.throw_runtime_exception.>
</then>
</n.if.not.starts_with>
<n.set_var Binary Namespace: BasicNamespace
Parameters:
name, value
♦ ♦
<n.substring Binary Namespace: BasicNamespace
Parameters:
end, text, begin
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
</n.set_var.>
</then>
</n.if.not.is_null.var>
/
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦
<condition>
<n.is_root Binary Namespace: NodeNamespace
♦ ♦
<n.is_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<n.is_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦
<n.is_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
</n.not.all_true.>
</condition>
<then>
<n.url_encoded_subject Binary Namespace: NodeNamespace
♦ ♦
-f<n.id Binary Namespace: NodeNamespace
♦ ♦
<n.hide_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
prefix, text, except_if
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
<n.hide_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
prefix, text, except_if
♦ ♦
<n.hide_null Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
prefix, text, except_if
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
name
♦ ♦
.html
</then>
</n.if>
</n.encode_url.remove_spaces.>
</macro>
|
Free forum by Nabble | Edit this page |