On Wed, 2011-07-27 at 08:40 -0700, Arndt Droullier wrote:
> Hi,
> I'm stuck with a static view lookup problem. Seems like there is a
> bug, maybe someone has an idea.
> 
> The situation is:
> I've two static directories registered (in two different components)
> by calling
> 
>                       config.include(component.RegisterViews)
>                       config.commit()
> 
> for each of the components.
> component.RegisterViews calls something like
> "config.add_static_view(name='design1', path='module.design:static')"
> 
> Everything (the registration, static url generation) works fine up to
> the lookup of the static files of the second(!) registered static
> view. The first registered one works allright.

I'm trying to replicate this but I'm not entirely sure what you want the
outcome to be.  You have two separate static directories that have the
same name and you want one to "win"?  But the wrong one "wins"?  Or you
have two separate static directories with the same name and you want
them to be combined together?  Or you have two separate static
directories that have two different names and you want them to both
work?  Can you maybe provide more of your configuration to make it
clearer what you're trying to do?

- C


- C


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to