// Gzip streams must be explicitly closed.
tempOut.close();
// Update the Content-Length header.
res.setContentLength(byteStream.size());
// Send compressed result to client.
OutputStream realOut = res.getOutputStream();
byteStream.writeTo(realOut);
}
Yes. Since the filter applies http headers before the tapestry servlet
handles the request, you should be able to do this without issue.
How is your filter set up in your web.xml?
Here is mine (using pjl-comp-filter and servlet 2.4):
compress
com.planetj.servlet.filter.compression.Compressing
Use the "and" operator synonym as defined here:
http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/apa.html#operators
e.g.
Paul
On Tue, 2006-10-17 at 21:29 +, Gareth wrote:
>
>
> 46
> 47
> 48
> 49 name="actionsDisabled" value="ognl: addingOrAmendingSought &&
> (currentSkil
Check the capitalization of your date format. It must comply with
java.text.SimpleDateFormat:
http://java.sun.com/j2se/1.5.0/docs/api/java/text/SimpleDateFormat.html
I think you want this:
Bode, Bianca wrote:
> Hi guys,
>
> I've tried everything I could come up with to display my Dates in a
>
tor is mm/dd/ I think.
>
> Malin
>
> On 6/21/06, Paul Ferraro <[EMAIL PROTECTED]> wrote:
>>
>> That syntax is documented here:
>>
>> http://tapestry.apache.org/tapestry4/UsersGuide/validation.html#validation.fields
>>
>>
>> What aspe
That syntax is documented here:
http://tapestry.apache.org/tapestry4/UsersGuide/validation.html#validation.fields
What aspect of localization is not working? The format? date symbols?
or validation error messages? all of the above?
The format is unfortunately hard coded and can be overridden.
It depends on which service you expect the redirect page to use.
e.g.
If the ExternalService will handle your redirect link, you can use:
String page = "MyPage";
Object[] parameters = new Object[] { parameter1, parameter2 };
// Alternatively, you can use injection to obtain service
IEngineService
This should work:
Paul
Malin Ljungh wrote:
> Hi all,
>
> I'm a newbie and just too tired think right now. Please help me :)
>
> I have a form with two TextFields where the user should enter somes
> dates. I
> use the date validator to check that co