Re: onmouseover menu

2010-09-27 Thread Johan Haleby
I'm using wicket-dnd to allow for drag and drop of the rows in the datatable. When I'm adding the TooltipBehavior to my component I can no longer drag and drop the rows. If I remove it, I can dnd again. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/onmouseover-menu

Re: onmouseover menu

2010-09-27 Thread Johan Haleby
I've managed to avoid the exceptionchanging the onBind method's AttributeModifier from a standard Model to a LoadableDetachableModel, e.g. getComponent().add(new AttributeModifier("onmouseover", true, new LoadableDetachableModel() { @Override protec

Re: onmouseover menu

2010-09-27 Thread Johan Haleby
Thanks for your suggestion. I can't seem to use Wiquery because when I add the tooltip behavior I cannot drag and drop the component anymore. The other approach fails with an exception "java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = 1]]" when execut

onmouseover menu

2010-09-24 Thread Johan Haleby
Hi, I have a datatable with a couple of rows. I'd like a menu to popup when the mouse is located over a row and I'd like it to disappear on "onmouseout". The menu must be aware of the row model that the mouse cursor is currently over since I'd like to make changes to the model from the menu. I'

Re: How to update components using Ajax when ModalWindow closes?

2010-09-15 Thread Johan Haleby
I've managed to resolve it! First of all I didn't add the markup container surrounding the image to the same AjaxRequestTarget that closed the modalwindow (I don't add the markup container to the AjaxRequestTarget at all). Instead I added a new WindowClosedCallback to the ModalWindow. To its Ajax

Re: Resize an opened ModalWindow programmatically?

2010-09-14 Thread Johan Haleby
Thanks. Guess I'll give JQuery a try. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resize-an-opened-ModalWindow-programmatically-tp2538660p2540002.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: How to update components using Ajax when ModalWindow closes?

2010-09-14 Thread Johan Haleby
This doesn't help, the image still doesn't appear. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-update-components-using-Ajax-when-ModalWindow-closes-tp2539048p2539997.html Sent from the Users forum mailing list archive at Nabble.com. ---

How to update components using Ajax when ModalWindow closes?

2010-09-14 Thread Johan Haleby
Hi, When a user clicks on an Image a ModalWindow pops up where users can upload and change this picture. When the user has uploaded a new picture and click "OK" in the ModalWindow I want it to close down and update the previous Image with the new image. How ever I cannot get the Image to update

Resize an opened ModalWindow programmatically?

2010-09-14 Thread Johan Haleby
Hi, I'd like to know if it's somehow possible to resize a ModalWindow programmatically? The reason is that the page rendered in the ModalWindow first displays an initial panel of size X and when clicking on a button the entire panel is replaced for a new panel of size Y. Y is much larger than X

Re: Possible to drag tables using WicketDND?

2010-09-10 Thread Johan Haleby
I've tried numerous different drag and drop components for Wicket in the past (it was a while ago so I don't remember all of them). Each had different issues that wouldn't let me do what I wanted. Some had browsers issues and some had problems that couldn't drop items to the drop container when it

Re: Possible to drag tables using WicketDND?

2010-09-09 Thread Johan Haleby
It works!! Thanks a lot! WicketDND is by far the best drag and drop component I've used for Wicket. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Possible-to-drag-tables-using-WicketDND-tp2532928p2533926.html Sent from the Wicket - User mailing list archive at Nabbl

Possible to drag tables using WicketDND?

2010-09-09 Thread Johan Haleby
Hi, I'm using WicketDND to allow for drag and drop in my application. How ever I have problems when trying to drag a tr that contains another table (i.e. I want to drag a component whose html contains a table). I believe the reason to be that the inner table is located on top of the tr (it fills

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-w

Replace components with AjaxCheckbox

2010-09-06 Thread Johan Haleby
I'm trying to replace a component when clicking on an AjaxCheckbox. The code looks something like this: AjaxCheckBox checkbox = new AjaxCheckBox("checkBox", new PropertyModel(this, "isChecked")) { private static final long serialVersionUID = 4298312627418158465L; @Override

Re: Image Upload Using TinyMCE Within Wicket Framework

2010-04-21 Thread Johan Haleby
That would be really helpful. I'm struggling to get your example to work. -- View this message in context: http://n4.nabble.com/Image-Upload-Using-TinyMCE-Within-Wicket-Framework-tp1844756p2018575.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Failing to remove item from list when drag and dropping

2010-04-20 Thread Johan Haleby
It works very well!! Thanks a lot for this, it's been extremely helpful! /Johan -- View this message in context: http://n4.nabble.com/Failing-to-remove-item-from-list-when-drag-and-dropping-tp1960968p2017437.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Failing to remove item from list when drag and dropping

2010-04-17 Thread Johan Haleby
Hi, Looks promising indeed. Does it work with Wicket 1.4.1? Do you have any code examples that I could have a look at? /Johan -- View this message in context: http://n4.nabble.com/Failing-to-remove-item-from-list-when-drag-and-dropping-tp1960968p2013958.html Sent from the Wicket - User mailing

Failing to remove item from list when drag and dropping

2010-04-16 Thread Johan Haleby
Hi, I have a use case that reads as follows: I need two lists next to each other. When starting up the left list is empty and I add items to it by dragging them from the right list and dropping them on the left. These items should be copied, (i.e. _not_ moved, the right list should be static) fr

ModalWindow content doesn't work in Firefox 3 in 1.4 rc4

2009-06-05 Thread Johan Haleby
Hi, I'm creating a standard Wicket Modal Window and adding a Panel to it using modalWindow.setContent(new MyPanel(..)); The modal window pops up and displays a header but the content is completely empty in Firefox. Everything works fine in Internet Explorer though. Have anyone experienced the sam

YUI drag and drop problem in Wicket 1.4 rc4

2009-06-05 Thread Johan Haleby
Hi, I'm using the latest snapshot of the YUI drag and drop component (a YuiDDListView) for Wicket 1.4 rc4. The problem is that there seems to be a bug in the code and the position parameter is lost. This means that where ever you drop a component it will always end up at the first position in the