[opencms-dev] SOS question

Christoph Fröhlich cfauto at folge2.de
Mon Sep 12 14:45:42 CEST 2011


Hi Arpad,

to my understanding, this exception means that there is mismatch between container definitions in the template and containers that actually exists in your container page.

I fear for every container definition that is part of your template you need a container with that name in your containerpage.
So, if you add a new container to your template you have to modify all existing container pages :(

I think it would be better to just ignore containers that are defined in the template and does not exist in a concrete page, but I fear it is not implemented that way. However, I'm not sure wether I understand things fully... :)
  
Regards
c


Am 12.09.2011 um 14:23 schrieb AJuhos at chronossystems.com:

> Hi! 
> 
> I have a problem with template v3 in opencms 8. 
> 
> I created a new container to the top of the page. When I try to rename the type of it to search, then I get the following error message: 
> 
> javax.servlet.jsp.JspException: org.opencms.main.CmsIllegalStateException: Type "search" is inconsistent in container "search" in locale "en" for container page "/containerpage_1/index.html".
> Reason: Type "search" is inconsistent in container "search" in locale "en" for container page "/containerpage_1/index.html". 
> 
> When I give a different (existing) type, for example "right" then I am able to put a login form into that new container. But I need to put a search form there, but it is not possible. What shall I do? 
> 
> Thank you! 
> 
> Arpad
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110912/d2651434/attachment.htm>


More information about the opencms-dev mailing list