[Yanel-dev] Create new page (resource-creator Resource Contribution)
Cedric Staub
cedric.staub at wyona.com
Wed Feb 9 16:17:57 CET 2011
On Wed, Feb 09, 2011 at 03:11:33PM +0000, Michael Wechner wrote:
> Hi Balz
>
> On 2/9/11 2:37 PM, Balz Schreier wrote:
> > Hi,
> >
> > does anybody know this:
> >
> > - Via Yanel Toolbar, you can create a new page in your realm (static
> > web page).
> > - This works fine, except that the creating resource does not only
> > create the new HTML page but also saves a resource configuration file
> > (RC) in the RC repository!
>
> it shouldn't actually, see
> src/contributions/resources/resource-creator/src/java/org/wyona/yanel/impl/resources/rescreator/ResourceCreatorResource.java
But it does. The create function in ResourceCreatorResource calls
createResourceConfiguration, which generates a new resource config and
writes it into the res-configs repo.
Balz's patch makes that configurable, so that the creation of the
resource configuration file can be disabled.
Cheers,
Cedric
More information about the Yanel-development
mailing list