[Yanel-dev] What is the layout_name property good for?
Michael Wechner
michael.wechner at wyona.com
Fri Jun 19 14:52:13 CEST 2009
Prabodh Upreti schrieb:
> Dear Michael
>
> This is on of the questions I had earlier when I sent you the code. I
> was not sure if there
> was a way to distinguish the session variables added for a given
> template. I wanted to make the session vairable unique within a realm
> so added:
>
> nodeVersionChecker = getRealm().getName() + ":" +
> getResourceConfigProperty("layout_name") + ":xslt-version";
>
> Please let me know if this is not necessary.
>
I think it makes sense, but I think we should rename it to something
like "unique-session-key". Makes sense?
All the best
Michael
> Thank you.
>
> Regards
>
> Prabodh
>
> --- On *Fri, 6/19/09, Michael Wechner /<michael.wechner at wyona.com>/*
> wrote:
>
>
> From: Michael Wechner <michael.wechner at wyona.com>
> Subject: [Yanel-dev] What is the layout_name property good for?
> To: yanel-development at wyona.com
> Date: Friday, June 19, 2009, 5:19 AM
>
> Dear Prabodh
>
> I noticed the following property
>
> <yanel:property name="layout_name" value="welcome"/>
>
> within
>
> src/realms/from-scratch-realm-template/res-configs/my-global.xsl.yanel-rc
>
> and it is used at
>
> src/realms/from-scratch-realm-template/res-types/layoutselector/src/java/org/wyona/yanel/impl/resources/layoutselector/LayoutSelector.java
>
> but what is actually good for?
>
> Thanks
>
> Michael
> -- Yanel-development mailing list Yanel-development at wyona.com
> <http://us.mc522.mail.yahoo.com/mc/compose?to=Yanel-development@wyona.com>
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
More information about the Yanel-development
mailing list