Massimo,

With respect to the new file upload remembering the file name. Are
there accompanying methods to get and set the filename after upload of
the file?

In my example, my app is running on GAE, therefore uploaded files are
being stored in the DB. I require the ability for the user to see a
list of their uploaded files, using filenames. Currently I use a
separate field to store the filename of the file when it was
originally uploaded and use that for display purposes (upload field
value still used as the url to the resource). I also allow the user to
change the value of the display filename.

With the new upload field I was hoping my extra filename field would
be redundant and that I could get and set the filename that was being
stored as part of the upload field. Is this possible in the new
implementation, or am I stuck using the extra filename field?

Ted



On May 18, 8:10 am, mdipierro <[email protected]> wrote:
> I fixed a couple of issues posted during the night and reposted
> 1.62.1. Please let me know if you have any problem.
>
> New features:
>
> - There is a new "welcome" scaffoling app that has Authentication,
> Authorization, Crud, Services, and Menu by default.
>
> - There is a new file format for web2py apps (.w2p) it is zips files
> so it is more compact.
>
> - if SQLField(...., writable=False, readable=True) thefieldis shown
> readonly in SQLFORMs
>
> - The "design" page has been renamed "edit".
>
> - If youuploada file in an "upload"fieldit now "remembers" the
> original name. The name does not appear in the URL for various
> security reason but it will be used when you try to save the file.
> This is ON by default. Can be disabled but I cannot think any reason
> to.
>
> - There is a new {{=MENU(response.menu)}} helper
>
> - You can disable lazy evaluation of languages T.lazy=False (True by
> default as before)
>
> - Better WingIDE support
>
> - Better Internationalization
>
> BETA FEATURES (they seem to work but need more testing and
> improvements)
>
> - look into admin/models/0.py, there is a variable GAE_APPCFG. If that
> variable points to the correct Google App Engine utility appcfg.py,
> web2py will provide a web based interface to deploy on the Google App
> Engine, linked from admin/default/site
>
> - If you run source and you "easy_install mercurial", each app has its
> own minimalist interface to mercurial and you can commit your changes
> to it.
>
> - There is a new [shell] button in the edit (design) page. When you
> click on it you get an AJAX shell within the app (it sees the
> database). It has some problems with sqlite since it closes the
> database unexpectedly.
>
> Thanks particularly to Alvaro, Douglas, Yair, Tim, Iceberg for all
> their help (I am sure I forgot somebody).
>
> Massimo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to