- Timestamp:
- 24 Apr 2013, 05:52:57 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/browser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/batchprocessing.txt
r9919 r10099 146 146 We can grep the entries generated in logfile: 147 147 148 >>> browser.getControl('View processing log').click() 148 >>> browser.open('http://localhost/app/datacenter/logs') 149 >>> browser.getControl('Show', index=0).click() 149 150 >>> print browser.contents 150 151 <!DOCTYPE ... -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r10029 r10099 1414 1414 label = _(u'Process CSV file') 1415 1415 pnav = 0 1416 show_button =_(u'View processing log') 1417 back_button =_(u'Back to data center') 1416 back_button =_(u'Process next') 1418 1417 1419 1418 filename = None … … 1425 1424 def update(self, back=None, finish=None, showlog=None): 1426 1425 if finish is not None: 1427 self.redirect(self.url(self.context ))1426 self.redirect(self.url(self.context, '@@import1')) 1428 1427 return 1429 1428 session = ISession(self.request)['waeup.kofa'] -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterimport4page.pt
r8529 r10099 18 18 tal:attributes="value view/back_button" /> 19 19 </form> 20 <form method="POST" i18n:domain="waeup.kofa" action="@@show"> 21 <input class="btn" type="submit" name="showlog" 22 tal:attributes="value view/show_button" /> 23 <input type="hidden" name="logname" tal:attributes="value string:datacenter.log" /> 24 </form> 20
Note: See TracChangeset for help on using the changeset viewer.