Hi!

I am using:
- JSF 1.2 RI
- Facelets
- Tomahawk (1.1.6)

The tomahakw extenstion filter is configured
(org.apache.myfaces.webapp.filter.ExtensionsFilter)

The form is using <h:form enctype="multipart/form-data"...>

In HTTP, everything work perfectly. (form with or without file upload)

In HTTPS, sometimes, I lose a value. The https request contains the value, like:
-----------------------------14216760423810
Content-Disposition: form-data;
name="test_domainuid_6f644761-68eb-4cd1-b718-7d9e980156eb"

US

But the value is lost sometimes.
I check the bug report
https://issues.apache.org/jira/browse/TOMAHAWK-1108 and tried to use
the proposed patch, but it does not solve the problem.

To get the value, I tried the 2 following methods in my rendering class:
1.
Map<String, String> requestMap =
context.getExternalContext().getRequestParameterMap();
String valueAsString = requestMap.get( clientId );

2.
HttpServletRequest request = (HttpServletRequest)
context.getExternalContext().getRequest();
String valueAsString = request.getParameter( clientId );

This is a weird problem...

Has somebody an idea to solve it?

Yann

Reply via email to