Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#54 fixed No log while populating database apoirier bertrand.croq

Reported by bertrand.croq, 8 years ago.

Description

When Nagare calls the registered function to populate the database, calling nagare.log.info() produces no output, and calling nagare.log.error() outputs "No handlers could be found for logger "nagare.application""

#55 fixed xhtml, select and option: problem with integer apoirier vincent.millet

Reported by vincent.millet, 8 years ago.

Description

When I use a select in a view like this:

with h.select(toto).action(myattr):
    for name, id in mylist:
        h << h.option(name, value=id).selected(id_to_select)

if id_to_select is an integer the selection does not work.

#66 fixed The serializer can't serialize an empty DOM apoirier apoirier

Reported by apoirier, 7 years ago.

Description

Exception :

NoApplicableMethods: (([], 'text/html', '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">', False), {})

with this code:

from nagare import presentation, ajax

class C:
    pass

@presentation.render_for(C, model='async')
def render(self, h, *args):
    return h.root   # Returning an empty DOM

@presentation.render_for(C)
def render(self, h, comp, *args):
    h << h.div(id='async_div')
    h << h.a('Click me').action(ajax.Update(
                              render=lambda h: comp.render(h, model='async'),
                              component_to_update='async_div')
                             )
    return h.root
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.