I don't think BEAUTIFY offers any way to manipulate the values 
automatically. You can manipulate the keys by passing in a "keyfilter" 
argument, which is a callable that takes a key and returns a possibly 
transformed version of it (or None, in which case, that key is excluded 
from the output). Perhaps we should add a "valuefilter" argument as well, 
which could take a key/value pair.

For now, you'll either have to alter the dictionary values before passing 
the dictionary to BEAUTIFY, or otherwise code your own display rather than 
using BEAUTIFY (this should be relatively simply if you don't have an 
arbitrarily nested dictionary structure).

Anthony

On Monday, February 10, 2014 6:00:54 PM UTC-5, Austin Taylor wrote:
>
> Hello,
>
> I'm displaying a dictionary using
>
> def results():
>       return dict(message=BEAUTIFY(session.dictionaryRequest))
>
> Three of my keys have link values that I'd like the user to be able to 
> click on.
>
> Is there a short way to do this?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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