on 03-05-2007 4:07 PM
HI
in jspdynpage how should i communictae one jsp to any other file
Hi chitta,,
Sorry couldnt reply was busy in the morning..
I have sample simple code ..it may help u
Now in ur controller
looks like this
public static final int PAGE1 = 0;
public static final int PAGE2 = 1;
int PAGE_STATUS = PAGE1 ;
public void doProcessBeforeOutput() throws PageException {
switch (PAGE_STATUS) {
case PAGE1 :
this.setJspName("page1.jsp");
break;
case PAGE2 :
this.setJspName("page2.jsp");
break;
}
}
public void onMyButtonClick(Event event) throws PageException {
try {
PAGE_STATUS = PAGE2;
} catch (Exception e) {
PAGE_STATUS = ERROR_PAGE;
}
Cheers
Swathi
Do offer pts nd ncourage:-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this:
http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/frameset.htm
Greetings,
Praveen Gudapati
p.s. Points are always welcome for helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please take a look at this:
http://help.sap.com/saphelp_nw04/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
Kind regards,
Ville
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.