Re: @Insert not working when converting tapestry page into a byteoutputstream

2010-01-08 Thread Andreas Andreou
When a form is submitted, Tapestry 4 enters the rewind phase (note that T5 doesn't need/use this concept) That's similar to a normal render and it helps Tapestry find out what values were submitted and by which controls. Many components can behave differently when rendering and when rewinding - @In

Re: reloading of javascript files (sometimes) fails

2010-01-08 Thread Bryan Lewis
Maybe this is what you're seeing. This article helped me when Jetty was unable to reload stylesheet files. http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows On Fri, Jan 8, 2010 at 4:01 PM, Andy Pahne wrote: > > I use mavens jetty plugin and Eclipse. Template (css, images ...) and

reloading of javascript files (sometimes) fails

2010-01-08 Thread Andy Pahne
I use mavens jetty plugin and Eclipse. Template (css, images ...) and class reloading works fine, but often fails for javascript files. Eclipse complains that it could not build the project, because a file is locked. And jetty will only use the old version of the file. Anybody sees this als

Re: File Upload example

2010-01-08 Thread mpaniagua
Thanks it worked... Juan E. Maya wrote: > > Hi, > > u just need to include the reference of the module inside the pom of > ur application. > > It would be something like this: > > org.apache.tapestry > tapestry-upload > ${

Re: blackbird (5.1)

2010-01-08 Thread Alfonso Quiroga
Lutz, now I remember that I posted this solution in the past. As I don't want to re-post, I give you the link http://tapestry.markmail.org/search/?q=clientinfrastructure#query:clientinfrastructure+page:1+mid:vuehv5hu2hsi7lyp+state:results and I suggest you to use markmail, it's a good tool, you ca

Re: blackbird (5.1)

2010-01-08 Thread Alfonso Quiroga
Lutz: yes, I have no problem, but now I'm at work, in 6 hours I'm home and I post the code. It's true sometimes it's confusing the contribute/override etc, but I think when you understand it, it's really good. What I see from T5 is that everything can be overriden, it has default implementations bu

Re: pageAttached and page rendering/action processing

2010-01-08 Thread Klaus Kopruch
Thanks, that works! -- View this message in context: http://old.nabble.com/pageAttached-and-page-rendering-action-processing-tp27074682p27074800.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsub

Re: pageAttached and page rendering/action processing

2010-01-08 Thread Thiago H. de Paula Figueiredo
Em Fri, 08 Jan 2010 09:38:07 -0200, Klaus Kopruch escreveu: Hello * Hi! But, in pageAttached() were I have to do property initialization for properties that will be needed for page rendering, I cannot distinguish if pageAttached() is called for page rendering or action processing. Use

pageAttached and page rendering/action processing

2010-01-08 Thread Klaus Kopruch
Hello * i've a page without a form so onPrepareForRender() will not be called. So far, so good ... But, in pageAttached() were I have to do property initialization for properties that will be needed for page rendering, I cannot distinguish if pageAttached() is called for page rendering or action

Re: @Insert not working when converting tapestry page into a byteoutputstream

2010-01-08 Thread roquejo
I just found out that this happens when the submission was made by the @Form component, but if it was submitted by the @Directlink component, it worked fine. Do the @Form component accept a paramater to let it bahave like a DirectLink? That @Insert component will be rendered immediately? -- Vie

Re: get the service by ID and autoload services

2010-01-08 Thread Radek Terber
Thiago H. de Paula Figueiredo napsal(a): Em Thu, 07 Jan 2010 10:57:33 -0200, Radek Terber escreveu: Hi all Hi! 1) Is there any way to obtain service by it's service ID (similarly like Spring's getBean(String) method does)? I would like to build general autocomplet component which gets se

Re: blackbird (5.1)

2010-01-08 Thread Lutz Hühnken
Alfonso, thanks for the reply. I do sometimes get confused with all the contribute/decorate/override and now advise stuff in my ..Module classes (btw, am I the only one who thinks that should be simpler?). Hence, if you could just post a snippet, that would be grand. Thanks, Lutz On Thu, Jan 7