Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

Code Block
languagejava
themeEclipse
public boolean acceptsNativeType(int type) {

// we can handle any type
return true;
}

 

 

 

...

Anchor
renderObj
renderObj

public abstract String render(Object value, int renderType) throws Exception;

...

Code Block
languagejava
public String render(Object value, int renderType) throws Exception {
      if (value == null) return null
      if (renderType == RENDER_LINK) 
       // Render the value for a drill-through link.
       // In this case you almost always want to return a generic
       // representation of the value.

      return value.toString();
	  }

      // Return the formatted value
      return "Value: " + value.toString();
}

 

...

 

Anchor
returnsHtml
returnsHtml

public boolean returnsHtml();

Return This will return true if valuesreturned the values returned by the formatter include HTML, and false otherwise. By default this function returns false.

 

...

 

Anchor
compareCond
compareCond

...