Hello,
I feel like this is such a stupid question, but it's just not working...
I want to display an FCKeditor without anything in it. All the examples have already some text in it.
When I try both lines here:
<FCK:editor instanceName="autre_info"><jsp:attribute name="value"></jsp:attribute></FCK:editor> or <FCK:editor instanceName="autre_info</FCK:editor>
I get a Null pointerException..
java.lang.NullPointerException at net.fckeditor.FCKeditor.createHtml(FCKeditor.java:238) at net.fckeditor.FCKeditor.toString(FCKeditor.java:223) at java.lang.String.valueOf(String.java:2615) at com.caucho.jsp.AbstractBodyContent.println(AbstractBodyContent.java:359) at net.fckeditor.tags.EditorTag.doEndTag(EditorTag.java:138) at _jsp._administration._modarticle__jsp._jspService(administration/modarticle.jsp:268) (line where I set my FCKeditor) at com.caucho.jsp.JavaPage.service(JavaPage.java:60) at com.caucho.jsp.Page.pageservice(Page.java:570) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:514) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520) at com.caucho.util.ThreadPool.run(ThreadPool.java:442) at java.lang.Thread.run(Thread.java:595)
Thank you
Re: Empty textbox
The first one won't work. Value does not has to be empty. I will file a bug about it.
Use this:
Ticket created: http://dev.fckeditor.net/ticket/2372
Thanks for the indirect bug report.
Re: Empty textbox
but it still fails with the same error.
Re: Empty textbox
seems to be resin specific. Try then:
This should prevent the value from being null.
Re: Empty textbox
Your latest option worked. That's fine with me!
Thank you!
Re: Empty textbox