Actually, the solution was quite simple:
pages.xml
| <page view-id="/jbillingCallbackHandler.xhtml"
| action="#{jBillingCallbackHandlerAction.processPost}">
| </page>
|
Action
| @Stateless
| @Scope(ScopeType.STATELESS)
| @Name("jBillingCallbackHandlerAction")
| public class JbillingCallbackHandlerAction implements
| IJbillingCallbackHandlerAction {
|
| // @In(required=false)
| // JbillingCallbackEntity callback;
|
| @RequestParameter("cmd")
| private String cmd;
|
| @RequestParameter("user_id")
| private String user_id;
|
| @RequestParameter("login_name")
| private String login_name;
|
| @RequestParameter("from_status")
| private String from_status;
|
| @RequestParameter("to_status")
| private String to_status;
|
| @Override
| public String processPost() {
| System.out.println("**********" + cmd);
| System.out.println("**********" + user_id);
| System.out.println("**********" + login_name);
| System.out.println("**********" + from_status);
| System.out.println("**********" + to_status);
| return "home";
| }
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082657#4082657
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082657
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user