Hi!
> Why do we need a component to take values out of the request and
> apply them to a managed bean?  JSF managed-beans can do this
> right now without putting anything in the component tree.
>   
As the example shows, it allows us to attach converter and validators.
Not every property of a managed bean is a string or other primitive type.
And not every converter can be looked up from the faces-config.
At last using validators we can secure what CAN be set to the managed
property.

I think it makes no difference if the data were entered by the user or
comes in through get-requests.

It might look like overhead using the view for this, but it'll give us
the same flexibility as we have normally.
And it detaches the url parameter from the managed-bean. So you can
refactor your beans withouth breaking the url.

Ciao,
Mario

Reply via email to