On 24/12/12 4:48 AM, dtrussardi(a)tiscali.it wrote:
> 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 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.
> Now my question is:
> what do i do for redisplay the counter at the last update ?
> I need to configure something ?
IIUC, a Seaside component is created and initialized for each Seaside
session. I believe there is a way to set some initial values using link
parameters, but the details are not at my fingertips.
Can you say a bit more about how you are using the pier page to manage
components. Ideally, an example of the wiki markup, and maybe a code
snippet that configures the Pier component to create the WACounter (or,
the steps done in Pier, if you're not doing this part in code).