Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [faces-dev] Faces 4.0: ClientWindowScoped prototyped in MyFaces
  • From: Manfred Riem <m_riem@xxxxxxxxxxx>
  • Date: Fri, 19 Feb 2021 15:00:04 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GwENCxtPjHctAsbT2/qa11rQjqbmWRSXoiAfrUSqjDE=; b=U/iednt1xa+hm8oujnLieTQWENIdTo0EdIBxXCK53LH+SGciBoTk5VEQftA/ZmuPwG9kfJCCWoWW35nhxsGMfi1J9n456NeXbI/XxYGvH8AfrSt+V8Rm6KofG+fyoA2qWasTMjAZ8RCMTmnK2BHKHBcq4EMooP1jpFBqqNKMFvAFzCk4gZyMOsYrW5/qbnplJWPADwmMYj393UDGpciG+t0dOJ/erebfISw6ohKcS96fJdHAt3RFKQhvkN+vXo401ZvhPMfhBaNvrIQNxKuud3mXdp6MRGw7csx0bbXtVkCaohQRTvVR4ydnjOITb89p2CwwagabHFVKNtev7h2vsw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aXlXSo4tHSZgng36IhWLUqBqOVx7gb86SsTk9qMcGGIejryi5NOYl/AgyQ7zbIszp8N6SJc7m5yue2mJ/tBKOZZskSshOWyxLwn2s6fz2yR86+CEk6+WLEXTctoivCZIHYNNrH9XlNQxlHIzmvEoSV/i3URNxD29ZDhQ+P51zDUm4xF5+AWdKTVlGdUIQkhr2bxGmncgiSu2bvpquarO4TdItFZwfGB8qVUidNveeDAH+yGtlykRWZblP7Iwm3bvPQmpVxSFmXD1sGjjmNeSxU9FcFiwtocIj0kWobt8rjdAi4B0+CEE+citmo6tU2/l20RWxa387OWNYhAWLLgBDA==
  • Delivered-to: faces-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/faces-dev/>
  • List-help: <mailto:faces-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/faces-dev>, <mailto:faces-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/faces-dev>, <mailto:faces-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHW7arxBbO53LOWiEWRzFktZZMkFqpattWAgAUNeiA=
  • Thread-topic: [faces-dev] Faces 4.0: ClientWindowScoped prototyped in MyFaces

Hi Thomas,

 

Feel free to issue the PR so we review/merge this!

 

Thanks!

 

Kind regards,

Manfred Riem

 

From: faces-dev <faces-dev-bounces@xxxxxxxxxxx> On Behalf Of Thomas Andraschko
Sent: Tuesday, February 16, 2021 2:50 AM
To: mojarra developer discussions <mojarra-dev@xxxxxxxxxxx>; faces developer discussions <faces-dev@xxxxxxxxxxx>
Subject: Re: [faces-dev] Faces 4.0: ClientWindowScoped prototyped in MyFaces

 

it would also be ok if you agree with the API change (the new @ClientWindowScoped), everything else is impl detail.

in MyFaces we just store a Map<ClientWindowId, BeanStorage> in the ExternalContext.

 

Am Mo., 18. Jan. 2021 um 16:01 Uhr schrieb Thomas Andraschko <tandraschko@xxxxxxxxxx>:

any feedback here? would really like to get a bit more drive into 4.0 spec.

 

Am Mo., 16. Nov. 2020 um 16:04 Uhr schrieb Thomas Andraschko <tandraschko@xxxxxxxxxx>:

In general this is a simple scope based on our ClientWindow, which can be accessed via ExternalContext.

DeltaSpike has it since ages.

This implementation is a simple Map inside the session, which has a "contextual storage" for beans, for each windowId.

The only thing missing is maybe a max-limit for the clientWindowId<>Storage map.

In DeltaSpike its configurable with a default of 1024. I think we could maybe limit it to 128 or 256, or introduce a context param. But i don't think the configparam is much used in the DS community.

WDYT?

If you are ok with it, i could also try to provide a mojarra PR here.

 

Best regards,

Thomas

 


Back to the top