Re: Retrieving HopObject by accessName

"Rainer Rynesch" <[email protected]> Wed, 30 Jul 2008 11:09:50 +0200
Newsgroups gmane.comp.java.helma.general
Message-ID <[email protected]>
Hi,

 in the first line of your type.properties
> industriesByName
In the second line _only_
> industries

 =


> -----Urspr=FCngliche Nachricht-----
> Von: [email protected] =

> [mailto:[email protected]] Im Auftrag von Anton Pirker
> Gesendet: Mittwoch, 30. Juli 2008 10:44
> An: Helma User Mailing List
> Betreff: [Helma-user] Retrieving HopObject by accessName
> =

> Hi List!
> =

> It seems that i have more and more problems doing the really =

> basic things in Helma..
> =

> =

> I have a Prototype Admin with this collection in the type.properties:
> =

> --Admin/type.properties--
> industriesByName       =3D collection(Industry);
> industries.accesssName  =3D industry_name
> =

> =

> now i want to get an industry by its name like this:
> =

> --Admin/actions.js--
> function main_action() {
>      var ind =3D this.industriesByName.get("Information Technology");
> }
> =

> =

> and no matter if there is a "Information Technology" line in the =

> database, the .get() call always returns null...
> =

> =

> I have done this a gazillion times, but now it does'nt work anymore...
> Maybe i am blind. What i am i doing wrong?
> =

> =

> Thanks in advance,
> Anton
> =

> -- =

> DI(FH) Anton Pirker
> Helma Freelancer
> =

> http://www.ignaz.at
> http://shnitzl.org
> =

> _______________________________________________
> Helma-user mailing list
> [email protected]
> http://helma.org/mailman/listinfo/helma-user
> =