JSF – We need more interfaces in the API

I filed this JSF Spec bug because I think, that we (the JSF folks) need more interfaces in the Components API.

In MyFaces (to connect Trinidad / Tomahawk) we were doing String comparison (the Component Family) to check if a component is a Form. With an interface for “JSF Form components”, that wouldn’t be needed and the solution would be more type-safe, than the String-hack.

The “table” component also could be a good candidate for getting an interface.

Let’s see what happens!

Howdy!

Posted in jsf, myfaces, trinidad
One comment on “JSF – We need more interfaces in the API
  1. Pete Muir says:

    I agree – the form in particular should have an interface.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: