[Seaside] Configuration

Ramon Leon rleon at insario.com
Mon Jan 2 05:55:29 CET 2006


Well, you're getting at it, but what I want is for the scope to apply to all instances of that component, for that application instance only, hence needing to store it at application level, i.e. in the configuration.  Everything else you suggested would provide innappropriate scope.  Basically, I need the level just above session, application.  Configuration provides that, but not without pre creating it, no biggie, I'll just tuck a dictionary into a predefined slot in a configuration variable, I was just suprised to not find this already an option.

________________________________

From: seaside-bounces at lists.squeakfoundation.org on behalf of Julian Fitzell
Sent: Sat 12/31/2005 12:19 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] Configuration



Well,

You can just add an instance variable to the component, optionally
marking it for backtracking (or using a holder) if appropriate.  Or, if
it applies to all instances of that component, use a class variable. 
Or, if it applies only within one session, store it as an instance
method on a custom session class and access it from there within the
component.

Does that answer the question or am I misunderstanding it?

Julian

Ramon Leon wrote:

>Hi, I'm trying to store some dynamic configuration data and having some
>problem figuring out how.  Is there a way to store application level
>configuration data, say a component remembering some settings, without
>having to predefine a special configuration class?  This data doesn't
>need to be seen or edited on the configuration screen, I just want a
>hash to stick component specific data dynamically.
>_______________________________________________
>Seaside mailing list
>Seaside at lists.squeakfoundation.org
>http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> 
>

_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4748 bytes
Desc: not available
Url : http://liststest.squeakfoundation.org/pipermail/seaside/attachments/20060101/dbfaae10/attachment.bin


More information about the Seaside mailing list