Git Product home page Git Product logo

Comments (13)

glassfishrobot avatar glassfishrobot commented on July 16, 2024

Reported by @edburns

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
up to p1 feature.

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
I have asked Ryan Lubke of the Sun team to produce a proposal for this, based on
Adam's content in this message.

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
Created an attachment (id=2)
source for proposal

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
From Ryan Lubke:

Motivation

AW> The faces-config.xml support for the decorator pattern is
AW> one of my favorite features in JSF, and I like pushing
AW> it at users whenever I get a chance. But it is a pain
AW> using it, especially on objects with large APIs (like ViewHandler).

AW> I'd recommend we follow the lead of the Servlet API and
AW> provide convenience classes for implementing the Decorator
AW> pattern. (They were a bit more than convenience classes
AW> for the Servlet API, but anyway...)

AW> This would make implementing the Decorator pattern much,
AW> much simpler. It also makes it much more robust - as things
AW> stand now, every time we add a method to any of these
AW> decoratable APIs in a new version of JSF, all existing
AW> Decorators will break!

Proposal

Create wrapper classes for the following:

  • ViewHandlerWrapper

  • StateManagerWrapper

  • ResponseWriterWrapper

  • PropertyResolverWrapper

  • VariableResolverWrapper (this one was added more for balance)

  • These classes have a single constructor which takes an instance
    of the class they are designed to wrap.

  • The default behavior for the methods of each implementation call through
    to the wrapped instance

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
take ownership

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
I've resolved ViewHandler, StateManager, and ResponseWriter and left the EL bits
until we have the EL alignment done.

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
Prepare to delete "spec" subcomponent.

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@edburns said:
Move all to 1.2

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

@manfredriem said:
Closing resolved issue out

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

File: wrapper-src.zip
Attached By: @edburns

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-15

from javaserverfaces-spec.

glassfishrobot avatar glassfishrobot commented on July 16, 2024

Marked as won't fix on Thursday, March 4th 2010, 6:09:29 am

from javaserverfaces-spec.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.