Re: tinymce ajax submit

2008-10-16 Thread jchappelle

Has that code been posted for wicketstuff-1.3? I am using the old
wicket-contrib-tinymce-1.3-SNAPSHOT.jar. Where would I find an updated
snapshot?

Thanks,

Josh



sander v F wrote:
 
 For a project I also needed a AjaxSubmitLink to submit the tinyMce data,
 so
 i've searched for a solution and found it at
 http://dwairi.blogspot.com/2006/12/tinymce-ajax.html
 The solution is to add tinyMCE.triggerSave(true,true); to the onclick of
 the ajax button/link before the wicket code is called.
 
 I made a nice Wicket AttributeModifier (TinyMceAjaxSubmitModifier) which
 can
 be added to the ajax button/link and I also made a TinyMceAjaxButton and
 TinyMceAjaxSubmitLink for easier use.
 
 These component are added to the wicket-contrib-tinymce project.
 
 
 
 2008/2/19 Igor Vaynberg [EMAIL PROTECTED]
 
 tinymce replaces the textarea with an iframe. after that it installs
 an onsubmit hook to detect when the form is submitted and does the
 opposite. since you are submitting via ajax form's onsubmit() is never
 called and so tinymce doesnt replace the iframe with a textarea piror
 tp submit. you need to look at what that callback calls and call it
 yourself

 -igor

 On Feb 19, 2008 2:55 AM, Benjamin Ernst [EMAIL PROTECTED] wrote:
  Hi Marc,
 
  I have the same problem. When i am submitting a textarea with a
  TinyMCEBehavior the model of the textarea does not get updated.
  I am interested in your solution, but I do not understand it.
 
  It would be nice if you (or anyone else) could explain it for me.
 
  Thanks in advance,
  Benjamin
 
  2007/11/19, godin [EMAIL PROTECTED]:
 
  
   godin a écrit :
Frank Bille a écrit :
Hi,
   
Do you have problems with it?
   
   
   
yes , the submit work half a time 
i will investigate it more
  
  
   Ok find a workaround,
   pb on mozilla, use a decorator
   super.decorateScript(tinyMCE.triggerSave(true,
   true);+script+tinyMCE.idCounter=0;);
  
   regards marc
   Wicket rocks !
I tried it over a year ago, and as far as I remember there was
nothing to
it. That was Wicket 1.2.3 and tinymce from back then.
   
Frank
   
On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:
   
   
Hi,
doe somebody manage to make tinymce work with an ajax submit
 button
regards
Marc
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
   
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 

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


 
 

-- 
View this message in context: 
http://www.nabble.com/tinymce-ajax-submit-tp13796517p20026094.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]



Re: tinymce ajax submit

2008-08-11 Thread sander v F
For a project I also needed a AjaxSubmitLink to submit the tinyMce data, so
i've searched for a solution and found it at
http://dwairi.blogspot.com/2006/12/tinymce-ajax.html
The solution is to add tinyMCE.triggerSave(true,true); to the onclick of
the ajax button/link before the wicket code is called.

I made a nice Wicket AttributeModifier (TinyMceAjaxSubmitModifier) which can
be added to the ajax button/link and I also made a TinyMceAjaxButton and
TinyMceAjaxSubmitLink for easier use.

These component are added to the wicket-contrib-tinymce project.



2008/2/19 Igor Vaynberg [EMAIL PROTECTED]

 tinymce replaces the textarea with an iframe. after that it installs
 an onsubmit hook to detect when the form is submitted and does the
 opposite. since you are submitting via ajax form's onsubmit() is never
 called and so tinymce doesnt replace the iframe with a textarea piror
 tp submit. you need to look at what that callback calls and call it
 yourself

 -igor

 On Feb 19, 2008 2:55 AM, Benjamin Ernst [EMAIL PROTECTED] wrote:
  Hi Marc,
 
  I have the same problem. When i am submitting a textarea with a
  TinyMCEBehavior the model of the textarea does not get updated.
  I am interested in your solution, but I do not understand it.
 
  It would be nice if you (or anyone else) could explain it for me.
 
  Thanks in advance,
  Benjamin
 
  2007/11/19, godin [EMAIL PROTECTED]:
 
  
   godin a écrit :
Frank Bille a écrit :
Hi,
   
Do you have problems with it?
   
   
   
yes , the submit work half a time 
i will investigate it more
  
  
   Ok find a workaround,
   pb on mozilla, use a decorator
   super.decorateScript(tinyMCE.triggerSave(true,
   true);+script+tinyMCE.idCounter=0;);
  
   regards marc
   Wicket rocks !
I tried it over a year ago, and as far as I remember there was
nothing to
it. That was Wicket 1.2.3 and tinymce from back then.
   
Frank
   
On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:
   
   
Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc
   
   
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
   
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 

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




Re: tinymce ajax submit

2007-11-19 Thread godin

Frank Bille a écrit :

Hi,

Do you have problems with it?

  


yes , the submit work half a time 
i will investigate it more

I tried it over a year ago, and as far as I remember there was nothing to
it. That was Wicket 1.2.3 and tinymce from back then.

Frank

On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:

  

Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc

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





  


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



Re: tinymce ajax submit

2007-11-19 Thread godin

godin a écrit :

Frank Bille a écrit :

Hi,

Do you have problems with it?

  


yes , the submit work half a time 
i will investigate it more



Ok find a workaround,
pb on mozilla, use a decorator
super.decorateScript(tinyMCE.triggerSave(true, 
true);+script+tinyMCE.idCounter=0;);


regards marc
Wicket rocks !
I tried it over a year ago, and as far as I remember there was 
nothing to

it. That was Wicket 1.2.3 and tinymce from back then.

Frank

On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:

 

Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc

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





  


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



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



tinymce ajax submit

2007-11-16 Thread godin

Hi,
doe somebody manage to make tinymce work with an ajax submit button
regards
Marc

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



Re: tinymce ajax submit

2007-11-16 Thread Frank Bille
Hi,

Do you have problems with it?

I tried it over a year ago, and as far as I remember there was nothing to
it. That was Wicket 1.2.3 and tinymce from back then.

Frank

On Nov 16, 2007 5:24 PM, godin [EMAIL PROTECTED] wrote:

 Hi,
 doe somebody manage to make tinymce work with an ajax submit button
 regards
 Marc

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