Hello,
I could not find documentation on how to add stylesheets and JavaScript
files to all pages.
the wiki page
(http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators) is
questioning if this is possible as well.
I build the following working solution from exploring the Tapestry code
Hi!
Correct me if I'm wrong but the createAsset method seems to be a "no need"
because this job is already made by RenderSupport.
So, I think the following code is enough:
/**
* Insert global stylesheets and JavaScript files
* @param configuration
* @param symbolSource
I'd like to announce the first stable release of the Tapestry-Testify
project at Tapestry360:
https://tapestry.formos.com/projects/tapestry-testify/
Tapestry Testify is an extension to Tapestry that allows you to write page
and component tests very easily and have them run very efficiently.
I'
Its us who should be thanking you Paul, great job on testify!! I am already
wandering how I tested before without it!!
Peter
- Original Message -
From: "Paul Field"
To: users@tapestry.apache.org
Sent: Friday, 7 August, 2009 12:05:46 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject
Hi Guys,
great news!
> I am already wandering how I tested before without it!!
Well in the end I did not automatically test my pages at all, just manually
(please don't beat me! ;-) ). But I'm starting right now I promise!
Regards, nillehammer
==
http://www.winfonet.eu
- original Nachricht --
The following snippet in a page template leads to the exception
# java.lang.RuntimeException
Exception assembling root component of page Navigation: Exception
assembling embedded component 'link' (of type
org.apache.tapestry5.corelib.components.ActionLink, within Navigation):
Component Navigat
You have t:id="link" on two different components. That is not allowed.
On Fri, Aug 7, 2009 at 4:06 AM, Sebastian
Hennebrueder wrote:
> The following snippet in a page template leads to the exception
>
> # java.lang.RuntimeException
> Exception assembling root component of page Navigation: Exceptio
+1. This is a wonderful effort with a great result!
Christian.
On 2009-08-07, at 05:13 , Peter Stavrinides wrote:
Its us who should be thanking you Paul, great job on testify!! I am
already wandering how I tested before without it!!
Peter
- Original Message -
From: "Paul Field"
To
Yes, rename one to link1 and the other to link2
On Fri, Aug 7, 2009 at 8:30 AM, Howard Lewis Ship wrote:
> You have t:id="link" on two different components. That is not allowed.
>
> On Fri, Aug 7, 2009 at 4:06 AM, Sebastian
> Hennebrueder wrote:
>> The following snippet in a page template leads t
I found this work around as well but this would require a second event
listener method.
But I suppose that the ids need to be unique on the Tapestry component
tree, so the fact that the id is unique on the rendered result is not
relevant. As a consequence, I will need the second event listener
Em Fri, 07 Aug 2009 10:47:29 -0300, Sebastian Hennebrueder
escreveu:
I found this work around as well but this would require a second event
listener method.
You can use @OnEvent("action") in that case.
But I suppose that the ids need to be unique on the Tapestry component
tree, so the f
I usually put the component inside a block and use it in both locations:
...
...
Foo
While the markup looks slightly messier, this saves you from having two
event handlers for the same thing.
Cheers
Henning
-Original Message-
From: Thiago H
Just do :
private Object onActionFromDeletePoste()
{
return ZoneProfils.getBody(); // return the block inside the zone
}
Hope it resolves your problem
2009/8/4 Tetrel Julien
> Hi.
>
> I'm actually facing a problem using tapestry 5.0.18.
> My code is trying to refresh a Zone component using
Testity is one of the reasons i love t5! Thanks a lot Paul!
On Fri, Aug 7, 2009 at 11:05 AM, Paul Field wrote:
> I'd like to announce the first stable release of the Tapestry-Testify
> project at Tapestry360:
>
> https://tapestry.formos.com/projects/tapestry-testify/
>
> Tapestry Testify is an ext
Hey there,
I am trying to use PageRenderLinkSource by Injecting it into a component,
and then using it in a property getter, like so:
@Inject
private PageRenderLinkSource linkSource;
public String getDetermineURL() {
org.apache.tapestry5.Link link =
linkSource.createPageRenderLink("Star
Wait! One more very important piece of info.
It's not just the act of using the service. I shortened my determineURL
property code; I'm actually making a call to link.addParameter, like so:
public String getDetermineURL() {
org.apache.tapestry5.Link link =
linkSource.createPageRenderLi
Thanks for the help felix! I regularly check the dependency hierarchy to
make sure there are not any big conflicts. Commons-collections is
conflicted but thats it. Nothing in woodstox or javassist. I have had so
many issues like this lately with tapestry. Its incredibly annoying and
time wast
Hello,
I attached a proposal for the persist page in the guide.
Flash and Client scope didn't have a code sample. I needed to search to
find out how to fill the value parameter in the annotation.
--
Best Regards / Viele Grüße
Sebastian Hennebrueder
-
Software Developer and Trainer for Hib
Em Fri, 07 Aug 2009 16:52:51 -0300, Sebastian Hennebrueder
escreveu:
Hello,
Hi!
I attached a proposal for the persist page in the guide.
Flash and Client scope didn't have a code sample. I needed to search to
find out how to fill the value parameter in the annotation.
Please post your p
Hi all,
I am having a weird problem with creating a registry. I am trying to
test my DAOs, and as part of the test I do:
IOCUtilities.buildDefaultRegistry()
when I run the test it print out:
[INFO] ioc.RegistryBuilder Adding module definition for class
org.apache.tapestry5.ioc.services.Tape
I'm using T5 with some pure js page views and the number of js includes for
the page class is growing large enough that I was thinking it would be nice
to have wildcard support. Think this should/could be added?
-Craig
21 matches
Mail list logo