0

I am trying to use tomahawk MyFaces file upload component t:inputFileUpload. I followed the example at JSF 2.0 File upload, with one change-instead of copying files to /lib, I used maven. There are no errors or warnings, but the file upload component is not showing up. Only the submit button shows on the screen. Please help me

Community
  • 1
  • 1
user1603218
  • 1
  • 1
  • 1

1 Answers1

1

Check the rendered HTML page. Perhaps it still contains <t:inputFileUpload>. In this case you may have forgotten to add the namespace for the prefix t to your file like this:

xmlns:t="http://myfaces.apache.org/tomahawk"

If the prefix isn't defined, the tags are simply not processed and directly rendered to the output.

chkal
  • 5,598
  • 21
  • 26