Submitting a form within a window

Hi,

I have a window component. I have a form in it with a few text fields. Now, my requirement is, when i click submit in this form, the action page that i have mentioned should be loaded within this window. But the whole page is loaded with the action page here, i dont want this to happen. Secondly, how do i display the values in the field in the action page. Like, in JSP we have “request.getParameter(‘fieldname’)”, Like wise how do i access smart client field values in the action page.

Please help me in this regard. Thank you

Hello ev.kaushik,

In order to submit values from a form to a URL without wiping out the page, you should call saveData on the form after binding it to a DataSource.

It looks like you may have jumped into coding without reading enough of the overview materials - we’d recommend going back to the DataBinding chapter of the QuickStart Guide and following pointers to related documentation from there.

hi,

Thanks for the timely advice. please let me know how to access form values of a submitted form?

Thank You

If it’s a direct submit, it’s getParameter() as you mentioned. If it’s done via saveData(), you have a number of choices as indicated in the documentation you were referred to.