<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
good morning,<br>
<br>
have you checked if
/sites/default/grid-demo/.content/texts/t_00019.xml exists?<br>
<br>
"Error while reading element bean from request" is usually thrown if
you try to open a formatter directly.<br>
<br>
regards<br>
lorenz<br>
<br>
<div class="moz-cite-prefix">Am 16.02.2016 um 00:21 schrieb Dr. John
A. Kassebaum PhD, PE:<br>
</div>
<blockquote
cite="mid:E5A9DD12-A246-41AB-86C8-CF3DDE6B2835@kassebaumengineering.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div class=""><br class="">
</div>
Just for fun, I tried creating my own resource type to my module
using the Workspace Admin “Add Resource Type” wizard. It created a
number of files that have initial template info in them.
<div class=""><br class="">
</div>
<div class="">If I add this new resource type to page while
editing. It does not disappear (yay) but I get a Java exception:</div>
<blockquote style="margin: 0 0 0 40px; border: none; padding:
0px;" class="">
<div class="">
<div class="">
<div style="margin: 0px; line-height: normal;" class="">15
Feb 2016 18:11:02,213 ERROR [
org.opencms.main.OpenCmsCore:2144]
javax.servlet.jsp.JspException:
org.opencms.main.CmsException: Error while reading element
bean from request rendering URL <a moz-do-not-send="true"
href="http://10.0.1.4:8080/opencms/opencms/system/modules/com.k2ee.wpcp_framework/formatters/KPIgraph-formatter.jsp"
class="">http://10.0.1.4:8080/opencms/opencms/system/modules/com.k2ee.wpcp_framework/formatters/KPIgraph-formatter.jsp</a></div>
</div>
</div>
<div class="">
<div style="margin: 0px; line-height: normal;" class="">javax.servlet.ServletException:
javax.servlet.jsp.JspException:
org.opencms.main.CmsException: Error while reading element
bean from request</div>
</div>
</blockquote>
<div class="">
<div style="margin: 0px; line-height: normal;" class=""><br
class="">
</div>
<div style="margin: 0px; line-height: normal;" class="">Anyway
…. not sure I’m making progress.</div>
<div style="margin: 0px; line-height: normal;" class=""><br
class="">
</div>
<div style="margin: 0px; line-height: normal;" class="">Thanks
for any help or clues!</div>
<div style="margin: 0px; line-height: normal;" class="">-John</div>
<div style="margin: 0px; line-height: normal;" class=""><br
class="">
</div>
<div>
<blockquote type="cite" class="">
<div class="">On Feb 15, 2016, at 4:28 PM, Dr. John A.
Kassebaum PhD, PE <<a moz-do-not-send="true"
href="mailto:jak@kassebaumengineering.com" class="">jak@kassebaumengineering.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;" class="">When
I add the text field (in this case I added the “About:
Open Source” instance) I get a java exception in the
opencms.log:
<div class="">org.opencms.file.CmsVfsResourceNotFoundException:
Error reading resource from path
"/sites/default/grid-demo/.content/texts/t_00019.xml”.</div>
<div class=""><br class="">
</div>
<div class="">I do see the text in my edit window/page:</div>
<blockquote style="margin: 0 0 0 40px; border: none;
padding: 0px;" class="">
<div class="">Open Source:</div>
<div class=""><br class="">
</div>
<div class="">Lorem ipsum dolor sit amet, consetetur
sadipscing elitr, sed diam nonumy eirmod tempor
invidunt ut labore et dolore magna aliquyam erat,
sed diam voluptua.</div>
</blockquote>
<div class=""><br class="">
</div>
<div class="">But, when I refresh the page - the content
is missing and it emits the same error message into
the opencms.log:</div>
<div class="">org.opencms.file.CmsVfsResourceNotFoundException:
Error reading resource from path
"/sites/default/grid-demo/.content/texts/t_00019.xml"</div>
<div class=""><br class="">
</div>
<div class="">Any thoughts on what is going on here?
Does this indicate some kind of mis-configuration of
OpenCMS?</div>
<div class=""><br class="">
</div>
<div class="">-John</div>
<div class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">On Feb 15, 2016, at
3:57 PM, Dr. John A. Kassebaum PhD, PE <<a
moz-do-not-send="true"
href="mailto:jak@kassebaumengineering.com"
class=""><a class="moz-txt-link-abbreviated" href="mailto:jak@kassebaumengineering.com">jak@kassebaumengineering.com</a></a>>
wrote:<br class="">
<br class="">
Hi Lorenz,<br class="">
<br class="">
I found the opencms.log file - very helpful. Not
seeing many errors yet - but I just reloaded the
whole thing (9.5.3) to be sure I see everything. <br
class="">
<br class="">
The guts of the page are very simple - basically
just copied the grid-demo-page.jsp. Maybe that’s
the problem? <br class="">
<br class="">
<body><br class="">
<div class="page-wrap wrapper"><br class="">
<c:if test="${cms.isEditMode}"><br class="">
<!--=== Placeholder for OpenCms toolbar in
edit mode ===--><br class="">
<div style="background: lightgray; height:
35px"> </div><br class="">
</c:if><br class="">
<div style="background: blue; height:
35px"> <br class="">
<img align="right" height="100"
src="<cms:link>%(link.weak:/system/modules/com.k2ee.wpcp_framework/resources/img/FortWayneLogo.jpg)</cms:link>"
/><br class="">
</div><br class="">
<cms:container name="page-complete"
type="page" width="1200" maxElements="15"
editableby="ROLE.DEVELOPER"><br class="">
<cms:bundle
basename="com.alkacon.bootstrap.formatters.messages"><br
class="">
<div class="servive-block rounded-3x
servive-block-red"><br class="">
<p><fmt:message
key="bootstrap.page.text.emptycontainer"/></p>
<br class="">
</div><br class="">
</cms:bundle><br class="">
</cms:container><br class="">
</div><!--/page-wrap--><br class="">
</body><br class="">
<br class="">
This gives me a “Please drop your Layout Rows here”
where I can drop a grid-demo template row. I’m about
to try this again while watching the opencms.log and
see if I learn anything. I think I do understand
the basic idea of content types and formatters … but
I can’t get the basic editing functions to work on
my own page which makes me think I have missed
something critical. <br class="">
<br class="">
Thanks for your help!!<br class="">
-John<br class="">
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br class="">
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent:
0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div style="font-size: 12px; margin: 0px;" class=""><font
style="font-size: 10px;" class="" size="2"
face="Helvetica">--</font></div>
<div style="font-size: 12px; margin: 0px;" class=""><font
style="font-size: 10px;" class="" size="2"
face="Helvetica">John A. Kassebaum, PhD PE AC9JX</font></div>
<div style="font-size: 12px; margin: 0px;" class=""><font
style="font-size: 10px;" class="" size="2"
face="Helvetica">Kassebaum Engineering LLC</font></div>
<div style="margin: 0px;" class=""><font class=""
size="1">Main: (317) 225-4126 x2</font></div>
<div style="font-size: 12px; margin: 0px;" class=""><span
class="Apple-style-span" style="font-size: 10px;">Cell:
(317) 250-7932</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>