Hi all,
Dynamic method binding does not work if i create it as
CoreCommandButton commandLink =
(CoreCommandButton
)context.getApplication().createComponent(CoreCommandButton
.COMPONENT_TYPE);
MethodBinding mb =
context.getApplication().createMethodBinding("#{searchCommandButtonBean.searchTable}",
new Class[]{javax.faces.event.ActionEvent.class});
commandLink.setActionListener(mb);
and it is working if i ncreate it as
HtmlCommandButton commandLink =
(HtmlCommandButton)context.getApplication().createComponent(HtmlCommandButton.COMPONENT_TYPE);
MethodBinding mb =
context.getApplication().createMethodBinding("#{searchCommandButtonBean.searchTable}",
new Class[]{javax.faces.event.ActionEvent.class});
commandLink.setActionListener(mb);
But only the first method allows us to use partialSubmit, so i have to
use first method, please help me
--
Thanks and Regards
Ravindra Adireddy