did you configure AuthenticationDAOHibernate as Tapestry Service (bind via
bind method or build method)?
On Wed, Jun 8, 2011 at 8:35 AM, ael wrote:
> No, i did not use javax.
>
> Its
> import org.apache.tapestry5.ioc.annotations.Inject;
>
>
> --
> View this message in context:
> http://tapestry.
No, i did not use javax.
Its
import org.apache.tapestry5.ioc.annotations.Inject;
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/T5-Using-DAO-within-a-DAO-causes-NPE-tp4467009p4467432.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hi,
Which inject annotation are you using? Chances are that you use the javax
annotation that will be supported in 5.3
G, Kris
Am 2011 6 8 08:06 schrieb "ael" :
Full Stack Strace
java.lang.NullPointerException
Hide uninteresting stack frames Stack trace
com.dash.t5wdb.daoservices.AuthenticationDAOHibernate.getUserAuthentication(AuthenticationDAOHibernate.java:65)
$AuthenticationDAO_1306dcf814f.getUserAuthentication($AuthenticationDAO_1306dcf814f.java)
Hi I don't understand why injecting a DAO within a DAO cause NPE.
tbadminsdao.getUserInfo will result to NPE.
Any idea why?
class AuthenticationDAOHibernate
public class AuthenticationDAOHibernate implements AuthenticationDAO{
private HibernateSessionManager sessionMananger;
Well, the good news is that Alias is going away in 5.3 :-)
Contributing to TypeCoercer and SymbolSource can, too easily, lead to
these unintentional circular dependencies, as type coercion and
symbols are often present in other contributions.
public static void
contributeTestSymbolProvider(Con
On Tue, 07 Jun 2011 14:47:10 -0300, Dmitriy Vsekhvalnov
wrote:
did i get you right, that i can simply inject ObjectLocator service to my
Quartz JobFactory and instantiate jobs via autobuild()
I mean sources saying all dependencies will be injected.
Yes. JavaDoc: Autobuilds a class by findin
did i get you right, that i can simply inject ObjectLocator service to my
Quartz JobFactory and instantiate jobs via autobuild()
I mean sources saying all dependencies will be injected.
On Tue, Jun 7, 2011 at 8:20 PM, Howard Lewis Ship wrote:
> Unfortunately, Tapestry is not Spring :-) The p
I really didn't want to say anything definitive about since I didn't
run it on a dedicated, clean test bed or anything. I just run the
benchmark for some time on my development machine, mostly comparing
against Wicket (just because I copied Wicket's templates as a basis)
and the throughput (of Tape
> Pull request sent: https://github.com/jtdev/blogpost_files/pull/4
Did you run the other tests and do your own comparison?
On Mon, Jun 6, 2011 at 10:59 PM, Kalle Korhonen
wrote:
>
> Kalle
>
>
> On Mon, Jun 6, 2011 at 11:02 AM, Kalle Korhonen
> wrote:
>> Yes, I'll write the sample app. Started
Hi,
I use Spring in tapestry via spring-tapestry module
(org.apache.tapestry5.spring.TapestrySpringFilter filter class)
and tapestry.use-external-spring-context set to true, because I need to have
Spring beans exposed as tapestry services for injection into pages and
services
After upgrading Spri
The trouble come from you configuration file (web.xml) just change the
managed error code 401 with 403 for more information about it just check the
HTTP protocol specification ( the 401 manages access of a section, the 403
manages the authorisation)
--
View this message in context:
http://tapest
Unfortunately, Tapestry is not Spring :-) The proxy you get back from
a direct or indrect call to getService() is always global, though in
the case of the perthread scope, that core service implementation is
... another proxy that manages and delegates to the per-thread
instance.
I think you need
i was hoping someone already did it :)
Last time i was trying to do it with Hivemind, proxy created a new instance
every method call, and this is not what i want. I mostly likely want
no-proxy, but just new instance.
On Tue, Jun 7, 2011 at 6:32 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.c
OK got myself on the wrong track:
I thought I needed to create a new Link using
Link l =
this.pageRenderLinkSource.createPageRenderLink("seofriendly-stuff");
...
but the following works:
public Link transformPageRenderLink(Link
defaultLink,PageRenderRequestParameters parameters) {
return defau
On Tue, 07 Jun 2011 10:47:23 -0300, Dmitriy Vsekhvalnov
wrote:
Hi all,
Hi!
is it possible to have services bound with Bean scope? I'm using
Quartz scheduler and my jobs are actually services bound in AppModule
with all
dependency injection and so on.
But i want different instance
So here's the thing: I've got a url:
host/pagename/seo-friendly-stuff/id
I'd like to transform this url (using
PageRenderLinkTransformer.transformPageRenderLink) to:
host/seo-friendly-stuff/pagename-id
However, trying this I get the error: "Unable to resolve
'seo-friendly-stuff' to a known pa
Hi all,
is it possible to have services bound with Bean scope? I'm using Quartz
scheduler and my jobs are actually services bound in AppModule with all
dependency injection and so on.
But i want different instances of jobs. So every time i call
ServiceResources:getService(..., Job.cla
Great. Thank you.
On Tue, Jun 7, 2011 at 7:59 AM, Kalle Korhonen
wrote:
> Pull request sent: https://github.com/jtdev/blogpost_files/pull/4
>
> Kalle
>
>
> On Mon, Jun 6, 2011 at 11:02 AM, Kalle Korhonen
> wrote:
> > Yes, I'll write the sample app. Started already but didn't have much
> > time l
Apparently it's still used in 5.3. Looks like the replacement hasn't been
decided on.
--
View this message in context:
http://tapestry-users.832.n2.nabble.com/T-deprecated-in-Tapestry-tp6444160p6448959.html
Sent from the Tapestry Users mailing list archive at Nabble.com.
On Tue, Jun 7, 2011 at 7:59 AM, Kalle Korhonen
wrote:
> Pull request sent: https://github.com/jtdev/blogpost_files/pull/4
>
> Kalle
Great Kalle! ... Eager to see results!
Cheers
--
Massimo
http://meridio.blogspot.com
-
To uns
Hey all,
First of all: I know this isn't new at all, but I couldn't find my exact
case and no solution for it. So:
I am currently building my own SymbolProvider for being able to
configure my Tapestry 5.2.5 webapp more easily. I look for a file
"/WEB-INF/configuration.properties" in the Serv
Hello,
Thank you for your answer.
Unfortunately I can't put the components in my template.
So I guess I had not the right approach.
I solved the problem by using pages instead of components.
As I wanted to take advantage of Tapestry zones behaviour on the client, I
had to encapsulate the generat
23 matches
Mail list logo