Yes exactly, it was hardcoded that the RC file gets always created:<div><br></div><div>see create() method, these two lines get executed everytime a new page gets created:</div><div><br></div><div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
</style>


<p class="p1"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
</style>


</p><p class="p1">createResourceConfiguration(newResource);</p><p></p><p class="p1">addToSitetree(newResource, type);</p></div><div><br></div><div>Please submit the patch, would be great :-)</div><div><br></div><div>Cheers</div>
<div>Balz<br><br><div class="gmail_quote">On Wed, Feb 9, 2011 at 4:17 PM, Cedric Staub <span dir="ltr"><<a href="mailto:cedric.staub@wyona.com">cedric.staub@wyona.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Feb 09, 2011 at 03:11:33PM +0000, Michael Wechner wrote:<br>
> Hi Balz<br>
><br>
> On 2/9/11 2:37 PM, Balz Schreier wrote:<br>
> > Hi,<br>
> ><br>
> > does anybody know this:<br>
> ><br>
> > - Via Yanel Toolbar, you can create a new page in your realm (static<br>
> > web page).<br>
> > - This works fine, except that the creating resource does not only<br>
> > create the new HTML page but also saves a resource configuration file<br>
> > (RC) in the RC repository!<br>
><br>
> it shouldn't actually, see<br>
> src/contributions/resources/resource-creator/src/java/org/wyona/yanel/impl/resources/rescreator/ResourceCreatorResource.java<br>
<br>
</div>But it does. The create function in ResourceCreatorResource calls<br>
createResourceConfiguration, which generates a new resource config and<br>
writes it into the res-configs repo.<br>
<br>
Balz's patch makes that configurable, so that the creation of the<br>
resource configuration file can be disabled.<br>
<br>
Cheers,<br>
<font color="#888888">Cedric<br>
</font><div><div></div><div class="h5">--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development</a><br>
</div></div></blockquote></div><br></div>