Hi and thanks for your help.
I chose another zone as a target and now it works fine.
Don't really know what the problem was because I haven't done anything
different with those two zones...
Strange.
Thanks and best,
Tom
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Com
Hi everyone,
I have a component in a Tapestry page that is displayed via Ajax renderer
returning a block.
Displaying the conponent the second time should show different data then the
first time. I am logging that in the java-class which logs correct data.
However, when the component is displayed,
Hi everyone, I have it working now and share all steps needed:
1. Create your own strategy (e.g. MyStrategy) extending
SessionApplicationStatePersistenceStrategy and implementing
ApplicationStatePersistenceStrategy
2. Bind the strategy in the AppModule's bind method:
binder.bind( ApplicationState
Thanks for your answers everyone!
I have actually tried Howard's advice in both versions: Adjusting the
Strategy Symbol to my new "mySession" strategy and also by directly setting
@Persist("mySession").
In both cases, I got this error:
org.apache.tapestry5.ioc.internal.util.TapestryException: Err
gt; On Wed, Feb 22, 2012 at 9:45 AM, Thiago H. de Paula Figueiredo
> <[hidden email] <http://user/SendEmail.jtp?type=node&node=5505844&i=0>>
> wrote:
>
> > On Wed, 22 Feb 2012 14:07:48 -0200, tompeter <[hidden
> > email]<http://user/SendEmail.jtp?type=no
Hi,
I am also trying to use an alternate storage strategy but Tapestry doesn't
load mine.
Could you give me a hint on what I did wrong?
1. I created my own Strategy in TPGStatePersistencyStrategy.class which
implements ApplicationStatePersistenceStrategy and extends
SessionApplicationStatePersist
Hi Thiago, thanks for the tips! I looked at the dependency tree with m2e and
didn't find anything obvious. Could you take a look at the Pom to check if
you see something? Thanks you so much!
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";
xmlns:xsi="http://www
Hi Thiago,
thanks for the tips!
I looked at the dependency tree with m2e and didn't find anything obvious.
Could you take a look at the Pom to check if you see something?
Thanks you so much!
4.0.0
com.myapp
myapp_webapp
1.0-SNAPSHOT
war
tomplaygo_webapp Tapestry 5 Applic
Hi Thiago,
thanks a lot for your reply!
I don't understand how this could happen, as packaging the application with
maven (with outcommented test) to a war file creates a working application.
Could you give me a hint where I might have messed it up?
Thanks a lot!
Tom
--
View this message in co
Hi everyone,
I am currently trying to test a Tapestry page. The page Instantiation
already fails because of hibernate errors. I have remapped configuration for
the test, so that no hibernate session needs to be injected. still, i have
the following error output:
Failed tests:
simple_test(pages
Hello,
I am currently trying to optimize my Tapestry Website for SEO and have
encountered some problems that I hope you can give me guidance with. I have
already searched the forum but not found answers working for me. Thank you
very much in advance!
1. I want to redirect all http://mysite.com to
Thanks Thiago, that's good to know!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry5-Hibernate-Persistence-tp4600362p4601140.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Great, thank you!
I am using the @CommitAfter Annotation now.
Just to make sure:
It is not possible that a second user reads the entity before the
HibernateSessionManager has committed the changes of User 1? I ask because I
use injected org.hibernate.Session for reading the values.
Thanks,
Tom
--
Hi,
I hope you can help me answer a Tapestry5/Hibernate question.
In an onSuccessFromForm Method I want to update a database entity only if a
specific value of that entity is null.
This is how I do it:
Step 1: I read the entity with something like: myObject =
(Object)criteria.list().get(0);
Step
Hi Taha,
thanks for your help and code!
I found out that it works nice when I am using an inline Modal Box.
I did not get it to work with the Modal Box displaying a page though.
I implemented it with Inline Modal Box displaying a component now...
Thanks and all best,
Tom
--
View this message in
Thanks for the reply Thiago!
The problem is that I am trying to make a zone update via an action link in
the page of the modalbox component. The request should be an Ajax request
but does not behave as such.
I want to update a feedback text inside the modal box without loading a new
page.
I am pret
Hi Taha,
first off, thanks for your code!
I have a question concerning the zone support.
I have implemented the necessary javascript parts but get an error when
using zones:
Return type org.apache.tapestry5.internal.structure.BlockImpl can not be
handled
Can you tell me what I am missing?
Thanks
17 matches
Mail list logo