[Trac-tickets] [The Trac Project] #1566: Unable to access http request arguments from a user macro

The Trac Project noreply at edgewall.com
Mon May 16 16:46:15 EDT 2005


#1566: Unable to access http request arguments from a user macro
---------------------+------------------------------------------------------
       Id:  1566     |      Status:  new                     
Component:  general  |    Modified:  Mon May 16 16:46:14 2005
 Severity:  normal   |   Milestone:                          
 Priority:  low      |     Version:  devel                   
    Owner:  jonas    |    Reporter:  eblot                   
---------------------+------------------------------------------------------
 I'm not sure I'm right, but I can't figure out how to access the req.args
 from a user macro.

 The user macro {{{execute(hdf, content, env)}}} method receives three
 parameters:
  1. hdf
  1. macro arguments
  1. environment

 Neither first argument or third argument contains a reference to the HTTP
 request.

 Perhaps the first arg. might be replaced with the full request ({{{req}}})
 instead of the hdf object ({{{req.hdf}}}) ?

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/1566>
The Trac Project <>


More information about the Trac-Tickets mailing list