Thanks for your responses! I will try them,
Peter
Ben Tomasini wrote:
Axis2 has an object supplier interface. Below is an example of a
service which uses spring as its object supplier. You could easily
create a TapestryObjectSupplier and use a TapestryServiceName
parameter to lookup the servi
That's all good to hear, and I found a reasonable way to keep it in
place without disrupting things.
On Dec 5, 2007 1:57 PM, Mark Horn <[EMAIL PROTECTED]> wrote:
> My team uses PageTester to unit test all our Page classes. We have
> found it very useful.
>
>
> > PageTester, Kent Tong's unit/integ
My team uses PageTester to unit test all our Page classes. We have
found it very useful.
> PageTester, Kent Tong's unit/integration testing layer for T5, is
> increasingly becoming difficult to maintain properly ... how many
> people are currently relying on it?
>
> --
> Howard M. Lewis Ship
> TW
Thanks Howard, that was very helpful =)
> -Original Message-
> From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 05, 2007 8:08 AM
> To: Tapestry users
> Subject: Re: [T5] Obtaining a relative directory path
>
> One more note .. if that is awkard for you ... wr
We are using the PageTester extensively since 5.0.6. The ability to pass a
Module class to the PageTester is very helpful. As others have mentioned,
we would like to be able to add js tests -- a way to do this would be
incredibly helpful (maybe an integration with one of the existing jsunit
fram
I've made extensive use of it.
Robert
On Dec 5, 2007, at 12/51:55 PM , Howard Lewis Ship wrote:
PageTester, Kent Tong's unit/integration testing layer for T5, is
increasingly becoming difficult to maintain properly ... how many
people are currently relying on it?
--
Howard M. Lewis Ship
TWD C
We use it heavily for all of our components. We are also looking for
ways to do JS testing.
Hong
-Original Message-
From: Chris Lewis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 2:19 PM
To: Tapestry users
Subject: Re: T5: Anyone using PageTester?
I am not currently, bu
Using it and loving it. So great to be able to unit test the user
interface in a mock container.
I've tried to answer most of the posts in this forum about it. Seems
like other people are using it...
-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
I am not currently, but have been wanting to implement all levels of
testing for my T5 app: unit tests, render tests, and client side JS
testing (like the T5 source uses). I'm sure that testability - easy
testability - is a goal and I welcome it. However as of yet I have not
used PageTester to
PageTester, Kent Tong's unit/integration testing layer for T5, is
increasingly becoming difficult to maintain properly ... how many
people are currently relying on it?
--
Howard M. Lewis Ship
TWD Consulting, Inc.
Creator Apache Tapestry and Apache HiveMind
--
I have an assets defined in my page spec as follows:
The images seem to be using the correct context (/esp) as the source output is:
The msi though comes out like this:
Download
which does not include the context of /esp
Does anyone know why this may be?
It's hardly to say it's a bug.
I guess T5 will assume you meant to use literal binding when you use a value
with expansions, like "... ${val1} ... ${val2}".
So "literal" prefix is only necessary for a simple value, like "abc".
Cheers,
Jeffrey Ai
Andrew Pietsch wrote:
>
> Hi there,
>
> I'm new
On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote:
>
> To clarify, I only have the one component module (the
> WebsiteTagsModule) and it is only in that .jar that I specify the
> Tapestry-Module-Classes property in the MANIFEST.MF.
So take a look at your environment. Once I ran into a similar prob
To clarify, I only have the one component module (the
WebsiteTagsModule) and it is only in that .jar that I specify the
Tapestry-Module-Classes property in the MANIFEST.MF.
Cheers for thinking about this,
Steve.
On 05/12/2007, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Nice catch :-). Does TIoC '
Nice catch :-). Does TIoC 'know' which modules it has loaded? If so
perhaps an exception should be thrown, or at least a log message made,
if an app attempts to (indirectly) load a module more than once.
Thiago HP wrote:
On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote:
java.lang.RuntimeE
That's true, if its not clear, only the module containing the
WebsiteTagsModule class should have an entry in its Manifest pointing
to the class.
On Dec 5, 2007 8:25 AM, Thiago HP <[EMAIL PROTECTED]> wrote:
> On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote:
> >
> > java.lang.RuntimeException:
>
On 12/5/07, Steve Eynon <[EMAIL PROTECTED]> wrote:
>
> java.lang.RuntimeException:
> Service id 'AssetFinder' has already been defined by
> com.alienfactory.websitetags.WebsiteTagsModule.buildAssetFinder
> (AssetSource)
> (at WebsiteTagsModule.java:28)
> and may not be redefined by
> com.alienfacto
One more note .. if that is awkard for you ... write a one-liner
component to take care of this for you!
On Dec 5, 2007 8:06 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> This should work:
>
>
>
>
> The value inside a ${...} expansion is actual a binding in disguise,
> so it can use binding
This should work:
The value inside a ${...} expansion is actual a binding in disguise,
so it can use binding prefixes such as "prop:" (the default),
"message:" or "asset:".
However, inside a template, the "current location" is on the classpath
(i.e., relative to your component's Java class fil
Hi,
> have you tried explicitly setting the id?
No I didn't try explicitly setting the service id for I only have the
one service which I only define the once. (Will try it tonight
though!)
> So, there's no chance that you have a copy of the common module lib on
> the general classpath and in WE
So, there's no chance that you have a copy of the common module lib on
the general classpath and in WEB-INF/lib?
On Dec 5, 2007 7:26 AM, Steve Eynon <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a number of T5 web apps that all use a common component module.
> In the component's module class (as
Axis2 has an object supplier interface. Below is an example of a
service which uses spring as its object supplier. You could easily
create a TapestryObjectSupplier and use a TapestryServiceName
parameter to lookup the service. I would think you could implement a
filter as mentioned above to set
You say you've tried auto binding, but have you tried explicitly setting
the id? Like so:
public static void bind(ServiceBinder binder)
{
binder.bind(AssetFinder.class,
AssetFinderImpl.class).withId("AssetFinderWithExplicitId");
}
Auto binding assigns the class name as the service id,
Hello,
I have a number of T5 web apps that all use a common component module.
In the component's module class (as defined by the
Tapestry-Module-Classes property in its jar's MANIFEST.MF) there is a
simlpe build method:
public static AssetFinder buildAssetFinder(@InjectService AssetSource
assetSo
I think, at the very least, we need to handle the null case better,
with a message that explains what property of what object/service is
null.
Further, it's looking like the current approach is a little
heavy-handed; perhaps the Request and Response objects should be
created earlier and stored int
Hi Richard,
Thanks a lot for your response! on your first point, I have tried this
with no luck... so your second observation may be more likely, although
the documentation just leaves me with more questions, i'm not convinced
that the state manager should ever turn up null, but it's not a bi
On 02.12.2007, at 00:58, Kevin Menard wrote:
This is a known issue and is pending resolution.
Okay, thanks for the information.
Kaspar
P.S. Is there an issue number for the issue on
http://issues.apache.org/jira/browse/TAPESTRY
I could not find it there.
---
Hi Peter,
My guess is that for a RequestFilter, you need to ensure that your
filter is contributed after the default Tap5 filter that wires up the
HttpServletRequest object to the Tap5 Request object (which is what is
causing the NPE). However, I think on reading the RequestHandler
pipeline s
There are definitely frustrations around maven,
... I just keep hoping it will get better before we give up on it :)
Davor Hrg
On Dec 4, 2007 5:46 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> The nightly docs are now fixed.
>
> My hatred of Maven is growing quickly. You may not be awa
I have an example of integration with axis,
basicaly...
I joined axis web.xml
and tapestry web.xml
then inside a stub class looked for the service..
to make service available, I overriden tapestry filter
and put the service into servletContext
ServletContext context = getServletContext(
Hi all,
Is there any info/examples available on this subject, I would like to
convert a Tapestry service into a webservice.
Thanks
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
I'm not sure I understood it completely,
so first I'll how I see it from your description.
You have a list of items to display,
you have maxItems to display per page,
you only want to show some items based
on their state.
Your division of responsibilities is putting too
much into one place and c
32 matches
Mail list logo