2010/2/11 Dan Allen <dan.j.allen@gmail.com>
On Thu, Feb 11, 2010 at 9:32 PM, Leonardo Uribe <lu4242@gmail.com> wrote:
Hi

 I found some examples on mojarra distribution uses the following notation to define content type and encoding:

<f:view contentType="text/html; charset=iso-8859-1">

Is that valid? (it has sense)

in JSF 2.0 Rev A Change Log it says:

C051      Errata      TLD Docs for Facelets f:view needs contentType and encoding attributes

but checking previous mails on this list, in the topic:

[jsr-314-open] Errata: contentType and encoding on f:view

it says this two params should be removed from facelet taglibdoc.

Absolutely not. This is a long standing feature of Facelets and we can't expect to remove it without massive fallout. These should be documented.

Ok, thanks for the tip! I'll do some corrections on myfaces code to make it work correctly.

regards,

Leonardo Uribe
 
-Dan

--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen