Code: Alles auswählen.
null
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
at com.SimpleText.SimpleText$MyDynPage.onClick(SimpleText.java:119)
at java.lang.reflect.Method.invoke(Native Method)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:135)
Code: Alles auswählen.
public void onClick(Event event) throws PageException {
setJspName("SimpleJSP.jsp");
simpleBean.setOutput(output);
}// onClick
public void doProcessAfterInput() throws PageException {
setJspName("SimpleJSP.jsp");
IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
IPortalComponentContext myContext = request.getComponentContext();
IPortalComponentProfile myProfile = myContext.getProfile();
simpleBean = (SimpleBean) myProfile.getValue("myBeanName");
InputField input = (InputField) getComponentByName("Input");
output = input.getValueAsDataType().toString();
}//doProcessAfterInput()
public void doProcessBeforeOutput() throws PageException {
setJspName("SimpleJSP.jsp");
}//doProcessBeforeOutput()