Hey Rich,
Can you post the code for your various attempts? I know you said earlier you
were having issues posting the code... if it still fails, you can try e-mailing
me directly with the code.
In any event, if you're basing your code on Jim's code that he posted below,
the main thing that sta
No problem, I appreciate the time and effort. I've got the code using
Tapestry 1.5.0.5. I suppose this isn't the biggest bug in the world and
with 5.2 on the horizon it might be worth just waiting, but I've also
got my curiosity piqued as to the whole service decoration stuff now.
I'm still try
Sorry I can't be of more help Rich - we've migrated over to T5.2.0 so I
don't have a pre T5.2.0 environment I can test this under at the moment.
You're right though it shouldn't be difficult at all - I've found a lot of
these minor things have me banging my head on the desk until someone chips
in w
No luck still =/
I tried it many ways:
decorateClientInfrastructure with contributeAliasOverride with bind:
java.lang.IllegalStateException: Construction of service
'AliasOverrides' has failed due to recursion: the service depends on
itself in some way. Please check
org.apache.tapestry5.intern
Could you please post the returned message including the headers? If you are sending html mail, try
switching to plain text, this will lower your spam score.
Uli
On 22.07.2010 20:27, Rich wrote:
Hi,
I hate to be asking this non-tapestry related question, but I just got
my 8th e-mail today ret
Hi,
I hate to be asking this non-tapestry related question, but I just got
my 8th e-mail today returned to me by the spam filter, and I have no
idea why. I'm trying to continue responding to the thread I started
about the blackbird.js, and it seems whenever I put any code, exceptions
from the
Thanks Kalle - this will be very useful for me - I'll make it more service
oriented and inject the new session.
Regards,
Jim.
-Original Message-
From: Kalle Korhonen [mailto:kalle.o.korho...@gmail.com]
Sent: 22 July 2010 17:48
To: Tapestry users
Subject: Re: non thread safe access to ses
Rich,
I'm on T5.2.0 so the code has been updated accordingly - looking through my
file history, I have:
public static MyClientInfrastructure
buildMyClientInfrastructure(@InjectService("ClientInfrastructure")
ClientInfrastructure original, @InjectService("AssetSource") AssetSource
To create an absolutely *new* session (even if another thread-bound
session already exists), inject HibernateSessionSource and call
hibernateSessionSource.getSessionFactory().create(), then manage
transactions and all objects in that session yourself.
Kalle
On Thu, Jul 22, 2010 at 9:38 AM, Jim O
I do get direct access to the session from the under a very specific
circumstance to allow me to commit a separate transaction unconditionally,
to facilitate keeping a pre-allocated batch of keys in memory - I can't have
this transaction rolled back due to a problem somewhere else, or I am left
wit
> I do however have some buried code where I force a transaction to commit to
> allow me to assign some non-customer facing entity keys in batches, to reduce
> db hits - this is probably causing the problem - I'll synchronize that as
> it's not called too often and hopefully that will do it. Th
Hi,
attempt 6 at getting through spam blocker. I used the code mentioned but
the "original" object from the decorate method is always null. I'm not
sure what to do about that?
-Rich
Jim O'Callaghan wrote:
Hi Rich,
Yep same guy, guilty as charged. This may not be the best solution, you may
Hello Thiagi,
That's exactly what I did, before I read your email, and to my surprise it
worked.
On 22 July 2010 13:05, Thiago H. de Paula Figueiredo wrote:
> On Thu, 22 Jul 2010 07:03:04 -0300, Jabbar wrote:
>
> Hello all,
>>
>
> Hi!
>
>
> In my java tab component class I don't know how to r
On Thu, 22 Jul 2010 07:03:04 -0300, Jabbar wrote:
Hello all,
Hi!
In my java tab component class I don't know how to refer to the
potentially variable number of blocks that can be inserted by the user.
In your tab component, inject ComponenentResources and use the
findBlock(String block
ok, my bad - i've left some https references in
http://tapestry.apache.org/archetype-catalog.xml
and that's probably causing this.
I've changed them all to http but it may take some time
before changes are propagated to public server.
In the meantime, just wget the file, change https->http
and poi
You will need to convert block into a component as well, which then renders a
variable number of times depending on the size of the source tab list.
Hint: look at one of the 3rd party Tapestry component libraries for some sample
source code.
Cheers,
Peter
- Original Message -
From: "Ja
No, tested in tomcat and jetty 6.
Plain old war packaged webapp...
2010/7/22 Sha Aith
>
> Thanks for the update. But I'm using Spring DM server in an OSGi
> environment.
> Are you using the same?
>
>
> Magnus Kvalheim-3 wrote:
> >
> > I'm using 5.1.0.5 with Spring 3 (in production).
> >
> > The
Well, i retried here from an empty repo and it worked.
Your problems seem to be that in one case http://tapestry.apache.org
seems inaccessible through your proxy and in the other case (stack overflow)
that https://ibiblio.org/maven2/ refuses connections
Now, i'm not sure why there's the httpS ther
I'm not sure how I can use this? Each block represents a tab and each tab
will have potentially different content. e.g.
markup B
Markup C
On 22 July 2010 11:22, Bryan Lewis wrote:
> Why not use a Loop in your component and pass in a List?
>
>
>
> On T
Why not use a Loop in your component and pass in a List?
On Thu, Jul 22, 2010 at 6:03 AM, Jabbar wrote:
> Hello all,
>
> I'm trying to make a custom tab component. I want to use it like the
> following
>
>
>
>
>
>
>
>
>
>
>
>
>
> In my java tab component class I don't know
Hello all,
I'm trying to make a custom tab component. I want to use it like the
following
In my java tab component class I don't know how to refer to the potentially
variable number of blocks that can be inserted by the user.
--
Thanks
A Jabbar Azam
-Original Message-
From: andre...@gmail.com [mailto:andre...@gmail.com] On Behalf Of
Andreas Andreou
Sent: 21 July 2010 13:52
To: Tapestry users
Subject: Re: Lots of Tapestry problems - quickstart and tutorial
Even better to use
mvn archetype:generate -DarchetypeCatalog=http://tapestry.a
Thanks for the update. But I'm using Spring DM server in an OSGi environment.
Are you using the same?
Magnus Kvalheim-3 wrote:
>
> I'm using 5.1.0.5 with Spring 3 (in production).
>
> The key thing is the TapestyBeanFactory which was incompatible with spring
> 3.
>
> If I remember correctly -
Jonathon, Howard,
Thanks for the responses. I'm leaning towards Howard's explanation. The
processes are accessing newly created / persisted objects so I don't think
sharing attached objects across more than one session should arise. I do
however have some buried code where I force a transact
I'm using 5.1.0.5 with Spring 3 (in production).
The key thing is the TapestyBeanFactory which was incompatible with spring
3.
If I remember correctly - the steps I did was:
1. copy 5.2 version of beanfactory:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-spring/src/main/java/org
25 matches
Mail list logo