I need to cause ajax widget from ajax widget.
On my page I cause LinkRemoteFun widget, which conclusion in turn
generates references on DOMinclude widget. LinkRemoteFun Works
perfectly, but already the next call of any another ajax widget does not
work.In case of DOMinclude the usual reference on next page is
generated. I accept any remarks and ideas.
Here code widget and which causes cliques on LinkRemoteFun:
class HomeWidget(CompoundWidget):
css = [CSSLink("dominclude", "css/DOMinclude.css")]
javascript = [JSLink("dominclude", "javascript/DOMinclude.js")]
template = "sunline.templates.home_widget"
params = ['home']
member_widgets = ['dom_widget','dom_config']
dom_widget = DOMinclude()
dom_config = DOMincConfig()
sunline.templates.home_widget.kid:
<span xmlns:py="http://purl.org/kid/ns#">
${dom_config()}
<h1 py:content="home.number">Home number</h1>
${home.about}
<table border="1">
<tr py:for="p in home.paradnoe">
<th py:content="p.number">Parada Number </th>
<span py:for="f in p.flour_sort(p.parada_id)" py:strip="True">
<td>
${dom_widget(href="/flour?flour_id="+str(f.flour_id), text=f.number)}
</td>
</span>
</tr>
</table>
</span>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---