[Helma-user] Configuration question when running as a servlet
Dan Stanger
DStanger at EatonVance.Com
Fri Mar 28 14:15:13 CET 2008
My main.hac is the same as the tutorial:
res.data.title = "Helma Address Book";
renderSkin("html");
Dan
-----Original Message-----
From: helma-user-bounces at helma.org [mailto:helma-user-bounces at helma.org]
On Behalf Of Maksim Lin for technical support mailling lists
Sent: Thursday, March 27, 2008 8:00 PM
To: Helma User Mailing List
Subject: Re: [Helma-user] Configuration question when running as a
servlet
Hi Dan,
Could you send through the contents of your main.hac ?
Though I suspect what may be happening is that in main.hac you have
something like:
this.renderSkin("html");
or
root.renderSkin("html");
but if you want to render a global skin you need to use:
renderSkin("html);
ie. note that its the global renderSkin() function rather then the
renderSkin method on the root object.
Maks.
> -----Original Message-----
> From: helma-user-bounces at helma.org
> [mailto:helma-user-bounces at helma.org] On Behalf Of Dan Stanger
> Sent: Friday, 28 March 2008 07:56
> To: Helma-user at helma.org
> Subject: [Helma-user] Configuration question when running as a servlet
>
> Hello All,
>
> I have a configuration with helma running as a servlet using
> JBoss as the container.
>
> I am trying to run the address book app, and have noticed
> that if my main.hac and html.skin are in the Root directory,
> then when I execute http://localhost:8080/hmsl/ I get the
> expected string Under development Helma Address Book.
>
> However when I move html.skin to the Global directory the
> result of http://localhost:8080/hmsl/ is an empty page.
>
> Can anyone suggest what is wrong with my configuration? What
> should I check?
>
>
>
> Thanks,
>
> Dan Stanger
>
> Eaton Vance Management
> 200 State Street
> Boston, MA 02109
> 617 598 8261
>
>
>
>
_______________________________________________
Helma-user mailing list
Helma-user at helma.org
http://helma.org/mailman/listinfo/helma-user
More information about the Helma-user
mailing list