Hi Massimo, the point is that, if I define the following code in a
controller:
def wiki():
return auth.wiki(render='html')
In the corresponding view I will have only the 'content' field. As a result
I will be able to format the wiki page by its content only no other fields
can be retrieved; in order to 'format' better the wiki page, it would be
nice to have at least information such as the fields title and modified_on.
paolo
On Sunday, January 27, 2013 4:56:51 PM UTC+1, Massimo Di Pierro wrote:
>
> I do not fully understand the issue. Can you post more code as an example?
>
> On Friday, 25 January 2013 08:32:55 UTC-6, Paolo valleri wrote:
>>
>> Dear all, I've just came across the fact that with the following code:
>> def wiki():
>> return auth.wiki(render='html')
>> and visiting something like app/controller/wiki/about
>> in the view I will get only the 'content' field without any
>> other useful wiki's field such as Title, modified_on just to name a few.
>> Checking the code, I figured out that the problem is due to the test:
>> extension==html (see tools.py:5090)
>> Could we return the other fields too?
>>
>> Paolo
>>
>
--