Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Resource Renderer::::: files not getting displayed :(

Hi All,

I am trying a custom simple resource renderer...

WHen i see the navigation iView, the resources are not getting displayed.. i am getting a blank screen (with no files/folders..).

<u><b>My Code:</b></u>

public class TestSKResourceRenderer extends AbstractResourceRenderer {
	public ILayoutObject getNewInstance() {
			return new TestSKResourceRenderer();
	public Component render() throws WcmException {
		GridLayout result = null;
		try {
			result = new GridLayout();
			Component comp =  (Component) this.getResource();
			result.addComponent(1, 1, comp);
		} catch (RuntimeException e) {
		return result;

	public Component render(IProperty prop) throws WcmException {
		return render(prop, IResourceRenderer.LINK_OFF);

	public Component renderIcon() throws WcmException {
		return this.render();

	public Component renderImage() throws WcmException {
		return this.render();

plz help.

Thanking in advance.



Former Member
Not what you were looking for? View more on this topic or Ask a question