I don't mind at all Leonel! It is always good to learn from more seasoned
coders and put the newfound knowledge into practice.
Anyway, I have a dictionary because when the page loads I want the previous
month to be displayed. Since this code
month = T(request.now.strftime("%B"))
gives me the current month's full name, that's not exactly what I want.
Also I have the months appear on a dropdown box like this
<select id="month" name="mes" class="selectClass">
<option value="">Seleccione mes:</option>
{{for m in meses:}}
<option value='{{=m}}'>{{=m}}</option>
{{pass}}
</select>
When you say I can now remove the newlist variable from the view,I should
replace it by "colaboradores",but wouldn't that still get me into trouble
if I run out of space?I'm not quite sure what should I do to solve 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/d/optout.