Re: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Hi all,
I'm try to use wicket-dnd 0.6.0 in my project.
I got a strange behavior in my NetBeans 7.4 IDE when I add wicket-dnd
library to my project library list.
After adding and saving project, if I close IDE and open it, it stop to
highlight errors in code editor. It highlihgt a file in a list, that it has
a error, but not highlight error in code text.
I don't understand a link between highliting errors in ide and wicket-dnd
library ((

before adding wicket-dnd:
http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans1.jpg 

after adding wicket-dnd:
http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans2.jpg 




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664893.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: [ANN] wicket-dnd project

2014-03-11 Thread Maxim Solodovnik
We are using DND in Eclipse, it seems to work as expected


On Tue, Mar 11, 2014 at 4:04 PM, Duke warlock9...@gmail.com wrote:

 Hi all,
 I'm try to use wicket-dnd 0.6.0 in my project.
 I got a strange behavior in my NetBeans 7.4 IDE when I add wicket-dnd
 library to my project library list.
 After adding and saving project, if I close IDE and open it, it stop to
 highlight errors in code editor. It highlihgt a file in a list, that it has
 a error, but not highlight error in code text.
 I don't understand a link between highliting errors in ide and wicket-dnd
 library ((

 before adding wicket-dnd:
 http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans1.jpg

 after adding wicket-dnd:
 http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans2.jpg




 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664893.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




-- 
WBR
Maxim aka solomax


Re: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Thanks for reply.
Unfortunately I can't change IDE now, its not my choice.

Also, I found some strange code in wicket-dnd theme.css files:

div.dnd-hover-cover {
display: none;
}
table.dnd-hover-table {
border-spacing: 0px;
*border-collapse: collapse:*
}

Maybe it is a missprint? And right will be like this:
border-collapse: collapse*;*
?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664895.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: [ANN] wicket-dnd project

2014-03-11 Thread Sven Meier

Hi,

yes, that should be a semicolon.

Sven

On 03/11/2014 10:19 AM, Duke wrote:

Thanks for reply.
Unfortunately I can't change IDE now, its not my choice.

Also, I found some strange code in wicket-dnd theme.css files:

div.dnd-hover-cover {
display: none;
}
table.dnd-hover-table {
border-spacing: 0px;
*border-collapse: collapse:*
}

Maybe it is a missprint? And right will be like this:
border-collapse: collapse*;*
?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664895.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: [ANN] wicket-dnd project

2014-03-11 Thread Sven Meier

Hi,

wicket-dnd is pretty standard Java, so I don't have an idea what 
Netbeans has to complain about that code.


Sven

On 03/11/2014 10:04 AM, Duke wrote:

Hi all,
I'm try to use wicket-dnd 0.6.0 in my project.
I got a strange behavior in my NetBeans 7.4 IDE when I add wicket-dnd
library to my project library list.
After adding and saving project, if I close IDE and open it, it stop to
highlight errors in code editor. It highlihgt a file in a list, that it has
a error, but not highlight error in code text.
I don't understand a link between highliting errors in ide and wicket-dnd
library ((

before adding wicket-dnd:
http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans1.jpg

after adding wicket-dnd:
http://apache-wicket.1842946.n4.nabble.com/file/n4664893/netbeans2.jpg




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664893.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: [ANN] wicket-dnd project

2014-03-11 Thread Duke
Thanks Sven,
I am newbe in css/html, thats why I was in doubt.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/ANN-wicket-dnd-project-tp1889824p4664899.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: [ANN] wicket-dnd project

2009-10-26 Thread nestrmu

Hi, Sven
  I'm trying to use you wonderfull wicket-dnd, but i met with the problem -
how can i use it with a regular wicket tree like a LabelTree, for example.
Is it possible? 
   
Alex


svenmeier wrote:
 
 Hi all,
 
 I'm happy to announce wicket-dnd, a generic drag and drop framework for
 Wicket.
 
 The API has not been fully stabilized yet but you are invited to take a
 first look:
 
   http://code.google.com/p/wicket-dnd/
 
 Have fun
 
 Sven
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p26063618.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: [ANN] wicket-dnd project

2009-10-26 Thread Sven Meier

Hi Alex,

I'm not sure I understand your question:
wicket-tree is an alternative to the tree classes in wicket-core and 
wicket-extensions.

DefaultNestedTree gives you almost the same functionality as LabelTree.

Regards

Sven

nestrmu wrote:

Hi, Sven
  I'm trying to use you wonderfull wicket-dnd, but i met with the problem -
how can i use it with a regular wicket tree like a LabelTree, for example.
Is it possible? 
   
Alex



svenmeier wrote:
  

Hi all,

I'm happy to announce wicket-dnd, a generic drag and drop framework for
Wicket.

The API has not been fully stabilized yet but you are invited to take a
first look:

http://code.google.com/p/wicket-dnd/

Have fun

Sven


-
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: [ANN] wicket-dnd project

2009-10-19 Thread Pierre Goupil
It looks great, men! Which AJAX framework do you use?

Regards,

Pierre


On Tue, Oct 13, 2009 at 3:55 PM, Doug Leeper douglee...@yahoo.com wrote:


 Thanks Sven!

 Got it working.
 --
 View this message in context:
 http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.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




-- 
Sans amis était le grand maître des mondes,
Eprouvait manque, ce pour quoi il créa les esprits,
Miroirs bienveillants de sa béatitude.
Mais au vrai, il ne trouva aucun égal,
Du calice du royaume total des âmes
Ecume jusqu'à lui l'infinité.

(Schiller, l'amitié)


Re: [ANN] wicket-dnd project

2009-10-19 Thread Sven Meier
Well, wicket-dnd combines Wicket's standard AJAX support, prototype's 
Javascript enhancements and a few custom functions to move HTML elements 
around.


I'm glad you like it.

Sven

Pierre Goupil wrote:

It looks great, men! Which AJAX framework do you use?

Regards,

Pierre


On Tue, Oct 13, 2009 at 3:55 PM, Doug Leeper douglee...@yahoo.com wrote:

  

Thanks Sven!

Got it working.
--
View this message in context:
http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.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






  



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



Re: [ANN] wicket-dnd project

2009-10-13 Thread Doug Leeper

Thanks Sven!

Got it working.
-- 
View this message in context: 
http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25873355.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: [ANN] wicket-dnd project

2009-10-12 Thread Doug Leeper

Sven,

I have downloaded wicket-dnd and have integrated into our project.  I had a
few issues but got around them.  The biggest is that we are using DataView
instead of DataTable.  While there was no exact example for DataView, I was
able to get through and see what I needed to do:

- needed a container apply the DataSource
- needed to item.setOutputMarkupId( true ) in the populateItem

The DropTarget is working (the UI changes when I hover over the
target)...but when I initiate a drop, I get a PageExpiredException.

Any thoughts?

BTW..I have uploaded our simple test case for reference.

Thanks
- Doug

http://www.nabble.com/file/p25859163/DndTestPage.java DndTestPage.java 
http://www.nabble.com/file/p25859163/DndTestPage.html DndTestPage.html 
http://www.nabble.com/file/p25859163/WicketApplication.java
WicketApplication.java 
-- 
View this message in context: 
http://www.nabble.com/-ANN--wicket-dnd-project-tp25727819p25859163.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: [ANN] wicket-dnd project

2009-10-12 Thread Sven Meier

Hi Doug,

you're adding a second drop target to your currentContainer:

   currentContainer.add(new DropTarget(Operation.COPY) {
 ...
   }.dropBottom(div));

But there aren't any DIVs contained inside your currentContainer, so 
wicket-dnd isn't able to find a drop location.


If you just want to support drop operations even if no items are already 
present, you can do so with a single drop target:


   currentContainer.add(new DropTarget(Operation.MOVE, 
Operation.COPY) {

   @Override
   public void onDrop(AjaxRequestTarget target, Transfer transfer,
   Location location) throws Reject {
   System.out.println((tr) onDrop:  + 
transfer.getOperation());


   if (location == null) {
  // no location supplied - drop on whole container
   } else {
  // location supplied - drop on given location, see 
Location#anchor and Location#component

   }
   }
   }.dropTopAndBottom(tr));

HTH

Sven

Doug Leeper wrote:

Sven,

I have downloaded wicket-dnd and have integrated into our project.  I had a
few issues but got around them.  The biggest is that we are using DataView
instead of DataTable.  While there was no exact example for DataView, I was
able to get through and see what I needed to do:

- needed a container apply the DataSource
- needed to item.setOutputMarkupId( true ) in the populateItem

The DropTarget is working (the UI changes when I hover over the
target)...but when I initiate a drop, I get a PageExpiredException.

Any thoughts?

BTW..I have uploaded our simple test case for reference.

Thanks
- Doug

http://www.nabble.com/file/p25859163/DndTestPage.java DndTestPage.java 
http://www.nabble.com/file/p25859163/DndTestPage.html DndTestPage.html 
http://www.nabble.com/file/p25859163/WicketApplication.java
WicketApplication.java 
  



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



[ANN] wicket-dnd project

2009-10-03 Thread Sven Meier

Hi all,

I'm happy to announce wicket-dnd, a generic drag and drop framework for Wicket.

The API has not been fully stabilized yet but you are invited to take a first 
look:

http://code.google.com/p/wicket-dnd/

Have fun

Sven


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



Re: [ANN] wicket-dnd project

2009-10-03 Thread Uwe Schäfer

Sven Meier schrieb:
I'm happy to announce wicket-dnd, a generic drag and drop framework for 
Wicket.


looks pretty slick! congrats.

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



Re: [ANN] wicket-dnd project

2009-10-03 Thread Ralf Eichinger

Sven Meier wrote:
I'm happy to announce wicket-dnd, a generic drag and drop framework 
for Wicket.


http://code.google.com/p/wicket-dnd/
I added it to the Wicket Wiki: 
http://cwiki.apache.org/confluence/display/WICKET/Related+Projects


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



Re: [ANN] wicket-dnd project

2009-10-03 Thread Martin Makundi
BTW, Why is the demo very slow? Is this what it is like in reality?

**
Martin

2009/10/3 Ralf Eichinger ralf.eichin...@pixotec.de:
 Sven Meier wrote:

 I'm happy to announce wicket-dnd, a generic drag and drop framework for
 Wicket.

    http://code.google.com/p/wicket-dnd/

 I added it to the Wicket Wiki:
 http://cwiki.apache.org/confluence/display/WICKET/Related+Projects

 -
 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: [ANN] wicket-dnd project

2009-10-03 Thread Sven Meier

Well, google apps isn't what I call a performant hosting ;).

'In reality' (on your own server) dnd operations are as fast as any 
other AJAX roundtrip.


Regards

Sven

Martin Makundi wrote:

BTW, Why is the demo very slow? Is this what it is like in reality?

**
Martin

2009/10/3 Ralf Eichinger ralf.eichin...@pixotec.de:
  

Sven Meier wrote:


I'm happy to announce wicket-dnd, a generic drag and drop framework for
Wicket.

   http://code.google.com/p/wicket-dnd/
  

I added it to the Wicket Wiki:
http://cwiki.apache.org/confluence/display/WICKET/Related+Projects

-
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