[Helma-user] Helma docs and first-restarts

Chris Zumbrunn chris at zumbrunn.com
Wed Mar 7 01:45:03 CET 2007


On Mar 7, 2007, at 1:31 , Rowan Kerr wrote:

> On 6-Mar-07, at 4:19 PM, Chris Zumbrunn wrote:
>> http://helma.org/docs/guide/introductions/prototypes/
>>
>> The reason why Root inherits from Guide is because it was defined
>> that way in the Root/type.properties file, using "_extends = Guide".
>
>
> Thanks. Yeah, I've read that stuff a bunch of times but I'm still left
> not being quite sure how to get at other objects in my app by URLs.
> (I'm not interested in extending things, just accessing pre-existing
> objects).
>
> I guess Root needs a bunch of .hac's for any URLs that I want...
> but for some reason I keep having this strange idea that going
> to "/page/" will call the main action of a "Page" object if there is
> any.
> (for example).

The simplest configuration would be to only add your actions to the  
HopObject prototype. If you do that, Root will automatically inherit  
anything you define there and so will any other page, since in Helma  
every "page" is a HopObject (or inherits from it).

> Oh, and in the discussion of prototypes in the guide...
> http://helma.org/docs/guide/framework/#prototypes
> "Helma has a few prototypes that are present in all applications.
> These are the root, user, hopobject and global prototypes."
>
> It would be cool to be able to see all the default properties and
> methods of each object (if any). I know HopObject has its own page,
> but seems to be missing properties .. and lists only the methods.

This should be complete:

http://helma.zumbrunn.net/reference/HopObject.html

Which kind of properties were you looking for? What feels missing?

Chris





More information about the Helma-user mailing list