[opencms-dev] changes in main.jsp do not reflect in container page immediately

Lorenz Lammersdorf lorenz.lammersdorf at kernbrand.ch
Mon Nov 16 12:34:46 CET 2015


set your main.jsp's "cache" property to "false" or "never" (not sure 
about the correct setting).
or add "cacheable='false' to your cms:include tag, see 
http://documentation.opencms.org/javadoc/core/org/opencms/jsp/CmsJspTagInclude.html#setCacheable%28java.lang.String%29

regards
lorenz

Am 16.11.2015 um 12:18 schrieb Christoph P.U. Kukulies:
> Where is the switch to disable it?
> Well, I can flush the cache.
>
> Am 16.11.2015 um 10:34 schrieb Lorenz Lammersdorf:
>> disable the opencms jsp cache or simply open the changed jsp in your 
>> browser.
>>
>> regards
>> lorenz
>>
>> Am 16.11.2015 um 10:26 schrieb Christoph Kukulies:
>>> Assume, you have a main.jsp in module/templates and you a a 
>>> container page (index.html) that has this
>>> template as individual property.
>>>
>>> I had a
>>>
>>> <cms:container name="head_container" type="some_head" />
>>>
>>> Now you change that line in main.jsp to:
>>>
>>> <cms:container name="head_container" type="other_head" />
>>>
>>> Now you edit your container page (index.html) again and see
>>>
>>> Containers
>>>
>>>      Name   head_container
>>>
>>>      Type     some_head
>>>
>>> I would assume that the change in the template immediately reflects 
>>> in the
>>> structure of the containerpage, otherwise I would see little sense 
>>> in using a template.
>>>
>>> Or did I do something wrong?
>>>
>>>
>>
>
>




More information about the opencms-dev mailing list