gt;>>> 2.5.6 you should have no problem using T5.1 or T5.2.
>>>>
>>>> The only difference if you use a ContextLoaderListener to load Spring is
>>>> that you will not be able to inject Tapestry services inside Spring
>> beans.
>>>&g
ilter instead regular
> >> TapestryFilter in your web.xml file.
> >>
> >> see http://tapestry.apache.org/spring.html
> >>
> >>
> >> 2010/11/28 Roy Chan
> >>
> >> hi list,
> >>> I'm new to tapestry 5, so I follow tutorial
regular
>> TapestryFilter in your web.xml file.
>>
>> see http://tapestry.apache.org/spring.html
>>
>>
>> 2010/11/28 Roy Chan
>>
>> hi list,
>>> I'm new to tapestry 5, so I follow tutorial from wiki to learn
>>> t5+spring+hiberna
//tapestry.apache.org/spring.html
>
>
> 2010/11/28 Roy Chan
>
> hi list,
>>
>> I'm new to tapestry 5, so I follow tutorial from wiki to learn
>> t5+spring+hibernate.
>> <
>> http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_
declared TapestrySpringFilter instead regular
TapestryFilter in your web.xml file.
see http://tapestry.apache.org/spring.html
2010/11/28 Roy Chan
> hi list,
>
> I'm new to tapestry 5, so I follow tutorial from wiki to learn
> t5+spring+hibernate.
> <
> http:
hi list,
I'm new to tapestry 5, so I follow tutorial from wiki to learn
t5+spring+hibernate.
<http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate>
However, I use the t5.2.4, spring 2.5.6 and hibernate 3.3 instead.
I had a problem of double co
hi,
i have the project going using T5 and Spring 2, and deploy in tomcat 6.0.18.
The problem is how do i configure the logging?
1) In spring 2? or T5?
2) log4j.properties will be placed under classes under WEB-INF, where do i
setup the logger in order for me to inject into T5 pages and do the l
Just to wrap this up, in case anyone needs this information:
I "solved" the issue by making my own copy of the spring listener and
context loader and added logging instead of exception when this happens.
It turns out that Jetty calls the spring context loader twice, the second
time crashing. See
I also tried removing all links to tapestry 5, with the spring filter being
the only thing left in web.xml. Still same error in Jetty, still working in
Tomcat.
I'll stop posting about this here now, because this obviously has nothing to
do with Tapestry. It is probably due to something weird happe
Removed everything except the very essental stuff. Still getting the error.
Stripped down web.xml listed below:
http://java.sun.com/dtd/web-app_2_3.dtd";>
tapestry.app-package
no.dossier.moby.frontend.tapestry5
contextConfigLocation
/WEB-INF/backend-api.xml
http://java.sun.com/dtd/web-app_2_3.dtd";>
tapestry.app-package
no.dossier.moby.frontend.tapestry5
contextConfigLocation
/WEB-INF/backend-api.xml
tapestry5
org.apache.tapestry5.spring.TapestrySpringFilter
LinkLoginFilter
no.dossier.moby.fron
Let's see your web.xml.
On Sat, Feb 14, 2009 at 1:07 AM, Inge Solvoll wrote:
> Hi!
>
> I''m trying to get my T5 application up and running with Spring. I've placed
> the "kitchen sink" spring.jar in my WEB-INF/lib together with
> tapestry-spring.jar. I'm using T5.0.18.
>
> I'm testing this on Tom
Hi!
I''m trying to get my T5 application up and running with Spring. I've placed
the "kitchen sink" spring.jar in my WEB-INF/lib together with
tapestry-spring.jar. I'm using T5.0.18.
I'm testing this on Tomcat 6.0.10 and Jetty 6.1.12. Tomcat initializes
correctly, and spring injects work nicely f
Damir Bijuklic wrote:
Hi,
I have actually found a solution in Spring docs. You need to put spring
RequestContextFilter before t5 filter, like this:
[...]
It would be great if you could add an HowTo for this discover, to let
the other knows about that - I'm quite sur some other will thank
needed.
From: Howard Lewis Ship
To: Tapestry users
Sent: Wednesday, 4 February, 2009 22:44:30
Subject: Re: T5 - spring integration
Scope 'session' is not active for the current thread
looks like a Spring exception; seems like its wanting some per-th
Scope 'session' is not active for the current thread
looks like a Spring exception; seems like its wanting some per-thread
setup. That's easy enough to do, I just haven't used Spring @Scope
before and I didn't know about it. If you could add a JIRA Issue, with
pointers to the appropriate Spring d
Hi,
i would like to share some state objects between tapestry pages and spring
controllers (mainly login data).
My naive first approach is to create session scoped object in spring and access
it from both sides, unfortunately it is to naive...
In spring i use @Component and @Scope("session") an
Hi Avi, did u ever manage to do this? I want to be able to use
spring+hibernate from tapestry without losing what tapestry-hibernate has to
offer. Maybe i am just asking too much? :)
On Thu, May 8, 2008 at 11:02 PM, Avi Cherry wrote:
> So, T5 integrates nicely with Spring (tapestry-spring) and
Hi Stephane,
I think you can inject the WebApplicationContext and then use
context.getBean to get fresh instances of your prototype bean.
See http://tapestry.apache.org/tapestry5/tapestry-spring/
"The Spring WebApplicationContext is also added as a service..."
"For the moment, you should consid
Is there a way to get the same behavior as Spring prototype in Tapestry 5 ?
If not, what's the easiest way to inject Spring prototype bean ?
thanks in advance
Stephane
I'm just taking a guess here, but I think it won't. As far as I know
the tapestry spring integration was always limited to singleton beans.
I think the "prototype" variant is maybe difficult to handle since
tapestry ioc (and hivemind in the past) have a somewhat different
approach on object creatio
Martijn,
we do most of our projects in company with Spring, i like it.
i prefer to using tapestry with spring too. i use spring security, service
layer facilities and also dao layer abstraction.
i use Tapestry just in Presentation layer. because its great in this layer.
specially Tapestry 5.
On
That's not to say that I prefer Spring over tapestry IOC but I needed
Spring security support.
For example lazy initialization of services is more powerful and
versatile with Tapestry IOC than with Spring.
Martijn
On Fri, 2008-08-29 at 09:21 +0200, Martijn Brinkers wrote:
> Yes I am using Spring
sorry, the spring version is 2.5,
On Sat, Aug 30, 2008 at 1:32 AM, Mohammad Shamsi <[EMAIL PROTECTED]>wrote:
> Martin, take a look at PHB here : http://code.google.com/p/shams
> that is another sample of integrating Tapestry with Spring 2.0.5
>
>
>
>
> On Sat, Aug 30, 2008 at 1:26 AM, Timothy Sw
Martin, take a look at PHB here : http://code.google.com/p/shams
that is another sample of integrating Tapestry with Spring 2.0.5
On Sat, Aug 30, 2008 at 1:26 AM, Timothy Sweetser <
[EMAIL PROTECTED]> wrote:
> Thirded--my most recent app is pretty heavily integrated with Spring
> 2.5, without
Thirded--my most recent app is pretty heavily integrated with Spring
2.5, without much trouble.
Tim
On Fri, Aug 29, 2008 at 12:49 PM, Toby Hobson
<[EMAIL PROTECTED]> wrote:
> me too
>
> Toby
>
> 2008/8/29 Martijn Brinkers <[EMAIL PROTECTED]>
>
>> Yes I am using Spring 2.5 with the Tapestry Spring
me too
Toby
2008/8/29 Martijn Brinkers <[EMAIL PROTECTED]>
> Yes I am using Spring 2.5 with the Tapestry Spring module
>
> Martijn Brinkers
>
> On Fri, 2008-08-29 at 03:15 -0400, Alex Kotchnev wrote:
> > Is anyone successfully using spring 2.5 w/ the tapestry-spring module ?
> The
> > module mai
Yes I am using Spring 2.5 with the Tapestry Spring module
Martijn Brinkers
On Fri, 2008-08-29 at 03:15 -0400, Alex Kotchnev wrote:
> Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? The
> module main page talks about it being tested against 1.2.8.
>
> Cheers,
>
> Alex K
Is anyone successfully using spring 2.5 w/ the tapestry-spring module ? The
module main page talks about it being tested against 1.2.8.
Cheers,
Alex K
Tapestry Acegi (http://www.localhost.nu/java/tapestry5-acegi/) is
already Tapestry Spring Security. There's just one issue with how the
PasswordEncoder is setup. It's somehow backwards to contribute a bean
via its class name as a string when you have a full fledged IoC container.
You can check
Are you sure the ROLE_ANONYMOUS is automatically given to the user?
Perhaps this gives you some clue?
http://static.springframework.org/spring-security/site/reference/html/anonymous.html
Martijn
On Thu, 2008-08-07 at 15:43 -0700, kace wrote:
> I tried that on the default welcome page which onl
.
Then I tried
and it didnt work.
Not sure what is going on here or what I am doing wrong. Mess about with it
some more I guess..
..kace
--
View this message in context:
http://www.nabble.com/-T5--Spring-Security-2-Integration-tp18877587p18881311.html
Sent from the Tapestry - User mailing
Yeah, I tried that, never worked.
..kace
--
View this message in context:
http://www.nabble.com/-T5--Spring-Security-2-Integration-tp18877587p18880394.html
Sent from the Tapestry - User mailing list archive at Nabble.com
Have you tried
/Index* instead of /Index**
Martijn
On Thu, 2008-08-07 at 14:22 -0700, kace wrote:
> The following code isn't working for me - it takes me to login regardless
>
>
>
>
> I have something similar in my JSF app and it works but cant replicate here.
>
> The following won't take
ot;/**"
What should the pattern be if I want a specific page directed to login ?
Thanks
..kace
--
View this message in context:
http://www.nabble.com/-T5--Spring-Security-2-Integration-tp18877587p18879947.html
Sent from the Tapestry - User mailing list a
This is my spring config. It contains my own userDetailsService because
I have my own backend (over soap) I need to authenticate so you must
change those parts to match your situation
Martijn
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan
Em Thu, 07 Aug 2008 16:07:02 -0300, kace <[EMAIL PROTECTED]>
escreveu:
has anyone gotten Spring Security 2 to integrate with Tapestry 5? I have
Spring running but it seems to be ignoring the security.xml rules
Hi!
Spring Security 2 = Acegi 2 rebranded.
If you don't have a strict Spring Se
I changed my web.xml to match yours for the security values but I get the
same issue - it just ignores it.
What does your
Did you introduce any other changes to get this to work?
Thanks,
..kace
--
View this message in context:
http://www.nabble.com/-T5--Spring-Security-2-Integration
This is my web.xml and it's working with Spring security 2
I think the filter name springSecurityFilterChain is some kind of
special name that spring recoginizes
Martijn
http://java.sun.com/dtd/web-app_2_3.dtd";>
Mimesecure Web
tapestry.app-package
mitm.mi
login page it defaults to the welcome-page. Anyone
gotten this to work?
Thanks,
..kace
--
View this message in context:
http://www.nabble.com/-T5--Spring-Security-2-Integration-tp18877587p18877587.html
Sent from the Tapestry - User mailing list archive at Nabble.com
So, T5 integrates nicely with Spring (tapestry-spring) and integrates
nicely with Hibernate (tapestry-hibernate).
What happens, though, if I want to have Spring configure and handle my
hibernate sessions (and transactions) for me, but wish to use tapestry-
hibernate's HibernateEntityValueEncod
Hi all,
In my Tapestry 5 application, i have several services that use Spring to
access Hibernate. Those services are declared as transactional in Spring.
@Transactional (readOnly = false)
public Account signon(String pseudo, Password password)
{
Account account = accountDao.load(pseudo, pa
ROTECTED]> wrote:
> > I have also been using T5 ,, 5.0.7 and spring 2.5.1 ,,, working fine
> > for me.
> >
> >
> >
> > -Original Message-
> > From: Fernando Padilla [mailto:[EMAIL PROTECTED]
> > Sent: 24 January 2008 15:32
> > To: Tap
From: Fernando Padilla [mailto:[EMAIL PROTECTED]
> Sent: 24 January 2008 15:32
> To: Tapestry users
> Subject: Re: [T5] Spring and T5
>
> Yup. I have been using T5 and Spring since I started, 5.0.5 or what not.
>
> Working perfectly fine.
>
> @Inject
> @Service("
Just work perfect, and Honestly installing spring was a matter of 3 minutes.
Have a look there
http://wiki.apache.org/tapestry/Tapstry5First_project_with_Tapestry5,_Spring_and_Hibernate
If you're still metting problem I can send you a mavenized project with
even dbunit integrated.
Emmanuel So
Emmanuel -
Spring is brain-dead simple to integrate with tapestry 5.
If you need help Emmanuel, you may email me relevant bits of your code
and I would be more than happy to help you.
Really though, there's great documentation on the site to show you
exactly how to do this, Emmanuel.
I, a
I have also been using T5 ,, 5.0.7 and spring 2.5.1 ,,, working fine
for me.
-Original Message-
From: Fernando Padilla [mailto:[EMAIL PROTECTED]
Sent: 24 January 2008 15:32
To: Tapestry users
Subject: Re: [T5] Spring and T5
Yup. I have been using T5 and Spring since I started, 5.0.5
Yup. I have been using T5 and Spring since I started, 5.0.5 or what not.
Working perfectly fine.
@Inject
@Service("beanName")
private BeanClass bean;
Emmanuel Sowah wrote:
Hi,
I read some time back that unlike T4, T5 would treat Spring as a first
citizen.
However, I've been struggling in ma
Hi,
I read some time back that unlike T4, T5 would treat Spring as a first
citizen.
However, I've been struggling in making T5 work smoothly with Spring. Anyone
out there has had luck with this?
I'm now fed up and this is for me a wake up call to go look at some of the
other
ambitious and innovati
http://www.nabble.com/T5---Spring---Hibernate-Lazy-Loading-tf4685218.html#a13418423
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
filters or such (and only one open session)
I haven't done any T5/spring integration, but i assume there's an easy
way to get a hold of the SessionFactory bean from your AppModule?
Pass that into your new HibernateSessionSource implementation and
you're all set. The HibernateSessionS
> Jonathan
>
>> -Original Message-
>> From: trekmbikes [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, October 24, 2007 1:50 PM
>> To: users@tapestry.apache.org
>> Subject: T5 / Spring / Hibernate Lazy Loading
>>
>>
>> I'm bran
Ah - so your issue is you already have Spring managing your Sessions - I
understand. Unfortunately I don't use Spring, but I know integration
with it is the goal of tapestry-spring. I wish I could be of more help,
but I know someone else should be.
sincerely,
chris
trekmbikes wrote:
Hi Chris
2007 1:50 PM
> To: users@tapestry.apache.org
> Subject: T5 / Spring / Hibernate Lazy Loading
>
>
> I'm brand new to Tapestry. I have a large application that uses Spring to
> configure the Hibernate SessionFactory. I have a request interceptor
> defined
> in Spring so that I
nto a
>> separate
>> file. Plus, I'll have two complete SessionFactory instances when I really
>> only needed one.
>> d - I tried looking into the dispatcher classes but there's no
>> "afterReturn()" method, only dispatch(). So I have no way to close the
>> session/connection after the request ret
I'm showing my inexperience with hibernate in web applications here, but
tapestry-hibernate provides a thread-safe session-per-request
implementation by default
(http://tapestry.apache.org/tapestry5/tapestry-hibernate/). Is this not
sufficient?
trekmbikes wrote:
I'm brand new to Tapestry. I
g into the dispatcher classes but there's no
"afterReturn()" method, only dispatch(). So I have no way to close the
session/connection after the request returns.
Suggestions would be much appreciated!
--
View this message in context:
http://www.nabble.com/T5---Spring---Hi
${tapestry-release-version}
--
View this message in context:
http://www.nabble.com/T5-Spring-Integration-tf3936038.html#a11163280
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
As I mentioned, my Spring configurations is confirmed as working. I was
using 5.0.3 which I assumed was the latest as it's the one mentioned on the
first page as the most recent SNAPSHOT. What's the best way to keep track of
the latest available SNAPSHOT?
A big "Thanks" to everyone who took the t
Hi,
There is a new syntax with 5.0.4-SNAPSHOT and the URL
http://tapestry.apache.org/tapestry5/tapestry-spring/ was updated a while
ago. There is no more @Inject("spring:yourBean").
It works fine for me.
Here is an excerpt:
public class UserView {
@Inject
@SpringBean("userManager")
pr
If you develop base on Tapestry 5.0.3
Please use
@Inject("Spring:groupRepository")
Instead of
@Inject
@SpringBean("groupRepository")
'groupRepository' is just your the bean id defined in your spring's
configuration file.
This is my first to answer question in mail list
2007/4/24, Mat
On 4/24/07, Matt Welch <[EMAIL PROTECTED]> wrote:
I'm sure I must be doing something wrong, but for lthe life of me, I can't
figure out what it is.
I'm not trying anything complicated. I've confirmed that my Spring beans are
accessible in my webapp so I know the Spring part of my configuration
If you develop base on Tapestry 5.0.3
Please use
@Inject("Spring:groupRepository")
Instead of
@Inject
@SpringBean("groupRepository")
'groupRepository' is just your the bean id defined in your spring's
configuration file.
This is my first to answer question in mail list . I have never
Hmm, I'm not sure which way the docs are out of sync - future or past.
http://tapestry.apache.org/tapestry5/tapestry-spring/
You'll see further down the page after the example it mentions "Spring:UserDAO".
That's what I'm using with 5.0.3 SNAPSHOT and it works. Try
@Inject("spring:groupRepos
I'm sure I must be doing something wrong, but for lthe life of me, I can't
figure out what it is.
I'm not trying anything complicated. I've confirmed that my Spring beans are
accessible in my webapp so I know the Spring part of my configuration is
correct. Here's how I'm trying to inject the Spri
Hi,
I posted the following page on wiki, not sure if that's the right place but
I thought it would be useful to others:
http://wiki.apache.org/tapestry/SpringIntegration
/Serge
--
View this message in context:
http://www.nabble.com/T5---Spring-tf3306589.html#a9197537
Sent from the Tap
On 2/19/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
Yep, and all of this stuff will be rolled into a tapestry-spring Maven
archetype.
The tapestry-spring-integration module will support
@Inject("spring:bean") to allow access to anything in the Spring bean
context.
I've already done the s
Yep, and all of this stuff will be rolled into a tapestry-spring Maven
archetype.
The tapestry-spring-integration module will support
@Inject("spring:bean") to allow access to anything in the Spring bean
context.
On 2/19/07, D&J Gredler <[EMAIL PROTECTED]> wrote:
Good catch :-)
You also have t
I think what is needed, though, is something that allows you to bind
spring beans directly into your page/components. Having to lookup
spring beans all the time can be a pain.
On 2/19/07, D&J Gredler <[EMAIL PROTECTED]> wrote:
Good catch :-)
You also have to add the following line to your web
Good catch :-)
You also have to add the following line to your web.xml:
org.springframework.web.context.ContextLoaderListener
On 2/19/07, James Carman <[EMAIL PROTECTED]> wrote:
Of course, you have to set up the ContextLoaderListener, right?
On 2/19/07, D&J Gredler <[EMAIL PROTECTED]> wr
Of course, you have to set up the ContextLoaderListener, right?
On 2/19/07, D&J Gredler <[EMAIL PROTECTED]> wrote:
You can just inject the following into your pages:
@Inject
private ApplicationGlobals globals;
And then use the servlet context inside the globals object to get the
appli
You can just inject the following into your pages:
@Inject
private ApplicationGlobals globals;
And then use the servlet context inside the globals object to get the
application context via
WebApplicationContextUtils.getRequiredWebApplicationContext
(servletContext);
Once you have the
Hi,
I know Spring integration will be included later in T5, but was wondering if
someone has already figured out how to do that.
I am playing around converting an existing application to T5.
Thanks,
/Serge
--
View this message in context:
http://www.nabble.com/T5%3A-Spring-Integration-tf32530
73 matches
Mail list logo