Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [faces-dev] Deprecate @FacesConfig
  • From: Manfred Riem <m_riem@xxxxxxxxxxx>
  • Date: Mon, 18 Jan 2021 15:21:30 +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=Q8kgsrJ/Mt90sXIrT55HgJCMnBhH6L71Zdcql4anTj0=; b=j7d/Egz0KETBpI2YrTcwXWdfwetOsoXHEHUi8J0yDwJlWM82WPd8GQQVqzQno1pOU6JOBysEPy05wuDkeiCi+eHpsV4YNwQzxXXidNpxp4O3HArKkRTQfsUUOg9P6auyD1iX/F7oASzxa9sklaTlNRN2m9jlBA10UblxuAmoVHu/xYzSQAGPZSy4S3pet+YIvqc5/FYAtlxVXjYU/wY1zuhisbb/7clwVZbH4BgmzqBFIO0Ue48DRgDutlF9NHG7mS1hgD1FdfQ3HoiWHhwemqmo6eGBSiYmGUtCA2Q+tNWiOpClr8EqsXa10ucUcilDjs6jbMpmGuN5ha0ktKSOIA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VbF3DR8psScxRck9CWk2vtEFxGUk8KXg07a/ciilg9r3aQd+iFvBiet4D2BYjY7K3ovwyq40PhJD+8UfYMJ+OetdFAvYdtje+WE2X1+3w/YxAq1FSBmqF/jPo0WR51UcgJfZrhMnlAOey0XVpn81xtNvUyGkNL6bkVGxCFDTqGjOkQozJvYZDOAwBhw0/wWQ54S2Q7FU8hG0P/Po6GbB8kMf60LR+WBZyRaN1iD73tOTXhTR6pucauv1O4P0WViFnLgQl5npMxJjqHC0Uo0YbLuuE30nOxA0ZvSXqp9AfHo9wf7M0lmm6y/O9FXmJfbsct08IsFG28x+5clWQ3vu/A==
  • 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: AdbtqFwozIx6A5v9QBC2Lk6bOrwE9gAAlGiAAAA91wAAAGh/gA==
  • Thread-topic: [faces-dev] Deprecate @FacesConfig

Hi,

 

The historical main purpose was NOT for automatically mapping the FacesServlet, it was for configuring a mode that would behave like a specific version.

 

Thanks!

 

Kind regards,

Manfred Riem

 

From: faces-dev <faces-dev-bounces@xxxxxxxxxxx> On Behalf Of arjan tijms
Sent: Monday, January 18, 2021 8:08 AM
To: faces developer discussions <faces-dev@xxxxxxxxxxx>
Subject: Re: [faces-dev] Deprecate @FacesConfig

 

Hi,

 

The latest and greatest should indeed always be used. That weird simulation is just odd, but didn't we already agree to remove the "fake faces 2.2 mode"?

 

@FacesConfig's main purpose is to add the Faces servlet mapping automatically. 

 

Before @ManagedBean would be used for that, but we've deprecated it, and are going to remove it. Some of the other Faces annotations can still be used for that, but most of them are not always present in a Faces application.

 

So +1 for removing the fake version and its semantics (always use latest and greatest

-1 for removing @FacesConfig itself, as it's a marker

 

Kind regards,

Arjan

 

 

 

 

 

 

 

On Mon, Jan 18, 2021 at 4:00 PM Thomas Andraschko <tandraschko@xxxxxxxxxx> wrote:

TBH I didn't understand why you introduced it anyway.

As you said, the default should be the latest and greatest always.

You can never simulate 100% of JSF2.0 in e.g. JSF2.3 container, if you configure @FacesConfig(2.0);

I would also get rid of it an rely on a specific feature configuration like javax.faces.ENABLE_CDI_RESOLVER_CHAIN.

 

 

Am Mo., 18. Jan. 2021 um 15:44 Uhr schrieb Manfred Riem <m_riem@xxxxxxxxxxx>:

Hi all,

 

Let’s deprecate @FacesConfig and make the default always the latest and greatest of Faces!

 

Agreed?

 

Thanks!

 

Kind regards,

Manfred Riem

 

_______________________________________________
faces-dev mailing list
faces-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/faces-dev

_______________________________________________
faces-dev mailing list
faces-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/faces-dev


Back to the top