[opencms-dev] Disappearing elements

Tobias Herrmann t.herrmann at alkacon.com
Thu Mar 29 12:54:14 CEST 2012


Hi Matt,

to use the advanced direct edit, the formatter JSP you use to render your content element should return a HTML fragment consisting of a single block element. and your HTML needs to be well formed. Other HTML may get removed when ADE is being initialized.

In your case it should be sufficient to wrap the output of your formatter JSP with another DIV.

Greetings, Tobias

--

Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com  --  http://www.opencms.org



Am 29.03.2012 12:34, schrieb Matt Levy:
> Hello mailing list,
>
> We are running Version 8.0.3 and have encountered an issue with disappearing elements. We are trying to load a empty div for a Google map as part of a formatter. This seems to disappear completely when the ADE toolbar loads offline. It works perfectly online.
>
> Has anyone experienced this problem and is there a way to prevent the element from being removed from the page?
>
> Many thanks
>
> Matt
> ______________________________
> Matt Levy
> Senior Web Developer
> Freight Transport Association
> Direct Line : 01892 552265
> www.fta.co.uk
>
> P Please help us achieve our environmental targets by not printing this e-mail
>
> ----------------------------------------------------------------
> Confidentiality note:
> ---------------------------------------------------------------
> The information contained in this message is legally privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this message is strictly prohibited. lf you have received this message in error, please notify us immediately and return the original message to us at info at fta.co.uk.
> Please note that the FTA is able to, and reserves the right to, monitor e-mail communications passing through its network. This footnote also confirms that Sophos Antivirus has swept this message for the presence of computer viruses.
> Freight Transport Association, Hermes House, St John's Road, Tunbridge Wells, Kent TN4 9UZ
> Telephone: (01892) 526171 Fax: (01892) 534989
> Freight Transport Association Limited. Registered Office Hermes House, St John's Road, Tunbridge Wells, Kent TN4 9UZ.
> Registered in England Number 391957.
>
> _______________________________________________
> 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/cgi-bin/mailman/listinfo/opencms-dev
>
>
>



More information about the opencms-dev mailing list