Thanks for sharing, Francesco! Small feedback:
- for us (Wicket users) it would be useful to have an url to the implementation of the log viewer (Apache Git or GitHub) - mount the pages so that they have a nicer (user friendly) url instead of /wicket/bookmarkable/.... Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Jan 11, 2017 at 12:01 PM, Francesco Chicchiriccò < ilgro...@apache.org> wrote: > Hi, > FYI here are the results: > > http://blog.tirasa.net/apache-syncope-2.0-the-new-log-viewer.html > > Regards. > > > On 05/01/2017 13:38, Francesco Chicchiriccò wrote: > >> On 05/01/2017 13:28, Martin Grigorov wrote: >> >>> On Thu, Jan 5, 2017 at 1:23 PM, Francesco Chicchiriccò < >>> ilgro...@apache.org> >>> wrote: >>> >>> On 03/01/2017 17:17, Francesco Chicchiriccò wrote: >>>> >>>> Hi all, >>>>> is there any sample about building a log tailer with Wicket? I have >>>>> found >>>>> [1] [2] so far. >>>>> >>>>> FYI I went ahead and I am almost done with implementation: >>>> essentially, it >>>> is a ListView dinamically updated with data received via WebSocket. >>>> >>>> I have only an issue left at this point: when the ListView is updated, >>>> the >>>> scrollbar is moved to top, while I would like to leave it in the >>>> position >>>> it had before the refresh. >>>> Any idea? >>>> >>>> This is because you repaint/replace the whole ListView. >>> It would be better if you just add the new item at the bottom. >>> See >>> http://wicketinaction.com/2008/10/repainting-only-newly-crea >>> ted-repeater-items-via-ajax/ >>> >> >> Thanks, Martin. >> I am however not only adding new items at the bottom, but also >> potentially removing items from the top (the maximum number of log >> statements to keep is fixed, to avoid memory issues). >> >> I thought that jQuery's scroll lock could have been used in this case... >> >> Regards. >> >> [1] http://apache-wicket.1842946.n4.nabble.com/How-to-build-a-hu >>> dson-jenkins-like-live-log-viewer-td4090224.html >>> [2] https://github.com/steveswinsburg/sakai-logviewer/blob/ >>> master/src/java/org/sakaiproject/logviewer/pages/View.java >>> >> > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >