Hi
Trying to access a page from a service is an anti-pattern. Tapestry doesn't
allow it.
You should throw an exception in your service layer and do the presentation
stuff (like redirecting or recording an error etc) in the pages(presentation
layer).
regards
Taha
On Jun 17, 2012, at 7:40 AM,
Hi everyone,
Is there a way to inject a page into a service via InjectPage annotation?
I am trying the following and does not seem to work:
package com.myapp.services;
public class MyServiceImpl implements MyService
{
@InjectPage
private Login loginPage;
public Object consumer()
{
login
Have you tried the AjaxFormLoop component? I think that you can accomplish
your scenario with it.
Here is a live demo from the jumpstart project:
http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/formloop1
And here is the documentation for the component:
http://tapestry.apache.org/cur
Hi, I am new at Tapestry and I need guide lines to accomplish next scenario.
I have a form which is displayed on the first page access. After that I
would like to be able to add subform which is identical as previous (has the
same fields etc.) but it is a child of the first form. So, I want to be
Thank you lance, I'll try
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Checklist-disabled-possible-bug-tp5713681p5713947.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsu
>From a quick peek...
The ReloadableObjectCreatorSource creates the proxies
(ReloadableServiceImplementationObjectCreator) which create the
Service. Each ReloadableServiceImplementationObjectCreator implements
UpdateListener which is called when it should check for changes /
updates.
But you are
Thanks for the reply Thiago,
Singleton service reloading is unfortunatly not suffisiant for my
purposes
Tapestry service reloading works only on singletons and I need to have
multiple instances of the class I'd like to reload per thread.
I guess I could easely reload classes if I was notifi
On Sat, 16 Jun 2012 10:56:10 -0300, Thim Anneessens
wrote:
Hello,
Hi!
Singleton service reloading is unfortunatly not suffisiant for my
purposes
Could you be a little more specific? This would help us to provide help to
you.
so I was wondering if anyone could give me some insight o
Hello,
Singleton service reloading is unfortunatly not suffisiant for my
purposes so I was wondering if anyone could give me some insight on how
Tapestry live class reloading works (whish are the classes involved in
that process for instance).
Tanks in advance,
Thim.
---
no, if i comment out your code, everything works fine again.
2012/6/16 Alexander Sommer
> so, what do you want me to do?
>
> 2012/6/16 Lance Java [via Tapestry] <
> ml-node+s1045711n5713939...@n5.nabble.com>
>
> This is a different error to the document linker error you were
>> originally
>> co
so, what do you want me to do?
2012/6/16 Lance Java [via Tapestry] <
ml-node+s1045711n5713939...@n5.nabble.com>
> This is a different error to the document linker error you were originally
> complaining about. I'm guessing that if you comment out my code in your
> appmodule, you will still have t
This is a different error to the document linker error you were originally
complaining about. I'm guessing that if you comment out my code in your
appmodule, you will still have this new exception.
Something has changed
On Fri, Jun 15, 2012 at 1:53 PM, Thiago H de Paula Figueiredo
wrote:
> Ah, now I really know what you're talking. :) My first thought would be to
> decorate or advise the service that loads templates so we could get the
> template contents. Just search for threads which discuss loading templates
13 matches
Mail list logo