Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Marek Wawrzyczny
Hi, It's quite possibly I'm missing something about the functionality of Tapestry or the correct implementation for our problem. I'm involved in a project where we're porting an existing application to a Tapestry based app. The application has been written to respond to several URL patterns wh

Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Igor Drobiazko
Hi, somehow your description doesn't make sense to me. You are rewriting the incoming URLs like //page/123 to //page?id=123. Why actually? The incoming request path is a valid page rendering URL. It requests Page with activation context 123 to be rendered. Why do you want to transform the activati

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-07 Thread Christophe Cordenier
Hi ! Tapestry 5.2 has a brand new API for class manipulation in worker, you have to provide the method signature and implement the logic in a ComponentMethodAdvice (see PropertyWorker sources to have a simple example) HTH 2010/9/7 Markus Feindler > So, I tried to follow your advice, but I don

Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Marek Wawrzyczny
Thanks Tiago, I did see that Contenxt type before but didn't look into it since it's in the internal package. I'll look into using ArrayEventContext. Are there plans to make a public API to the EventContext manipulation or to maybe create a new set of API for that purpose? I would imagine tha

ANTLR + JBoss 5.1.0 + Tapestry 5.1.0.5 - NoClassDefFoundError

2010-09-07 Thread Chris Mylonas
Howdy, My first guess is that I've got a bit of a problem with ANTLR by the looks of it - maybe version numbers different between what tapestry expects and what jboss is supplying? Can anyone shed any light on this? It's a tapestry 5.1.0.5, jboss 5.1.0 setup. This is thrown at the top of the e

Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Thiago H. de Paula Figueiredo
On Tue, 07 Sep 2010 22:30:58 -0300, Marek Stanisław Wawrzyczny wrote: Hi, Hi! Yes, I'm working with incoming links. The code I have so far: I guess you're missing some ready-to-use, non internal EventContext implementation. All them in Tapestry 5.1.0.5 (haven't had the time to try 5

Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Marek Stanisław Wawrzyczny
Hi, Yes, I'm working with incoming links. The code I have so far: public class PageLinkTransformer implements PageRenderLinkTransformer { <...> private static final Pattern REGEX_NODE_PATTERN = Pattern.compile("/page/(\\d++)"); <…> public PageRenderRequestPa

Upcoming Tapestry 5 training: London, Oct 5 - 8

2010-09-07 Thread Howard Lewis Ship
Just a reminder that I'll be teaching my Tapestry 5 Training Workshop at SkillsMatter. It's a four day class, starting on Oct 5th. SkillsMatter is located in London. http://skillsmatter.com/course/java-jee/tapestry-web-development -- Howard M. Lewis Ship Creator of Apache Tapestry The source f

Re: Retrieve ActivationRequestParameters in custom PageResponseRenderer

2010-09-07 Thread Markus Feindler
So, I tried to follow your advice, but I don't see how to add a new method after calling "transformation.addImplementedInterface(MyInterface.class)". The documentation states to use transformation.getOrCreateMethod, but where to define the message body? Actually, I would implement a ClassTra

Re: New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Igor Drobiazko
Hi, you need to provide some more details. Are you trying to rewrite incoming URLs? 2010/9/7 Marek Stanisław Wawrzyczny > Hi everyone, > > I hope you can help a Tapestry newbie here :) > > I've been following the blog post on how to use the new API (we're > developing a new app in 5.2) > http:/

Re: Ajax Radio Group

2010-09-07 Thread hese
Thanks for the replies. I saw Chenillekit's InPlaceCheckbox and wrote a InPlaceRadio button component for this...and it worked. Having an @OnEvent event handler alone did not fire the event handler. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Ajax-Radio-Group-tp2

Re: OAuth support in tynamos tapestry-security

2010-09-07 Thread Kalle Korhonen
On Tue, Sep 7, 2010 at 3:58 AM, Moritz Gmelin wrote: > can you somehow provide access to your initial work on tapestry-oauth so I > could possibly learn from it and maybe help with finishing it? > I have spend a couple of days now to get deeper into oauth and have been able > to do a client inte

Re: [T5.1.0.5] Loop inside grid

2010-09-07 Thread Halil Karakose
I have found a solution to this issue, but in an inpractical way: 1. I created the attached class and transformed hashmap values into SillyObject values: public List getSillyObjectList() { ArrayList list = new ArrayList(); List> mapList = getHashMap(); for (HashMap ma

Re: Versioned assets

2010-09-07 Thread Martin Strand
On Tue, 07 Sep 2010 13:14:02 +0200, LLTYK wrote: What it should do is instead insert some sort of hash of the file's contents in the url. Then whenever your file changes the browser won't pick up the previous cached version, but if your app version changes and the file doesn't, the url rema

Re: Ajax Radio Group

2010-09-07 Thread LLTYK
Chenillekit OnEvent mixin. It lets you listen for clicks or any js event, to in turn trigger an event on the server. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Ajax-Radio-Group-tp5496323p5506027.html Sent from the Tapestry Users mailing list archive at Nabble.com.

Re: Versioned assets

2010-09-07 Thread LLTYK
What it should do is instead insert some sort of hash of the file's contents in the url. Then whenever your file changes the browser won't pick up the previous cached version, but if your app version changes and the file doesn't, the url remains the same. -- View this message in context: http://

Re: OAuth support in tynamos tapestry-security

2010-09-07 Thread Moritz Gmelin
Hi Kalle, can you somehow provide access to your initial work on tapestry-oauth so I could possibly learn from it and maybe help with finishing it? I have spend a couple of days now to get deeper into oauth and have been able to do a client integration with twitter and oauth. So I think I have u

New URL Rewriting API - how do I pass parameters to rewritten request?

2010-09-07 Thread Marek Stanisław Wawrzyczny
Hi everyone, I hope you can help a Tapestry newbie here :) I've been following the blog post on how to use the new API (we're developing a new app in 5.2) http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ but for the life of me I can't figure out how to pass extracted URL pa

AUTO: Guletsky, Peter is out of the office. (returning 09/13/2010)

2010-09-07 Thread Peter.Guletsky
I am out of the office until 09/13/2010. In case of urgency Please contact Parvez Zariwala (x.5910) or Praveen Makhija (x.5962) Note: This is an automated response to your message "Tapestry5 friendly Message headache!!!" sent on 9/7/2010 12:11:51 AM. This is the only notification you will rec