I discovered one way to make a true copy of some list of HTML helpers. I 
would like to know if there are other more, web2py / pythonic ways to do 
it. So for instance:

form = SQLFORM.factory()
trs = form.elements('<tr>')
trs_true_copy = map(lambda x: TAG(x.xml()),trs)

which works just fine, though it seems a bit overkill having to serialize 
and deserialize to make a true copy.
TIA

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to