Hello!
In the AppModule class we defined a custom component transaction
filter. When this filter throws an exception, it is not rendered with
the exception report page, instead we are getting this stacktrace:
java.lang.NullPointerException
org.apache.tapestry5.internal.services.as
Am 10.01.2012 09:51, schrieb Stephan Windmüller:
> In the AppModule class we defined a custom component transaction
> filter. When this filter throws an exception, it is not rendered with
> the exception report page, instead we are getting this stacktrace:
Forgot to mention: We are using Tapestr
Hi all,
We are proud to announce the availability of exanpe-t5-lib 1.2.0 release.
Since the last two months (last release), we kept developing new components,
mixins, and services to fill out the Tapestry core:
Components :
- Added ListSorter component:
Sort a list of data using drag and
I have already answered to this.
The clearing of the cache seems to have solved my problem as well.
2012/1/10 Muhammad Gelbana
> Shouldn't Gunnar decide first if the issue should be closed or not ?
>
> On Tue, Jan 10, 2012 at 12:08 AM, Bob Harner wrote:
>
> > Is anyone still seeing this proble
I think clearing the cache is not the full answer to this problem.
There aught to be a better answer. Perhaps versioning the formdata element?
On Jan 10, 2012, at 10:13 AM, Gunnar Eketrapp wrote:
> I have already answered to this.
>
> The clearing of the cache seems to have solved my problem a
We are attempting to use PageTester with an application using
tapestry-security, and are running into a problem on any secured
pages, where there is no SecurityManager available. I think I
understand the problem, but I suspect that someone has already put in
the effort to move from understanding t
On Tue, Jan 10, 2012 at 8:00 AM, Jonathan Barker
wrote:
> We are attempting to use PageTester with an application using
> tapestry-security, and are running into a problem on any secured
> pages, where there is no SecurityManager available. I think I
> understand the problem, but I suspect that s
Order counts; your filter needs to be ordered after Tapestry's
"ErrorFilter" contribution; otherwise, there's nothing to catch the
exception and report it.
On Tue, Jan 10, 2012 at 1:10 AM, Stephan Windmüller
wrote:
> Am 10.01.2012 09:51, schrieb Stephan Windmüller:
>
>> In the AppModule class we
Just wanted to say a big thanks for this Lance. I ran your code and used it
extensively in my own project where I'm using a crawler to gather
information. The UI is updated every second with the new total of saved
crawled results. This taught me some stuff about threading and got me to
finally u
Hello,
I would like to programmatically (from java) set the 'show' and 'update'
attribute of a zone.
I found no way of doing this neither from the page with an injected Zone nor
from simply extending the Zone components as the corresponding fields are
private.
After a quick look at the Zone source
Hi,
Yes there is a rather simple solution.
Just find the ZoneManager for the specific zone and update it's updateFunc
member.
Look at the the definition of Tapestry.ZoneManager [1].
[1]
https://github.com/apache/tapestry5/blob/trunk/tapestry-core/src/main/resources/org/apache/tapestry5/tapestry.j
Hi
If I understand correctly
//Java
public String getShow(){
return ...;
}
public String getUpdate(){
return ;
}
On Jan 10, 2012, at 4:41 PM, ffred wrote:
> Hello,
>
> I would like to programmatically (from java) set the 'show' and 'update'
> attribute of a zone.
> I found no w
Hello,
I have an app with:
-a web layer (Tapestry5)
-a service layer (Spring)
-a domain layer (Jpa)
I have a mail template located a the root of the my-project-service.jar
file (service layer) and it seems that Tapestry imposes its own classpath
location which causes the velocity template resolu
On Tue, 10 Jan 2012 14:46:01 -0200, Julien Martin wrote:
Hello,
Hi!
*org.apache.tapestry5.runtime.ComponentEventException: Unable to find
resource 'request-childminder-confirmation-mail-template_fr.htm' [at
classpath:com/bignibou/web/pages/InscriptionProfessionnelGardeEnfant.tml,
line 20]*
Hello,
I know this is an old thread, but I'm facing the same problem. I'd like to
ask if someone else has found an alternate solution to this problem, without
having to use log4j filtering.
Cheers,
Paulo Ricardo
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Disable-Acces
If you remove the *@Inject* annotation and keep the *@Symbol* annotation, I
think it should work as you would like it to.
On Tue, Jan 3, 2012 at 8:00 PM, Howard Lewis Ship wrote:
> It is not possible.
>
> However, you can initialize a symbol with another symbol's value:
>
> configuration.add("my
Also please state the code causing the exception.
On Tue, Jan 10, 2012 at 7:59 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Tue, 10 Jan 2012 14:46:01 -0200, Julien Martin
> wrote:
>
> Hello,
>>
>
> Hi!
>
>
> *org.apache.tapestry5.runtime.**ComponentEventException: Unable
When I had this problem, clearing the cache didn't solve it. I had move all
my classes\tml\resources manually from my old tapestry project to a new
tapestry 5.3.1 skeleton project.
On Tue, Jan 10, 2012 at 5:32 PM, Lenny Primak wrote:
> I think clearing the cache is not the full answer to this pro
On Tue, 10 Jan 2012 16:09:07 -0200, Julien Martin wrote:
Caused by: org.apache.velocity.exception.ResourceNotFoundException:
Unable to find resource
'request-childminder-confirmation-mail-template_fr.htm'
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceMan
The Freemarker project gave me similar problems. They have a
Configuration object where you can do
configuration.setClassForTemplateLoading(Class clazz, String
directory). Does Velocity have the same option? If it does, I just
used getClass() within my service to supply that Class parameter.
On
Thanks a lot for your reply Jonathan,
Can you share some code sample (if you have it to hand) please?
Also where does this code go?
*configuration.setClassForTemplateLoading(Class clazz, String directory)*
Regards,
Julien.
2012/1/10 Jonathan Barker
> The Freemarker project gave me similar proble
Hello and thanks for the reply Muhammar,
Here is the relevant code:
*String content =
VelocityEngineUtils.mergeTemplateIntoString(velocityEngine,
"request-childminder-confirmation-mail-template_fr.htm",
"UTF-8", model);*
*
*
*
resource.loader=class
class.resource.loader.class=org.apache.velocity
The actual error reported is caused by what looks like a defect:
java.lang.NullPointerException
org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl.isCompressable
The code:
public boolean isCompressable(String contentType)
{
assert contentType != null;
I was noticing that I hooked up that service using Spring, rather than
in AppModule, but it shouldn't matter much.
private void init() {
_logger.debug("init() starting");
if (_configuration == null) {
_configuration = new Configurati
Thanks Jonathan.
I am realizing it is probably a basic mistake on my part on the Spring
configuration side.
The exception I got was misleading.
Julien.
2012/1/10 Jonathan Barker
> I was noticing that I hooked up that service using Spring, rather than
> in AppModule, but it shouldn't matter much.
Yes it was just that.
J.
2012/1/10 Julien Martin
> Thanks Jonathan.
> I am realizing it is probably a basic mistake on my part on the Spring
> configuration side.
> The exception I got was misleading.
> Julien.
>
> 2012/1/10 Jonathan Barker
>
>> I was noticing that I hooked up that service usin
I have a component Header and in there I have a menu. What I want is that on
the click in that menu I refresh two ajax zones one in the header (the ajax
zone in which is the menu) and the other which is in the main page. How can
I best propagate the event, or should I use another way like injecting
On Tue, Jan 10, 2012 at 11:59 AM, Josh Canfield wrote:
> The actual error reported is caused by what looks like a defect:
>
> java.lang.NullPointerException
>
> org.apache.tapestry5.internal.services.assets.CompressionAnalyzerImpl.isCompressable
>
> The code:
>
> public boolean isCompressab
Borut,
If you want to configure environments differently, I suggest looking
into resource filtering via maven.
see my thread titled 'configuration strategy' for more info.
p.
On 4/01/2012 2:59 AM, Borut Bolčina wrote:
Hi,
I would still like an advice on the approach on how to initialize cu
In GZipEnabledResponse
@Override
public ServletOutputStream getOutputStream() throws IOException
{
if (contentLengthSet || isCompressionDisabled())
return super.getOutputStream();
String contentType = getContentType();
return new BufferedGZipOutputSt
Hi
Use AjaxResponseRenderer
http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/ajax/AjaxResponseRenderer.html
http://tawus.wordpress.com/2011/10/01/tapestry-5-3-new-features-part-2/
regards
Taha
On Jan 11, 2012, at 4:53 AM, bhorvat wrote:
> I have a component Header and in
kalle, one other tip for your document which was a bit of a gotcha today
(when adding a 2nd project):
Make sure 'Automatically compute' is checked on the 'Source path' page
of window>preferences>tomcat section.
This tip could go between point 6.3 and 6.4.
On 7/01/2012 3:24 PM, Kalle Korhonen
Lol, I was in that thread suggesting filtering with Maven, this problem is
another beast.
As Howard nailed it, one can not eat a cake before baking it.
-borut
Sent from my iPad
On 11. jan. 2012, at 02:03, Paul Stanton wrote:
> Borut,
>
> If you want to configure environments differently, I
33 matches
Mail list logo