cancel
Showing results for 
Search instead for 
Did you mean: 

Help with Sample AWT

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Jo,

Thanks. I haven't gone through the whole code yet.

I will get back to you when I have questions.

Baddy

Answers (0)