19 mayo 2009

puntos interesantes en seam_reference-2.1.2.CR1.pdf

Sets the character encoding of submitted form data.

This filter is not installed by default and requires an entry in components.xml to enable it:


<web:character-encoding-filter encoding="UTF-16" override-client="true" url-pattern="*.seam"/>




Transactions

Finally, let's talk about transactions. In an EJB3 environment, we recommend the use of a special built-in component for transaction management, that is fully aware of container transactions, and can correctly process transaction success events registered with the Events component. If you don't add this line to your components.xml file, Seam won't know when container-managed transactions end:

<transaction:ejb-transaction/>





No hay comentarios: