Skip to Content
0
Former Member
Nov 18, 2009 at 07:38 AM

Custom Property Renderer - Not up in portal.

18 Views

Hi all,

I have created a custom property renderer based on a sample code which I got in sap forums i.e

public class propertyRenderer extends AbstractPropertyRenderer {

public Component renderProperty(

IProperty property,

IMetaName metaName,

IResource resource,

IProxy proxy,

IParameters parameters) throws WcmException {

TextView t = new TextView();

t.setText("Hello World");

return t;// renders a property

}

}

I have deployed the par, restarted the server, created a property renderer with this class as reference, used this property renderer to a property which is already there of type string. I have this property in one of the search iview. So when I am searching I should be seeing this property when i click on some button in the search result page. But since ive included the property renderer to this property, I am unable to see this at all when i click on the button in the search result page.

Please advise.