[opencms-dev] Newbie problem with OpenCMS - New Content Disapears
Filip Kratochvil
filip.kratochvil at nelasoft.cz
Fri Feb 12 22:05:21 CET 2016
Hi,
try to check browser console or source code on the page (if the content is present). I think it can he hidden by GWT (= javascript) due to some JS error or html formatting (unbalanced html tag or…).
--
S pozdravem / Kind regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz <http://www.nelasoft.cz/>
Twitter: @NELASOFT <https://twitter.com/NELASOFT>
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dr. John A. Kassebaum PhD, PE
Sent: Friday, February 12, 2016 10:00 PM
To: opencms-dev at opencms.org
Subject: Re: [opencms-dev] Newbie problem with OpenCMS - New Content Disapears
Hi Diversion,
Yes - the <% out.println ( "Test") ; %> does in fact print “Test”into the rendered page.
-John
On Feb 12, 2016, at 3:53 PM, Dr. John A. Kassebaum PhD, PE <jak at kassebaumengineering.com> wrote:
Hi Deiversion & thanks for your attention!
My basicPage.jsp is essentially identical to the code from grid-page-demo.jsp under com.alkacon.bootstrap.formatters/templates.
On my development system I am using Java 8, OpenCMS 9.5.3, Tomcat 8.0.30, and Mysql 5.7.11. My development platform is MacOSX. My deployment platform is a Bitnami Tomcat appliance running Ubuntu. I am experiencing the problem on both development and deployment servers.
I will try the out.println() …. I do have ordinary content rendering from the JSP though - some graphics etc. More on that soon.
-John
On Fri Feb 12 21:13:34 CET 2016, Deiverson Silveira <mailto:opencms-dev%40opencms.org?Subject=Re%3A%20%5Bopencms-dev%5D%20Newbie%20problem%20with%20OpenCMS%20-%20New%20Content%0A%09Disapears&In-Reply-To=%3CCAF1gz3tsgn7tEXVMXQVnfX6-KNcOwLRBFRqaucdMucgx9Fm68Q%40mail.gmail.com%3E> deiverson at solutioncms.com
Hi John,
Are you can place the jsp code of the page "basicPage.jsp"?
What version of Java, OpenCms and the Database are you using ?
If you put a <% out.println ( "Test") ; % > in your basicPage.jsp Is
displayed on the screen the word "Test" ? This is only to isolate the
problem is somewhere in your code.
Regards,
Deiverson
On Feb 12, 2016, at 2:58 PM, Dr. John A. Kassebaum PhD, PE <jak at kassebaumengineering.com> wrote:
Hi OpenCMS folks,
I am an OpenCMS newbie, but have had little trouble getting everything setup and working. No problem with the demo site or development tools (Netbeans and nbDriva). However, I am concerned that I am missing something significant.
Problem: I have created a new website for my client using the Workspace Manager, and coded a simplistic new module with my own templates/basicPage.jsp. I am able to add content to it - but, if I refresh the page after adding content, all of that newly added content becomes invisible. I can still see the record of the info in the Page Info (xml content) - but the produced page HTML does not include rendering of the content. I have not created any of my own formatters and/or content types, and am using the content type from the bootstrap modules as a starting point.
Can someone give me a clue? What I am I missing?
Thanks for any help!
-John
--
John A. Kassebaum, PhD PE AC9JX
Kassebaum Engineering LLC
Main: (317) 225-4126 x2
Cell: (317) 250-7932
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160212/11e7160e/attachment.htm>
More information about the opencms-dev
mailing list