Have you tried using visrual wicket's rich text editor? There's an example here:
http://visural-wicket-examples.appspot.com/app/ I've never used it, but it looks pretty cool (so does the other stuff). On Tue, Apr 13, 2010 at 6:49 AM, wicketyan <wicket...@gmail.com> wrote: > thanks mj! it looks like I have to learn jquery.your second solution is too > hard for me. > > > > > 2010-04-13 > > > > wicketyan > > > > 发件人: m j > 发送时间: 2010-04-13 11:56:26 > 收件人: users > 抄送: > 主题: Re: how to make a wicket web editor > > Well, if you know how to use JQuery you can "hard" code the javascript and > html into the page, which is pretty easy and obvious as it just goes into > the HTML. > The other option if your familiar at all with Wicket is to put it into a > panel to allow more control and usability. > On Mon, Apr 12, 2010 at 9:59 AM, wicketyan <wicket...@gmail.com> wrote: >> >> hi guys,I'm a freshman on js.Could anyone tell me how to user a web editor >> in wicket.I know wicket-stuff already have a project tinymce,But I don't >> like tinymce.There are so many web editor,I want to use my favorated >> editor.I just knew a little about abstractajaxbehavior,But something deep is >> hard for me,for example,the ajax upload using jquery.How to encapsulate >> ajax upload using wicket? to understand tinymce project is hard for me >> now.so, hope someone can tell me how to use these editor writted by jquery >> or introduce tinymce project's detail about image upload. >> >> the editor xheditor use this >> >> >> $('#elm2').xheditor({upLinkUrl:"upload.php?immediate=1",upLinkExt:"zip,rar,txt",upImgUrl:"upload.php?immediate=1",upImgExt:"jpg,jpeg,gif,png",upFlashUrl:"upload.php?immediate=1",upFlashExt:"swf",upMediaUrl:"upload.php?immediate=1",upMediaExt:"avi"}); >> >> the upload.php?immediate=1 is a interface to save the data,and if I use >> servlet ,that's easy.chang the url to a new url like xxxxx.do,writing a >> url-pattern in web.xml. But this is not a wicket way. >> 2010-04-12 >> >> >> >> wicketyan >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org