on 10-25-2006 7:02 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.