cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: [GSOC] Simple and lightweight HTML-based browser for surveying Apache CXF logs
Date Thu, 15 Jul 2010 21:19:52 GMT
Hi Tomasz

>
>
> > - how do you consider letting users browse through the entries given that
> a
> > number of entries to be displayed on a page is limited - there should be
> > first/previous/next/last links.
>
> This is already implemented. first/previous/next/last links are
> visible or hidden depend on response from AtomPullServer.
>
> For example:
>
> <feed xmlns="http://www.w3.org/2005/Atom">
>    [...]
>    <link href="http://localhost:8888/log/logs" rel="self"/>
>    <link href="http://localhost:8888/log/logs/alternate/1"
> rel="alternate"/>
>    <link href="http://localhost:8888/log/logs/2" rel="next"/>
>    <link href="http://localhost:8888/log/logs/4" rel="last"/>
>    [...]
> </feed>
>
> There are visible only refresh, next and last links. first and
> previous links are hidden.
>
>
sorry, I guess I should've generated more log entries - will try later...

by the way - given that it is an HTML-aware browser, you may want to use the
'alternate' links to retrieve the content to be displayed, both for the feed
and for individual entries

thanks, Sergey

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message