Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Alex Kotchnev
Alright - I'm not entirely sure if anyone will find any use for this, but I implemented the approach suggested by Lance (thank you Lance!) and pushed the code into BitBucket : https://bitbucket.org/akochnev/tap5-gae-utils The project wiki explains how to use it, but in short, just include the modu

RE: Restarting rendereing block once you get back to page

2013-05-17 Thread Nomen Nomanum
Hvala puno! :) I just can't figure out how did I forget that! :) > From: horvat.z.bo...@gmail.com > Date: Sat, 18 May 2013 01:30:18 +0200 > Subject: Re: Restarting rendereing block once you get back to page > To: users@tapestry.apache.org > > I assume that you have @Persist annotation on the fil

Re: Restarting rendereing block once you get back to page

2013-05-17 Thread Boris Horvat
I assume that you have @Persist annotation on the filed that controls what block will be displayed. Remove it and that way the users selection wont be remembered On Sat, May 18, 2013 at 1:10 AM, Nomen Nomanum wrote: > I have implemented some zone with delegate and blocks on some web page. > Now

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
Thanks! I have implemented this. :) > From: horvat.z.bo...@gmail.com > Date: Fri, 17 May 2013 23:05:38 +0200 > Subject: Re: Zone and content changment > To: users@tapestry.apache.org > > I am not sure what you really wont. > > Here you have 2 choice. > > First you can use and I dont recommend

Restarting rendereing block once you get back to page

2013-05-17 Thread Nomen Nomanum
I have implemented some zone with delegate and blocks on some web page. Now when I go to another page, and come back to the previous, it shows the last block from previous "session", but I don't want that to happen. How can I implement to restart rendering of the blocks from previous session?

Re: Zone and content changment

2013-05-17 Thread Boris Horvat
I am not sure what you really wont. Here you have 2 choice. First you can use and I dont recommend this one. The ideas that for every actionlink clicked you set some boolean value to true and in the you check which one is set to true and then display that part of the html. The second choice is

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
Great! That's the answer I have been waiting for. But how my could know what actionlink is clicked? Lets say I have following scenario: // my zone // how to test what actionlink is clicked // get me to modelBlock1 block

Re: Zone and content changment

2013-05-17 Thread Boris Horvat
And why dont you want to use delegates and blocks? That is what they are there for...You could use On Fri, May 17, 2013 at 10:33 PM, Nomen Nomanum wrote: > Hmm... well, what troubles me is this scenario: > Suppose in my tml I have > > > > > > Now, based on clicked actionlink1, I want to ren

RE: Zone and content changment

2013-05-17 Thread Nomen Nomanum
Hmm... well, what troubles me is this scenario: Suppose in my tml I have Now, based on clicked actionlink1, I want to render only div1, and not div2. How to achieve this not including delegates and blocks? Is there any other way? > From: horvat.z.bo...@gmail.com > Date: Fri, 17 May 2013 21:5

Re: Zone and content changment

2013-05-17 Thread Boris Horvat
Generic question requires a generic answer :) Start from here http://tapestry.apache.org/ajax-and-zones.html On Fri, May 17, 2013 at 9:49 PM, Nomen Nomanum wrote: > I want to implement a scenario where based on clicked actionlink, zone > updates it's content. Lets say I have stored some divs in

Zone and content changment

2013-05-17 Thread Nomen Nomanum
I want to implement a scenario where based on clicked actionlink, zone updates it's content. Lets say I have stored some divs inside that zone, and I need trigger, videlicit, checker to see what div to render. How to achieve this behavior?

Logging advice on non interface service

2013-05-17 Thread Boris Horvat
Hi all, I have tree classes that I would like to advise for logging. However they are normal class (not much point in making them interface as that would just another layer that I really dont need for this). I have tried @Match({"SystemManager", "ManageX", "ManageY", "ManageZ"}) public stat

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Lance Java
A much better option is to fix the bug with a RequestFilter. Wrap the response in a custom implementation that sets a flag to true when redirect() is called and returns the correct value in isComitted()

Re: T5 and AppEngine 1.7.3 dev server IllegalStateException

2013-05-17 Thread Alex Kotchnev
Just out of curiosity - this exception is thrown by Tapestry itself; however, since it's just a "sanity check" and it only happens on the Dev server , is there a way to disable this filter using Tapestry IoC ? org.apache.tapestry5.internal.services.ImmediateActionRenderResponseF ilter.handle(Immed

Re: How to use Spring MVC resources static images in tapestry

2013-05-17 Thread Lance Java
Of course you need to map spring's servlet / filter (whatever it is) to a url pattern in web.xml. Unfortunately the current generation of servlet containers are not mind readers :) This question is now off topic, please continue on an appropriate spring mailing list.

Re: How to use Spring MVC resources static images in tapestry

2013-05-17 Thread rathinasamy....@snovabits.net
Do I need to add any spring specifications in web.xml for this? On 5/17/2013 12:04 PM, Lance Java wrote: Does your webapp have a context path? You may need to use - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o