Foren

bridge:inputFile size and css problem

thumbnail
Johann Kneringer, geändert vor 11 Jahren.

bridge:inputFile size and css problem

Junior Member Beiträge: 42 Beitrittsdatum: 10.11.11 Neueste Beiträge
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?
thumbnail
Neil Griffin, geändert vor 11 Jahren.

RE: bridge:inputFile size and css problem

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
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