TapestryRunnerConstants was the class to vanish. I recreated it but the
page rendering is resulting in null response. Nothing is written so there
is something else to hunt for. I will extract the whole page tester related
classes (rewrote the PageTester class also) and the selenium is also
On Wed, 16 Oct 2013 17:34:52 -0300, Martin Kersten
wrote:
Hi everyone,
Hi!
I just updated my pom today and removed all irritating dependencies
regarding to tapestry 5.3 and replaced them with their counterpart
versions of 5.4.
Don't forget that 5.4 is an alpha version. It's not fin
components (ok
questionable) and I would like to stick to java here.
Since I asked a couple of days ago regarding to testing pages it seams that
I was encorraged encouraged to get up and ride a dead horse.
So I have two options. Switch to spock I am currently not familar with or
second extract the
I am currently rewriting the PageTester to fit a more general overall
experience by for example adding Page objects and bundle request and
response together and using a new request every
time. Also I use threads to render the response and being able to simply
issue several
requests at a time for
it should be very similar to that.
>
> Cheers - Alex K
>
> On Mon, Oct 22, 2012 at 10:27 AM, Tony Nelson wrote:
>
>> Does anyone have an example of using Spock Mocks with PageTester?
>>
>> I'd like to substitute Mocks for @Injected resources and I can'
ing Spock Mocks with PageTester?
>
> I'd like to substitute Mocks for @Injected resources and I can't seem to
> find a way to make it happen.
>
> Has anyone figured out a good way to do this?
>
> Thanks in advance
> -Tony
>
>
>
>
> Since 1982, St
Does anyone have an example of using Spock Mocks with PageTester?
I'd like to substitute Mocks for @Injected resources and I can't seem to find a
way to make it happen.
Has anyone figured out a good way to do this?
Thanks in advance
-Tony
Since 1982, Starpoint Solutions has been
There is also a duplicate JIRA for the PageTester bug and a patch file here:
REOPEN TAP5-698 - PageTester's setupRequestFromURI incorrectly uses
substring twice on same string
https://issues.apache.org/jira/browse/TAP5-1936
Steve.
--
Steve Eynon
---
"If at
A colleague already filed this JIRA last year:
PageTester causes StringIndexOutOfBoundsException with query parameter
https://issues.apache.org/jira/browse/TAP5-1770
While you're at it, you may also wish to patch TestableRequestImpl
with the following:
@Override
public TestableRequest
PageTester cant handle query string.. for ex. an link like:
admin/clazz/edit?schoolYearId=0
Im getting StringIndexOutOfBounds because an error in PageTester class.,
PageTester class we have:
/ private void setupRequestFromURI(String URI)
{
String linkPath
Hello,
I have the same question. Would somebody answer, please?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Access-to-session-when-testing-with-PageTester-tp2425559p5552430.html
Sent from the Tapestry - User mailing list archive at Nabble.com
;
private ThreadState threadState;
private PageTester pageTester;
@BeforeClass
public void beforeClass() {
initMocks(this);
threadState = new SubjectThreadState(subject);
threadState.bind();
pageTester = new
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
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
The message "No PersistenceProvider implementation available in the runtime
environment." means that no JPA implementor like EclipseLink is not
available on the classpath.
On Fri, Dec 16, 2011 at 10:50 AM, Bo Gao wrote:
> Hi,
> How can I test my services using TestNG?
>
&g
Hi,
How can I test my services using TestNG?
I use PageTester to start tapestry and call getService to get my service
instance.
This works when I run in a main function.
But I write some test class use TestNG, when I call mvn test in shell.
I get the following Exceptions.
&qu
Move to TAP5: https://issues.apache.org/jira/browse/TAP5-1770
On Thu, Dec 1, 2011 at 9:52 AM, Kevin Lin wrote:
> Thanks Josh. Defect raised in JIRA:
> TAPESTRY-2785 - [T5.3] - PageTester causes StringIndexOutOfBoundsException
> for any page request path with query
> par
Thanks Josh. Defect raised in JIRA:
TAPESTRY-2785 - [T5.3] - PageTester causes StringIndexOutOfBoundsException
for any page request path with query
parameter<https://issues.apache.org/jira/browse/TAPESTRY-2785>
On Tue, Nov 29, 2011 at 10:49 AM, Josh Canfield wrote:
> query parameter
> My current fix is monkey-patch the PageTester class file. Hopefully this
> will be fixed in next release of T53.
It's unlikely to be fixed unless you file a defect in Jira. :)
It's curious that none of the internal tests include a query parameter
that would have caught this.
J
same class file confirms my findings (see attached).
My current fix is monkey-patch the PageTester class file. Hopefully this
will be fixed in next release of T53.
Regards,
Kevin Lin
-
To unsubscribe, e-mail: users-unsubscr...@tap
1) Create your page tester instance: PageTester tester = new
PageTester("packagename","Appname","contextpath");
2) get the registry from the page tester : tester.getRegistry();
3) Get the RequestGlobals service from the registry: RequestGlobals globals =
registry.g
sHttp(...)
>
> But I don't se how to do it..
>
>
> If you reply to this email, your message will be added to the
> discussion below:
> http://tapestry.1045711.n5.nabble.com/PageTester-with-an-application-that-uses-tynam
TR to provide
httpServletResponse/Request, which can be accebted by WebUtils.isHttp(...)
But I don't se how to do it..
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/PageTester-with-an-application-that-uses-tynamo-tp4942722p5022861.html
Sent from the Tapestry - User ma
2011 at 4:46 AM, parranz wrote:
>
> Hi,
>
> I'm trying to create Unit Tests for my application, i've begun with a very
> simple example, only calling the index page:
>
>
> PageTester tester = new PageTester(appPackage, appName,
> "src/main/webapp&q
Hi,
I'm trying to create Unit Tests for my application, i've begun with a very
simple example, only calling the index page:
PageTester tester = new PageTester(appPackage, appName,
"src/main/webapp", new Class[] { AppModule.class});
Document doc = test
Hi,
Is there any way to perform / simulate a File Upload with
tapestry-upload when using the tapestry PageTester (via Testify)?
Looking around, I can't find a way to set the
org.apache.tapestry5.upload.services.UploadedFile property.
bble.com/Disable-Secure-testing-with-PageTester-tp4858523p4858915.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands,
th context path '/foo'.
How to avoid this?
Thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Disable-Secure-testing-with-PageTester-tp4858523p4858523.html
Sent from the Tapestry - User mailing list a
Hi
What i do is create a main test page say "TestIndex"
Now say I have a page PageNeedingContext and it needs a context, I add this
to my TestIndex page
Page Needing Context
Now my test will be something like
@BeforeClass
public void init() {
pageTester = new
if the page contains some injected services, how to use PageTester with this
kind of page? thanks.
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-test-ActivationRequestParameter-using-PageTester-tp3353447p3353466.html
Sent from the Tapestry - User mailing list
t;
> val appPackage = "mq.api";
>val appName = "App"; // App1Module.java has configured some
> services.
>val pageTester= new PageTester(appPackage, appName,
> "src/main/webapp")
>val request = pa
me = "App"; // App1Module.java has configured some
services.
val pageTester= new PageTester(appPackage, appName,
"src/main/webapp")
val request = pageTester.getService(classOf[TestableRequest])
request.loadParameter("name","test"
> $RequestPageCache_12a329095f3.get($RequestPageCache_12a329095f3.java)
>at
>
>
> org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.j
>
> ava:69)
> --
> View this message in context:
> http://tapestry-users.832.n2.nabble
ler.handleRequestException(DefaultRequestExceptionHandler.j
>
> ava:69)
> --
> View this message in context:
> http://tapestry-users.832.n2.nabble.com/Unable-to-load-an-Asset-which-contains-a-folder-destination-in-
org.apache.tapestry5.internal.services.DefaultRequestExceptionHandler.handleRequestException(DefaultRequestExceptionHandler.j
ava:69)
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/Unable-to-load-an-Asset-which-contains-a-folder-destination-in-Tapestry-5-1-0-5-using-PageTester-tp
I'm writing a unit test for a patch and I'm getting a
NullPointerException in an interesting place.
I have a property defined like this:
@Property
@Persist(org.apache.tapestry5.PersistenceConstants.FLASH)
private static Map selected;
and in method
public boolean isObjectSelected() {
Hi,
I'm trying to write a simple page test for a page with a form and
several FormFragments (wizard-style; trying out tynamo-conversation,
good work btw). The test should simply submit the form with one fragment
visible.
Now I'm not getting it submitted successfully because the validation
fai
Hi,
I just added @Secured to my logon page and my LogonTest no longer works
[1] as it doesn't know how to handle the added protocol domain and port.
Is this a bug or is there a workaround?
Cheers,
Joost
[1]
java.lang.RuntimeException: Path 'https://localhost:8443/foo/en/logon'
does not star
In another thread I read that the HTTP session is simulated by PageTester. In
the other thread someone showed that you can get the ApplicationStateManager
and use @SessionState objects.
I'm writing a test that needs to set an attribute to the session so that
security code can access
Nobody knows ?
--
View this message in context:
http://old.nabble.com/using-web.xml-in-a-PageTester-tp26841451p26855985.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
Hi,
I define a filter in web.xml with is executed before Tapestry filter.
Is it possible to use a such web.xml with PageTester.
PageTester constructor takes context path in parameter, but it seems not to
take into account web.xml file.
How can I manage this ?
Thanks.
--
View this message
Or you can just create the URL manually with the parameter in your test:
tester.renderPage("mypage/1234"); // 1234 is the id
- Paul
Igor Drobiazko wrote on 09/11/2009 06:30:34:
> Just create another page containg a link to target page and click on
> it. The link can contain a context.
> > B
e?
Thanks,
Matt
Mats Henricson-2 wrote:
Hi!
Since Testify isn't working for me, I thought I'd look at
this page:
http://tapestry.apache.org/tapestry5.1/guide/unit-testing-pages.html
It has this example:
PageTester tester = new PageTester(appPackage, appName, "...");
Object[
t; http://tapestry.apache.org/tapestry5.1/guide/unit-testing-pages.html
>
> It has this example:
>
> PageTester tester = new PageTester(appPackage, appName, "...");
> Object[] context = new Object[]{ "abc", 123 };
> Document doc = tester.invoke(new Com
Hi!
Since Testify isn't working for me, I thought I'd look at
this page:
http://tapestry.apache.org/tapestry5.1/guide/unit-testing-pages.html
It has this example:
PageTester tester = new PageTester(appPackage, appName, "...");
Object[] context = new Object[]{ "
Hi all,
The documentation is outdated re:Unit Testing of Page or Components. On
earlier build of Tapestry 5, I could pass context to PageTester as shown in
the docs. However, this is no longer supported in the latter builds. So,
how does one pass context to PageTester now?
Thanks.
Hi Geoffrey,
I've been looking at a related problem - mainly that if you create lots of
PageTester objects then your tests run really slow (because a new IOC
container is created every time). So, I've been looking at how to share a
PageTester amongst all my tests but without
On Thu, May 28, 2009 at 5:18 PM, Geoffrey Wiseman <
geoffrey.wise...@gmail.com> wrote:
> To make this happen, I looked at a few options, an ObjectProvider (e.g.
> http://wiki.apache.org/tapestry/Tapestry5SpringIntegrationAlternative1)
> although tapestry-spring seems to now be using an ObjectCreat
This is a long story, so I'm going to try and get through it quickly in
point form:
- I have pages that have dependencies injected into them that come from
Spring.
- I want to be able to test those pages using tapestry-test and
PageTester, possibly with the real dependencies, pos
I try to use the PageTester, my first test is very simple on a login page,
but when I try to submit a form I get this error message
java.lang.RuntimeException: Path 'login.loginform' does not start with
context path '/foo'.
at
org.apache.tapestry5.test.PageTester.
have turned
into an interface. Does anyone have a new "best practice" for passing an
activation context to a page under test, since the documentation is
outdated?
I also figured out the solution to the context asset problem. After checking
out the PageTester source, I found that Sys
I've managed to mock up all my services in a separate Module class, and got
the PageTester working. But there are a few things that I still haven't
found a solution for:
1. context-assets don't work. My project structure is like this:
/src: all java and tml files
/web/WEB-INF/cla
this problem is fixed in 5.1. I did some major surgery on
PageTester, and it now simulates the Tapestry Request, Response,
Session and Context objects (not the Servlet API ones, however). This
means you can test much more of your application beyond pages,
including Dispatchers contributed to
Hi Howard,
Is getServeletContext considered part of Servlet API? I have following in a
service and got NullPointerException when calling getServletContext in
T5.1. It seems to me more problems encountered with PageTester when the app
uses services, how to use pageTester to do some real testing
is problem is fixed in 5.1. I did some major surgery on
>> PageTester, and it now simulates the Tapestry Request, Response,
>> Session and Context objects (not the Servlet API ones, however). This
>> means you can test much more of your application beyond pages,
>> including
Hi Howard,
Sounds good, is 5.1 as stable as 5.0.18? I did:
5.1
but it did not pull down the 5.1, any idea? thanks.
Howard Lewis Ship wrote:
>
> I believe this problem is fixed in 5.1. I did some major surgery on
> PageTester, and it now simulates the Tapestry Request, Response,
I believe this problem is fixed in 5.1. I did some major surgery on
PageTester, and it now simulates the Tapestry Request, Response,
Session and Context objects (not the Servlet API ones, however). This
means you can test much more of your application beyond pages,
including Dispatchers
Hi,
I'm trying to add some page test into a running application, code is just
simple:
PageTester tester = new PageTester(appPackage, appName,
"src/main/webapp");
PageTester tester = new PageTester(appPackage, appName,
"src/main/webapp");
Documen
was wondering, is this expected behavior ? If PageTester doesn't
process the page templates (from where it can pick up that I requested a
"required" validation), it would still make sense that it would follow the
same event processing logic as a "non-test" processing (that is
I'm not 100% sure, I'd have to check the code, but I believe it
simulates the HttpSession (using a Map).
On Sat, Dec 27, 2008 at 4:02 AM, Massimo Lusetti wrote:
> It doesn't seems to me the PageTester is able to "use" the
> ApplicationStateManager since this nee
It doesn't seems to me the PageTester is able to "use" the
ApplicationStateManager since this needs a Servlet Container to stick
the ASO into the Session.
Is this right?
Thanks
--
Massimo
http://meridio.blogspot.com
-
Hi guys,
solved it myself.
I had the appName for the PageTester as "App". After changing it to
"app" everything works as expected on both platforms. However I wonder
if this is a bug (as Mac OS X is case-sensitive as well) or if this is
the expected behaviour?
Hi everyone,
I'm experiencing a strange behaviour regarding localization. As usual
I've got two localization catalogs in my WEB-INF directory:
app.properties
app_de.properties
I've got some unit tests using the PageTester initialized like this:
tester = new PageTester(appP
nal Message-
> From: Kit Yeung [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 17, 2008 21:57
> To: Tapestry users
> Subject: Re: PageTester and HttpServletRequest error.
>
> Hi Hilcon,
>
> > On Wed, Sep 17, 2008 at 01:19, Kit Yeung <[EMAIL PROTECTED]> wrot
Hi Hilcon,
On Wed, Sep 17, 2008 at 01:19, Kit Yeung <[EMAIL PROTECTED]> wrote:
I am doing a evaluation on Tapestry, I am very new to Tapestry as well as
Java and its frameworks.
Don't you think you're taking on slightly more than you can handle? If
you're really that new to Java, its framewor
ssell
-Original Message-
From: Russell Brown [mailto:[EMAIL PROTECTED]
Sent: 17 September 2008 16:09
To: Tapestry users
Subject: RE: T5: testing using PageTester and EasyMock
Alex,
Yeah. I think that the approach you outline may well work but is
unworkable (if you know what I mean). I hold ou
Hi Kit,
On Wed, Sep 17, 2008 at 01:19, Kit Yeung <[EMAIL PROTECTED]> wrote:
> I am doing a evaluation on Tapestry, I am very new to Tapestry as well as
> Java and its frameworks.
Don't you think you're taking on slightly more than you can handle? If
you're really that new to Java, its frameworks,
the mock in the test case is that you don't
get the mock from the registry, you get a proxy wrapped mock.
Cheers
Russell
-Original Message-
From: Alex Kotchnev [mailto:[EMAIL PROTECTED]
Sent: 17 September 2008 15:27
To: Tapestry users
Subject: Re: T5: testing using PageTeste
Hi Russell,
Now I see what you mean, like I said though I haven't used PageTester yet.
I only use Easymock to test my IoC services that implement Tapestry interfaces,
you appear to have an unsatisfied class dependency... just a shot in the dark,
but have you tried the EasyMock Class Exte
the instances of all
> the classes and you are creating the instance of the class under test aren't
> you? Where is the PageTester and Tapestry IoC and all that (or have you
> missed some code, or am I missing something?)
>
>
>
> What I meant was this:- In the src/main/java t
Hi Peter,
Thanks for that. That is just normal EasyMock testing isn't it? I don't see
where tapestry comes into that at all? You are creating the instances of all
the classes and you are creating the instance of the class under test aren't
you? Where is the PageTester and Tapes
l Brown" <[EMAIL PROTECTED]>
To: "Tapestry users"
Sent: Wednesday, 17 September, 2008 2:00:12 PM GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: RE: T5: testing using PageTester and EasyMock
Hi Peter,
How have you done this? When I try to use Tapestry to "Build&q
>
To: "Tapestry users"
Sent: Wednesday, 17 September, 2008 2:00:12 PM GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: RE: T5: testing using PageTester and EasyMock
Hi Peter,
How have you done this? When I try to use Tapestry to "Build" my EasyMock
services the resu
you end up with a test
> class with populated mocks, a page class with populated services and a
> helper class with the same mocks held in an iterable fashion for
> convenience.
>
>
>
> Russell
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-test
er 2008 11:47
To: Tapestry users
Subject: Re: T5: testing using PageTester and EasyMock
Hi all,
I haven't got around to using PageTester yet, but I started using Easymock for
my IoC services recently... Its quite amazing how you can create a full blown
IoC service with all dependencies sati
Message-
From: Alex Kotchnev [mailto:[EMAIL PROTECTED]
Sent: 16 September 2008 17:39
To: Tapestry users
Subject: Re: T5: testing using PageTester and EasyMock
I was grappling with this issue myself, I still don't have a good answer
to
it. Because T5 is so heavily annotation driven (with th
Hi all,
I haven't got around to using PageTester yet, but I started using Easymock for
my IoC services recently... Its quite amazing how you can create a full blown
IoC service with all dependencies satisfied so easily, it just works since
service proxies are all interfaces in Tap
gt; Let's keep this discussion rolling, we certainly need a little more info
> on
> testing in T5.
>
>
>
--
View this message in context:
http://www.nabble.com/T5%3A-testing-using-PageTester-and-EasyMock-tp19496126p19529056.html
Sent from the Tapestry -
Hi all,
I am doing a evaluation on Tapestry, I am very new to Tapestry as well as Java and
its frameworks.
I came across a problem when I try to use the PageTester. I wrote a very simple test
case like the one in
http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html.
I put
onse.
> Can someone else chime in?
> It would be nice to have "real world" example in the documentation to
> showcase TDD features of T5.
>
> /Serge
>
>
> Russell Brown-6 wrote:
> >
> > One more related question would be this: in the docs at
> > ht
this: in the docs at
> http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html you
> tell the PageTester class the name of your "filter" so it can load your
> module. But how can you tell the PageTester to use the Spring filter not
> the plain tapestry filter? All my s
set id="remove" then all links have
>>>> the id of 'remove' which does not work for my tests ether.
>>>>
>>>> Any other ideas?
>>>>
>>>> On Tue, Aug 19, 2008 at 11:32 AM, Mark Horn <[EMAIL PROTECTED]>
>>>&g
As far as I can tell from the issue you linked to, you need to
bind the
id
(not t:id) parameter of the link.
-Filip
On 2008-08-19 17:11, Mark Horn wrote:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into
an
issue with using PageTester to test ActionLinks as shown here
http
27 AM, Filip S. Adamsen <[EMAIL PROTECTED]>
>>> wrote:
>>>>
>>>> Hi,
>>>>
>>>> As far as I can tell from the issue you linked to, you need to bind the
>>>> id
>>>> (not t:id) parameter of the link.
&
rom the issue you linked to, you need to
bind the id
(not t:id) parameter of the link.
-Filip
On 2008-08-19 17:11, Mark Horn wrote:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http://tapestry.apache.org/tape
rom the issue you linked to, you need to bind the id
(not t:id) parameter of the link.
-Filip
On 2008-08-19 17:11, Mark Horn wrote:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http://tapestry.apache.org/tapestry5/g
gt;>
>> -Filip
>>
>> On 2008-08-19 17:11, Mark Horn wrote:
>>>
>>> I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
>>> issue with using PageTester to test ActionLinks as shown here
>>> http://tapestry.apache.org/tapes
7:11, Mark Horn wrote:
>>
>> I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
>> issue with using PageTester to test ActionLinks as shown here
>> http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html
>>
>> It looks like this change in
Hi,
As far as I can tell from the issue you linked to, you need to bind the
id (not t:id) parameter of the link.
-Filip
On 2008-08-19 17:11, Mark Horn wrote:
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http
I just updated to Tapestry 5.0.14 from 5.0.11 and have run into an
issue with using PageTester to test ActionLinks as shown here
http://tapestry.apache.org/tapestry5/guide/unit-testing-pages.html
It looks like this change in 5.0.12,
https://issues.apache.org/jira/browse/TAPESTRY-2294?page
Replying to myself again! Probably a bad sign:
the problem was this: id="searchOptions"
should have been this:t:id="searchOptions"
funny that it worked in the web page but failed the test. Anyway, I
guess that's what the test is for.
David Roberts wrote:
Hi,
I'm havin
Hi,
I'm having problems instantiating values into a select component when
testing forms. This is my form:
model="searchTypes" validate="required"/>
validate="required"/>
and this is the test:
doc = this.pageTester.renderPage("Se
Example fails to compile due to the missing "Element.getChildText()"
method. It's probably removed from 5.0.11 release. What is the
replacement for this method?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Maybe someone is interested in a solution (or better: a dirty hack) for the
problem.
When the new PageTester is created with
new PageTester("org.example.myapp", "Spring");
a new instance of SpringObjectProvider is created via SpringModule.
The SpringObjectProvider is res
> > I don't have a solution for you, but it's a similar problem to trying to
> > use the HibernateTemplate outside of a web-app. I have some command-
> line
> > tools that look like:
> >
> >
> > this.session =
> > SessionFactoryUtils.getSession(sessionFactory, true);
> >
> > TransactionSynchr
Jonathan Barker wrote:
> I tried running your test, which gives a lazy-loading exception trying to
> access the Set from BeanA. If you change your Hibernate mapping to
> use lazy="false" then the problem goes away.
>
Unfortunately this is no option because the object tree is too large.
> I don't
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jesper Zedlitz
> Sent: Friday, February 29, 2008 9:59 AM
> To: users@tapestry.apache.org
> Subject: T5 PageTester problem (Spring and Hibernate)
>
> Maybe someone with more detailed knowledge
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jesper Zedlitz
> Sent: Friday, February 29, 2008 9:59 AM
> To: users@tapestry.apache.org
> Subject: T5 PageTester problem (Spring and Hibernate)
>
> Maybe someone with more detailed knowledge about Tapestry's IoC
> infrastruct
Maybe someone with more detailed knowledge about Tapestry's IoC
infrastructure can help me with this problem.
I have written a unit test (in fact it's more a kind of integration test)
using the PageTester. Injected into the page is a DAO configured via
Spring. If run in non-transactiona
mvn quickstart) uses
AppModule instead of MyAppModule this change seems to have fixed the
problem.
Mark
I am trying to use the PageTester functionality as described in:
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/unit-testing-pages.html
My test looks like:
@T
1 - 100 of 157 matches
Mail list logo