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

Help with Sample AWT

Hi,

I am looking into the MDK_configExampleAWT and would like

to create a Generic Sync AWT app. In JSP, it is very easy

to pass arguments between pages, but with AWT, any suggestion

on how to easily pass dynamic parameters between pages?

For example, forwarding something like

from pageOne: s=12345, t=test, m=mobile

pageTwo: using the parameters, retrieve data from db,

then display...

Thanks

Baduy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 06:21 PM

    hello baduy,

    the sample AWT app in MDK uses a simple framework patterned

    to behave just like a servlet. it is in the package

    com.sap.ip.me.mdk.api.awt.gui. try to look at the src

    code if you have time.

    here, AbstractMEPage serves as the interface and must be

    implemented by all pages to pass attributes (parameters)

    between instantiated pages. you can make use of the methods

    setAttribute, getAttribute to pass these values.

    you should have at least one implementation of the

    ControllerPage. this page is responsible for switching

    between pages and setting of these attributes to the next

    page. this way, you can avoid dependency among pages...

    let me know if you still need help. mail me if necessary.

    (im a bit busy lately though... 😊)

    regards

    jo

    Add a comment
    10|10000 characters needed characters exceeded

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.