Hi,

>From the package in the stack trace it looks like you're using the old
version of that component. It has since been merged into the
http://code.google.com/p/tapestry5-components/, so try that. Also, the
latest T5 release is 5.0.11.

chris

János Jarecsni wrote:
> Hi,
>
> the fckeditor component doesn't work in my environment. For the page below I
> get an error message:
>
> An unexpected application exception has occurred.
>
> Render queue error in BeginRender[AddCelebrity:biography]:
> org.apache.tapestry.ioc.internal.util.TapestryException
>
> And in the tomcat log I find this:
>
> Caused by: java.lang.NullPointerException
>         at
> net.keso.ted.fckeditor.components.Editor.getScript(Editor.java:53)
>         at
> net.keso.ted.fckeditor.components.Editor.writeFieldTag(Editor.java:85)
>         at
> org.apache.tapestry.corelib.base.AbstractTextField.begin(AbstractTextField.java:152)
>         at
> org.apache.tapestry.corelib.base.AbstractTextField.beginRender(AbstractTextField.java)
>         at net.keso.ted.fckeditor.components.Editor.beginRender(Editor.java)
>         at
> org.apache.tapestry.internal.structure.ComponentPageElementImpl$11$1.run(ComponentPageElementImpl.java:338)
>         at
> org.apache.tapestry.internal.structure.ComponentPageElementImpl.invoke(ComponentPageElementImpl.java:880)
>
> I have T5 5.0.10 (latest I think) and fckeditor 1.0.2. With a literal: value
> it works fine, and sometimes also with the property. I could not find out a
> pattern when it is ok, and when not :)
>
> Any ideas?
> thx
>
> Janos
>
>
> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
>     <head>
>         <title>Celebrity Collector: Adding New Celebrity</title>
>         <link rel="stylesheet" href="${styles}" type="text/css"/>
>     </head>
>     <body>
>         <h1>Adding New Celebrity</h1>
>
>         <t:beaneditform t:id="celebrity" t:submitLabel="Save"
>             remove="id"
>
> reorder="firstName,lastName,dateOfBirth,birthDateVerified,occupation,biography">
>             <t:parameter name="biography">
>             <table cellpadding="0" cellspacing="0"><tr>
>                 <td><t:fckeditor.editor t:id="biography"
> t:value="celebrity.biography"
>                     t:toolbarSet="Medium" t:width="350"
> t:height="200"/></td></tr>
>             </table>
>               </t:parameter>
>         </t:beaneditform>
>     </body>
> </html>
>
>   

-- 
http://thegodcode.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to