Modify

Opened 16 years ago

Closed 5 years ago

#4768 closed enhancement (wontfix)

value usage in IncludeMacro

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

Description (last modified by Ryan J Ollos)

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 (3)

comment:1 Changed 14 years ago by Steffen Hoffmann

Component: TracFormsPluginIncludeMacro
Keywords: process values added
Owner: changed from Rich Harkins to Noah Kantrowitz
Summary: value usage in Include Macrovalue 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 11 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

comment:3 Changed 5 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: wontfix
Status: assignedclosed
Type: defectenhancement

Integration with TracFormsPlugin is out-of-scope, at least for now. However, PatchWelcome.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.