probleme avec le composant tomahawk inputHtml
Bonjour a tous,
je débute en jsf et j'ai besoin d'un editeur wysiwyg.
J'ai utilisé le composant inputHtml que j'ai inséré dans ma page jsf de la manière suivante:
Code:
<t:inputHtml value="#{test.answer}" id="editAnswer" allowEditSource="true" style="width:98%" showImagesToolBox="true" showTablesToolBox="true" addKupuLogo="false" />
J'ai ensuite ajouté le tag suivant dans tomahawk-taglib.xml:
Code:
1 2 3 4 5 6 7
| <tag>
<tag-name>inputHtml</tag-name>
<component>
<component-type>org.apache.myfaces.InputHtml</component-type>
<renderer-type>org.apache.myfaces.InputHtml</renderer-type>
</component>
</tag> |
Dans mon web.xml j'ai inseré:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
<description>Set the size limit for uploaded files. Format: 10 - 10
bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB</description>
<param-name>maxFileSize</param-name>
<param-value>20m</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping> |
Mais lorsque j'affiche ma page j'ai l'erreur suivante:
There was a problem initializing the drawers. Most likely the XSLT or XML files aren\'t available. If this is not the Kupu demo version, check your files or the service that provide them (error: Type mismatch).
Quelqu'un aurait une idée?
Merci pour votre aide