Giter Site home page Giter Site logo

wicket-menu's People

Contributors

cooldatasoft avatar fmucar avatar

Watchers

 avatar  avatar  avatar  avatar

wicket-menu's Issues

Could not find artifact com.cooldatasoft:wicket-menu-parent:pom:6.12.0

Central maven repository update required for 6.12.0.

While trying to understand what's going on, I noticed I'm using wicket-menu 6.9.1 and maven central has 6.12.0. However after updating my pom.xml from

<dependency>
  <groupId>com.cooldatasoft</groupId>
  <artifactId>wicket-menu</artifactId>
  <version>6.9.1</version>
</dependency>
<repository>
  <id>wicket-menu-release</id>
  <url>http://wicket-menu.googlecode.com/svn/maven/repo</url>
</repository>
<repository>
  <id>wicket-menu-snapshot</id>
  <url>http://wicket-menu.googlecode.com/svn/maven/snapshot-repo</url>
</repository>

to

<dependency>
  <groupId>com.cooldatasoft</groupId>
  <artifactId>wicket-menu</artifactId>
  <version>6.12.0</version>
</dependency>

in order to get the latest version from maven central, I get the following error from mvn:

org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact com.cooldatasoft:wicket-menu-parent:pom:6.12.0 in Apache Nexus 

How should I edit my pom.xml in order to use the latest available wicket-menu version?

AjaxFallbackLink#onClick() never gets called

I add a MenuItem to my MultiLevelCssMenu this way:

new MenuItem("item1", new AjaxFallbackLink<Void>("menuLink")
{
  @Override
  public void onClick(AjaxRequestTarget target)
  { ....

item1 shows up in the menu, but my onClick method never gets called even when I click on it.

Submenu items not showing up

I expect the following code to show a "Options" menu with a "Test item" submenu item. It only shows "Options". Maybe it's my fault, but I can't find it.

MenuItem options = new MenuItem("Options");
options.getSubMenuItemList().add(new MenuItem("Test item", new AjaxFallbackLink<Void>("menuLink")
{
  @Override
  public void onClick(AjaxRequestTarget target)
  {
  }
}));

List<MenuItem> mainMenu = new ArrayList<>();
mainMenu.add(options);

add(new MultiLevelCssMenu("mainMenuBar", mainMenu));

I don't know how to attach a quickstart to this issue, so you can download the quickstart here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.