<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Roberto,<div><br></div><div>sounds to me that your formatter does not check correctly for the existence of the nested date element.</div><div><br></div><div>Have a look at the log wether there is a NullPointer showing up, while you are dragging your content.</div><div><br></div><div>If so, double check your formatter whether you are checking properly for the existence of the date element before you try to access it.</div><div><br></div><div>For example, having a nested content Teaserimage with another nested content Image you would do your check as follows</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #009292"><</span><span style="color: #4b9191">c:if</span> <span style="color: #961f8d">test</span>="${value.Teaserimage.exists && value.Teaserimage.value.Image.exists}"<span style="color: #009292">></span></div></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Monaco; "><span style="color: #009292"><br></span></div><div>btw, "not empty" does not help here. ${not empty value.Teaserimage} would itself lead to the NullPointer when no nested content Teaserimage exists.</div><div><br></div><div>hth</div><div>Regards</div><div>Christoph</div><div><br></div><div><div><div>Am 21.10.2011 um 10:50 schrieb roberto luceri:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi all,<br><br>I'm developing a site using OpenCms 8.0.2<br>I've a structured content (that we'll call A). It includes a nested content (that we'll call N) containing a Date field.<br>If I try to insert a new content of type A in a page with Drag & Drop it doesn't work.<br>But if I move up the Date field of nested structured content N in the main structured content A the drag &drop works fine.<br><br>After this I think that it could be a problem with Date field in nested content.<br><br>Does someone has encountered the same problem?<br><br>I made the tests using the following browsers:<br>Firefox version 7.01,Crhome,Safari 5.1.1, IE version 9.0. on<br>Win 7<br>Tomcat 6.0.32<br><br>Thanks.<br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br><br><br><br></div></blockquote></div><br></div></body></html>