WebSphere Application Server - There is a bug for extended JSF fileupload component

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > September 2005 > There is a bug for extended JSF fileupload component





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author There is a bug for extended JSF fileupload component

2005-09-27, 5:57 pm

Hi,

The problem is as follows for extended fileupload component:
When you use the fileupload component with a specific size, eg. size=50, it works fine in Design & Preview in rational application developer, however it always shows with default szie of 20 characters in Runtime.

Is there anyway to fix this problem?

...
<hx:fileupload styleClass="fileupload" id="fileupload1" size="50" value="#{pc_Upload.new_rec.PHOTO}" accept="image/*">
<hx:fileProp name="fileName" value="{pc_Upload.new_rec.FILENAME}" />
<hx:fileProp name="contentType" value="{pc_Upload.new_rec.FILETYPE}" />
</hx:fileupload>
...

Thanks,

Jeff

2005-09-28, 6:04 pm

Hi,

I found the solution. Thanks for your attention.

Thanks,

Jeff

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com