[Helma-user] Static Skins in prototype
Anton Pirker
helma at gmiatlich.net
Tue Jul 24 07:19:38 CEST 2007
Hi Robert!
Robert Gaggl wrote:
> hi anton,
>
> Anton Pirker wrote:
>
>> Is it possible to have static skins of prototypes?
>> I have the name of a Prototype and want to render an add-Form. So i
>> tought it would be nice if i could do something like this:
>>
>> var protoName = "myProto";
>> global[protoName].renderSkin("add");
>>
>> Is there a way to achieve this?
>>
>
> afaik there's no way to do that. i'm not sure what exactly you want to
> do, but
>
> renderSkin(app.getSkin(protoName, skinName, []))
Ah! That works good for me, thanks!
(The Stuff from Maks looks also quite interesting, but i am to lazy
right now to dig into this. It seems that the heat of these days has
destroyed lots of my Mojo ;-)
Have a nice day,
Anton
More information about the Helma-user
mailing list