Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
  add(new AjaxLink("link") 
  {
    protected void updateAttributes(AjaxRequestAttributes attributes)
    {
      super.updateAttributes(attributes);

      attributes.getUrlArguments().put("param1", "value1");
    }
    
    public void onClick(AjaxRequestTarget target)
    {
      ...
    }
  }

...