u
> reference it via relative paths. That check does not apply for absolute
> paths (starting with a slash).
>
> Cheers,
> Christian
>
>
>
> > Am 24.02.2017 um 12:59 schrieb Jaroslav Ciml :
> >
> > Hi,
> >
> > I am trying to figure out what is the
Hi,
I am trying to figure out what is the correct location of assets with Tapestry
5.4 and Maven directory structure.
I will explain how do I understand it. Correct what is wrong please.
From logical point of view, I can think of two types of assets - global and
comopnent specific.
A global a
Hi,
I am trying to upgrade from Tapestry 5.3 to 5.4 and I encountered a problem
with built-in mixin Autocomplete.
It is quite useful if the mixin takes effect just if some condition is met. So
I have implemented a custom mixin by subclassing the built-in one.
Here is the important snippet of c
Hi,
Is rendering of a block possible directly from Java code?
I know that I can return a block from a rendering phase method:
Object beginRender()
{
if (someCondition) {
return someBlock; // of type org.apache.tapestry5.Block
}
...
}
However, can I do something like
Object
Hi,
is there a way to set the value of a mixin parameter in case of an
implementation mixin?
If the mixin is used as an instance mixin, I can bound its parameter value in
the template or using the attribute "parameters" of the @Component annotation.
However, let's supppose that a component ren
is wrapped into
a JSON object, in contrast to using a MarkupWriter (just like in Autocomplete).
Regards,
Jarda
> On Jun2, 2016, at 13:59, Thiago H de Paula Figueiredo
> wrote:
>
> On Thu, 02 Jun 2016 04:59:10 -0300, Jaroslav Ciml
> wrote:
>
>> Hi,
>
> Hi
Hi,
I'm using Tapestry 5.3.
In a Tapestry component, I'm trying to implement an event handler that creates
responses to AJAX requests.
I know that I can call MarkupWriterFactory#newPartialMarkupWriter to get an
instance of MarkupWriter and then generate the response using this MarkupWriter
in
016 08:48:17 -0300, Jaroslav Ciml
> wrote:
>
>> Hi Barry,
>
> Hello, Jaroslav!
>
>> This pattern (form data groupped in DTO, simple initialization for POST
>> requests in prepare for submit handler, more complex initialization for GET
>> requests in prepare
Data getFormData() {
>> return new SearchFormData();
>> }
>>
>> should fix it
>>
>> On Monday, May 23, 2016, Jaroslav Ciml wrote:
>>
>>> Hi,
>>>
>>> I am getting a strange exception during submit of a Tapestry form that I
&g
emoved the value of the
parameter t:submit.
Jarda
> On May25, 2016, at 12:37, Barry Books wrote:
>
> It's difficult to say why it might be null but changing the code to
>
> public SearchFormData getFormData() {
> return new SearchFormData();
> }
>
> should fix
Hi,
I am getting a strange exception during submit of a Tapestry form that I cannot
explain. It happens just rarely (but regularily) in the production environment.
I cannot even reproduce the exception.
I have a form in tml file of a Tapestry component.
...
..
And her
Hi,
good point! That's it.
isCommited() should return true after first flush() on output stream.
(according to JavaDoc of javax.servlet.ServletResponse)
Tapestry calls flush() on response output stream in
TapestryInternalUtils.copy() to prevent this issue.
However, there is a bug in SpringSec
Hi,
inside the troublesome method, RequestGlobals.getHttpServletRequest() returns
instance of
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestWrapper
this one wraps
org.springframework.security.web.firewall.RequestWrapper
and this wraps
org.mortbay.jetty.Request
Hi,
thanks for another hint. :) It was worth trying.
However, I am out of luck with this issue. RedirectFixRequestFilter from
gaeutils does not help either. :(
Cimlman
__
> Od: Lance Java
> Komu: Tapestry users
> Datum: 16.10.2013 1
Hi,
not sure if I understand your idea.
Spring Security is necessary to reproduce this issue. The problem occurs only
with Spring Security. The same event handling method works fine on page without
Spring Security.
Cimlman
__
> Od: L
Hi,
thanks for these hints.
However, the exception is caused by something different. :(
I am not using GAE.
Setting "tapestry.gzip-compression-enabled" to "false" does not help either.
Cimlman
__
> Od: Lance Java
> Komu: Tapestry u
.org/schema/security
http://www.springframework.org/schema/security/spring-security.xsd";>
Cheers
Cimlman
__
> Od: Jaroslav Ciml
> Komu: Tapes
Komu: Tapestry users
> Datum: 26.09.2013 18:43
> Předmět: Re: StreamResponse an EventLink
>
>On Thu, 26 Sep 2013 11:35:57 -0300, Jaroslav Ciml wrote:
>
>> Hi,
>
>Hi!
>
>> I am using Tapestry version 5.3.6.
>
>I tested it on 5.4-alpha-22.
>
>> This exce
.run(QueuedThreadPool.java:582)
__
> Od: Thiago H de Paula Figueiredo
> Komu: Tapestry users
> Datum: 26.09.2013 14:42
> Předmět: Re: StreamResponse an EventLink
>
>On Thu, 26 Sep 2013 07:43:44 -0300, Jaroslav Ciml wrote:
>
>> Hi,
>
>Hi!
>
Hi,
Is returning an StreamResponse instance from EventLink handler a good practice?
I have the following link in the template file.
${message:exportToCsv}
And the following method handles the event in java file.
@OnEvent("exportToCsv")
StreamResponse exportToCsv()
{
return new TextSt
20 matches
Mail list logo