EnglishУкраїнськаmRussian
Login/New
Topic with many replies

Adding widget box / modifying Root Page(so)


| 1 | 2 | Last
Author Message
Written on: 16. 09. 2013 [10:36]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Hello Sir,
I need to add one more widget box to root page(so).
I have added it. Currently playing with AGLKS demo only.

But in programming what all changes required in following-
1. Procedure play demo
2. Event process
3. Process in properties of Root Page(so)

I tried to modify "3. Process in properties of Root Page(so) " could manage the front end to the user to some extent,
still could not get it as expected.

And how to link the widget box with the different pages? say "Memo" page.

Like in root page there is one widget box named - "pgCont" which is linked to various pages in root page(so) i.e. (document, memo, contours, graphics)

kindly have a look a the screenshot, to have an idea.

Thank you :-)
Attachment

widget box question.png (File type: image/png, Size: 283.81 kilobytes) — 2180 downloads
after_project run.png (File type: image/png, Size: 237.16 kilobytes) — 2270 downloads
Written on: 16. 09. 2013 [18:00]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"ajinkya" wrote:

And how to link the widget box with the different pages? say "Memo" page.

Like in root page there is one widget box named - "pgCont" which is linked to various pages in root page(so) i.e. (document, memo, contours, graphics)

You should:
- set attribute "page:group" to some self value, for "pgCont" that is "so" and for "infoW" that is "cntr";
- set the group for all your pages which needed for include to the box;
- prepare the pages call mechanism, by some button or other events.

Learn, learn and learn better than work, work and work.
Written on: 17. 09. 2013 [10:51]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Hello sir,
Thank you for your reply,
I had done that "page:group" assignment earlier for the new "wdg_Box" named pgCont1.

The actual question is how to divert few pages say - Mainstation, KM101, KM102 on pgCont
and the remaining KM201, KM202, KM301, KM302 on newly created "pgCont1".

Both pgCont and pgCont1 should be assigned to the same page:group as "so", right??

As i have assigned both of them to page:group "so".



But it does not help,
at a time, only one of the "wdg_Box" (either pgCont, pgCont1) are displaying the respective pages on button press.

Written on: 17. 09. 2013 [13:18]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"ajinkya" wrote:

I had done that "page:group" assignment earlier for the new "wdg_Box" named pgCont1.

What is the group value? The value have to different from "pgCont" and "infoW".

"ajinkya" wrote:

The actual question is how to divert few pages say - Mainstation, KM101, KM102 on pgCont
and the remaining KM201, KM202, KM301, KM302 on newly created "pgCont1".

You have not to direct present you have to create new and set for its group like for "pgCont1".

"ajinkya" wrote:

Both pgCont and pgCont1 should be assigned to the same page:group as "so", right??
As i have assigned both of them to page:group "so".

No the group value for the conainers have to specific!

Learn, learn and learn better than work, work and work.
Written on: 17. 09. 2013 [17:07]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Thank you sir,

It means I have to assign different page:group to each wgt_Box in Root Page(so).

I have gone through ElCadr widget in Projects tab which is assigned to "cntr" page:group,
and the things on ElCadr get displayed on infoW area.

So you want me to create some thing like ElCadr which will display the required things on pgCont1. right?

What I should do in order to get the Root page format as shown in the image attached? I mean from attributes setting and programming point of view.

I want to display floor plan (in the big encircled part on left hand side) on respective floor button pressed (1,2 or 3).
Is it possible?



[This article was edited 1 times, at last 17.09.2013 at 17:08.]
Attachment

Changed root page layout.png (File type: image/png, Size: 25.77 kilobytes) — 2273 downloads
Written on: 18. 09. 2013 [12:02]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"ajinkya" wrote:

So you want me to create some thing like ElCadr which will display the required things on pgCont1. right?

Yes, it is right.

"ajinkya" wrote:

What I should do in order to get the Root page format as shown in the image attached? I mean from attributes setting and programming point of view.

For buttons 1, 2 and 3 you should append events processing to RootPage for open the pages related to the buttons and into group of pgCont1.

"ajinkya" wrote:

I want to display floor plan (in the big encircled part on left hand side) on respective floor button pressed (1,2 or 3).
Is it possible?

You have to set need background for the pages behind the buttons 1,2 and 3. So you should have different pages for each button.

Learn, learn and learn better than work, work and work.
Written on: 24. 09. 2013 [20:16]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Hello sir,
Actually I am a bit stuck here.

Currently I have added one widget with ID "floor_plan" in widget library in Main Elements, which is basically a wdg_box.

As discussed I should have different page:group value for the new wdg_box,
but where are the already used page:group values defined?
Like "so" and "cntr", where should I define new "page:group" value?

Also will it (the ) be added in
1. Mnemo in Rootpage/*/mn/ or
2. RootPage/*/ or
3. Control panel ?

I have gone through --> http://wiki.oscada.org/HomePageEn/Doc/VCAEngine?v=17lg#h887-21

Please suggest the related and required links, which I should go through.
Written on: 25. 09. 2013 [08:06]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"ajinkya" wrote:

Currently I have added one widget with ID "floor_plan" in widget library in Main Elements, which is basically a wdg_box.

As discussed I should have different page:group value for the new wdg_box,
but where are the already used page:group values defined?
Like "so" and "cntr", where should I define new "page:group" value?

You need simple set equal group name to "page:group" for pages container Box, and your pages for open into the box. At all opening your new page "floor_plan" will included into container box if their "page:group" equal or as external window at no one appropriate Box container present.

"ajinkya" wrote:

Also will it (the ) be added in
1. Mnemo in Rootpage/*/mn/ or
2. RootPage/*/ or
3. Control panel ?

Depends from call the page method. For your assigning the page to call the related button you can place it to "Control panel".

Learn, learn and learn better than work, work and work.
Written on: 25. 09. 2013 [08:54]
ajinkya
Ajinkya Biradar
Topic creator
registered since: 17.12.2012
Posts: 23
Thank you very much sir, for your reply.

I have placed it in control panel now as you suggested, and its a bit easy too.

I am able to get the floor plan in the respective area i.e pgCont1.

Only one thing is remaining now,

-->> Opening a page in pgCont area on button pressed in pgCont1 area.

I will ask queries related to this 3rd and last part of my custom front end.

Thanks again :)

[This article was edited 1 times, at last 25.09.2013 at 08:55.]
Written on: 25. 09. 2013 [11:24]
roman
Roman Savochenko
Moderator
Contributor
Developer
registered since: 12.12.2007
Posts: 3750
"ajinkya" wrote:

I am able to get the floor plan in the respective area i.e pgCont1.
Only one thing is remaining now,
-->> Opening a page in pgCont area on button pressed in pgCont1 area.

Why the button into pgCont1 have place? On image layout.png this three button atop pgCont1 or you mean other button?

Learn, learn and learn better than work, work and work.
| 1 | 2 | Last



11152