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 08:06:42 GMT
ClamAV 0.96.5

> java.lang.IllegalStateException: A matching list-attribute 
> name="my_opts" must be defined.

Does the definition this request is using have in your tiles.xml the
"myopts" list attribute defined?

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

>  From what I can tell, it would appear that the context that the 
> OptionsRenderer is receiving is not correct; the attributes and 
> cascadedAttributes are both null, even though they should be set. 
> However, I have been unable to trace why this is happening.

Odd. Can you post your tiles.xml.
(Or post a reproducible test-case to the issue).
This does sounds like something rather trivial to fix, but i need a
little more information still.


"There is a theory which states that if ever anyone discovers exactly
what the Universe is for and why it is here, it will instantly disappear
and be replaced by something even more bizarrely inexplicable. There is
another theory which states that this has already happened." Douglas

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

View raw message