Hopbot log for 2007-11-22 - Helma IRC channel: #helma on irc.freenode.net

2007-11-22:

[1:28] <philmaker> New issue: I am trying to access the page for a User but am not successful.
[1:28] <philmaker> I have a directory called User with a main.hac action.
[1:29] <philmaker> I have already added new User() to root and set name="username"
[1:29] <philmaker> Do I try to request like: {root}/user/username?
[1:31] <philmaker> I created a new User(), set it's name property, and called session/login with that new User obect - but not sure how to call via URL...
[3:05] <philmaker> I made some progress with accessing the User via the URL - problem was that session.login(new User()) didn't seem to be attaching the user to root. I thought it was supposed to automatically attach the user to root.
[3:05] <philmaker> so I'm just attaching it manually
[6:56] <philmaker> Hoppy Thanksgiving to the stateside people!
[6:56] <philmaker> bye
[7:04] <zumbrunn> hmm...
[7:05] <zumbrunn> I think philmaker isn't aware of the user related app methods like registerUser, getUser, getRegisteredUsers etc
[7:05] <zumbrunn> to create new users, you would use http://helma.zumbrunn.net/reference/app.html#registerUser
[7:11] <zumbrunn> what does your Root/type.properties file look like?
[7:13] <zumbrunn> hop objects can have one default collection, plus any number of custom collections you specify
[7:13] <zumbrunn> (configured in type.properties)
[7:14] <zumbrunn> you certainly do not have to instantiate HopObjects in onStart()
[7:15] <zumbrunn> (unless you are doing something very special)
[10:42] <zumbrunn> hi front
[10:42] <front> hi zumbrun
[10:43] <zumbrunn> I see you here the first time, I think
[10:43] <front> yeah
[10:43] <zumbrunn> are you using helma?
[10:43] <front> many time i try to joint this room
[10:44] <front> this first time i made up
[10:44] <front> wat u mean using helma?
[10:44] <zumbrunn> http://helma.org
[10:45] <front> acually wat its for?
[10:45] <zumbrunn> It's server-side javascript
[10:45] <zumbrunn> allows you to write web apps with javascript on the server-side
[10:45] <front> oo,..
[10:46] <zumbrunn> which is what this channel is about ;-)
[10:46] <front> anything else i can do here, which more interesting
[10:46] <front> can u tell me
[10:47] <zumbrunn> there is nothing more interesting
[10:47] <zumbrunn> you should look into it
[10:47] <zumbrunn> hehe
[10:48] <front> im not understand
[10:49] <front> can u give simple example for it
[10:49] <zumbrunn> are you currently developing web apps?
[10:50] <front> nope
[10:51] <zumbrunn> do you want to start developing web apps?
[10:52] <front> no, thnks
[10:53] <zumbrunn> then you came to the wrong channel :-)
[21:27] <drbobb> gads, php is garbage

 

 

In the channel now:

Logs by date: