Re: File Downloading in Tapestry

2006-10-19 Thread Dobrin Ivanov
at java.lang.Thread.run(Thread.java:595) --- Detlef Schulze <[EMAIL PROTECTED]> wrote: > For version 3 there is an example in the online FAQ. > Should work for 4 > too. > > > -Original Message- > From: Dobrin Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Mont

Re: Confusion over persistent page properties and editing

2006-10-15 Thread Dobrin Ivanov
you should call again setChannelSetup(..) after changing the list, the other way is to fire some event, but I do not remember - this is described @ http://tapestry.apache.org/ --- Jabbar <[EMAIL PROTECTED]> wrote: > Hello, > > I've been struggling all day editing persistent page > properties and

RE: File Downloading in Tapestry

2006-10-09 Thread Dobrin Ivanov
in the online FAQ. > Should work for 4 > too. > > > -Original Message- > From: Dobrin Ivanov > [mailto:[EMAIL PROTECTED] > Sent: Montag, 9. Oktober 2006 00:43 > To: Tapestry users > Subject: File Downloading in Tapestry > > Hi, > I'm wondering wh

File Downloading in Tapestry

2006-10-08 Thread Dobrin Ivanov
Hi, I'm wondering which is the best way to download files via Tapestry. It could be done via servlet, I have found a good example here: http://jspwiki.org/wiki/MakingADownloadServlet But, is there another way to do it all in Tapestry? ... or the above is the best solution? __

Re: Equivalent of JSP Includes?

2006-10-07 Thread Dobrin Ivanov
Did you succeed with this? It would be great to have this into the core Tapestry components .. --- Patrick Moore <[EMAIL PROTECTED]> wrote: > I would put in a vote for something like the Dynamic > Block making it into > the main tap release. I have been wondering how to > do this myself! > ___

Re: Equivalent of JSP Includes?

2006-09-24 Thread Dobrin Ivanov
Hi, I have searching for the same thing in the past and found this one: DynamicBlock - Choosing Tapestry Components at Runtime http://www.behindthesite.com/blog/C1931765677/E1630021481/ I haven't tested it yet ... --- Mike Grundvig <[EMAIL PROTECTED]> wrote: > Yes Robert; that is EXACTLY wha

informal paratemers for components with templates

2006-09-24 Thread Dobrin Ivanov
Hi, So I have a simple component with template usging @DirectLink and @Rollover inside : -- -- The specification is: --

Re: How to listent for the Request Cycle End

2006-09-22 Thread Dobrin Ivanov
; public void > setAppStateManager(ApplicationStateManager asm) { > appStateManager = asm; > } > > public void service() { > servicer.service(request, response); > System.out.println("visit = " + (Visit) > appStateManager.g

RE: How to listent for the Request Cycle End

2006-09-22 Thread Dobrin Ivanov
ession code, but the only inelegant bit is this visitKey assembling part may be :) --- James Carman <[EMAIL PROTECTED]> wrote: > Sorry. Try > tapestry.request.WebRequestServicerPipeline. As I > said, it was > off the top of my head. Sorry for the typo. > > -Original

RE: How to listent for the Request Cycle End

2006-09-22 Thread Dobrin Ivanov
(StrictErrorHandler.java:39) --- James Carman <[EMAIL PROTECTED]> wrote: > You can put it in your WEB-INF folder or in > WEB-INF/classes/META-INF. > Tapestry (actually HiveMind) will find it in either > case. > > -Original Message----- > From: Dobrin Ivanov > [mailto:[EMAIL PROTECT

RE: How to listent for the Request Cycle End

2006-09-22 Thread Dobrin Ivanov
op of my head, but you get the idea. > This basically acts > like a servlet filter, but you can plug > hivemind-managed filters in (so you > can inject stuff into your implementation objects). > > > -Original Message- > From: Dobrin Ivanov > [mailto:[EMAIL PROTEC

Re: How to listent for the Request Cycle End

2006-09-20 Thread Dobrin Ivanov
are frowned upon as Tapestry goes forward. > I'm not sure there > > is an Engine.getVisit() in 4.1. > > > > None of the approaches is perfect since Tapestry > doesn't provide a > > built-in end-of-request hook. Well, there is a > call to > > mo

Re: How to listent for the Request Cycle End

2006-09-20 Thread Dobrin Ivanov
ion(false); > String visitKey = "state:" + appName + > ":visit"; > Visit visit = (Visit) > session.getAttribute(visitKey); > } > } > > In your web.xml: > > > > your.package.EventListener > > > > Dobrin Iv

Re: How to listent for the Request Cycle End

2006-09-19 Thread Dobrin Ivanov
would be to contribute something to the > WebRequestServicerPipeline > > so > > that you know definitively when the cycle ends > regardless of what > > services/engines are involved.. > > > > > http://tapestry.apache.org/tapestry4/tapestry/hivedocs/

How to listent for the Request Cycle End

2006-09-19 Thread Dobrin Ivanov
Hi, I want some advise of which is the best way to catch the end of the request cycly. I have tried it using a PageDetachListener, but the problem is that sometimes there is more than one page involved into the request cycle and then I get more than one invocation on the pageDetached(...). So I'm