Skip to Content
Former Member
Sep 20, 2011 at 07:56 PM

PCD Inspector - meta-attribute



I've created a meta-attribute on and at PCD Inspector it looks like this:

But now I can't retrieve this value from my java code inside my AbstractComponent class.

Can anyone help me to solve this issue ?

Here is a fragment of my code:

iCtxComp = new InitialContext(getEnvironment(request, PcmConstants.ASPECT_SEMANTICS));

iPage = (IPage)iCtxComp.lookup(componentName);

Enumeration en = iPage.getiViews();

while (en.hasMoreElements()) {

Binding bind = (Binding)en.nextElement();

Object obj = bind.getObject();

if (obj instanceof IiView) {

IiView v = (IiView) obj;

response.write("<br/><br/>" + navigationView.getTitle(request.getLocale()));

response.write("<br/>" + navigationView.getAttributeValue(""));

//// The above line is printing null but the attribut is visible in PCD Inspector.



Best regards,