|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Configuration question when running as a servletHello 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 _______________________________________________ Helma-user mailing list Helma-user@... http://helma.org/mailman/listinfo/helma-user |
|
|
|
|
|
Re: Configuration question when running as a servletMy main.hac is the same as the tutorial:
res.data.title = "Helma Address Book"; renderSkin("html"); Dan -----Original Message----- From: helma-user-bounces@... [mailto:helma-user-bounces@...] 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@... > [mailto:helma-user-bounces@...] On Behalf Of Dan Stanger > Sent: Friday, 28 March 2008 07:56 > To: Helma-user@... > 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@... http://helma.org/mailman/listinfo/helma-user _______________________________________________ Helma-user mailing list Helma-user@... http://helma.org/mailman/listinfo/helma-user |
|
|
Re: Configuration question when running as a servletOn Mar 27, 2008, at 21:55 , Dan Stanger wrote:
> 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. On Mar 28, 2008, at 14:15 , Dan Stanger wrote: > My main.hac is the same as the tutorial: > > res.data.title = "Helma Address Book"; > renderSkin("html"); Dan, In the tutorial, this is correct, since the tutorial places the html.skin file in the Global directory. If you place the html.skin file in Root, you would need to change renderSkin("html") to this.renderSkin("html"). So, by your description, what you say is working shouldn't be working and what isn't working should be working. If you like, you can email me a zip archive of the app the way you currently have it and I'll take a look at what's going on. Chris _______________________________________________ Helma-user mailing list Helma-user@... http://helma.org/mailman/listinfo/helma-user |
| Free Forum Powered by Nabble | Forum Help |