Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Johann Kneringer
bridge:inputFile size and css problem
November 2, 2012 3:58 AM
Answer

Johann Kneringer

Rank: Junior Member

Posts: 42

Join Date: November 10, 2011

Recent Posts

Hey,

I want to use the size property on bridge:inputFile, but it does not work.

You can upload documents that are bigger than the specified size.

Another bug of this component is that if you add the size property on the view, the component styling breaks...If I remove the property again, the component is displayed normal...

Can anyone reproduce this error/bug?

I'm working with liferayfaces bridge 3.1.0 ga1

---

edit:

can you move this thread in the English area?
Neil Griffin
RE: bridge:inputFile size and css problem
November 7, 2012 1:03 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2336

Join Date: July 26, 2005

Recent Posts

Hi Johann,

(I moved the post to the English thread)

The file size limit is controlled by the optional javax.faces.UPLOADED_FILE_MAX_SIZE param in the WEB-INF/web.xml descriptor.

The size attribute is a pass-thru attribute that controls the width of the component. See: http://www.w3schools.com/tags/att_input_size.asp

Kind Regards,

Neil