Do you mean you want a gluon.globals.Request object with its application, 
controller, function, and args values set as per your URL? WAYRTTD?

On Tuesday, June 25, 2013 1:34:43 PM UTC-4, Richard wrote:
>
> Here an example of URL : URL(c='my_controller', f='my_func', 
> args=('my_table', 'record_id'))
>
> I would like to know how I can create a fake request object from an URL() 
> or other mean...
>
> Hope it is clearer.
>
> Thanks
>
> Richard
>
>
> On Tue, Jun 25, 2013 at 1:28 PM, Anthony <[email protected] 
> <javascript:>>wrote:
>
>> Not quite clear what you mean. How does your app get a table name in 
>> request.args(0)?
>>
>>
>> On Tuesday, June 25, 2013 12:07:48 PM UTC-4, Richard wrote:
>>>
>>> Hello,
>>>
>>> How can I make a fake request in order I can retrieve my table name in 
>>> request.args(0) like my app does...
>>>
>>> Thanks
>>>
>>> Richard
>>>
>>  -- 
>>  
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to