I developed a block and deployed it inphoneix.
I can see in the logs that the block is loaded.
but i am not able to access the block from
other class.
----------------------
public Test extends AbstractLogEnabled
implements Initializable, Serviceable
{
private DemoBlock m_demoBlock;
public void initialize() throws Exception
{
}
public void service(ServiceManager manager) throws ServiceException
{
m_demoBlock= (DemoBlock )manager.lookup(DemoBlock .ROLE);
}
.
.
.
.
System.out.println(demoBlock); -------------------->null
}
-----------------------------
Test is not a block, just a plain class.
can we do something like this or even Test shld be a block ??
thanks in advance
raghu