Hi, I'm glad your code is working. However, as I am still not clear on
what you want, I hope someone more familiar with vuejs will be able to
assist.
Best wishes.
On Thursday, 24 September 2020 at 18:18:08 UTC+1 Константин Комков wrote:
> Thank you, for your attention *Villas*. I don't ask y
Thank you, for your attention *Villas*. I don't ask your rewrite my code)
My code is working.
1. Validator IS_INT_IN_RANGE good work not only in SQLFORM.
2. Function get_help_id() getting name from request.vars - ('help_1',
'help_2', ... , 'help_17', 'help_18').
I just want to add in m
You could show the pdf in a frame o open it a new tab (depends of the use
case)
On Thursday, September 24, 2020 at 11:13:53 AM UTC-5 lcham...@gmail.com
wrote:
> Thank you
> note my controller has to return several data too
> the page html displayed by this controllers displays pics , link to pd
Thank you
note my controller has to return several data too
the page html displayed by this controllers displays pics , link to pdf ...
How can i do ?
thank you
Le jeu. 24 sept. 2020 à 17:10, Clemens
a écrit :
> Have a try!
>
> response.title = 'Your Document Title'
>response.headers
Have a try!
response.title = 'Your Document Title'
response.headers['Content-Type'] = 'application/pdf'
response.headers['Content-Disposition']='inline'
return response.stream()
I prefer the user to decide what to do (save or view in default browser) by
response.title =
Hi,
i have a controller with this :
response.headers['Content-Disposition'] = 'inline; filename=%s' %
request.vars.filename
to force streaming the pdf file , and i do not why it does not work ..
any idea ?
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentati
It does not seem easy to read and I'm not sure I can help without rewriting
your code.
However, in your function...
def get_help_id(name):
result = None
if len(name) > 5:
try:
result = int(name[5:])
except:
return result
7 matches
Mail list logo