File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

JSF 1.2 File upload using Tomahawk

Swapnil Chorghe

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
I agree. Here's the link:
subject: JSF 1.2 File upload using Tomahawk
It's not a secret anymore!