Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 58)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#67 fixed The serializer can't serialize a list of DOMs apoirier apoirier

Reported by apoirier, 7 years ago.

Description

Exception :

NoApplicableMethods: (([<Element div at 2a9f0a0>, <Element div at 2a9f0d8>], '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):
    h << h.div('foo')
    h << h.div('bar')
    return h.root  # Returning a list of 2 DOMs

@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
#69 fixed Missing files in root/trunk/nagare/examples/nagare/examples/wiki/ apoirier pigmej

Reported by pigmej, 7 years ago.

Description

For example in file root/trunk/nagare/examples/nagare/examples/wiki/wiki18.py you're importing "from wikideclarative import PageData?" ( http://goo.gl/sHwWy)

#1298 fixed Anchors are modified by the renderers apoirier apoirier

Reported by apoirier, 7 years ago.

Description

A href which is only an anchor is replaced by an url:

h << h.a(href='#foo')

generates:

<a href='/<appli>/#foo'>

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.