Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mojarra-dev] Faces 4.0: ClientWindowScoped prototyped in MyFaces

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