Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
Johann Kneringer
bridge:inputFile size and css problem
2 de noviembre de 2012 3:58
Respuesta

Johann Kneringer

Ranking: Junior Member

Mensajes: 42

Fecha de incorporación: 10 de noviembre de 2011

Mensajes recientes

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
7 de noviembre de 2012 13:03
Respuesta

Neil Griffin

LIFERAY STAFF

Ranking: Liferay Legend

Mensajes: 2336

Fecha de incorporación: 26 de julio de 2005

Mensajes recientes

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