Send POST to external site and save data to local db

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Send POST to external site and save data to local db

radek
Hi,
i won't send form to external site (with POST method). I override following method:
@Override
        protected void onComponentTag(ComponentTag tag) {
                     super.onComponentTag(tag);
                     tag.remove("action");
                     tag.put("action", "AAAAAAAAAAAAAA");
        }

But in this way onSubmit() method is not execute. But i wont (before send form to external site) save some date to my db.

What i must do to achieve this