tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick Semb Wever <...@apache.org>
Subject Re: OptionsRenderer not working
Date Sun, 27 Oct 2013 19:50:47 GMT
ClamAV 0.96.5


> Can you give me additional information on how the Contexts are working
> and if my analysis is correct?

And yes you are correct.

basicTilesContainer.getAttributeContext(request)
  should be returning a working AttributeContext for you.
It should not be null (or an empty deque) and should not be creating a
new one for you.

As AttributeContexts are pushed onto the stack, via
startContext(request), cascading attributes are copied over.

But you haven't configured any of your attributes to be cascading.
Can you try adding cascading="true" to your defaults list-attribute.

For example like 

        <put-list-attribute name="defaults" cascading="true">
                <add-attribute value="{1}"/>
                <add-attribute value="common"/>
        </put-list-attribute>

~mck


-- 
"misunderstanding is never ended by an argument but by tact, diplomacy,
conciliation and a sympathetic desire to see the other person's
viewpoint" Buddha 

| http://github.com/finn-no | http://tech.finn.no |



Mime
View raw message