掲示板

bridge:inputFile size and css problem

thumbnail
11年前 に Johann Kneringer によって更新されました。

bridge:inputFile size and css problem

Junior Member 投稿: 42 参加年月日: 11/11/10 最新の投稿
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
11年前 に Neil Griffin によって更新されました。

RE: bridge:inputFile size and css problem

Liferay Legend 投稿: 2655 参加年月日: 05/07/27 最新の投稿
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