Can I do this?
MarkupContainer facetNameLink = new AjaxLink(facetNameLink) {
@Override
public void onClick(AjaxRequestTarget target) {
// Get the dataprovider's query response
SolrQuery query = responseModel.getQuery();
// Set the query back to the beginning.
No theres a ajax decorator you can override instead, or something like it...
2009/3/25 CrocodileShoes markjohndo...@googlemail.com
Can I do this?
MarkupContainer facetNameLink = new AjaxLink(facetNameLink) {
@Override
public void onClick(AjaxRequestTarget target) {
// Get the
Ah Ok. After a quick search through the wiki I came up with this:
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
public CharSequence decorateScript(CharSequence script) {
// add Javascript to change id here
return + script;
No problem :)
2009/3/25 CrocodileShoes markjohndo...@googlemail.com
Ah Ok. After a quick search through the wiki I came up with this:
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new AjaxCallDecorator() {
public CharSequence decorateScript(CharSequence