<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Balz<br>
<br>
Am 06.10.11 14:58, schrieb basZero:
<blockquote
cite="mid:CAOXzDSG3sYZNKKSzw8hy=6kzKqBdjfgoTQXxutLzy65cr7eZxQ@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div>the new feature for a resource to implement TrackableV1 is
nice.</div>
<div>But I just noticed, that if you use an xinclude, the
trackInfo() method does not get called on the included resource.</div>
<div>
<br>
</div>
<div>Example:</div>
<div>- User goes to a URL that matches resource A</div>
<div>- that page does an xinclude (like <a moz-do-not-send="true"
href="https://github.com/wyona/yanel/issues/1">https://github.com/wyona/yanel/issues/1</a>
)</div>
</blockquote>
<br>
IIRC when using the protocol
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<code>"yanelresource:" then the YanelServlet is not being called,
but rather the resource manager directly and since the access
logging is done by the YanelServlet, such "internal" requests are
not being logged.<br>
</code>
<blockquote
cite="mid:CAOXzDSG3sYZNKKSzw8hy=6kzKqBdjfgoTQXxutLzy65cr7eZxQ@mail.gmail.com"
type="cite">
<div>- the included realm path matches resource B</div>
<div>- even though B implements TrackableV1, the trackInfo() does
not get called.</div>
<div><br>
</div>
<div>Bug or missing feature?</div>
</blockquote>
<br>
I would consider it's a feature (see my above explanation). I guess
the question is who should be responsible for the logging.<br>
<br>
What is the reason that you don't want your "container" (I mean the
rescource which is called via http through the YanelServlet) to
implement trackable? Because of re-usability of code?<br>
<br>
Thanks<br>
<br>
Michael<br>
<blockquote
cite="mid:CAOXzDSG3sYZNKKSzw8hy=6kzKqBdjfgoTQXxutLzy65cr7eZxQ@mail.gmail.com"
type="cite">
<div><br>
</div>
<div>Cheers</div>
<div>Balz</div>
<div>
<div title="signature"> </div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000"><br>
Am 06.10.11 14:51, schrieb basZero:
<div>
<div class="h5">
<blockquote type="cite">Hoi Michi,
<div><br>
</div>
<div>ich verwende ja ein xinclude.</div>
<div>Sprich der Original Request matched auf
Resource A, intern wird ein include gemacht, das
auf Resource B matched.</div>
<div><br>
</div>
<div>Mir ist nun folgendes aufgefallen:</div>
<div>- Auch wenn Resource B TrackableV1
implementiert, sieht man die Daten nicht im access
log.</div>
<div>- Ist das korrekt oder ein Bug?</div>
<div><br>
</div>
<div>Gruss</div>
<div>Balz<br>
<div title="signature">
<p><span
style="color:#808080;font-family:'andale
mono', times;font-size:small"><strong>Balz
Schreier</strong></span><br>
<span style="color:#999999;font-family:'andale
mono', times;font-size:small"><span
style="color:#000000;font-family:Verdana,
Arial, Helvetica,
sans-serif;font-size:10px"><span
style="color:#999999;font-family:'andale
mono', times;font-size:small">Zwischengas
AG</span><br>
</span>CTO / Fotograf</span><span
style="color:#999999;font-family:'andale
mono', times;font-size:small"> <br>
<br>
<span
style="font-size:x-small;font-family:'andale
mono', times">Kürzlich publizierter
Highlight: <a moz-do-not-send="true"
href="http://www.zwischengas.com/de/HR/rennberichte/Arosa-ClassicCar-2011-Sonne-Freude-Geschwindigkeit.html"
target="_blank">Arosa ClassicCar 2011</a></span></span></p>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>