You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Steve Olara <st...@yahoo.co.uk> on 2009/07/22 11:19:00 UTC

Re: Can not find library for SortableListView

Hello All,
 
Am trying to use the SortableListView to use the drag and drop feature of scriptaculous but i can not get the library to add to my project, all I got are javascript files but am not sure if that can be added as libraries, has anyone used this before and take me through setting up this example http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListView to work.
 
Regards
 
Stephen


      

Re: Can not find library for SortableListView

Posted by Mathias Nilsson <wi...@gmail.com>.
Maybe some can help with this. I have tried all sort of libraries for 1.4 but
with no luck. Anyway, for a simple HighLight function this works. Don't
think this is the latest.

<dependency>    
  <groupId>org.wicketstuff</groupId>
  <artifactId>wicketstuff-scriptaculous</artifactId>
  <version>1.3-20080419.040255-14</version>
</dependency>

In your wicket page

// Register 
add(ScriptaculousAjaxBehavior.newJavascriptBindingBehavior()); 

add( new AjaxLink("clicker") {
  public void onClick(AjaxRequestTarget target) {
    target.appendJavascript(new Effect.Highlight(this).toJavascript());
  }
});
-- 
View this message in context: http://www.nabble.com/Re%3A-Can-not-find-library-for-SortableListView-tp24602760p24604354.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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