[opencms-dev] DirectEdit Add button freezes new Structured Content

Daniel Cassiani Rezende talent.drezende at bvsistemas.com.br
Thu Jul 1 19:33:40 CEST 2010


Howdy, folks,


I am having this weird problem with Direct Edit and Structured Content.

I want to click in my "add" button in Direct Edit and get a new content page for edition, however, when I click it, Firefox starts opening the FCKEditor but never ends. It doesn't show up an error, never timeout, throw nothing in the log... Edit and Delete buttons work just fine.

All it loads is the address <local>/system/workplace/editors/editor.jsp, the toolbar with "Publish Directly | Save & Exit | Save | Language | Delete | Copy | Preview | Close", a white frame, and the status bar with "User (Admin) logged in at 7/1/10 10:55 AM from 10.40.25.125"

My tag is: 

<cms:contentload collector="allInFolderNavPos" 
	param="%(opencms.uri)|campanha" editable="true" 
pageSize="2" pageIndex="${page}" pageNavLength="3">


And at my opencms-module.xml, the node is:

<module>
	<name>br.com.sistemas.site</name>
	<nicename><![CDATA[Site]]></nicename>
	<class/>
	<description><![CDATA[Site]]></description>
	<version>1.4</version>
	<authorname><![CDATA[Daniel]]></authorname>
	<authoremail><![CDATA[mail at mail.com.br]]></authoremail>
	<datecreated/>
	<userinstalled/>
	<dateinstalled/>
	<dependencies/>
	<exportpoints>
		<exportpoint uri="/system/modules/br.com.sistemas.site/lib/" destination="WEB-INF/lib/"/>
		<exportpoint uri="/system/modules/br.com.sistemas.site/classes/" destination="WEB-INF/classes/"/>
	</exportpoints>
    	<resources>
		<resource uri="/system/modules/br.com.sistemas.site/"/>
		<resource uri="/system/workplace/resources/filetypes/"/>
	</resources>
	<parameters/>
	<resourcetypes>
		<type class="org.opencms.file.types.CmsResourceTypeXmlContent" name="campanha" id="300">
			<properties>
				<property>
					<name>template-elements</name>
					<value type="shared"><![CDATA[/system/modules/br.com.sistemas.site/templates/tpl_campanhas.jsp]]></value>
				</property>
			</properties>
			<param name="schema">/system/modules/br.com.sistemas.site/schemas/campanha.xsd</param>
		</type>
	</resourcetypes>
	<explorertypes>
		<explorertype name="campanha" key="fileicon.campanha" icon="articledemo.gif" reference="xmlcontent">
			<newresource uri="newresource_xmlcontent.jsp?newresourcetype=campanha" order="200" info="desc.campanha"
                 page="structurecontent" autosetnavigation="false" autosettitle="false" />
			<accesscontrol>
            		<accessentry principal="ROLE.WORKPLACE_USER" permissions="+r+v+w+c"/>
      	  	</accesscontrol>
		</explorertype>
	</explorertypes>
</module>


Any toughts? Is there anything I forgot?

Thanks,

Daniel
-------------- next part --------------
Esta mensagem e seus anexos podem conter informações confidenciais ou privilegiadas. Se você não é o destinatário dos mesmos você não está autorizado a utilizar o material para qualquer fim. Solicitamos que você apague a mensagem e avise imediatamente ao remetente. O conteúdo desta mensagem e seus anexos não representam necessariamente a opinião e a intenção da empresa, não implicando em qualquer obrigaçâo ou responsabilidade da parte da mesma. 
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. The contents of this message and its attachments do not necessarily express the opinion or the intention of the company, and do not implies any legal obligation or responsibilities from this company.   


More information about the opencms-dev mailing list