AW: [opencms-dev] problem w/ full textarea in (News-)module

Mario Meisenberger m.meisenberger at labor-c.net
Wed Feb 27 14:03:56 CET 2002


hi,

i have had a similar problem.

try changing the form method="get" to 
method="post"
in the Backend....html file

probably that would fix your problem.

best

	mario

> -----Ursprüngliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.com 
> [mailto:owner-opencms-dev at www.opencms.com] Im Auftrag von 
> Tobias Gaekle
> Gesendet: Mittwoch, 27. Februar 2002 14:02
> An: opencms-dev at www.opencms.com
> Betreff: [opencms-dev] problem w/ full textarea in (News-)module
> 
> 
> 
> hi list,
> 
> we're using OpenCMS to build our new site and therefore wrote 
> some modules for it. they're structured like the news-Module 
> that can be downloaded from the opencms.org. now the problem:
> 
> when a lot of text (> 1000 chars) is entered in a textarea 
> and then posted to be written to the database, the following 
> error occurs:
> 
> [CmsException]: 18 Unknown XML datablock. Detailed Error: 
> Unknown Datablock selectboxWithParam requested.. 
> 	at
> com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlCo
> ntent.java:1846)
> 	at
> com.opencms.template.A_CmsXmlContent.getData(A_CmsXmlContent.java:458)
> 	at
> com.opencms.template.CmsXmlTemplateFile.getData(CmsXmlTemplate
> File.java:174)
> 	at
> com.opencms.template.A_CmsXmlContent.getProcessedData(A_CmsXml
> Content.java:546)
> 	at
> com.opencms.template.A_CmsXmlContent.getProcessedDataValue(A_C
> msXmlContent.java:612)
> 	at
> com.opencms.template.CmsXmlTemplateFile.getProcessedDataValue(
> CmsXmlTemplateFile.java:460)
> 	at
> com.opencms.template.A_CmsXmlContent.getProcessedDataValue(A_C
> msXmlContent.java:591)
> 	at
> com.opencms.template.CmsXmlTemplateFile.getProcessedDataValue(
> CmsXmlTemplateFile.java:441)
> 	at
> com.opencms.defaults.A_CmsBackoffice.getContentHead(A_CmsBacko
> ffice.java:1385)
> 	at
> com.opencms.defaults.A_CmsBackoffice.getContent(A_CmsBackoffic
> e.java:406)
> 	at
> com.opencms.template.cache.CmsElementXml.getContent(CmsElement
> Xml.java:169)
> ...
> 
> i suspect something like A_CmsBackoffice trying to access the 
> template which cannot be accessed yet because the post is not 
> finished. 
> 
> the same error occurs with the downloaded NewsModule! (lots 
> of text entered in textarea labeled 'Inhalt')
> 
> our project is due this week. any hints, explanations or 
> suggestions esp. from the developers would be highly appreciated.
> 
> - Tobias Gaekle
> 




More information about the opencms-dev mailing list