You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Martin Grigorov <mg...@apache.org> on 2014/11/01 13:52:44 UTC

Re: usage statistics

Hi devs,

I see that IsisWicketApplication actually defines mount points for
EntityPage and ActionPage.
Is there a bug or why otherwise the mount points are not used ? I have seen
nice urls only for the Copy Link modal window, but never while browsing an
entity.

ActionPage is used only when the action prompts (modal windows) are
disabled, so it may work. I have to check it.
But I think the url should be /wicket/entity/someOid?13 when viewing an
entity.
There is a problem with the OIDs in the address bar though ! They end with
something like :L0 and this makes the browser (Google Chrome in my case)
believes that some software should handle it...

Why there is no mount point for StandaloneCollectionPage, ValuePage,
ErrorPage, ... ?
E.g. /collection/${name} ? What other specific info for a collection can be
shown there to make it even more useful ?



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> Since the url in the address bar is not meaningful most of the time (e.g.
> /wicket/wicket?13) then maybe an approach with an analytics service (Google
> Analytics, Piwik, ...) with custom variables for user, entity name, ...
> would be the best. I don't have enough experience with Isis yet to tell you
> how to setup that as an end user.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>
>> Hi,
>>
>> We would like to have statistics about our application use, preferably
>> per user or at least the customer (related entity) the user is logged in
>> for.
>>
>> Called actions could be analyzed with results of
>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>> pages, without losing user information like when using the servers access
>> log? Would that be possible?
>>
>> Erik
>>
>> <ma...@pocos.nl>
>>
>
>

Re: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
This should be dev@isis.apache.org. Sorry!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Nov 1, 2014 at 2:52 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi devs,
>
> I see that IsisWicketApplication actually defines mount points for
> EntityPage and ActionPage.
> Is there a bug or why otherwise the mount points are not used ? I have
> seen nice urls only for the Copy Link modal window, but never while
> browsing an entity.
>
> ActionPage is used only when the action prompts (modal windows) are
> disabled, so it may work. I have to check it.
> But I think the url should be /wicket/entity/someOid?13 when viewing an
> entity.
> There is a problem with the OIDs in the address bar though ! They end with
> something like :L0 and this makes the browser (Google Chrome in my case)
> believes that some software should handle it...
>
> Why there is no mount point for StandaloneCollectionPage, ValuePage,
> ErrorPage, ... ?
> E.g. /collection/${name} ? What other specific info for a collection can
> be shown there to make it even more useful ?
>
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Hi,
>>
>> Since the url in the address bar is not meaningful most of the time (e.g.
>> /wicket/wicket?13) then maybe an approach with an analytics service (Google
>> Analytics, Piwik, ...) with custom variables for user, entity name, ...
>> would be the best. I don't have enough experience with Isis yet to tell you
>> how to setup that as an end user.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>>
>>> Hi,
>>>
>>> We would like to have statistics about our application use, preferably
>>> per user or at least the customer (related entity) the user is logged in
>>> for.
>>>
>>> Called actions could be analyzed with results of
>>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>>> pages, without losing user information like when using the servers access
>>> log? Would that be possible?
>>>
>>> Erik
>>>
>>> <ma...@pocos.nl>
>>>
>>
>>
>

Re: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
http://localhost:18080/wicket/entity/*app.ToDoAppDashboard:dashboard?23
this one doesn't look very nice

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Nov 1, 2014 at 3:18 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi again,
>
> I've modified few things and now it works well for entities (e.g.
> /wicket/entity/todo:L_10) and collections (e.g.
> /wicket/collection/to-do-items).
> The problem with the "open other application" is because url looks like
> "/wicket/entity/todo:L_18?13" and apparently "todo:" is considered as a
> supported protocol by one of the applications on my OS, so the browser asks
> me whether I want the other application to handle it.
>
> Questions:
> 1) is there interest in supporting these nicer looking urls ?
> 2) is there a way to generate OIDs without colon ?
> 2.1) if the answer to 2) is NO then we can replace the colon with another
> character just for the representation in the url
>
>
> On Sat, Nov 1, 2014 at 2:54 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Forwarding to dev@isis.apache.org because I've sent it to dev@wicket by
>> mistake.
>>
>>
>> ---------- Forwarded message ----------
>> From: Martin Grigorov <mg...@apache.org>
>> Date: Sat, Nov 1, 2014 at 2:52 PM
>> Subject: Re: usage statistics
>> To: users <us...@isis.apache.org>, "dev@wicket.apache.org" <
>> dev@wicket.apache.org>
>>
>>
>> Hi devs,
>>
>> I see that IsisWicketApplication actually defines mount points for
>> EntityPage and ActionPage.
>> Is there a bug or why otherwise the mount points are not used ? I have
>> seen nice urls only for the Copy Link modal window, but never while
>> browsing an entity.
>>
>> ActionPage is used only when the action prompts (modal windows) are
>> disabled, so it may work. I have to check it.
>> But I think the url should be /wicket/entity/someOid?13 when viewing an
>> entity.
>> There is a problem with the OIDs in the address bar though ! They end
>> with something like :L0 and this makes the browser (Google Chrome in my
>> case) believes that some software should handle it...
>>
>> Why there is no mount point for StandaloneCollectionPage, ValuePage,
>> ErrorPage, ... ?
>> E.g. /collection/${name} ? What other specific info for a collection can
>> be shown there to make it even more useful ?
>>
>>
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
>> wrote:
>>
>>> Hi,
>>>
>>> Since the url in the address bar is not meaningful most of the time
>>> (e.g. /wicket/wicket?13) then maybe an approach with an analytics service
>>> (Google Analytics, Piwik, ...) with custom variables for user, entity name,
>>> ... would be the best. I don't have enough experience with Isis yet to tell
>>> you how to setup that as an end user.
>>>
>>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>>>
>>>> Hi,
>>>>
>>>> We would like to have statistics about our application use, preferably
>>>> per user or at least the customer (related entity) the user is logged in
>>>> for.
>>>>
>>>> Called actions could be analyzed with results of
>>>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>>>> pages, without losing user information like when using the servers access
>>>> log? Would that be possible?
>>>>
>>>> Erik
>>>>
>>>> <ma...@pocos.nl>
>>>>
>>>
>>>
>>
>>
>

Re: usage statistics

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 1 November 2014 13:18, Martin Grigorov <mg...@apache.org> wrote:

> Hi again,
>
> I've modified few things and now it works well for entities (e.g.
> /wicket/entity/todo:L_10) and collections (e.g.
> /wicket/collection/to-do-items).
> The problem with the "open other application" is because url looks like
> "/wicket/entity/todo:L_18?13" and apparently "todo:" is considered as a
> supported protocol by one of the applications on my OS, so the browser asks
> me whether I want the other application to handle it.
>
> Questions:
> 1) is there interest in supporting these nicer looking urls ?
>

yes, would be good.  I'd actually like to normalize with the Restful
Objects viewer (see the RO spec @ http://restfulobjects.org), where the
equivalent URL for an entity would be /objects/todo/L_18.  The "todo"
corresponds to the objectSpecId portion of the OID, the "L_18" is the
identifier.



> 2) is there a way to generate OIDs without colon ?
>

probably (almost certainly), though can't look at this weekend.


Very happy for you to experiment and clean up in this area.

Dan



2.1) if the answer to 2) is NO then we can replace the colon with another
> character just for the representation in the url
>
>
> On Sat, Nov 1, 2014 at 2:54 PM, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Forwarding to dev@isis.apache.org because I've sent it to dev@wicket by
> > mistake.
> >
> >
> > ---------- Forwarded message ----------
> > From: Martin Grigorov <mg...@apache.org>
> > Date: Sat, Nov 1, 2014 at 2:52 PM
> > Subject: Re: usage statistics
> > To: users <us...@isis.apache.org>, "dev@wicket.apache.org" <
> > dev@wicket.apache.org>
> >
> >
> > Hi devs,
> >
> > I see that IsisWicketApplication actually defines mount points for
> > EntityPage and ActionPage.
> > Is there a bug or why otherwise the mount points are not used ? I have
> > seen nice urls only for the Copy Link modal window, but never while
> > browsing an entity.
> >
> > ActionPage is used only when the action prompts (modal windows) are
> > disabled, so it may work. I have to check it.
> > But I think the url should be /wicket/entity/someOid?13 when viewing an
> > entity.
> > There is a problem with the OIDs in the address bar though ! They end
> with
> > something like :L0 and this makes the browser (Google Chrome in my case)
> > believes that some software should handle it...
> >
> > Why there is no mount point for StandaloneCollectionPage, ValuePage,
> > ErrorPage, ... ?
> > E.g. /collection/${name} ? What other specific info for a collection can
> > be shown there to make it even more useful ?
> >
> >
> >
> > Martin Grigorov
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> >> Hi,
> >>
> >> Since the url in the address bar is not meaningful most of the time
> (e.g.
> >> /wicket/wicket?13) then maybe an approach with an analytics service
> (Google
> >> Analytics, Piwik, ...) with custom variables for user, entity name, ...
> >> would be the best. I don't have enough experience with Isis yet to tell
> you
> >> how to setup that as an end user.
> >>
> >> Martin Grigorov
> >> Wicket Training and Consulting
> >> https://twitter.com/mtgrigorov
> >>
> >> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
> >>
> >>> Hi,
> >>>
> >>> We would like to have statistics about our application use, preferably
> >>> per user or at least the customer (related entity) the user is logged
> in
> >>> for.
> >>>
> >>> Called actions could be analyzed with results of
> >>> @PublishedAction/@Auditing. But how to use Isis to track visiting
> entity
> >>> pages, without losing user information like when using the servers
> access
> >>> log? Would that be possible?
> >>>
> >>> Erik
> >>>
> >>> <ma...@pocos.nl>
> >>>
> >>
> >>
> >
> >
>

Re: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
Hi again,

I've modified few things and now it works well for entities (e.g.
/wicket/entity/todo:L_10) and collections (e.g.
/wicket/collection/to-do-items).
The problem with the "open other application" is because url looks like
"/wicket/entity/todo:L_18?13" and apparently "todo:" is considered as a
supported protocol by one of the applications on my OS, so the browser asks
me whether I want the other application to handle it.

Questions:
1) is there interest in supporting these nicer looking urls ?
2) is there a way to generate OIDs without colon ?
2.1) if the answer to 2) is NO then we can replace the colon with another
character just for the representation in the url


On Sat, Nov 1, 2014 at 2:54 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Forwarding to dev@isis.apache.org because I've sent it to dev@wicket by
> mistake.
>
>
> ---------- Forwarded message ----------
> From: Martin Grigorov <mg...@apache.org>
> Date: Sat, Nov 1, 2014 at 2:52 PM
> Subject: Re: usage statistics
> To: users <us...@isis.apache.org>, "dev@wicket.apache.org" <
> dev@wicket.apache.org>
>
>
> Hi devs,
>
> I see that IsisWicketApplication actually defines mount points for
> EntityPage and ActionPage.
> Is there a bug or why otherwise the mount points are not used ? I have
> seen nice urls only for the Copy Link modal window, but never while
> browsing an entity.
>
> ActionPage is used only when the action prompts (modal windows) are
> disabled, so it may work. I have to check it.
> But I think the url should be /wicket/entity/someOid?13 when viewing an
> entity.
> There is a problem with the OIDs in the address bar though ! They end with
> something like :L0 and this makes the browser (Google Chrome in my case)
> believes that some software should handle it...
>
> Why there is no mount point for StandaloneCollectionPage, ValuePage,
> ErrorPage, ... ?
> E.g. /collection/${name} ? What other specific info for a collection can
> be shown there to make it even more useful ?
>
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Hi,
>>
>> Since the url in the address bar is not meaningful most of the time (e.g.
>> /wicket/wicket?13) then maybe an approach with an analytics service (Google
>> Analytics, Piwik, ...) with custom variables for user, entity name, ...
>> would be the best. I don't have enough experience with Isis yet to tell you
>> how to setup that as an end user.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>>
>>> Hi,
>>>
>>> We would like to have statistics about our application use, preferably
>>> per user or at least the customer (related entity) the user is logged in
>>> for.
>>>
>>> Called actions could be analyzed with results of
>>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>>> pages, without losing user information like when using the servers access
>>> log? Would that be possible?
>>>
>>> Erik
>>>
>>> <ma...@pocos.nl>
>>>
>>
>>
>
>

Fwd: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
Forwarding to dev@isis.apache.org because I've sent it to dev@wicket by
mistake.


---------- Forwarded message ----------
From: Martin Grigorov <mg...@apache.org>
Date: Sat, Nov 1, 2014 at 2:52 PM
Subject: Re: usage statistics
To: users <us...@isis.apache.org>, "dev@wicket.apache.org" <
dev@wicket.apache.org>


Hi devs,

I see that IsisWicketApplication actually defines mount points for
EntityPage and ActionPage.
Is there a bug or why otherwise the mount points are not used ? I have seen
nice urls only for the Copy Link modal window, but never while browsing an
entity.

ActionPage is used only when the action prompts (modal windows) are
disabled, so it may work. I have to check it.
But I think the url should be /wicket/entity/someOid?13 when viewing an
entity.
There is a problem with the OIDs in the address bar though ! They end with
something like :L0 and this makes the browser (Google Chrome in my case)
believes that some software should handle it...

Why there is no mount point for StandaloneCollectionPage, ValuePage,
ErrorPage, ... ?
E.g. /collection/${name} ? What other specific info for a collection can be
shown there to make it even more useful ?



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> Since the url in the address bar is not meaningful most of the time (e.g.
> /wicket/wicket?13) then maybe an approach with an analytics service (Google
> Analytics, Piwik, ...) with custom variables for user, entity name, ...
> would be the best. I don't have enough experience with Isis yet to tell you
> how to setup that as an end user.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>
>> Hi,
>>
>> We would like to have statistics about our application use, preferably
>> per user or at least the customer (related entity) the user is logged in
>> for.
>>
>> Called actions could be analyzed with results of
>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>> pages, without losing user information like when using the servers access
>> log? Would that be possible?
>>
>> Erik
>>
>> <ma...@pocos.nl>
>>
>
>

Re: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
This should be dev@isis.apache.org. Sorry!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Sat, Nov 1, 2014 at 2:52 PM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi devs,
>
> I see that IsisWicketApplication actually defines mount points for
> EntityPage and ActionPage.
> Is there a bug or why otherwise the mount points are not used ? I have
> seen nice urls only for the Copy Link modal window, but never while
> browsing an entity.
>
> ActionPage is used only when the action prompts (modal windows) are
> disabled, so it may work. I have to check it.
> But I think the url should be /wicket/entity/someOid?13 when viewing an
> entity.
> There is a problem with the OIDs in the address bar though ! They end with
> something like :L0 and this makes the browser (Google Chrome in my case)
> believes that some software should handle it...
>
> Why there is no mount point for StandaloneCollectionPage, ValuePage,
> ErrorPage, ... ?
> E.g. /collection/${name} ? What other specific info for a collection can
> be shown there to make it even more useful ?
>
>
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
> wrote:
>
>> Hi,
>>
>> Since the url in the address bar is not meaningful most of the time (e.g.
>> /wicket/wicket?13) then maybe an approach with an analytics service (Google
>> Analytics, Piwik, ...) with custom variables for user, entity name, ...
>> would be the best. I don't have enough experience with Isis yet to tell you
>> how to setup that as an end user.
>>
>> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>>
>>> Hi,
>>>
>>> We would like to have statistics about our application use, preferably
>>> per user or at least the customer (related entity) the user is logged in
>>> for.
>>>
>>> Called actions could be analyzed with results of
>>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>>> pages, without losing user information like when using the servers access
>>> log? Would that be possible?
>>>
>>> Erik
>>>
>>> <ma...@pocos.nl>
>>>
>>
>>
>

Fwd: usage statistics

Posted by Martin Grigorov <mg...@apache.org>.
Forwarding to dev@isis.apache.org because I've sent it to dev@wicket by
mistake.


---------- Forwarded message ----------
From: Martin Grigorov <mg...@apache.org>
Date: Sat, Nov 1, 2014 at 2:52 PM
Subject: Re: usage statistics
To: users <us...@isis.apache.org>, "dev@wicket.apache.org" <
dev@wicket.apache.org>


Hi devs,

I see that IsisWicketApplication actually defines mount points for
EntityPage and ActionPage.
Is there a bug or why otherwise the mount points are not used ? I have seen
nice urls only for the Copy Link modal window, but never while browsing an
entity.

ActionPage is used only when the action prompts (modal windows) are
disabled, so it may work. I have to check it.
But I think the url should be /wicket/entity/someOid?13 when viewing an
entity.
There is a problem with the OIDs in the address bar though ! They end with
something like :L0 and this makes the browser (Google Chrome in my case)
believes that some software should handle it...

Why there is no mount point for StandaloneCollectionPage, ValuePage,
ErrorPage, ... ?
E.g. /collection/${name} ? What other specific info for a collection can be
shown there to make it even more useful ?



Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Oct 31, 2014 at 11:05 AM, Martin Grigorov <mg...@apache.org>
wrote:

> Hi,
>
> Since the url in the address bar is not meaningful most of the time (e.g.
> /wicket/wicket?13) then maybe an approach with an analytics service (Google
> Analytics, Piwik, ...) with custom variables for user, entity name, ...
> would be the best. I don't have enough experience with Isis yet to tell you
> how to setup that as an end user.
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Fri, Oct 31, 2014 at 10:30 AM, Erik de Hair <er...@pocos.nl> wrote:
>
>> Hi,
>>
>> We would like to have statistics about our application use, preferably
>> per user or at least the customer (related entity) the user is logged in
>> for.
>>
>> Called actions could be analyzed with results of
>> @PublishedAction/@Auditing. But how to use Isis to track visiting entity
>> pages, without losing user information like when using the servers access
>> log? Would that be possible?
>>
>> Erik
>>
>> <ma...@pocos.nl>
>>
>
>