Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello Andrea,

Thanks a lot for this fix.

I have another question. The fix now delays the creation of the settings
object inside the InPlaceEditComponent to the onInitialize() method. This
means I can no longer configure the settings after creating
the InPlaceEditComponent in my panel. Is it possible to create the settings
object in the constructor of the InPlaceEditComponent, or to add a settings
parameter to the constructor of the InPlaceEditComponent?

Kind regards,
Dirk.


2014-04-21 14:32 GMT+02:00 Andrea Del Bene an.delb...@gmail.com:

 Hello,

 I've worked to fix the issue. You can see the result here:
 https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db
 b639158eb7
 However, I don't think there is an easy workaround to apply to the current
 version. The good news is that Wicket 6.15.0 is around the conner so we
 shouldn't wait much long for WicketStuff 6.15.0...

 Hello Andrea,

 Thanks for making time to investigate this issue.

 In attachment, you can find a quickstart to reproduce the issue. With the
 patched version of InPlaceEditBehavior (included in the quickstart), the
 editor works fine in the main page, but not in the modal window.

 Kind regards,
 Dirk.


 2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.com mailto:
 an.delb...@gmail.com:


 No, it's not a known issue. I will try to investigate it in during
 the very next days.

 Hello,

 The editor is now working fine in a normal page. But I also
 need the editor
 to work inside a modal window. In that case, the editor opens
 and seems to
 work fine, until I hit the save button. The save button does
 nothing, the
 editor stays open. Is this a known issue?
 I'm currently working with version 6.14 of Wicket and
 Wicketstuff. The
 earlier mentioned fix is also applied.

 Kind regards,
 Dirk.



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 mailto:users-unsubscr...@wicket.apache.org

 For additional commands, e-mail: users-h...@wicket.apache.org
 mailto:users-h...@wicket.apache.org







 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Martin Grigorov
Hi,

You can override #onInitialize() and do what you need after calling
super.onInitialize().

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 22, 2014 at 3:35 PM, Dirk Germonpré dirk.germon...@gmail.comwrote:

 Hello Andrea,

 Thanks a lot for this fix.

 I have another question. The fix now delays the creation of the settings
 object inside the InPlaceEditComponent to the onInitialize() method. This
 means I can no longer configure the settings after creating
 the InPlaceEditComponent in my panel. Is it possible to create the settings
 object in the constructor of the InPlaceEditComponent, or to add a settings
 parameter to the constructor of the InPlaceEditComponent?

 Kind regards,
 Dirk.


 2014-04-21 14:32 GMT+02:00 Andrea Del Bene an.delb...@gmail.com:

  Hello,
 
  I've worked to fix the issue. You can see the result here:
 
 https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db
  b639158eb7
  However, I don't think there is an easy workaround to apply to the
 current
  version. The good news is that Wicket 6.15.0 is around the conner so we
  shouldn't wait much long for WicketStuff 6.15.0...
 
  Hello Andrea,
 
  Thanks for making time to investigate this issue.
 
  In attachment, you can find a quickstart to reproduce the issue. With
 the
  patched version of InPlaceEditBehavior (included in the quickstart), the
  editor works fine in the main page, but not in the modal window.
 
  Kind regards,
  Dirk.
 
 
  2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.commailto:
  an.delb...@gmail.com:
 
 
  No, it's not a known issue. I will try to investigate it in during
  the very next days.
 
  Hello,
 
  The editor is now working fine in a normal page. But I also
  need the editor
  to work inside a modal window. In that case, the editor opens
  and seems to
  work fine, until I hit the save button. The save button does
  nothing, the
  editor stays open. Is this a known issue?
  I'm currently working with version 6.14 of Wicket and
  Wicketstuff. The
  earlier mentioned fix is also applied.
 
  Kind regards,
  Dirk.
 
 
 
 
 -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  mailto:users-unsubscr...@wicket.apache.org
 
  For additional commands, e-mail: users-h...@wicket.apache.org
  mailto:users-h...@wicket.apache.org
 
 
 
 
 
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello,

I understand. In that case, I still need a getter method for the settings
object inside the TinyMceBehavior.

Kind regards,
Dirk.


2014-04-22 14:38 GMT+02:00 Martin Grigorov mgrigo...@apache.org:

 Hi,

 You can override #onInitialize() and do what you need after calling
 super.onInitialize().

 Martin Grigorov
 Wicket Training and Consulting


 On Tue, Apr 22, 2014 at 3:35 PM, Dirk Germonpré dirk.germon...@gmail.com
 wrote:

  Hello Andrea,
 
  Thanks a lot for this fix.
 
  I have another question. The fix now delays the creation of the settings
  object inside the InPlaceEditComponent to the onInitialize() method. This
  means I can no longer configure the settings after creating
  the InPlaceEditComponent in my panel. Is it possible to create the
 settings
  object in the constructor of the InPlaceEditComponent, or to add a
 settings
  parameter to the constructor of the InPlaceEditComponent?
 
  Kind regards,
  Dirk.
 
 
  2014-04-21 14:32 GMT+02:00 Andrea Del Bene an.delb...@gmail.com:
 
   Hello,
  
   I've worked to fix the issue. You can see the result here:
  
 
 https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db
   b639158eb7
   However, I don't think there is an easy workaround to apply to the
  current
   version. The good news is that Wicket 6.15.0 is around the conner so we
   shouldn't wait much long for WicketStuff 6.15.0...
  
   Hello Andrea,
  
   Thanks for making time to investigate this issue.
  
   In attachment, you can find a quickstart to reproduce the issue. With
  the
   patched version of InPlaceEditBehavior (included in the quickstart),
 the
   editor works fine in the main page, but not in the modal window.
  
   Kind regards,
   Dirk.
  
  
   2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.com
 mailto:
   an.delb...@gmail.com:
  
  
   No, it's not a known issue. I will try to investigate it in during
   the very next days.
  
   Hello,
  
   The editor is now working fine in a normal page. But I also
   need the editor
   to work inside a modal window. In that case, the editor opens
   and seems to
   work fine, until I hit the save button. The save button does
   nothing, the
   editor stays open. Is this a known issue?
   I'm currently working with version 6.14 of Wicket and
   Wicketstuff. The
   earlier mentioned fix is also applied.
  
   Kind regards,
   Dirk.
  
  
  
  
  -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   mailto:users-unsubscr...@wicket.apache.org
  
   For additional commands, e-mail: users-h...@wicket.apache.org
   mailto:users-h...@wicket.apache.org
  
  
  
  
  
  
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
 



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Dirk Germonpré
Hello,

I think there is a problem with the fix. In TinyMceBehavior the method
beforeRender was removed (in which a div was added), so I suppose the
method afterRender should also be removed (in which the div is closed).

Kind regards,
Dirk.


2014-04-21 14:32 GMT+02:00 Andrea Del Bene an.delb...@gmail.com:

 Hello,

 I've worked to fix the issue. You can see the result here:
 https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db
 b639158eb7
 However, I don't think there is an easy workaround to apply to the current
 version. The good news is that Wicket 6.15.0 is around the conner so we
 shouldn't wait much long for WicketStuff 6.15.0...

 Hello Andrea,

 Thanks for making time to investigate this issue.

 In attachment, you can find a quickstart to reproduce the issue. With the
 patched version of InPlaceEditBehavior (included in the quickstart), the
 editor works fine in the main page, but not in the modal window.

 Kind regards,
 Dirk.


 2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.com mailto:
 an.delb...@gmail.com:


 No, it's not a known issue. I will try to investigate it in during
 the very next days.

 Hello,

 The editor is now working fine in a normal page. But I also
 need the editor
 to work inside a modal window. In that case, the editor opens
 and seems to
 work fine, until I hit the save button. The save button does
 nothing, the
 editor stays open. Is this a known issue?
 I'm currently working with version 6.14 of Wicket and
 Wicketstuff. The
 earlier mentioned fix is also applied.

 Kind regards,
 Dirk.



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 mailto:users-unsubscr...@wicket.apache.org

 For additional commands, e-mail: users-h...@wicket.apache.org
 mailto:users-h...@wicket.apache.org







 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-22 Thread Andrea Del Bene

Hi Dirk,

I changed the code following your advices: 
https://github.com/wicketstuff/core/commit/d763815f6cc05d799df628e2c3cba61b9c6b1410

Hello,

I think there is a problem with the fix. In TinyMceBehavior the method
beforeRender was removed (in which a div was added), so I suppose the
method afterRender should also be removed (in which the div is closed).

Kind regards,
Dirk.


2014-04-21 14:32 GMT+02:00 Andrea Del Bene an.delb...@gmail.com:


Hello,

I've worked to fix the issue. You can see the result here:
https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1db
b639158eb7
However, I don't think there is an easy workaround to apply to the current
version. The good news is that Wicket 6.15.0 is around the conner so we
shouldn't wait much long for WicketStuff 6.15.0...


Hello Andrea,

Thanks for making time to investigate this issue.

In attachment, you can find a quickstart to reproduce the issue. With the
patched version of InPlaceEditBehavior (included in the quickstart), the
editor works fine in the main page, but not in the modal window.

Kind regards,
Dirk.


2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.com mailto:
an.delb...@gmail.com:


 No, it's not a known issue. I will try to investigate it in during
 the very next days.

 Hello,

 The editor is now working fine in a normal page. But I also
 need the editor
 to work inside a modal window. In that case, the editor opens
 and seems to
 work fine, until I hit the save button. The save button does
 nothing, the
 editor stays open. Is this a known issue?
 I'm currently working with version 6.14 of Wicket and
 Wicketstuff. The
 earlier mentioned fix is also applied.

 Kind regards,
 Dirk.



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 mailto:users-unsubscr...@wicket.apache.org

 For additional commands, e-mail: users-h...@wicket.apache.org
 mailto:users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-21 Thread Andrea Del Bene

Hello,

I've worked to fix the issue. You can see the result here: 
https://github.com/wicketstuff/core/commit/ed9d3e52f4537c67c395a5e3bcb1dbb639158eb7 

However, I don't think there is an easy workaround to apply to the 
current version. The good news is that Wicket 6.15.0 is around the 
conner so we shouldn't wait much long for WicketStuff 6.15.0...

Hello Andrea,

Thanks for making time to investigate this issue.

In attachment, you can find a quickstart to reproduce the issue. With 
the patched version of InPlaceEditBehavior (included in the 
quickstart), the editor works fine in the main page, but not in the 
modal window.


Kind regards,
Dirk.


2014-04-15 18:52 GMT+02:00 Andrea Del Bene an.delb...@gmail.com 
mailto:an.delb...@gmail.com:


No, it's not a known issue. I will try to investigate it in during
the very next days.

Hello,

The editor is now working fine in a normal page. But I also
need the editor
to work inside a modal window. In that case, the editor opens
and seems to
work fine, until I hit the save button. The save button does
nothing, the
editor stays open. Is this a known issue?
I'm currently working with version 6.14 of Wicket and
Wicketstuff. The
earlier mentioned fix is also applied.

Kind regards,
Dirk.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
mailto:users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
mailto:users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello,

Switching back to version 6.9.0 doesn't make a change. If I click the
cancel button in the editor, it closes, but when I reopen it again, nothing
works anymore.
In what version should it be fixed? Is there a new JIRA issue?

Kind regards,
Dirk.


Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Martin Grigorov
https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a

this is the fix

Martin Grigorov
Wicket Training and Consulting


On Tue, Apr 15, 2014 at 11:00 AM, Dirk Germonpré
dirk.germon...@gmail.comwrote:

 Hello,

 Switching back to version 6.9.0 doesn't make a change. If I click the
 cancel button in the editor, it closes, but when I reopen it again, nothing
 works anymore.
 In what version should it be fixed? Is there a new JIRA issue?

 Kind regards,
 Dirk.



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Great! It does the trick. Thanks a lot!

Kind regards,
Dirk.


2014-04-15 10:03 GMT+02:00 Martin Grigorov mgrigo...@apache.org:


 https://github.com/wicketstuff/core/commit/9fa1c25c113800ef9c55cdc4afbaacc3d6e3256a

 this is the fix

 Martin Grigorov
 Wicket Training and Consulting


 On Tue, Apr 15, 2014 at 11:00 AM, Dirk Germonpré
 dirk.germon...@gmail.comwrote:

  Hello,
 
  Switching back to version 6.9.0 doesn't make a change. If I click the
  cancel button in the editor, it closes, but when I reopen it again,
 nothing
  works anymore.
  In what version should it be fixed? Is there a new JIRA issue?
 
  Kind regards,
  Dirk.
 



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Dirk Germonpré
Hello,

The editor is now working fine in a normal page. But I also need the editor
to work inside a modal window. In that case, the editor opens and seems to
work fine, until I hit the save button. The save button does nothing, the
editor stays open. Is this a known issue?
I'm currently working with version 6.14 of Wicket and Wicketstuff. The
earlier mentioned fix is also applied.

Kind regards,
Dirk.


Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-15 Thread Andrea Del Bene
No, it's not a known issue. I will try to investigate it in during the 
very next days.

Hello,

The editor is now working fine in a normal page. But I also need the editor
to work inside a modal window. In that case, the editor opens and seems to
work fine, until I hit the save button. The save button does nothing, the
editor stays open. Is this a known issue?
I'm currently working with version 6.14 of Wicket and Wicketstuff. The
earlier mentioned fix is also applied.

Kind regards,
Dirk.




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Dirk Germonpré
Hello,

I'm working on a large web application. Parts of the application are still
running on Wicket 1.4, but I'm in the process of migrating them to Wicket
6. We used the wicket.contrib.tinymce.InPlaceEditComponent for inline
editing of large texts. This worked fine on Wicket 1.4, but there seem to
be some problems on Wicket 6.14.
I now have to double-click on a text label before it is turned into a
TinyMCE editor. On Wicket 1.4 a single click was enough.
I can work with the editor but once a click on the cancel button, things go
wrong. I can open the editor again by double-clicking the text, but in the
editor, nothing works anymore.

Is anyone using the TinyMCE editor on Wicket 6?

Kind regards,
Dirk Germonpré.


Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Martin Grigorov
Hi,

Do you use wicketstuff-tinymce 6.14 as well ?

http://central.maven.org/maven2/org/wicketstuff/wicketstuff-tinymce/6.14.0/

Martin Grigorov
Wicket Training and Consulting


On Mon, Apr 14, 2014 at 5:54 PM, Dirk Germonpré dirk.germon...@gmail.comwrote:

 Hello,

 I'm working on a large web application. Parts of the application are still
 running on Wicket 1.4, but I'm in the process of migrating them to Wicket
 6. We used the wicket.contrib.tinymce.InPlaceEditComponent for inline
 editing of large texts. This worked fine on Wicket 1.4, but there seem to
 be some problems on Wicket 6.14.
 I now have to double-click on a text label before it is turned into a
 TinyMCE editor. On Wicket 1.4 a single click was enough.
 I can work with the editor but once a click on the cancel button, things go
 wrong. I can open the editor again by double-clicking the text, but in the
 editor, nothing works anymore.

 Is anyone using the TinyMCE editor on Wicket 6?

 Kind regards,
 Dirk Germonpré.



Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Dirk Germonpré
Yes, I'm using version 6.14 of wicketstuff-tinymce.

Dirk.


2014-04-14 16:59 GMT+02:00 Martin Grigorov mgrigo...@apache.org:

 Hi,

 Do you use wicketstuff-tinymce 6.14 as well ?

 http://central.maven.org/maven2/org/wicketstuff/wicketstuff-tinymce/6.14.0/

 Martin Grigorov
 Wicket Training and Consulting


 On Mon, Apr 14, 2014 at 5:54 PM, Dirk Germonpré dirk.germon...@gmail.com
 wrote:

  Hello,
 
  I'm working on a large web application. Parts of the application are
 still
  running on Wicket 1.4, but I'm in the process of migrating them to Wicket
  6. We used the wicket.contrib.tinymce.InPlaceEditComponent for inline
  editing of large texts. This worked fine on Wicket 1.4, but there seem to
  be some problems on Wicket 6.14.
  I now have to double-click on a text label before it is turned into a
  TinyMCE editor. On Wicket 1.4 a single click was enough.
  I can work with the editor but once a click on the cancel button, things
 go
  wrong. I can open the editor again by double-clicking the text, but in
 the
  editor, nothing works anymore.
 
  Is anyone using the TinyMCE editor on Wicket 6?
 
  Kind regards,
  Dirk Germonpré.
 




-- 
Dirk Germonpré
adres: Zuiderboomgaard 9, 8310 Assebroek
email: dirk.germon...@gmail.com
vaste telefoon: 050/300500
gsm: 0485/915617


Re: TinyMCE InPlaceEditComponent on Wicket 6

2014-04-14 Thread Andrea Del Bene
It's a problem introduced with the workaround at 
https://issues.apache.org/jira/browse/WICKET-5248 and never removed. If 
you try working with version  6.9.0 (both Wicket and WicketStuff) you 
shouldn't have this problem. I'm committing a fix.

Yes, I'm using version 6.14 of wicketstuff-tinymce.

Dirk.


2014-04-14 16:59 GMT+02:00 Martin Grigorov mgrigo...@apache.org:


Hi,

Do you use wicketstuff-tinymce 6.14 as well ?

http://central.maven.org/maven2/org/wicketstuff/wicketstuff-tinymce/6.14.0/

Martin Grigorov
Wicket Training and Consulting


On Mon, Apr 14, 2014 at 5:54 PM, Dirk Germonpré dirk.germon...@gmail.com

wrote:
Hello,

I'm working on a large web application. Parts of the application are

still

running on Wicket 1.4, but I'm in the process of migrating them to Wicket
6. We used the wicket.contrib.tinymce.InPlaceEditComponent for inline
editing of large texts. This worked fine on Wicket 1.4, but there seem to
be some problems on Wicket 6.14.
I now have to double-click on a text label before it is turned into a
TinyMCE editor. On Wicket 1.4 a single click was enough.
I can work with the editor but once a click on the cancel button, things

go

wrong. I can open the editor again by double-clicking the text, but in

the

editor, nothing works anymore.

Is anyone using the TinyMCE editor on Wicket 6?

Kind regards,
Dirk Germonpré.







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



ImageUploadPlugin of TinyMCE icon and resource problem

2014-03-24 Thread Sandor Feher
Hi Guys,

I experienced the same problem in 6.0 and above that has been solved in
6.0-SNAPSHOT.
My second problem is how to reach the uploaded image from another page than
it has been uploaded. 
(I upload a pic into my content editor, save it and would like to display my
article at another page. But because of editor's page name and the url
ImageUploadPlugin generates it can't be displayed other than the editor
itself).

A filed an  issue https://github.com/wicketstuff/core/issues/295   too.

TIA., Sandor

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ImageUploadPlugin-of-TinyMCE-icon-and-resource-problem-tp4665097.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread jchappelle
The original issue is pretty old but tinymce in a modal window worked in 1.5
and it is not working in 6.13.0. I guess I'm going to have to redesign my
pages to not use the tinymce in a modal window.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664309.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Girts Ziemelis
I had similar problem and at the end it was easier to switch to 
ckeditor, which work fine in a modal window (so far tested only in 
development). There is no integration package for wicket AFAIK, but 
simple custom  integration for a specific use case is  simple.


On 02/07/2014 05:45 PM, jchappelle wrote:

The original issue is pretty old but tinymce in a modal window worked in 1.5
and it is not working in 6.13.0. I guess I'm going to have to redesign my
pages to not use the tinymce in a modal window.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664309.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Gabriel Landon
I remember having the same problem on a project I've done last year.

Here's the code I'm using (I think that it's the TinyMceAjaxSubmitModifier
that is important) :

final TextAreaString textArea = new
TextAreaString(property, getModel());
textArea.add(new TinyMceBehavior(getTinyMCESettings()));
add(textArea);

// submit
add(new IndicatingAjaxButton(submit) {
/** serialVersionUID. */
private static final long serialVersionUID = 1L;

@Override
protected void onSubmit(final AjaxRequestTarget varTarget,
final Form? varForm) {
  modale.close(varTarget);
}

@Override
protected void onError(final AjaxRequestTarget varTarget,
final Form? varForm) {
varTarget.add(varForm);
}
}.add(new TinyMceAjaxSubmitModifier()));

Regards,
Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664314.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-02-06 Thread Andrea Del Bene
Hi,

as the original issue is pretty old, I think nothing has done about it
lately. I will open an issue with the quickstart project and try to
solve it when I will have some time.
 I am having this same issue in wicket 6.13.0. Any fixes as of yet?

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-02-05 Thread jchappelle
I am having this same issue in wicket 6.13.0. Any fixes as of yet?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4664214.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-01-23 Thread fachhoch
I created a quick start  project,   first time tinymce editor shows up fine, 
second time cannot type into editor. myproject.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4663912/myproject.zip  
Please advice.  should I create a bug report for this.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663912.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
Sorry for replying to this very old thread , I am having a similar issue,
before modalwindow.show I am constructing  new instance of my panel call
setContent  , so every time modalwindow.show is called it displays a new
instance of my panel,  can you please give me the script which  should be
appended to target for tinymce to work


this script is not complete.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663884.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: tinymce textarea in a modal window not letting to type

2014-01-22 Thread fachhoch
here is my code trying   with tinymce and modalwindow





wicket  and tinymce 6.12.0



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/tinymce-textarea-in-a-modal-window-not-letting-to-type-tp1886534p4663886.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-08 Thread Sven Meier

Hi,

tinymce loads some Javascript files dynamically, e.g. editor_template.js.

wicketstuff-tinymce uses a custom request mapper with some magic to 
serve these files, see TinyMceRequestMapper.KNOWN_SEGMENTS.


This won't work with the hashed paths created by CryptoMapper.

Regards
Sven

On 01/07/2014 08:17 PM, jchappelle wrote:

Sorry I thought I posted it.

Another thing I'll mention is when I turn on request logging I see these two
lines logged out in the console when the problem occurs. It looks like the
last couple of segments aren't being encrypted.

http://localhost:8080/L7ExSNbPC4sb6TPJDblCAkN0baRJxw3qBR0wyJEtP3uLmhnUUFEbeu7SFNM9wrlMrHBtoodlQMAPr5CCP9g2aproPDfvon2O/L7E59/TPJfd//langs/en.js
http://localhost:8080/L7ExSNbPC4sb6TPJDblCAkN0baRJxw3qBR0wyJEtP3uLmhnUUFEbeu7SFNM9wrlMrHBtoodlQMAPr5CCP9g2aproPDfvon2O/L7E59/TPJfd//themes/simple/editor_template.js

Here is the quickstart
tinymce-crypto-quickstart.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4663520/tinymce-crypto-quickstart.zip

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663520.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-08 Thread jchappelle
I have found a work around but this seems to be a bug in the
wicketstuff-tinymce project. I looked in the
wicket.contrib.tinymce.TinyMceInitializer class and the first line of the
init method had this:
application.getRootRequestMapperAsCompound().add(new
TinyMceRequestMapper());

The change I made is in my Application.init. I added the above line after
registering my CryptoMapper. So the last two lines of my Application.init
look like this:

setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), 
this));
getRootRequestMapperAsCompound().add(new 
TinyMceRequestMapper());

I'm not sure how to post a bug to the tinymce project but this seems like
something they would want to fix. Hopefully others that have this issue will
find this post useful.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663556.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
I have a quickstart now. The setResponsePage(new TinyMcePage()) seems to
cause the issue. On the HomePage I have a tinymce and it displays fine.
However if you click a link that does the setResponsePage and transition to
a new page it does not display.

Any ideas?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663518.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread Sven Meier

Where's the quickstart?

Sven

On 01/07/2014 07:28 PM, jchappelle wrote:

I have a quickstart now. The setResponsePage(new TinyMcePage()) seems to
cause the issue. On the HomePage I have a tinymce and it displays fine.
However if you click a link that does the setResponsePage and transition to
a new page it does not display.

Any ideas?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663518.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-07 Thread jchappelle
Sorry I thought I posted it. 

Another thing I'll mention is when I turn on request logging I see these two
lines logged out in the console when the problem occurs. It looks like the
last couple of segments aren't being encrypted.

http://localhost:8080/L7ExSNbPC4sb6TPJDblCAkN0baRJxw3qBR0wyJEtP3uLmhnUUFEbeu7SFNM9wrlMrHBtoodlQMAPr5CCP9g2aproPDfvon2O/L7E59/TPJfd//langs/en.js
http://localhost:8080/L7ExSNbPC4sb6TPJDblCAkN0baRJxw3qBR0wyJEtP3uLmhnUUFEbeu7SFNM9wrlMrHBtoodlQMAPr5CCP9g2aproPDfvon2O/L7E59/TPJfd//themes/simple/editor_template.js

Here is the quickstart
tinymce-crypto-quickstart.zip
http://apache-wicket.1842946.n4.nabble.com/file/n4663520/tinymce-crypto-quickstart.zip
  

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663520.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMce disappears with CryptoMapper

2014-01-06 Thread jchappelle
I have a weird problem in wicket 6.12.0 where the TinyMce component does not
display. It will in certain cases and in some of those cases a browser
refresh causes it to vanish. If I remove the CryptoMapper from my
Application.init method then it works fine. I tried creating a quickstart
but I was unable to recreate the problem. I am hoping someone can point me
in the right direction.

By the way I do not think this was just introduced in 6.12.0. I have tried
several versions and it is still there.

Everytime it does not appear I see this error in the log:

java.lang.IllegalArgumentException: Argument 'name' may not be null or
empty.
at org.apache.wicket.util.lang.Args.notEmpty(Args.java:64)
at
org.apache.wicket.core.request.mapper.AbstractComponentMapper.getPageClass(AbstractComponentMapper.java:137)
at
org.apache.wicket.core.request.mapper.BookmarkableMapper.parseRequest(BookmarkableMapper.java:118)
at
org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:288)
at
org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:152)
at
org.apache.wicket.core.request.mapper.CryptoMapper.mapRequest(CryptoMapper.java:127)
at
org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:190)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:215)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
at
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:152)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:349)
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:904)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:565)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Thread.java:724)


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread Andrea Del Bene

Hi,

are you using the TinyMCE module from WicketStuff?

I have a weird problem in wicket 6.12.0 where the TinyMce component does not
display. It will in certain cases and in some of those cases a browser
refresh causes it to vanish. If I remove the CryptoMapper from my
Application.init method then it works fine. I tried creating a quickstart
but I was unable to recreate the problem. I am hoping someone can point me
in the right direction.

By the way I do not think this was just introduced in 6.12.0. I have tried
several versions and it is still there.

Everytime it does not appear I see this error in the log:

java.lang.IllegalArgumentException: Argument 'name' may not be null or
empty.
at org.apache.wicket.util.lang.Args.notEmpty(Args.java:64)
at
org.apache.wicket.core.request.mapper.AbstractComponentMapper.getPageClass(AbstractComponentMapper.java:137)
at
org.apache.wicket.core.request.mapper.BookmarkableMapper.parseRequest(BookmarkableMapper.java:118)
at
org.apache.wicket.core.request.mapper.AbstractBookmarkableMapper.mapRequest(AbstractBookmarkableMapper.java:288)
at
org.apache.wicket.request.mapper.CompoundRequestMapper.mapRequest(CompoundRequestMapper.java:152)
at
org.apache.wicket.core.request.mapper.CryptoMapper.mapRequest(CryptoMapper.java:127)
at
org.apache.wicket.request.cycle.RequestCycle.resolveRequestHandler(RequestCycle.java:190)
at
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:215)
at
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:289)
at
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:259)
at
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:201)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:282)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
at
org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:152)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
at org.eclipse.jetty.server.Server.handle(Server.java:349)
at
org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
at
org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:904)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:565)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:217)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
at java.lang.Thread.run(Thread.java:724)


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMce disappears with CryptoMapper

2014-01-06 Thread jchappelle
Yes. It is version 6.12.0 also.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMce-disappears-with-CryptoMapper-tp4663499p4663504.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE Twitter Bootstrap Toggle

2013-07-24 Thread Alec Swan
I noticed that TinyMce plugin in WicketStuff 1.5.9.1 packages an old
version of TinyMce. Does anybody know what is the latest TinyMce Wicket
plugin release compatible with Wicket 1.5.9?

Thanks,

Alec


On Tue, Jul 23, 2013 at 2:13 PM, Alec Swan alecs...@gmail.com wrote:

 I am on Wicket 1.5.9 using WicketStuff 1.5.9.1.

 I ended up overriding TinyMceBehavior#beforeRender in order to inject
 class=collapse on the TinyMCE wrapper DIV. Can you think of a cleaner
 solution?

 @Override
 public void beforeRender(Component component)
 {
 // see super#beforeRender(Component)
 component.getResponse().write(String.format(div
 id=\%s\ class=\collapse\, getAjaxRegionMarkupId(component))); //
 collapse html editor by default
 }

 Thanks,

 Alec


 On Tue, Jul 23, 2013 at 9:52 AM, Andrea Del Bene an.delb...@gmail.comwrote:

 Which version of Wicket/WicketStuff are you using?
  Andrea, thank you for a good pointer. The thing I am struggling with is
  adding class=collapse to the xxx_wrapper_component which seems to be
  created by TinyMCE JavaScript after my Wicket code can add
  AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
  ').css('class', 'collapse');.
 
  It seems like the class gets set by right after that is erased by
 TinyMCE.
 
  Any ideas how I can run my code that sets CSS class of mce wrapper div
  after tinyMce.init()?
 
  Thanks,
 
  Alec
 
 
  On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene an.delb...@gmail.com
 wrote:
 
  Hi,
 
  you can have a look at InPlaceEditComponent which is used in the
 example
  page InlineTinyMCEPage (see code at
 
 
 https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java
  )
  Hello,
 
  I have a bootstrap toggle button which the user can use to open and
 close
  TinyMCE editor. When the page is rendered I would like the TinyMCE
 editor
  to be closed and when user clicks on the toggle button - open.
 
  Note that twitter bootstrap button needs to know
  TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
  toggle-target='xxx' attribute to toggle it.
 
  Is there a way to configure TinyMceBehavior to render hidden by
 default?
  Any other ideas on how I can get this solved?
 
  Thanks,
 
  Alec
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





Re: TinyMCE Twitter Bootstrap Toggle

2013-07-24 Thread Andrea Del Bene
ver 1.5.9.1 is the latest one. Look here: 
http://mvnrepository.com/artifact/org.wicketstuff/wicketstuff-tinymce

I noticed that TinyMce plugin in WicketStuff 1.5.9.1 packages an old
version of TinyMce. Does anybody know what is the latest TinyMce Wicket
plugin release compatible with Wicket 1.5.9?

Thanks,

Alec


On Tue, Jul 23, 2013 at 2:13 PM, Alec Swan alecs...@gmail.com wrote:


I am on Wicket 1.5.9 using WicketStuff 1.5.9.1.

I ended up overriding TinyMceBehavior#beforeRender in order to inject
class=collapse on the TinyMCE wrapper DIV. Can you think of a cleaner
solution?

@Override
 public void beforeRender(Component component)
 {
 // see super#beforeRender(Component)
 component.getResponse().write(String.format(div
id=\%s\ class=\collapse\, getAjaxRegionMarkupId(component))); //
collapse html editor by default
 }

Thanks,

Alec


On Tue, Jul 23, 2013 at 9:52 AM, Andrea Del Bene an.delb...@gmail.comwrote:


Which version of Wicket/WicketStuff are you using?

Andrea, thank you for a good pointer. The thing I am struggling with is
adding class=collapse to the xxx_wrapper_component which seems to be
created by TinyMCE JavaScript after my Wicket code can add
AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
').css('class', 'collapse');.

It seems like the class gets set by right after that is erased by

TinyMCE.

Any ideas how I can run my code that sets CSS class of mce wrapper div
after tinyMce.init()?

Thanks,

Alec


On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene an.delb...@gmail.com
wrote:


Hi,

you can have a look at InPlaceEditComponent which is used in the

example

page InlineTinyMCEPage (see code at



https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java

)

Hello,

I have a bootstrap toggle button which the user can use to open and

close

TinyMCE editor. When the page is rendered I would like the TinyMCE

editor

to be closed and when user clicks on the toggle button - open.

Note that twitter bootstrap button needs to know
TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
toggle-target='xxx' attribute to toggle it.

Is there a way to configure TinyMceBehavior to render hidden by

default?

Any other ideas on how I can get this solved?

Thanks,

Alec


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE Twitter Bootstrap Toggle

2013-07-23 Thread Andrea Del Bene
Which version of Wicket/WicketStuff are you using?
 Andrea, thank you for a good pointer. The thing I am struggling with is
 adding class=collapse to the xxx_wrapper_component which seems to be
 created by TinyMCE JavaScript after my Wicket code can add
 AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
 ').css('class', 'collapse');.

 It seems like the class gets set by right after that is erased by TinyMCE.

 Any ideas how I can run my code that sets CSS class of mce wrapper div
 after tinyMce.init()?

 Thanks,

 Alec


 On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene an.delb...@gmail.comwrote:

 Hi,

 you can have a look at InPlaceEditComponent which is used in the example
 page InlineTinyMCEPage (see code at

 https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java
 )
 Hello,

 I have a bootstrap toggle button which the user can use to open and close
 TinyMCE editor. When the page is rendered I would like the TinyMCE editor
 to be closed and when user clicks on the toggle button - open.

 Note that twitter bootstrap button needs to know
 TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
 toggle-target='xxx' attribute to toggle it.

 Is there a way to configure TinyMceBehavior to render hidden by default?
 Any other ideas on how I can get this solved?

 Thanks,

 Alec


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE Twitter Bootstrap Toggle

2013-07-23 Thread Alec Swan
I am on Wicket 1.5.9 using WicketStuff 1.5.9.1.

I ended up overriding TinyMceBehavior#beforeRender in order to inject
class=collapse on the TinyMCE wrapper DIV. Can you think of a cleaner
solution?

@Override
public void beforeRender(Component component)
{
// see super#beforeRender(Component)
component.getResponse().write(String.format(div id=\%s\
class=\collapse\, getAjaxRegionMarkupId(component))); // collapse html
editor by default
}

Thanks,

Alec


On Tue, Jul 23, 2013 at 9:52 AM, Andrea Del Bene an.delb...@gmail.comwrote:

 Which version of Wicket/WicketStuff are you using?
  Andrea, thank you for a good pointer. The thing I am struggling with is
  adding class=collapse to the xxx_wrapper_component which seems to be
  created by TinyMCE JavaScript after my Wicket code can add
  AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
  ').css('class', 'collapse');.
 
  It seems like the class gets set by right after that is erased by
 TinyMCE.
 
  Any ideas how I can run my code that sets CSS class of mce wrapper div
  after tinyMce.init()?
 
  Thanks,
 
  Alec
 
 
  On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene an.delb...@gmail.com
 wrote:
 
  Hi,
 
  you can have a look at InPlaceEditComponent which is used in the example
  page InlineTinyMCEPage (see code at
 
 
 https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java
  )
  Hello,
 
  I have a bootstrap toggle button which the user can use to open and
 close
  TinyMCE editor. When the page is rendered I would like the TinyMCE
 editor
  to be closed and when user clicks on the toggle button - open.
 
  Note that twitter bootstrap button needs to know
  TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
  toggle-target='xxx' attribute to toggle it.
 
  Is there a way to configure TinyMceBehavior to render hidden by
 default?
  Any other ideas on how I can get this solved?
 
  Thanks,
 
  Alec
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Andrea Del Bene
Hi,

you can have a look at InPlaceEditComponent which is used in the example
page InlineTinyMCEPage (see code at
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java)
 Hello,

 I have a bootstrap toggle button which the user can use to open and close
 TinyMCE editor. When the page is rendered I would like the TinyMCE editor
 to be closed and when user clicks on the toggle button - open.

 Note that twitter bootstrap button needs to know
 TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
 toggle-target='xxx' attribute to toggle it.

 Is there a way to configure TinyMceBehavior to render hidden by default?
 Any other ideas on how I can get this solved?

 Thanks,

 Alec



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE Twitter Bootstrap Toggle

2013-07-22 Thread Alec Swan
Andrea, thank you for a good pointer. The thing I am struggling with is
adding class=collapse to the xxx_wrapper_component which seems to be
created by TinyMCE JavaScript after my Wicket code can add
AttributeModifier or even invoke $('# + getAjaxRegionMarkupId() +
').css('class', 'collapse');.

It seems like the class gets set by right after that is erased by TinyMCE.

Any ideas how I can run my code that sets CSS class of mce wrapper div
after tinyMce.init()?

Thanks,

Alec


On Mon, Jul 22, 2013 at 1:30 AM, Andrea Del Bene an.delb...@gmail.comwrote:

 Hi,

 you can have a look at InPlaceEditComponent which is used in the example
 page InlineTinyMCEPage (see code at

 https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/tinymce-parent/tinymce-examples/src/main/java/wicket/contrib/examples/tinymce/InlineTinyMCEPage.java
 )
  Hello,
 
  I have a bootstrap toggle button which the user can use to open and close
  TinyMCE editor. When the page is rendered I would like the TinyMCE editor
  to be closed and when user clicks on the toggle button - open.
 
  Note that twitter bootstrap button needs to know
  TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
  toggle-target='xxx' attribute to toggle it.
 
  Is there a way to configure TinyMceBehavior to render hidden by default?
  Any other ideas on how I can get this solved?
 
  Thanks,
 
  Alec
 


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




TinyMCE Twitter Bootstrap Toggle

2013-07-21 Thread Alec Swan
Hello,

I have a bootstrap toggle button which the user can use to open and close
TinyMCE editor. When the page is rendered I would like the TinyMCE editor
to be closed and when user clicks on the toggle button - open.

Note that twitter bootstrap button needs to know
TinyMCE#getAjaxRegionMarkupId(area) in order to use it in
toggle-target='xxx' attribute to toggle it.

Is there a way to configure TinyMceBehavior to render hidden by default?
Any other ideas on how I can get this solved?

Thanks,

Alec


custom button in tinymce

2013-05-07 Thread fachhoch
I am using wicket tinymce .I want to  add a  custom button to tinymce which I
can do using tinymce init script , i also want to  know if user clicked on
this button when the form is submitted  at the server side any suggestion on
how to ?




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/custom-button-in-tinymce-tp4658630.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



idle timeout javascript when page has a modal window or tinymce editor

2013-03-05 Thread fachhoch
I am using jquery plugin to detect idle time or inactivity and signout the
user , the plugin I use works fine, but the problem is with iframes, I have
lot of modal windows and tinymce editor in my pages and when user   is 
either   typing in  tinymce editor or clicking   on a modal window whihc
uses pages  then the timer is not  reset  and  even tough user is
p[erforming activity this plugin does not detect and times out, please
advice   how to handle timeout when I have tinymce editor orwicket modal
window.




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/idle-timeout-javascript-when-page-has-a-modal-window-or-tinymce-editor-tp4656987.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: idle timeout javascript when page has a modal window or tinymce editor

2013-03-05 Thread Ernesto Reinaldo Barreiro
Search the list: this has been asked and answered before.

On Tue, Mar 5, 2013 at 2:19 PM, fachhoch fachh...@gmail.com wrote:

 I am using jquery plugin to detect idle time or inactivity and signout the
 user , the plugin I use works fine, but the problem is with iframes, I have
 lot of modal windows and tinymce editor in my pages and when user   is
 either   typing in  tinymce editor or clicking   on a modal window whihc
 uses pages  then the timer is not  reset  and  even tough user is
 p[erforming activity this plugin does not detect and times out, please
 advice   how to handle timeout when I have tinymce editor orwicket modal
 window.




 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/idle-timeout-javascript-when-page-has-a-modal-window-or-tinymce-editor-tp4656987.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ http://antiliasoft.com/antilia


Re: TinyMCE.

2013-02-24 Thread Andrea Del Bene

The code should be

contentTextArea.add(new TinyMceBehavior(new
TinyMCESettings(TinyMCESettings.Theme.advanced)));

If you still get an error can you show your pom.xml file?

Yes, fails to execute.

code:

TextArea contentTextArea = new TextArea(content);
contentTextArea.add(new TinyMceBehavior(new
TinyMCESettings(Theme.advanced)));
form.add(contentTextArea);




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656722.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE.

2013-02-22 Thread anton

I use wicket 1.4.19.

dependency
groupIdorg.wicketstuff/groupId
artifactIdtinymce/artifactId
version1.4.19/version
/dependency

also gives me the same error with visural wicket.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656682.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE.

2013-02-22 Thread Andrea Del Bene
Do you get the error running your project from Maven? I've built a 
quickstart project with Wicket 1.4.19 and TinyMCE but it works fine.

I use wicket 1.4.19.

dependency
groupIdorg.wicketstuff/groupId
artifactIdtinymce/artifactId
version1.4.19/version
/dependency

also gives me the same error with visural wicket.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-tp4656649p4656682.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE.

2013-02-21 Thread Andrea Del Bene
It seems that your application is missing the jar TinyMCE integration. 
You can find it at 
http://mvnrepository.com/artifact/org.wicketstuff/wicketstuff-tinymce/6.5.0

HI.
when i execute my page with a textArea(with 
TinyMCE).java.lang.NoClassDefFoundError: wicket/contrib/tinymce/TinyMceBehavior
Thanls  



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE ImageUploadPlugin problem

2012-12-18 Thread Andrea Del Bene
A patch for the things you've pointed out in the previous mail has been 
merged into the wicketstuff repository: 
https://github.com/wicketstuff/core/pull/179. They should be available 
in the next release.

If I would have some time I would upgrade wicket to 6.x series and test it
with 6.0.
Until I appreciate any comments :).

thnx, Sandor



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616p4654713.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





--
Andrea Del Bene

Abaco Informatica S.r.l.

Via Montegrappa, 3

61121 Pesaro (IT)

Tel. +39 0721 35425  Fax. +39 0721 32967

P.IVA 00933130411

Associato AssoProvider

CISCO Systems Partner PREMIER Certified

ABANET is associated to RIPE (AS 12468)

Http://www.abanet.it

 


Questa é una email privata ad uso confidenziale; é proibito ogni uso non 
autorizzato.

This message is confidential; any unauthorised use is forbidden.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE ImageUploadPlugin problem

2012-12-11 Thread Sandor Feher
If I would have some time I would upgrade wicket to 6.x series and test it
with 6.0.
Until I appreciate any comments :).

thnx, Sandor



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616p4654713.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE ImageUploadPlugin problem

2012-12-10 Thread Andrea Del Bene
I think that the missing button is a bug while uploaded images are 
placed into temp dir. I don't know if there is a way to configure this path.

Hi,

I have a form with a textarea TinyMceBehavior attached. I would like to
provide users to upload and include images in their articles. I did the
following method:

ImageUploadPanel imageUploadPanel = new ImageUploadPanel(uploadPanel);
TinyMCeAdvancedSettings settings = new TinyMCeAdvancedSettings();
ImageUploadPlugin plugin = new
ImageUploadPlugin(imageUploadPanel.getImageUploadBehavior());
settings.add(plugin.getImageUploadButton(),
TinyMCESettings.Toolbar.first,TinyMCESettings.Position.after);
add(imageUploadPanel);
article.add(new TinyMceBehavior(settings));

The result is that upload button's icon is missing but the upload function
works. I can upload files but have two problems.
First is I'm not able to control where to put uploaded files (Not even know
where are they now. I suppose somewhere tmp dir). The second one is that
after upload img inserted in the article  the following  way:

If anyone could point to what I'm wrong I really would appreciate that!

thnx, Sandor





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMCE ImageUploadPlugin problem

2012-12-08 Thread Sandor Feher
Hi,

I have a form with a textarea TinyMceBehavior attached. I would like to
provide users to upload and include images in their articles. I did the
following method:

ImageUploadPanel imageUploadPanel = new ImageUploadPanel(uploadPanel);
TinyMCeAdvancedSettings settings = new TinyMCeAdvancedSettings();
ImageUploadPlugin plugin = new
ImageUploadPlugin(imageUploadPanel.getImageUploadBehavior());
settings.add(plugin.getImageUploadButton(),
TinyMCESettings.Toolbar.first,TinyMCESettings.Position.after);
add(imageUploadPanel);
article.add(new TinyMceBehavior(settings));

The result is that upload button's icon is missing but the upload function
works. I can upload files but have two problems.
First is I'm not able to control where to put uploaded files (Not even know
where are they now. I suppose somewhere tmp dir). The second one is that
after upload img inserted in the article  the following  way:

If anyone could point to what I'm wrong I really would appreciate that!

thnx, Sandor





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-ImageUploadPlugin-problem-tp4654616.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to disable TinyMCE confirm dialog in Wicket?

2012-03-20 Thread Martin Grigorov
Hi,

There is no default way how to do that in Wicket.
See how I did it for ModalWindow component (Wicket 6.0 only) at
http://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=5a6cec68f3a84b5cdef530e6d69811dd0c77e65e

On Tue, Mar 20, 2012 at 12:37 AM, Ilkemdk xiao1986.w...@gmail.com wrote:
 The question is like this:
 http://stackoverflow.com/questions/5705671/how-to-disable-tinymce-confirm-dialog
 The confirmation is different for different browsers. For FF, it is This
 page is asking you to confirm that you want to leave - data you have entered
 may not be saved Leave Page - Stay on Page

 window.onbeforeunload = function() {}; Seems can work with Javascript, but
 how we do it in wicket?
 Thank you!

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4486793.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to disable TinyMCE confirm dialog in Wicket?

2012-03-20 Thread Ilkemdk
Thank you for help.
I will test it later~

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4489099.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How to disable TinyMCE confirm dialog in Wicket?

2012-03-19 Thread Ilkemdk
The question is like this:
http://stackoverflow.com/questions/5705671/how-to-disable-tinymce-confirm-dialog
The confirmation is different for different browsers. For FF, it is This
page is asking you to confirm that you want to leave - data you have entered
may not be saved Leave Page - Stay on Page

window.onbeforeunload = function() {}; Seems can work with Javascript, but
how we do it in wicket?
Thank you! 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-disable-TinyMCE-confirm-dialog-in-Wicket-tp4486793p4486793.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wicketstuff-tinymce not working in deployment mode

2012-02-10 Thread Gabriel Landon
On my latest project, I'm using wicketstuff-tinymce 1.5.4.

It works fine when I'm in development mode, but when I switch to deployment,
all the icons and images are gone.

I've found that it as something to do with the JavaScript compressor which
is disable in development mode and enable in deployment mode :

getResourceSettings().setJavaScriptCompressor(null); //development
getResourceSettings().setJavaScriptCompressor(new
DefaultJavaScriptCompressor()); //deployment

What I don't manage to find is if the problem comes from the compressor or
tinymce script...

Here's a quickstart :
http://apache-wicket.1842946.n4.nabble.com/file/n4377928/tinymce.zip
tinymce.zip 
To start it in development : mvn jetty:run
To start it in deployment : mvn jetty:run -Dwicket.configuration=deployment

Here's a screenshot in deployment mode (the images are missing) :
http://apache-wicket.1842946.n4.nabble.com/file/n4377928/broken_tinymce_deployment.png
broken_tinymce_deployment.png 

We I try to load the image directly through the URL
http://localhost:8080/tinymce/wicket/contrib/tinymce/tiny_mce/themes/advanced/img/icons.gif
I've got the following message : 
The image  cannot be displayed because it contains errors.

Is anyone facing the same problem?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-not-working-in-deployment-mode-tp4377928p4377928.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE and textarea : validation problem

2011-12-29 Thread ricmancio
I solved it.
I added TinyMceAjaxSubmitModifier class to my AjaxButton:

fc  = new AjaxButton(button,form){

.

};

fc.add(new TinyMceAjaxSubmitModifier());
form.add(fc);

*In conclusion:*

I added *TinyMceBehavior *to my textarea field

and

I added *TinyMceAjaxSubmitModifier *to my AjaxButton field

thanks



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4242178.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMCE and textarea : validation problem

2011-12-28 Thread ricmancio
I have a panel where I have a form,feedback and  textarea field done so:

//*add feedback panel*

final FeedbackPanel feedback = new FeedbackPanel(feedback);
feedback.setOutputMarkupId(true);
add(feedback);

//*add form*

Form form = new Form(form, 
new CompoundPropertyModel(segnif));

//*add component*

FormComponent   fc;

fc = new TextArea(text,new PropertyModel(form,text));
fc.setRequired(true);

*the field is required*

*if I add TinyMce so:*

I imports wicket.contrib.tinymce.TinyMceBehavior and modify the code:


fc = new TextArea(text,new PropertyModel(form,text));
fc.add(new TinyMceBehavior());
fc.setRequired(true);

then I write on textarea field but on the feedback is written that field is
required,
as if I had not written anything

Validation does not work, when introduce TinyMce, Why?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4240317.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE and textarea : validation problem

2011-12-28 Thread Michal Letynski
How your submit button looks like ? You need to copy value from tiny to 
textarea.


tinyMCE.triggerSave(true,true);

Look at the TinyMceAjaxButton and TinyMceAjaxSubmitModifier.

Regards,
Michal

W dniu 2011-12-28 20:20, ricmancio pisze:

I have a panel where I have a form,feedback and  textarea field done so:

//*add feedback panel*

final FeedbackPanel feedback = new FeedbackPanel(feedback);
feedback.setOutputMarkupId(true);
add(feedback);

//*add form*

Form form = new Form(form,
new CompoundPropertyModel(segnif));

//*add component*

FormComponent   fc;

fc = new TextArea(text,new PropertyModel(form,text));
fc.setRequired(true);

*the field is required*

*if I add TinyMce so:*

I imports wicket.contrib.tinymce.TinyMceBehavior and modify the code:


fc = new TextArea(text,new PropertyModel(form,text));
fc.add(new TinyMceBehavior());
fc.setRequired(true);

then I write on textarea field but on the feedback is written that field is
required,
as if I had not written anything

Validation does not work, when introduce TinyMce, Why?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TinyMCE-and-textarea-validation-problem-tp4240317p4240317.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Problem with wicketstuff-tinymce-1.5.3 external plugins

2011-12-21 Thread dennisB
We are performing upgrade to wicketstuff-tinymce-1.5.3 and we have some
problems with external plugins.

this code in tiny_mce_src.js loadScripts() function that suppose to load our
plugin javaScript is never called:

function loadScripts() {
if (s.language  s.language_load !== false)
sl.add(tinymce.baseURL + '/langs/' + s.language + '.js');
if (s.theme  s.theme.charAt(0) != '-'  
!ThemeManager.urls[s.theme])
ThemeManager.load(s.theme, 'themes/' + s.theme + 
'/editor_template' +
tinymce.suffix + '.js');
  each(explode(s.plugins), function(p) {
if (p !PluginManager.urls[p]) {
  if (p.charAt(0) == '-') {
 p = p.substr(1, p.length);
 var dependencies = PluginManager.dependencies(p);

 each(dependencies, function(dep) {
*var defaultSettings = {prefix:'plugins/', 
resource: dep,
suffix:'/editor_plugin' + tinymce.suffix + '.js'};
var dep = 
PluginManager.createUrl(defaultSettings, dep);
PluginManager.load(dep.resource, dep);*

 });
 } else {
   // Skip safari plugin, since it is removed as of 3.3b1
  if (p == 'safari') {
 return;
 }
PluginManager.load(p, {prefix:'plugins/', resource: p,
suffix:'/editor_plugin' + tinymce.suffix + '.js'});
 }
   }
});

we don't have any dependencies on our plugin... do we need some?

Any help will be appreciated. 



 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicketstuff-tinymce-1-5-3-external-plugins-tp4222060p4222060.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Problem with wicketstuff-tinymce-1.5.3 external plugins

2011-12-21 Thread dennisB
We find the problem,the are no problem with wicketstuff-tinymce-1.5.3 the
problem was at our application.


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-wicketstuff-tinymce-1-5-3-external-plugins-tp4222060p4222840.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Latest version of TinyMCE

2011-10-21 Thread Vishal Popat
Hi all,

I am trying to get the latest version of TinyMCE... I have tried getting this 
from Maven like so:

dependency
groupIdorg.wicketstuff/groupId
artifactIdtinymce/artifactId
version1.4.18/version
/dependency

When looking at the version of TinyMCE it says its version 3.3. This version is 
quite old- latest version on TinyMCE website is 3.4.6.
The reason I need the latest version is that I am having major problems with 
IE9. Some Googling shows that it may be fixed in later versions.

I have seen jbrookover / core from GitHub which seems to have version 3.4.1. I 
am not sure whether this should be used and how to get it has a jar.

Any help would be appreciated.

Regards
Vishal
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket TinyMCE 1.4.18 fails

2011-10-07 Thread Leszek Gawron

with the message in JS console:

/app/resources/wicket.contrib.tinymce.InPlaceEditBehavior/tiny_mce/themes/advanced/editor_template_src.js:128
Uncaught TypeError: Cannot call method 'push' of undefined

and it didn't so for 1.4.17.

Could anybody confirm this?

lg
--
Leszek Gawronhttp://lgawron.posterous.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicketstuff tinymce 1.5

2011-09-15 Thread Sotil Bertanzetti, Matteo
Hello,

 

I'm migrating from wicket 1.4.18 to wicket 1.5.0, but I need
wicketstuff/tinymce dependency, and I think it is not migrated to 1.5
yet; is there some prevision to do it?, or where can I find it?.

 

My dependency:

 

dependency

groupIdorg.wicketstuff/groupId

artifactIdtinymce/artifactId

  version1.4.18/version

/dependency

 

Thank you,

 

Matteo Sotil

 



RE: Wicket - TinyMCE/FckEditor

2011-08-02 Thread Chris Colman
W dniu 2011-08-02 09:34, Josh Kamau pisze:
 Hi Michal,

 If you want a really nice and simple Rich Text Editor, take a look at
 visural-wicket project.


NicEdit is dead. Its not supported for long time.

Doh! I did noticed it has some quirks in it's operation.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket - TinyMCE/FckEditor

2011-08-02 Thread Steve Swinsburg
I created a Wicket FCKEditor component some time back. It takes care of 
rendering the javascripts and all the rest for you and you just instantiate it 
like:

add(new FCKTextArea(id));

If you would like this, drop me a line and I'll dig out the code.

cheers.
Steve


On 02/08/2011, at 3:53 PM, Chris Colman wrote:

 Unfortunately we're using some features of FckEditor that don't seem to
 be supported by Visural. The main one is the support of images and being
 able to specify an image provider that can provide the user with a
 list of images available to choose from. The developer can define
 virtually any implementation they want of the image provider.
 
 If that sort of thing were available today we'd really like to move to
 Visural.
 
 -Original Message-
 From: Josh Kamau [mailto:joshnet2...@gmail.com]
 Sent: Tuesday, 2 August 2011 3:34 PM
 To: users@wicket.apache.org
 Subject: Re: Wicket - TinyMCE/FckEditor
 
 Hi Michal,
 
 If you want a really nice and simple Rich Text Editor, take a look at
 visural-wicket project.
 
 Here is the link to the demos - http://wicket.visural.net/examples/app/
 
 regards.
 Josh.
 
 On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman
 chr...@stepaheadsoftware.comwrote:
 
 Are there any examples of Wicket integrated with FckEditor (the one
 before CkEditor)?
 
 -Original Message-
 From: Michal Letynski [mailto:m...@consol.ae]
 Sent: Tuesday, 2 August 2011 3:25 PM
 To: users@wicket.apache.org
 Subject: Re: Wicket - TinyMCE
 
 Hi.
 W dniu 2011-08-02 04:29, ramazan pekin pisze:
 Hi to everyone,
 
 I am looking for rich text editor and I found TinyMCE. But I
 couldnt
 find any document/example page how can I integrate wicket and
 TinyMCE
 explained detailed. Do you know is there any documentation or
 example
 about this subject?
 There are some examples for it:
 
 
 https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-
 parent/tinymce-examples
 
 Thanks, br.
 Ramazan
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Wicket - TinyMCE

2011-08-01 Thread ramazan pekin
Hi to everyone,

I am looking for rich text editor and I found TinyMCE. But I couldnt
find any document/example page how can I integrate wicket and TinyMCE
explained detailed. Do you know is there any documentation or example
about this subject?

Thanks, br.
Ramazan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket - TinyMCE

2011-08-01 Thread Michal Letynski

Hi.
W dniu 2011-08-02 04:29, ramazan pekin pisze:

Hi to everyone,

I am looking for rich text editor and I found TinyMCE. But I couldnt
find any document/example page how can I integrate wicket and TinyMCE
explained detailed. Do you know is there any documentation or example
about this subject?

There are some examples for it:

https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-parent/tinymce-examples


Thanks, br.
Ramazan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Chris Colman
Are there any examples of Wicket integrated with FckEditor (the one
before CkEditor)?

-Original Message-
From: Michal Letynski [mailto:m...@consol.ae]
Sent: Tuesday, 2 August 2011 3:25 PM
To: users@wicket.apache.org
Subject: Re: Wicket - TinyMCE

Hi.
W dniu 2011-08-02 04:29, ramazan pekin pisze:
 Hi to everyone,

 I am looking for rich text editor and I found TinyMCE. But I couldnt
 find any document/example page how can I integrate wicket and TinyMCE
 explained detailed. Do you know is there any documentation or example
 about this subject?
There are some examples for it:

https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-
parent/tinymce-examples

 Thanks, br.
 Ramazan

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Josh Kamau
Hi Michal,

If you want a really nice and simple Rich Text Editor, take a look at
visural-wicket project.

Here is the link to the demos - http://wicket.visural.net/examples/app/

regards.
Josh.

On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:

 Are there any examples of Wicket integrated with FckEditor (the one
 before CkEditor)?

 -Original Message-
 From: Michal Letynski [mailto:m...@consol.ae]
 Sent: Tuesday, 2 August 2011 3:25 PM
 To: users@wicket.apache.org
 Subject: Re: Wicket - TinyMCE
 
 Hi.
 W dniu 2011-08-02 04:29, ramazan pekin pisze:
  Hi to everyone,
 
  I am looking for rich text editor and I found TinyMCE. But I couldnt
  find any document/example page how can I integrate wicket and TinyMCE
  explained detailed. Do you know is there any documentation or example
  about this subject?
 There are some examples for it:
 
 https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-
 parent/tinymce-examples
 
  Thanks, br.
  Ramazan
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: wicketstuff tinymce development

2011-08-01 Thread Michal Letynski

W dniu 2011-07-29 18:30, jbrookover pisze:

Michal Letynski wrote:

Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I
get exceptions:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1937)
  at
wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971)
  at
wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60)

And looking and java docs ( TODO: This has not been extensively
tested.) it still under development.


For TinyMCE to work properly with AJAX, it must be loaded on the page prior
to the Ajax call that generates the editor.  This is a flaw with TinyMCE
itself, not the wicket component.

Up until version 1.4.17.2, you needed to render the TinyMCE javascript
resource with the Page (or some other non-Ajax generated component) and then
individual components can use TinyMCEBehavior on an Ajax rendered text area.
This is described in the JavaDoc for lazyLoadTinyMCEResource().

lazyLoadTinyMCEResource() was my attempt to get around this requirement and
load the javascript via Ajax.  I suspect the problem is not with the
technique but with the URL manipulation.  Feel free to contribute a bug fix
and/or ignore the lazyLoadTinyMCEResource() function.  However, it should be
considered beta and is completely optional.  You can still use the old
method.

Hope that helps!  I still recommend using 1.4.17.3 as it has an up-to-date
version of TinyMCE and several other improvements.
I used tinymce editor in previous company for two years and it worked 
with/without ajax just from scrath, without any magic.
Recommended version 1.4.17.3 just not worked for me, so i used previous 
one.

Thanks for support.


Jake

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3704257.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Michal Letynski

W dniu 2011-08-02 09:34, Josh Kamau pisze:

Hi Michal,

If you want a really nice and simple Rich Text Editor, take a look at
visural-wicket project.

Here is the link to the demos - http://wicket.visural.net/examples/app/

NicEdit is dead. Its not supported for long time.


regards.
Josh.

On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:


Are there any examples of Wicket integrated with FckEditor (the one
before CkEditor)?


-Original Message-
From: Michal Letynski [mailto:m...@consol.ae]
Sent: Tuesday, 2 August 2011 3:25 PM
To: users@wicket.apache.org
Subject: Re: Wicket - TinyMCE

Hi.
W dniu 2011-08-02 04:29, ramazan pekin pisze:

Hi to everyone,

I am looking for rich text editor and I found TinyMCE. But I couldnt
find any document/example page how can I integrate wicket and TinyMCE
explained detailed. Do you know is there any documentation or example
about this subject?

There are some examples for it:

https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-
parent/tinymce-examples


Thanks, br.
Ramazan

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: Wicket - TinyMCE/FckEditor

2011-08-01 Thread Chris Colman
Unfortunately we're using some features of FckEditor that don't seem to
be supported by Visural. The main one is the support of images and being
able to specify an image provider that can provide the user with a
list of images available to choose from. The developer can define
virtually any implementation they want of the image provider.

If that sort of thing were available today we'd really like to move to
Visural.
 
-Original Message-
From: Josh Kamau [mailto:joshnet2...@gmail.com]
Sent: Tuesday, 2 August 2011 3:34 PM
To: users@wicket.apache.org
Subject: Re: Wicket - TinyMCE/FckEditor

Hi Michal,

If you want a really nice and simple Rich Text Editor, take a look at
visural-wicket project.

Here is the link to the demos - http://wicket.visural.net/examples/app/

regards.
Josh.

On Tue, Aug 2, 2011 at 8:27 AM, Chris Colman
chr...@stepaheadsoftware.comwrote:

 Are there any examples of Wicket integrated with FckEditor (the one
 before CkEditor)?

 -Original Message-
 From: Michal Letynski [mailto:m...@consol.ae]
 Sent: Tuesday, 2 August 2011 3:25 PM
 To: users@wicket.apache.org
 Subject: Re: Wicket - TinyMCE
 
 Hi.
 W dniu 2011-08-02 04:29, ramazan pekin pisze:
  Hi to everyone,
 
  I am looking for rich text editor and I found TinyMCE. But I
couldnt
  find any document/example page how can I integrate wicket and
TinyMCE
  explained detailed. Do you know is there any documentation or
example
  about this subject?
 There are some examples for it:
 

https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/tinymce-
 parent/tinymce-examples
 
  Thanks, br.
  Ramazan
 
 
-
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-29 Thread jbrookover

Michal Letynski wrote:
 
 Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I
 get exceptions:
 java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1937)
  at
 wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971)
  at 
 wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60)
 
 And looking and java docs ( TODO: This has not been extensively 
 tested.) it still under development.
 

For TinyMCE to work properly with AJAX, it must be loaded on the page prior
to the Ajax call that generates the editor.  This is a flaw with TinyMCE
itself, not the wicket component.

Up until version 1.4.17.2, you needed to render the TinyMCE javascript
resource with the Page (or some other non-Ajax generated component) and then
individual components can use TinyMCEBehavior on an Ajax rendered text area. 
This is described in the JavaDoc for lazyLoadTinyMCEResource().

lazyLoadTinyMCEResource() was my attempt to get around this requirement and
load the javascript via Ajax.  I suspect the problem is not with the
technique but with the URL manipulation.  Feel free to contribute a bug fix
and/or ignore the lazyLoadTinyMCEResource() function.  However, it should be
considered beta and is completely optional.  You can still use the old
method.

Hope that helps!  I still recommend using 1.4.17.3 as it has an up-to-date
version of TinyMCE and several other improvements.

Jake

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3704257.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-28 Thread Pointbreak
 According to:
 http://tinymce.moxiecode.com/tryit/multiple_configs.php
 
   Mode should be switched to textareas our current implementation 
 provide exact only.

Why would you want to use textareas matching when using TinyMce in
Wicket? Attach a TinyMceBehavior to each Wicket component that needs a
TinyMce editor. That's it. Using textarea mode makes no sense in a
Wicket integration as it doesn't integrate anything.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-28 Thread Michal Letynski


W dniu 2011-07-28 12:08, Pointbreak pisze:

According to:
http://tinymce.moxiecode.com/tryit/multiple_configs.php

   Mode should be switched to textareas our current implementation
provide exact only.

Why would you want to use textareas matching when using TinyMce in
Wicket? Attach a TinyMceBehavior to each Wicket component that needs a
TinyMce editor. That's it. Using textarea mode makes no sense in a
Wicket integration as it doesn't integrate anything.


Ok i solved the problem. I used wrong version (1.4.17.3 - its buggy). I 
get exceptions:


java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
at 
wicket.contrib.tinymce.settings.TinyMCESettings.lazyLoadTinyMCEResource(TinyMCESettings.java:971)
at 
wicket.contrib.tinymce.TinyMceBehavior.renderHead(TinyMceBehavior.java:60)


And looking and java docs ( TODO: This has not been extensively 
tested.) it still under development.



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



wicketstuff tinymce development

2011-07-27 Thread Michal Letynski

Hi.
Is here anyone who is currently doing something with tinymce wicketstuff 
project ? I saw that in current version we are not able to add more then 
one instance of tiny in one page. I want to change it. I saw that 
wicket-stuff was moved to git, accounts from svn was copied or should i 
ask for new one ?


Regards,
Michal



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-27 Thread Martin Grigorov
New account is needed.

On Wed, Jul 27, 2011 at 12:57 PM, Michal Letynski m...@consol.ae wrote:
 Hi.
 Is here anyone who is currently doing something with tinymce wicketstuff
 project ? I saw that in current version we are not able to add more then one
 instance of tiny in one page. I want to change it. I saw that wicket-stuff
 was moved to git, accounts from svn was copied or should i ask for new one ?

 Regards,
 Michal



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-27 Thread Michael O'Cleirigh

Hi,

Post a message on the dev list with your github username requesting 
commit access and you can be added.


If you want to get started right away you can fork the wicketstuff/core 
project on github, make changes to your fork and then submit a pull 
request to get your changes incorporated back into the main project.


Regards,

Mike

New account is needed.

On Wed, Jul 27, 2011 at 12:57 PM, Michal Letynskim...@consol.ae  wrote:

Hi.
Is here anyone who is currently doing something with tinymce wicketstuff
project ? I saw that in current version we are not able to add more then one
instance of tiny in one page. I want to change it. I saw that wicket-stuff
was moved to git, accounts from svn was copied or should i ask for new one ?

Regards,
Michal



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-27 Thread jbrookover

Michal Letynski wrote:
 
 Is here anyone who is currently doing something with tinymce wicketstuff 
 project ? I saw that in current version we are not able to add more then 
 one instance of tiny in one page. 
 

I've recently made some commits to the tinymce wicketstuff package on
GitHub, if you want to call that currently doing something.  :)

You are certainly able to add more than one instance on a page.  We use this
package heavily throughout our applications and it works well, including
Ajax, spellcheck, and multiple configuration settings.

Jake

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: wicketstuff tinymce development

2011-07-27 Thread Attila Király
I would like to point out that tinymce in wicketstuff 1.5 branch needs some
love too. It is not yet ported to wicket 1.5.

Attila

2011/7/27 jbrookover jbrooko...@cast.org


 Michal Letynski wrote:
 
  Is here anyone who is currently doing something with tinymce wicketstuff
  project ? I saw that in current version we are not able to add more then
  one instance of tiny in one page.
 

 I've recently made some commits to the tinymce wicketstuff package on
 GitHub, if you want to call that currently doing something.  :)

 You are certainly able to add more than one instance on a page.  We use
 this
 package heavily throughout our applications and it works well, including
 Ajax, spellcheck, and multiple configuration settings.

 Jake

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: wicketstuff tinymce development

2011-07-27 Thread Michal Letynski

W dniu 2011-07-27 17:27, jbrookover pisze:

Michal Letynski wrote:

Is here anyone who is currently doing something with tinymce wicketstuff
project ? I saw that in current version we are not able to add more then
one instance of tiny in one page.


I've recently made some commits to the tinymce wicketstuff package on
GitHub, if you want to call that currently doing something.  :)

You are certainly able to add more than one instance on a page.  We use this
package heavily throughout our applications and it works well, including
Ajax, spellcheck, and multiple configuration settings.


You can do this with current implementation ? Or you did some changes ?
According to:
http://tinymce.moxiecode.com/tryit/multiple_configs.php

 Mode should be switched to textareas our current implementation 
provide exact only.



Jake

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/wicketstuff-tinymce-development-tp3698059p3698489.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: TinyMCE in ModalWindow

2010-11-02 Thread 蔡茂昌
i know that TinyMCE can only work in page , can this help you.

2010/10/19 Brad Grier brad.gr...@salusnovus.com

 I've implemented TinyMCE in my app and all is well with one exception. I
 can't get it to work in a ModalWindow (TinyMCE works the first time but
 subsequently opens in an blank, uneditable state). Someone suggested using
 the TinyMCE javascript functions mceRemoveControl and mceAddControl to
 work around this issue. If that's the answer, I can't get it to work (likely
 because I'm missing something).

 Has anyone found a workaround to this problem?


Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
Hi All,

Who if anyone is in charge of the Wicket Stuff TinyMCE project?

I have been having some issues with it and noticed that the TinyMCE
files have not been updated since the initial 3.3 release.  I tried
simply replacing the tiny_mce folder inside a copy of the
tinymce-1.4.12.jar with the latest from the website and my issues are
completely gone now.  Is there any chance we could get an updated
release with the newer files?

Now another question is coming to mind, is there any sort of standard
defined for how often an included dependency like this should be
updated?  On one hand it would be nice to always have the most
up-to-date files available through maven, but on the other hand that
could be very time and resource consuming depending on how often the
dependency is updated.  Thoughts?  Suggestions?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
dont think anyone is maintaining the project. you are welcome to take it over.

-igor

On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
I would be willing to do so, at least temporarily.  How do I get
commit permissions, and how do I get a build created and installed to
the maven repo?

On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 dont think anyone is maintaining the project. you are welcome to take it over.

 -igor

 On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
whats your sf.net username? i can give you access to svn.

as far as builds, Michael O'Cleirigh takes care of those on regular
basis. you might want to talk to him if you want more details.

-igor

On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassman josh...@gmail.com wrote:
 I would be willing to do so, at least temporarily.  How do I get
 commit permissions, and how do I get a build created and installed to
 the maven repo?

 On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 dont think anyone is maintaining the project. you are welcome to take it 
 over.

 -igor

 On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
Ok, will talk to him.  My sf username is joshums.

On Fri, Oct 29, 2010 at 1:14 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 whats your sf.net username? i can give you access to svn.

 as far as builds, Michael O'Cleirigh takes care of those on regular
 basis. you might want to talk to him if you want more details.

 -igor

 On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassman josh...@gmail.com wrote:
 I would be willing to do so, at least temporarily.  How do I get
 commit permissions, and how do I get a build created and installed to
 the maven repo?

 On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 dont think anyone is maintaining the project. you are welcome to take it 
 over.

 -igor

 On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Michael O'Cleirigh

Hello,

You shouldn't have to do anything other than make the change to have it 
propogated into maven.  The tinymce artifact is already being 
distributed as part of wicketstuff-core.


This is the current branch tracking wicket 1.4-SNAPSHOT:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicketstuff-core-1.4/

If you can get the changes in soon they can be included in the 1.4.13 
release or in a 1.4.13.1 point release a little bit later (i.e. when you 
tell me the changes are in).


You can also look at what would be required for wicket 1.5-SNAPSHOT 
compatibility.  Basically you would merge your changes from the 1.4 
branch and then add the tinymce-parent entry back in the 
jdk-1.5-parent/pom.xml file.   That way when we start cutting 1.5 
wicketstuff-core releases it will be included automatically.


Regards,

Mike


whats your sf.net username? i can give you access to svn.

as far as builds, Michael O'Cleirigh takes care of those on regular
basis. you might want to talk to him if you want more details.

-igor

On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassmanjosh...@gmail.com  wrote:

I would be willing to do so, at least temporarily.  How do I get
commit permissions, and how do I get a build created and installed to
the maven repo?

On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynbergigor.vaynb...@gmail.com  wrote:

dont think anyone is maintaining the project. you are welcome to take it over.

-igor

On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassmanjosh...@gmail.com  wrote:

Hi All,

Who if anyone is in charge of the Wicket Stuff TinyMCE project?

I have been having some issues with it and noticed that the TinyMCE
files have not been updated since the initial 3.3 release.  I tried
simply replacing the tiny_mce folder inside a copy of the
tinymce-1.4.12.jar with the latest from the website and my issues are
completely gone now.  Is there any chance we could get an updated
release with the newer files?

Now another question is coming to mind, is there any sort of standard
defined for how often an included dependency like this should be
updated?  On one hand it would be nice to always have the most
up-to-date files available through maven, but on the other hand that
could be very time and resource consuming depending on how often the
dependency is updated.  Thoughts?  Suggestions?

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Igor Vaynberg
you are in

-igor

On Fri, Oct 29, 2010 at 10:26 AM, Josh Glassman josh...@gmail.com wrote:
 Ok, will talk to him.  My sf username is joshums.

 On Fri, Oct 29, 2010 at 1:14 PM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 whats your sf.net username? i can give you access to svn.

 as far as builds, Michael O'Cleirigh takes care of those on regular
 basis. you might want to talk to him if you want more details.

 -igor

 On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassman josh...@gmail.com wrote:
 I would be willing to do so, at least temporarily.  How do I get
 commit permissions, and how do I get a build created and installed to
 the maven repo?

 On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 dont think anyone is maintaining the project. you are welcome to take it 
 over.

 -igor

 On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket Stuff TinyMCE Update?

2010-10-29 Thread Josh Glassman
Thank you both!

I just committed the new files to the 1.4 branch.  I'll look into
updating the project for 1.5 as soon as I am able.

Josh

On Fri, Oct 29, 2010 at 1:51 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 you are in

 -igor

 On Fri, Oct 29, 2010 at 10:26 AM, Josh Glassman josh...@gmail.com wrote:
 Ok, will talk to him.  My sf username is joshums.

 On Fri, Oct 29, 2010 at 1:14 PM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 whats your sf.net username? i can give you access to svn.

 as far as builds, Michael O'Cleirigh takes care of those on regular
 basis. you might want to talk to him if you want more details.

 -igor

 On Fri, Oct 29, 2010 at 10:05 AM, Josh Glassman josh...@gmail.com wrote:
 I would be willing to do so, at least temporarily.  How do I get
 commit permissions, and how do I get a build created and installed to
 the maven repo?

 On Fri, Oct 29, 2010 at 11:44 AM, Igor Vaynberg igor.vaynb...@gmail.com 
 wrote:
 dont think anyone is maintaining the project. you are welcome to take it 
 over.

 -igor

 On Fri, Oct 29, 2010 at 8:40 AM, Josh Glassman josh...@gmail.com wrote:
 Hi All,

 Who if anyone is in charge of the Wicket Stuff TinyMCE project?

 I have been having some issues with it and noticed that the TinyMCE
 files have not been updated since the initial 3.3 release.  I tried
 simply replacing the tiny_mce folder inside a copy of the
 tinymce-1.4.12.jar with the latest from the website and my issues are
 completely gone now.  Is there any chance we could get an updated
 release with the newer files?

 Now another question is coming to mind, is there any sort of standard
 defined for how often an included dependency like this should be
 updated?  On one hand it would be nice to always have the most
 up-to-date files available through maven, but on the other hand that
 could be very time and resource consuming depending on how often the
 dependency is updated.  Thoughts?  Suggestions?

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



TinyMCE in ModalWindow

2010-10-18 Thread Brad Grier
I've implemented TinyMCE in my app and all is well with one exception. I can't 
get it to work in a ModalWindow (TinyMCE works the first time but subsequently 
opens in an blank, uneditable state). Someone suggested using the TinyMCE 
javascript functions mceRemoveControl and mceAddControl to work around this 
issue. If that's the answer, I can't get it to work (likely because I'm missing 
something).

Has anyone found a workaround to this problem?

Word-wrapping in Wicket-TinyMCE

2010-09-08 Thread Johan Haleby

Hi,

Has anyone managed to get word-wrapping to work in wicket-contrib-tinymce?
In that case how? By default you get a horizontal scrollbar when the
textline is larger than the size of the TinyMCE window. 

/Johan
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Word-wrapping-in-Wicket-TinyMCE-tp2531412p2531412.html
Sent from the Wicket - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replicating tinyMCE

2010-09-07 Thread David Hendrix

05.09.2010 13:49, Bas Gooren:

Hi Bas,

thanks a lot! This looks like the missing part. As soon as I got this 
working, I'll come back to you with the results (it's a weekend project 
so I didn't try this right now).


David


David,

You can see an example (plus javascript code required to remove the
editor in the page source) of removing TinyMCE on the following page:
http://tinymce.moxiecode.com/examples/example_01.php

Try prepending the necessary javascript code to the AJAX request to fix
your problem.

Bas

- Original Message - From: David Hendrix
wicket-us...@unbewaff.net
To: users@wicket.apache.org
Sent: Sunday, September 05, 2010 1:43 PM
Subject: Re: Replicating tinyMCE





Hi,


I tried to add tinyMCE to my application, which seems easy enough using
the wicketstuff project. The point where I got stuck (for some hours
now) is where I start adding the component carrying the TinyMceBehavior
to any Ajax-Targets.
What I'm trying to do is to populate the textarea based on selections
from several DropDownChoices. But whenever an onChange-Event is called
that adds the textarea to it's target, another editor appears right
above the existing one containing the new content while the other editor
gets moved down, still displaying the old values.
Unfortunately I can't figure out what I'm doing wrong here...

Any ideas would be greatly appreciated

thanks
David


Nobody? It's not that strange (at least that's what I think). So it
has to be done before. Anything that I didn't provide?

David

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Replicating tinyMCE

2010-09-05 Thread David Hendrix



Hi,


I tried to add tinyMCE to my application, which seems easy enough using
the wicketstuff project. The point where I got stuck (for some hours
now) is where I start adding the component carrying the TinyMceBehavior
to any Ajax-Targets.
What I'm trying to do is to populate the textarea based on selections
from several DropDownChoices. But whenever an onChange-Event is called
that adds the textarea to it's target, another editor appears right
above the existing one containing the new content while the other editor
gets moved down, still displaying the old values.
Unfortunately I can't figure out what I'm doing wrong here...

Any ideas would be greatly appreciated

thanks
David


Nobody? It's not that strange (at least that's what I think). So it has 
to be done before. Anything that I didn't provide?


David

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Replicating tinyMCE

2010-08-11 Thread David Hendrix

Hi,

I tried to add tinyMCE to my application, which seems easy enough using 
the wicketstuff project. The point where I got stuck (for some hours 
now) is where I start adding the component carrying the TinyMceBehavior 
to any Ajax-Targets.
What I'm trying to do is to populate the textarea based on selections 
from several DropDownChoices. But whenever an onChange-Event is called 
that adds the textarea to it's target, another editor appears right 
above the existing one containing the new content while the other editor 
gets moved down, still displaying the old values.

Unfortunately I can't figure out what I'm doing wrong here...

Any ideas would be greatly appreciated

thanks
David

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-09 Thread Peter Miklosko
I'm sort of dubious about your suggestion as I don't see any direct connection 
between this DropDownChoice and TinyMCE editor from wicket-contrib-tinymce.
Would you care to explain little more about integration?

Peter






From: Pedro Santos pedros...@gmail.com
To: users@wicket.apache.org
Sent: Thu, July 8, 2010 5:09:08 PM
Subject: Re: Wicket wicket-contrib-tinymce populate Styles drop-down

Hi, you can use an  DropDownChoice  to present the available styles for your
app, and allow user to select one.
Example:

public class StyleSelect extends DropDownChoice {
public StyleSelect(String id, List options) {
super(id, options);
setModel(new IModel() {
public Object getObject() {
return getSession().getStyle();
}

public void setObject(Object object) {
getSession().setStyle(object == null ? null : object.toString());
}

public void detach() {}
});
}
@Override
protected boolean wantOnSelectionChangedNotifications() {
return true;
}
}

On Thu, Jul 8, 2010 at 11:53 AM, Peter Miklosko peter_b...@yahoo.comwrote:

 Can somebody please help me populate drop down menu for Styles?
 Customer  decided to use this option and I have difficulties to figure out
 how
 to  do it.
 Even in the wicket-contrib-tinymce examples this is not active.

 Peter








-- 
Pedro Henrique Oliveira dos Santos



  

SV: Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-09 Thread Wilhelmsen Tor Iver
 I'm sort of dubious about your suggestion as I don't see any direct
 connection
 between this DropDownChoice and TinyMCE editor from wicket-contrib-
 tinymce.

I think Pedro misunderstood you and therefore posted code for changing the 
Wicket style which is something else.

- Tor Iver

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-09 Thread Pedro Santos
Hi, I misunderstood your question. I was think you are asking about session
style.

On Fri, Jul 9, 2010 at 5:30 AM, Peter Miklosko peter_b...@yahoo.com wrote:

 I'm sort of dubious about your suggestion as I don't see any direct
 connection
 between this DropDownChoice and TinyMCE editor from wicket-contrib-tinymce.
 Would you care to explain little more about integration?

 Peter





 
 From: Pedro Santos pedros...@gmail.com
 To: users@wicket.apache.org
 Sent: Thu, July 8, 2010 5:09:08 PM
 Subject: Re: Wicket wicket-contrib-tinymce populate Styles drop-down

 Hi, you can use an  DropDownChoice  to present the available styles for
 your
 app, and allow user to select one.
 Example:

 public class StyleSelect extends DropDownChoice {
public StyleSelect(String id, List options) {
super(id, options);
setModel(new IModel() {
public Object getObject() {
return getSession().getStyle();
}

public void setObject(Object object) {
getSession().setStyle(object == null ? null : object.toString());
}

public void detach() {}
});
}
@Override
protected boolean wantOnSelectionChangedNotifications() {
return true;
}
 }

 On Thu, Jul 8, 2010 at 11:53 AM, Peter Miklosko peter_b...@yahoo.com
 wrote:

  Can somebody please help me populate drop down menu for Styles?
  Customer  decided to use this option and I have difficulties to figure
 out
  how
  to  do it.
  Even in the wicket-contrib-tinymce examples this is not active.
 
  Peter
 
 
 
 




 --
 Pedro Henrique Oliveira dos Santos








-- 
Pedro Henrique Oliveira dos Santos


Re: Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-09 Thread sander v F
I think you could do that like this:

TinyMCESettings settings = new TinyMCESettings();
settings.register(new Plugin(style_formats)
{
@Override
protected void definePluginSettings(StringBuffer buffer)
{
define(buffer, style_formats, [
+ {title : 'Bold text', inline : 'b'},
+ {title : 'Red text', inline : 'span', styles : {color : '#ff'}},
+ {title : 'Red header', block : 'h1', styles : {color : '#ff'}},
+ {title : 'Example 1', inline : 'span', classes : 'example1'},
+ {title : 'Example 2', inline : 'span', classes : 'example2'},
+ {title : 'Table styles'},
+ {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
+ ]);
}
});

Also see:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/style_formats
http://tinymce.moxiecode.com/examples/example_24.php


2010/7/9 Pedro Santos pedros...@gmail.com

 Hi, I misunderstood your question. I was think you are asking about session
 style.

 On Fri, Jul 9, 2010 at 5:30 AM, Peter Miklosko peter_b...@yahoo.com
 wrote:

  I'm sort of dubious about your suggestion as I don't see any direct
  connection
  between this DropDownChoice and TinyMCE editor from
 wicket-contrib-tinymce.
  Would you care to explain little more about integration?
 
  Peter
 
 
 
 
 
  
  From: Pedro Santos pedros...@gmail.com
  To: users@wicket.apache.org
  Sent: Thu, July 8, 2010 5:09:08 PM
  Subject: Re: Wicket wicket-contrib-tinymce populate Styles drop-down
 
  Hi, you can use an  DropDownChoice  to present the available styles for
  your
  app, and allow user to select one.
  Example:
 
  public class StyleSelect extends DropDownChoice {
 public StyleSelect(String id, List options) {
 super(id, options);
 setModel(new IModel() {
 public Object getObject() {
 return getSession().getStyle();
 }
 
 public void setObject(Object object) {
 getSession().setStyle(object == null ? null : object.toString());
 }
 
 public void detach() {}
 });
 }
 @Override
 protected boolean wantOnSelectionChangedNotifications() {
 return true;
 }
  }
 
  On Thu, Jul 8, 2010 at 11:53 AM, Peter Miklosko peter_b...@yahoo.com
  wrote:
 
   Can somebody please help me populate drop down menu for Styles?
   Customer  decided to use this option and I have difficulties to figure
  out
   how
   to  do it.
   Even in the wicket-contrib-tinymce examples this is not active.
  
   Peter
  
  
  
  
 
 
 
 
  --
  Pedro Henrique Oliveira dos Santos
 
 
 
 
 



 --
 Pedro Henrique Oliveira dos Santos



Re: Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-09 Thread Peter Miklosko
I got following error from it

ERROR - Objects- Error serializing object class 
com.admin.item.EditItemPage [object=[Page class = com.admin.item.EditItemPage, 
id = 4, version = 0]]
org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: 
Unable to serialize class: com.util.TinymceUtil
Field hierarchy is:
  4 [class=com.admin.item.EditItemPage, path=4]
private java.lang.Object org.apache.wicket.MarkupContainer.children 
[class=[Ljava.lang.Object;]
  java.lang.Object org.apache.wicket.Component.data[9] 
[class=com.admin.item.panel.EditPanel, path=4:editPanel]
private java.lang.Object org.apache.wicket.MarkupContainer.children 
[class=[Ljava.lang.Object;]
  private java.lang.Object 
org.apache.wicket.markup.html.form.FormComponent.validators[2] 
[class=org.apache.wicket.markup.html.form.TextArea, 
path=4:editPanel:item_editor]
java.lang.Object org.apache.wicket.Component.data 
[class=[Ljava.lang.Object;]
  java.lang.Object org.apache.wicket.Component.data[0][1] 
[class=wicket.contrib.tinymce.TinyMceBehavior]
private wicket.contrib.tinymce.settings.TinyMCESettings 
wicket.contrib.tinymce.TinyMceBehavior.settings 
[class=wicket.contrib.tinymce.settings.TinyMCESettings]
  private java.util.Set 
wicket.contrib.tinymce.settings.TinyMCESettings.plugins 
[class=org.apache.commons.collections.set.ListOrderedSet]
protected final java.util.List 
org.apache.commons.collections.set.ListOrderedSet.setOrder 
[class=java.util.ArrayList]
  private java.lang.String 
wicket.contrib.tinymce.settings.Plugin.pluginPath[write:2][write:3] 
[class=com.util.TinymceUtil$1]
final com.util.TinymceUtil 
com.util.TinymceUtil$1.this$0 
[class=com.util.TinymceUtil] - field that is not serializable





From: sander v F sandervanfaas...@gmail.com
To: users@wicket.apache.org
Sent: Fri, July 9, 2010 12:39:29 PM
Subject: Re: Wicket wicket-contrib-tinymce populate Styles drop-down

I think you could do that like this:

TinyMCESettings settings = new TinyMCESettings();
settings.register(new Plugin(style_formats)
{
@Override
protected void definePluginSettings(StringBuffer buffer)
{
define(buffer, style_formats, [
+ {title : 'Bold text', inline : 'b'},
+ {title : 'Red text', inline : 'span', styles : {color : '#ff'}},
+ {title : 'Red header', block : 'h1', styles : {color : '#ff'}},
+ {title : 'Example 1', inline : 'span', classes : 'example1'},
+ {title : 'Example 2', inline : 'span', classes : 'example2'},
+ {title : 'Table styles'},
+ {title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
+ ]);
}
});

Also see:
http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/style_formats
http://tinymce.moxiecode.com/examples/example_24.php


2010/7/9 Pedro Santos pedros...@gmail.com

 Hi, I misunderstood your question. I was think you are asking about session
 style.

 On Fri, Jul 9, 2010 at 5:30 AM, Peter Miklosko peter_b...@yahoo.com
 wrote:

  I'm sort of dubious about your suggestion as I don't see any direct
  connection
  between this DropDownChoice and TinyMCE editor from
 wicket-contrib-tinymce.
  Would you care to explain little more about integration?
 
  Peter
 
 
 
 
 
  
  From: Pedro Santos pedros...@gmail.com
  To: users@wicket.apache.org
  Sent: Thu, July 8, 2010 5:09:08 PM
  Subject: Re: Wicket wicket-contrib-tinymce populate Styles drop-down
 
  Hi, you can use an  DropDownChoice  to present the available styles for
  your
  app, and allow user to select one.
  Example:
 
  public class StyleSelect extends DropDownChoice {
 public StyleSelect(String id, List options) {
 super(id, options);
 setModel(new IModel() {
 public Object getObject() {
 return getSession().getStyle();
 }
 
 public void setObject(Object object) {
 getSession().setStyle(object == null ? null : object.toString());
 }
 
 public void detach() {}
 });
 }
 @Override
 protected boolean wantOnSelectionChangedNotifications() {
 return true;
 }
  }
 
  On Thu, Jul 8, 2010 at 11:53 AM, Peter Miklosko peter_b...@yahoo.com
  wrote:
 
   Can somebody please help me populate drop down menu for Styles?
   Customer  decided to use this option and I have difficulties to figure
  out
   how
   to  do it.
   Even in the wicket-contrib-tinymce examples this is not active.
  
   Peter
  
  
  
  
 
 
 
 
  --
  Pedro Henrique Oliveira dos Santos
 
 
 
 
 



 --
 Pedro Henrique Oliveira dos Santos




  

Wicket wicket-contrib-tinymce populate Styles drop-down

2010-07-08 Thread Peter Miklosko
Can somebody please help me populate drop down menu for Styles?
Customer  decided to use this option and I have difficulties to figure out how 
to  do it.
Even in the wicket-contrib-tinymce examples this is not active.

Peter



  

  1   2   3   4   >