I have this component working at work. Im using Wicket 1.4 RC1.

I'll suggest you to download the example war and check it out, Basically
tinyMCE have a simple default theme, then you need to add any other button
you may need using the Plugin Class provided with the Component on the
Wicket Side.




Daniel Ferreira Castro wrote:
> 
> By commenting the line SpellCheckPlugin spellCheckPlugin = new
> SpellCheckPlugin(); it runs, but appears only a TextArea without tools...a
> single TextArea.
> 
> Why? :)
> 
> On Wed, Feb 25, 2009 at 9:31 PM, Daniel Ferreira Castro
> <[email protected]>wrote:
> 
>> I did it.
>>
>> But now I am recievieng an error whn accessing the page
>>
>> When the page execute this line SpellCheckPlugin spellCheckPlugin = new
>> SpellCheckPlugin(); it throws a ClassNotFoundException:
>> com.swabunga.spell.event.SpellCheckListener
>>
>> Does anyone knows how to solve it?  I addapted the file
>> https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/FullFeaturedTinyMCEPage.javato
>> my needs.
>>
>> *    at
>> wicket.contrib.tinymce.settings.SpellCheckPlugin.<init>(SpellCheckPlugin.java:47)
>> *
>>     at
>> com.jasp.ecommfwk.pages.forms.NewsletterForm.createToolbars(NewsletterForm.java:167)
>>     at
>> com.jasp.ecommfwk.pages.forms.NewsletterForm.inicializaComponentesForm(NewsletterForm.java:71)
>>     at
>> com.jasp.ecommfwk.pages.forms.NewsletterForm.<init>(NewsletterForm.java:54)
>>     at
>> com.jasp.ecommfwk.pages.panels.cadastro.CadastroNewsletterPanel.<init>(CadastroNewsletterPanel.java:14)
>>     at
>> com.jasp.ecommfwk.pages.panels.cadastro.CadastroPanel$8.getPanel(CadastroPanel.java:72)
>>     at
>> org.apache.wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab(TabbedPanel.java:360)
>>     at
>> org.apache.wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel$1.onClick(AjaxTabbedPanel.java:64)
>>     at
>> org.apache.wicket.ajax.markup.html.AjaxFallbackLink$1.onEvent(AjaxFallbackLink.java:73)
>>     at
>> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166)
>>     at
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:299)
>>     at
>> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:105)
>>     at
>> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
>>     at
>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1192)
>>     at org.apache.wicket.RequestCycle.step(RequestCycle.java:1271)
>>     at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1370)
>>     at org.apache.wicket.RequestCycle.request(RequestCycle.java:501)
>>     at
>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:455)
>>     at
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:288)
>>     at
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
>>     at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
>>     at
>> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>>     at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>>     at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
>>     at
>> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>>     at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
>>     at org.mortbay.jetty.Server.handle(Server.java:295)
>>     at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503)
>>     at
>> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:827)
>>     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:511)
>>     at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210)
>>     at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379)
>>     at
>> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
>>     at
>> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
>> *Caused by: java.lang.ClassNotFoundException:
>> com.swabunga.spell.event.SpellCheckListener*
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>
>>
>>
>> On Wed, Feb 25, 2009 at 8:23 PM, Jeremy Thomerson <
>> [email protected]> wrote:
>>
>>> groupId: org.wicketstuff
>>> artifactId: tinymce
>>> 1.4-SNAPSHOT
>>>
>>> make sure you include the wicketstuff maven repo, as described on the
>>> wicketstuff site.
>>>
>>>
>>>
>>> On Wed, Feb 25, 2009 at 5:20 PM, Daniel Ferreira Castro
>>> <[email protected]>wrote:
>>>
>>> > I am readig it now :)
>>> >
>>> > But I am not seeing a way to insert it as a dependency on my pom.xml
>>> > (Maven).
>>> > What is the latest version that is compatible to wicket 1.4-rc2?
>>> >
>>> > On Wed, Feb 25, 2009 at 8:11 PM, evaneustace <
>>> [email protected]
>>> > >wrote:
>>> >
>>> > >
>>> > >
>>> > >
>>> >
>>> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-tinymce
>>> > >
>>> > >
>>> > >
>>> > > Daniel Ferreira Castro wrote:
>>> > > >
>>> > > > Guys,
>>> > > >
>>> > > > Maybe u know something about.
>>> > > > Is there any *WYSIWYG* solution to use with Wicket?
>>> > > > Ok, let me explain it better.  I wanna make a way to an
>>> administrator
>>> > be
>>> > > > able to register a newsletter to send to it's clients.  And I
>>> would
>>> > like
>>> > > > to
>>> > > > be able to put an *WYSIWYG* interface on the page to be able to
>>> let
>>> the
>>> > > > administrator to write the newsletter using this *WYSIWYG* editor.
>>> > > >
>>> > > > I am not sure, but for me seems to be this way.  I think that a
>>> > *WYSIWYG*
>>> > > > is
>>> > > > a kind of decoration of an TextArea, is that right?
>>> > > >
>>> > > > --
>>> > > > "Two rules to succeed in life:
>>> > > > 1 - don´t tell people everything you know."
>>> > > > --------
>>> > > > We shall go on to the end.
>>> > > > We shall fight in France
>>> > > > We shall fightover the seas and oceans.
>>> > > > We shall fight with growing confidence and growing strength in the
>>> air.
>>> > > > We shall defend our island whatever the cost may be
>>> > > > We shall fight on beaches, we shall fight on the landing grounds,
>>> > > > We shall fight in the fields and in the streets,
>>> > > > We shall fight on the hills.
>>> > > > We shall never surrender.
>>> > > > Winston Churchill
>>> > > >
>>> > > >
>>> > >
>>> > > --
>>> > > View this message in context:
>>> > > http://www.nabble.com/WYSIWYG-component-tp22214000p22214140.html
>>> > > Sent from the Wicket - User mailing list archive at Nabble.com.
>>> > >
>>> > >
>>> > >
>>> ---------------------------------------------------------------------
>>> > > To unsubscribe, e-mail: [email protected]
>>> > > For additional commands, e-mail: [email protected]
>>> > >
>>> > >
>>> >
>>> >
>>> > --
>>> > "Two rules to succeed in life:
>>> > 1 - don´t tell people everything you know."
>>> > --------
>>> > We shall go on to the end.
>>> > We shall fight in France
>>> > We shall fightover the seas and oceans.
>>> > We shall fight with growing confidence and growing strength in the
>>> air.
>>> > We shall defend our island whatever the cost may be
>>> > We shall fight on beaches, we shall fight on the landing grounds,
>>> > We shall fight in the fields and in the streets,
>>> > We shall fight on the hills.
>>> > We shall never surrender.
>>> > Winston Churchill
>>> >
>>>
>>>
>>>
>>> --
>>> Jeremy Thomerson
>>> http://www.wickettraining.com
>>>
>>
>>
>>
>> --
>> "Two rules to succeed in life:
>> 1 - don´t tell people everything you know."
>> --------
>> We shall go on to the end.
>> We shall fight in France
>> We shall fightover the seas and oceans.
>> We shall fight with growing confidence and growing strength in the air.
>> We shall defend our island whatever the cost may be
>> We shall fight on beaches, we shall fight on the landing grounds,
>> We shall fight in the fields and in the streets,
>> We shall fight on the hills.
>> We shall never surrender.
>> Winston Churchill
>>
> 
> 
> 
> -- 
> "Two rules to succeed in life:
> 1 - don´t tell people everything you know."
> --------
> We shall go on to the end.
> We shall fight in France
> We shall fightover the seas and oceans.
> We shall fight with growing confidence and growing strength in the air.
> We shall defend our island whatever the cost may be
> We shall fight on beaches, we shall fight on the landing grounds,
> We shall fight in the fields and in the streets,
> We shall fight on the hills.
> We shall never surrender.
> Winston Churchill
> 
> 

-- 
View this message in context: 
http://www.nabble.com/WYSIWYG-component-tp22214000p22216272.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to