Skip to Content
Former Member
Feb 26, 2007 at 11:02 AM

get the values from the bean class?


Hi Praveen and all can u please suggest in this,

I have developped an application In that Create One java class that Extends PageProcesscomponenet and utilizing the Bean That have the Connetion method and retriving the query Based on the Logon customer and spoof customer.

this functionality I have developped in Pageprocessor component.

The same functinality I am utilizing another java Class that Extends AbstractPortalcomponent and utilizing the same Bean.

But the problem both java classes for I used one Jsp only Dynmic spoof customer will come from the JSP Input filed.

In the new Java Class How can I capture the Event When I click the Buttong the InputField value capturing into the AbstractPortalcomponent Class.

I tried like this but It comes as Null Value.

Event event = myContext.getCurrentEvent();



InputField ip= (InputField) myContext.getComponentForId("spoofCust");

String spoofCust=ip.getValue().toString();


Please suggest me in this.

What is wrong with this.



Message was edited by:

Lohitha M