This can change if we backport the MENU helper from web3py.

On Thursday, 11 April 2013 10:11:52 UTC-5, Anthony wrote:
>
>
> ul = menu.element("ul")
>> items = ul.elements("li")
>> for item in items:
>>     item.atttributes["_id"] = <new id>
>>
>> Won't work -- the MENU() helper doesn't generate the UL's and LI's until 
> it is serialized. Also, note that .element('ul') returns only the first UL 
> element. To get all the LI elements, all you have to do is 
> menu.elements('li') (though, again, that won't really work in this case).
>
> Anthony
>

-- 

--- 
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