Opened 8 years ago

Last modified 3 years ago

#4768 assigned defect

value usage in IncludeMacro

Reported by: tekknokrat Owned by: rjollos
Priority: normal Component: IncludeMacro
Severity: normal Keywords: process values
Cc: Trac Release: 0.11


Is it possible to process values in Include Macro?

When I try with something like that:

[[Include([tf.value:service1_path], svn:mime-type)]]

Where service1_path is an value stored in editfield: /path/to/sourcefile

I get this message: Unsupported include source source:/path/to/sourcefile

I also tried with %service1_path% but this is not processed. How can I use that.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by hasienda

  • Component changed from TracFormsPlugin to IncludeMacro
  • Keywords process values added
  • Owner changed from rharkins to coderanger
  • Summary changed from value usage in Include Macro to value usage in IncludeMacro

While TracFormsPlugin mentions and actively encourages usage with IncludeMacro for form templating and the issue might be due to context/environment variable usage of TracFormsPlugin, it can still only resolved from (within) IncludeMacro, not TracFormsPlugin.

comment:2 Changed 3 years ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

Add Comment

Modify Ticket

as assigned The owner will remain rjollos.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.