Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF 1.2 File upload using Tomahawk

 
Swapnil Chorghe
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using tomahawk tag t:inputFileUpload in my JSF 1.2 for file upload functionality.
Below is my sample code:

but when I run the code I am not able to see File upload field. Only Submit button is getting dispalyed.
and in console I am getting Following warning:


When I checked the html source code, the tag <t:inputFileUpload> is not getting converted to <input type="file">
please help!!!
 
suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check if you are defined the tomhawk xmlns schema in your jsf page, without defining this schema, renderer will ignore this kind of components.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic