Thanks. Will try.

On Tue, Oct 15, 2013 at 5:07 PM, Dan Haywood
<[email protected]>wrote:

> The raw information you want is available via Wicket APIs, eg [1]
>
> So, define an interface to this in your dom project, eg:
>
> public interface IWebUserService {
>     String currentIpAddress();
>     String currentBrowserAgent();
> }
>
> and write an implementation in the webapp project, leveraging said Wicket
> APIs.
>
> In your webapp project, register this new service.
>
> In your dom project, inject the service (via its interface type) into your
> domain objects.
>
> HTH
> Dan
>
>
> [1]
>
> http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/request/cycle/RequestCycle.html#get()
>
>
> On 15 October 2013 17:00, james agada <[email protected]> wrote:
>
> > I will like to automatically capture the client details - IP address,
> > Browser Agent of a client accessing my isis web app into an entity. Any
> > ideas?
> >
>

Reply via email to