cancel
Showing results for 
Search instead for 
Did you mean: 

How to Display Design Time and Runtime View Componets

Former Member
0 Kudos

Hi

I am developing application and in that we need to create tables dynamically and back button designtime.

i am creating Back button design time and createing the table dynically at runtime accourding to the no of rows in the table.

i have a left view and right view.

i have a button in the life view and to view the resuls in the right view.

first time i am getting resutls sucessfully.

next time on words its not comming .

is it possible to display the design time and runtime compoents in the same view.

thanks

mmukesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

It is possible in a single view.

Create 2 transparent containers in the view.design time.

In the 2nd transparent container, create button..dewsign time (2nd or 1st as u require)

then in coding..wdDoModifyView()


	IWDTransparentContainer root = (IWDTransparentContainer)view.getRootElement();//get the  Root container
	IWDTransparentContainer tabContainer = (IWDTransparentContainer)root.getChild(0);// 1st transparentcontainer where you have to add table dynamically.. add table node dynamically to this obj.."tabContainer"
	IWDTransparentContainer buttonContainer=(IWDTransparentContainer)root.getChild(1);//2nd trnasparent container where u have already added ur button in design time

Now write the coding to add tbles dynamically to "tabContainer"

regards

Smitha

thanks

smitha

Former Member
0 Kudos

Hi Smitha,

Thanks You very much

MMukesh