cancel
Showing results for 
Search instead for 
Did you mean: 

Working with Views in a Component

Former Member
0 Kudos

Hello,

I am creating 2 views in a component ....so now how do I decide that which will be the first view visible to the user ...since it appears that always the first one which you create is the first one displayed...how can I change this default behaviour ....

Thanks in Advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

in the view properties you have a property default visible and it is true for the first view as default and obviously it is false for the second one and if you change the second view propety as true automatically it will be false for the one and you can see the second view by default.

regards

Manohar

Former Member
0 Kudos

Thanks for the reply.....but when I goto the View Properties I don;t see property default visible there....I just see LifeSpan Property as Framework_Controlled or when_visible....please let me know if I am missing something....

Former Member
0 Kudos

Hi,

First expand the window, then just select the view and then look into the properties window wherein you set the properties of your context and not the properties window that you find for the view itself.

Regards,

Murtuza Kharodawala

Former Member
0 Kudos

Ya... I got it... thanks for the help...now what I want to do is to show a view to the user and then when the next view is visible and available to load ....I should be able to kill the session for the first view and then show the next view....this is one of the requirements of the ESS TimeSheet Application when it takes time to load .....

Thanks.,

Former Member
0 Kudos

Hi,

Will you show this 2nd view on some event that is triggered by the user or you want to do this automatically after sometime. If it is based upon some user action then you can fire the plug to the 2nd view upon that event and if you want to do that automatically after sometime then you can use the timer ui element and fire the plug in that event.

Regards,

Murtuza

Former Member
0 Kudos

Thanks again...I was able to create a TimedTrigger element and then set the delay property to 5 sec. and fire the Action to the 2 view....now I also want to show a Progress Indicator on the screen moving and showing a certain percentage.....Appreciate your help...

Former Member
0 Kudos

Hi,

Create 2 contexts 1 for timer and 1 for progress indicator. Set the delay to 1 sec and bind percentage attribute of the progress indicator to the context created for context.

Increase the timer context by 1 everytime and increase the percentage context to 20 int timer event and once the timer context reaches 5 fire your plug.

Regards,

Murtuza

Former Member
0 Kudos

You are the best ...Thanks.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Expand your windows options in the WD perspective under your project. Select the view which you want to make as the start view and set its default property to true.

Regards,

Murtuza