cancel
Showing results for 
Search instead for 
Did you mean: 

how can i implement dynpages

Former Member
0 Kudos

Hi All,

I am very new to dynpages,

I have the form, and i have buttons on that,

if i click on that, i want to open new form and at the same time i want to disable the prevoius form,

how it is possible .

could anybody help me.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member188598
Contributor
0 Kudos

Hi Suresh,

Plz check these links for info regarding jspdynpages:

http://help.sap.com/erp2005_ehp_03/helpdata/EN/95/cfa441cd47a209e10000000a155106/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f5/cfa441cd47a209e10000000a155106/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/44/471ce3617b14bce10000000a155369/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/content.htm

/people/community.user/blog/2006/11/02/jspdynpage-with-client-side-eventing-and-database

Regards

Priyanka

xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Edited by: Armin Reichert on Apr 8, 2008 9:56 AM

Former Member
0 Kudos

Hi Priyanka,

Thank you very much, the blog u send is very helpful to me, and one more thing here is, while i was going to create portal object first time.

here it is asking abt portal object and jsp page that is fine, if i want to create another jsp in the same portal object how it is possible?

let me explain with an example,

suppose if i have two buttons(Add and Delete) in the form (myform),

if i click add button, myform will be disable and at the same time i have to call AddJsp file, like that.

In my portal application if i click add button both forms are getting visible

i have to sole this prob. please guide me.

with regards

Suresh

former_member188598
Contributor
0 Kudos

Hi Suresh,

M not getting ur prob exactly.Plz go to nwds help>Sap Nwds documentation>SAp EP->Go n create->tutorial-III. This tells about data exchange between a jspdynpage and jsp.

Hope this helps.

Regards

Priyanka

(please stop asking for points. AR)

Edited by: Armin Reichert on Apr 11, 2008 3:20 PM

Former Member
0 Kudos

Hello Suresh,

You can create new views using the following code at method wdDoModifyView()


IWDView childview = (IWDView)view.createElement( IWDView.class, "ChildView");

To Access the parent view


IWDView parentView = (IWDView)view.getElement( "parentView");

I have seen the destroy() method to remove the containing view from the parent.

Follow the code


childview.getRootElement().destroy();

regards

- Vinod

*

Former Member
0 Kudos

Hi vinod

here i am usig dynpages na, not webdynpro.

Former Member
0 Kudos

This is nonsense.

Armin

Former Member
0 Kudos

Hi,

In Dynpage, write various JSP's for forms as you require.

Try to call jsp as per the requirement.

you can hide the current jsp and move to other jsp and so on.

Regards,

Naresh