Skip to Content
author's profile photo Former Member
Former Member

Post fields on MVC-BSP

Hello,

Is it possible to have an external web-page to "post" something on a MVC page?

I would like to have some fields dynamically prefilled from an external page when on that page a button is pressed and my MVC page is called.

It works with a BSP-page with flow logic, but I want to use a MVC-page.

Best regards,

Jacco

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2004 at 07:11 PM

    Jacco:

    Easiest way to do this is to define a global attribute in your controller class, and set the value in the do_request() method (or wherever else is appropriate). Then you can transfer the global attribute value to the specific page attribute that relates to your field.

    Regards,

    D.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Dorian,

      The problem was how to fill this global attribute when you come from an external page that fills fields on your page with POST.

      I solved it with putting a page-with-flow-logic inbetween. I can POST fields on this page and then fill my global controller attributes with these fields in the OnInitialization event.

      In the body of this page I call my MVC page with main.do" /> that then calls sub controllers where I now have my fields available as global attributes.

      😊

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.