Re: Form and session

2010-06-24 Thread Łukasz Jazgar
2010/6/24 Josh Canfield > Yes, this is a problem. I believe there is already a jira filed but can't > search right now. > > I had a workaround for 5.1.18 but doesn't work in current > versions... > Yes, I found it: https://issues.apache.org/jira/browse/TAP5-979 Fixed in 5.2. I hope it will be re

Form and session

2010-06-23 Thread Łukasz Jazgar
Hi Why rendering of Form component causes creation of session? I guess, it is because of ValidationTracker. But shoudn't ValidationTracker be added to session just after form submission? It's not necessary while first rendering. Regards Lukasz

Re: Rendering Block to MarkupWriter

2010-05-21 Thread Łukasz Jazgar
2010/5/20 Thiago H. de Paula Figueiredo > > The issue here is how to render something after you render the block. I > guess you need to implement it as a RenderCommand. It receives the render > queue (RenderQueue instance), so you can add more RenderCommands to it. To > render a Block inside a Re

Re: Rendering Block to MarkupWriter

2010-05-20 Thread Łukasz Jazgar
2010/5/20 Thiago H. de Paula Figueiredo > On Thu, 20 May 2010 16:18:37 -0300, Łukasz Jazgar > wrote: > > Is it possible to render Block directly into MarkupWriter? >> > > Just return it (Block, Component, RenderCommand) in a method that handles > some component rend

Rendering Block to MarkupWriter

2010-05-20 Thread Łukasz Jazgar
Hi Is it possible to render Block directly into MarkupWriter? What I want to do? I'm writing mixin which adds after original component some html tags filled with body of Block passed by parameter. Example. I need such a template: My link Body of Block to produce such a html: My

Re: LinkSubmit with Context?

2010-03-31 Thread Łukasz Jazgar
2010/3/31 Kristian Marinkovic > hi pierce, > > there was already the jira issue > https://issues.apache.org/jira/browse/TAP5-532 > that was closed as duplicat of > https://issues.apache.org/jira/browse/TAP5-194 > which was not correct. > > maybe we should reopen it. > > Yes, we should. I also gra

Last translator in configuration becomes default translator

2009-05-28 Thread Łukasz Jazgar
Hi, I have put an issue to JIRA regarding using translators. https://issues.apache.org/jira/browse/TAP5-725 For me it was obvious bug, so I've put it to JIRA first, but now Igor Drobiazko makes me doubtful, if I understand correctly concept of translators, so I would like to ask wider group of tap

Binding of Boolean parameter

2009-03-23 Thread Łukasz Jazgar
Hi all, I am a newbie in Tapestry. Please, help me to understand, how binding of parameters works. I'll show my problem on very simplified example. There is a component: public class BooleanComponent { @Parameter private Boolean value; boolean beginRender(MarkupWriter writer) {