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 

Reply via email to