<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ed Burns wrote On 4/14/2009 8:26 PM ET:
<blockquote cite="mid:18917.10648.191323.40876@MacBookPro-3.local"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">On Thu, 02 Apr 2009 09:24:59 +0200, Martin Marinschek <a class="moz-txt-link-rfc2396E" href="mailto:mmarinschek@APACHE.ORG"><mmarinschek@APACHE.ORG></a> said:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap=""><!---->
MM> - A very small thing, but could be very useful: we could define that
MM> the component-tag-handler of the facelets-vdl needs to put the
MM> location of the component into the component-attributes map. With
MM> this, we can emit the location of the component if there is an
MM> exception during any lifecyle-phase - I believe this would help many
MM> application developers. We can do this now (and shouldn't have done
MM> before) cause with partial-state it is not a problem to have this
MM> information in the component attributes map.
Done.
</pre>
</blockquote>
<br>
I had suggested that we only save the location information when the
project stage is development. Martin seemed to agree that this was a
reasonable idea:<br>
<br>
<blockquote type="cite">
<pre wrap="">AS> Definitely a fan of anything that we can do to improve ease of
<span class="moz-txt-citetags">AS> </span>debugging. Regarding full vs partial state saving... I am thinking
<span class="moz-txt-citetags">AS> </span>that we may need to save full state in certain cases (eg. if we run into
<span class="moz-txt-citetags">AS> </span>cases that partial state saving cannot handle correctly). If we are
<span class="moz-txt-citetags">AS> </span>concerned about bloating the saved state size with location information
<span class="moz-txt-citetags">AS> </span>in such cases, one option might be to only store location information
<span class="moz-txt-citetags">AS> </span>when project stage == development. Actually, perhaps only storing
<span class="moz-txt-citetags">AS> </span>location information during the development (or, at least,
<span class="moz-txt-citetags">AS> </span>non-production) stage might not be a bad idea anyway?
</pre>
<pre wrap=""><!---->
a very reasonable idea!
regards,
Martin
</pre>
</blockquote>
<br>
Was this suggestion included in the solution?<br>
<br>
Andy<br>
<br>
<br>
</body>
</html>