GeeCON Prague 2014*
The moose likes JSF and the fly likes JSF 1.2 File upload using Tomahawk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "JSF 1.2 File upload using Tomahawk" Watch "JSF 1.2 File upload using Tomahawk" New topic
Author

JSF 1.2 File upload using Tomahawk

Swapnil Chorghe
Greenhorn

Joined: Oct 02, 2012
Posts: 1
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

Joined: Oct 05, 2009
Posts: 121

Check if you are defined the tomhawk xmlns schema in your jsf page, without defining this schema, renderer will ignore this kind of components.


Sun Certified Java Programmer with 93 percent
 
Consider Paul's rocket mass heater.
 
subject: JSF 1.2 File upload using Tomahawk