Hi,
my some other considerations:
Hi,
i work with Pier 3.0.0
I have a pier site with a menu to manage some pages.
Some of this pages are configured to manage components.
For test i add some Counter seaside application instances.
Now when display a specific page with some counter it work fine:
i can change any specific counter instance in the page
My Pier instance is based on PRDistribution where i declared
counterwidget
^ counterwidget ifNil: [counterwidget := (PRComponent named: 'counter')
componentClass: WACounter;
title: 'Counter on-line';
yourself
]
The relative page is declared with:
(PRPage named: 'counterpage')
title: 'Embed';
contents:
'+/system/components/counter+'
All works fine at the first display.
My problem is when i change the menu for display another page.
In this case when redisplay a page with the counters all instance are reset to 0.
I remark the problem :
when redisplay the counterpage the counter is reset to 0.
I do some test in hold image based on Pier 2.0.6 and with it all works fine.
( i don't remember particular setting into Pier 2.0.6 Pharo image)
The WACounter remember is state and is right rendered when i redisplay the relative
page.
This is my objective.
How i read in some Pier documents my goal is to embedded seaside application / component
into Pier.
Now my question is:
what do i do for redisplay the counter at the last update ?
I do some test adding the component directly in a page with Pier interface but the
problem remain into Pier 3.0
I need to configure something ?
Renewal my thanks for any considerations
Dario